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 { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.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/GetStageCommand.ts b/clients/client-api-gateway/commands/GetStageCommand.ts index db164bf2d964d..a852bcc08b87d 100644 --- a/clients/client-api-gateway/commands/GetStageCommand.ts +++ b/clients/client-api-gateway/commands/GetStageCommand.ts @@ -28,7 +28,6 @@ export class GetStageCommand extends $Command< GetStageCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStageCommand 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/GetStagesCommand.ts b/clients/client-api-gateway/commands/GetStagesCommand.ts index 19c6725feff84..c65f6cc146957 100644 --- a/clients/client-api-gateway/commands/GetStagesCommand.ts +++ b/clients/client-api-gateway/commands/GetStagesCommand.ts @@ -28,7 +28,6 @@ export class GetStagesCommand extends $Command< GetStagesCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStagesCommand 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/GetTagsCommand.ts b/clients/client-api-gateway/commands/GetTagsCommand.ts index f566bd21989de..915f1bacaf93a 100644 --- a/clients/client-api-gateway/commands/GetTagsCommand.ts +++ b/clients/client-api-gateway/commands/GetTagsCommand.ts @@ -28,7 +28,6 @@ export class GetTagsCommand extends $Command< GetTagsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTagsCommand 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/GetUsageCommand.ts b/clients/client-api-gateway/commands/GetUsageCommand.ts index e4320331daa6a..4f94cdd3ea333 100644 --- a/clients/client-api-gateway/commands/GetUsageCommand.ts +++ b/clients/client-api-gateway/commands/GetUsageCommand.ts @@ -28,7 +28,6 @@ export class GetUsageCommand extends $Command< GetUsageCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsageCommand 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/GetUsagePlanCommand.ts b/clients/client-api-gateway/commands/GetUsagePlanCommand.ts index cda9e70de09a9..3ebd69a82993c 100644 --- a/clients/client-api-gateway/commands/GetUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlanCommand.ts @@ -28,7 +28,6 @@ export class GetUsagePlanCommand extends $Command< GetUsagePlanCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsagePlanCommand 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/GetUsagePlanKeyCommand.ts b/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts index 01d1fc51851e8..1f1b583421b8a 100644 --- a/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlanKeyCommand.ts @@ -28,7 +28,6 @@ export class GetUsagePlanKeyCommand extends $Command< GetUsagePlanKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsagePlanKeyCommand 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/GetUsagePlanKeysCommand.ts b/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts index 36b94a5d0eaaa..1cb866c11afbe 100644 --- a/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlanKeysCommand.ts @@ -28,7 +28,6 @@ export class GetUsagePlanKeysCommand extends $Command< GetUsagePlanKeysCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsagePlanKeysCommand 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/GetUsagePlansCommand.ts b/clients/client-api-gateway/commands/GetUsagePlansCommand.ts index e8d6b22c9152d..2d8377cf74eb0 100644 --- a/clients/client-api-gateway/commands/GetUsagePlansCommand.ts +++ b/clients/client-api-gateway/commands/GetUsagePlansCommand.ts @@ -28,7 +28,6 @@ export class GetUsagePlansCommand extends $Command< GetUsagePlansCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsagePlansCommand 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/GetVpcLinkCommand.ts b/clients/client-api-gateway/commands/GetVpcLinkCommand.ts index da9438e837522..52076cde1d129 100644 --- a/clients/client-api-gateway/commands/GetVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/GetVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class GetVpcLinkCommand extends $Command< GetVpcLinkCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVpcLinkCommand 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/GetVpcLinksCommand.ts b/clients/client-api-gateway/commands/GetVpcLinksCommand.ts index 85291d43d96b7..df5935f1ed279 100644 --- a/clients/client-api-gateway/commands/GetVpcLinksCommand.ts +++ b/clients/client-api-gateway/commands/GetVpcLinksCommand.ts @@ -28,7 +28,6 @@ export class GetVpcLinksCommand extends $Command< GetVpcLinksCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVpcLinksCommand 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/ImportApiKeysCommand.ts b/clients/client-api-gateway/commands/ImportApiKeysCommand.ts index 8cf3cd4a0628c..dd5c53d4ac9c1 100644 --- a/clients/client-api-gateway/commands/ImportApiKeysCommand.ts +++ b/clients/client-api-gateway/commands/ImportApiKeysCommand.ts @@ -28,7 +28,6 @@ export class ImportApiKeysCommand extends $Command< ImportApiKeysCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportApiKeysCommand 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/ImportDocumentationPartsCommand.ts b/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts index 27630e63fd738..4444d7b531926 100644 --- a/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts +++ b/clients/client-api-gateway/commands/ImportDocumentationPartsCommand.ts @@ -25,7 +25,6 @@ export class ImportDocumentationPartsCommand extends $Command< ImportDocumentationPartsCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ImportDocumentationPartsCommand 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/ImportRestApiCommand.ts b/clients/client-api-gateway/commands/ImportRestApiCommand.ts index 946e6b5ae869e..d09dca0b6f0d1 100644 --- a/clients/client-api-gateway/commands/ImportRestApiCommand.ts +++ b/clients/client-api-gateway/commands/ImportRestApiCommand.ts @@ -28,7 +28,6 @@ export class ImportRestApiCommand extends $Command< ImportRestApiCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportRestApiCommand 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/PutGatewayResponseCommand.ts b/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts index 9a7a286ab4b4e..cd103dd88711c 100644 --- a/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/PutGatewayResponseCommand.ts @@ -28,7 +28,6 @@ export class PutGatewayResponseCommand extends $Command< PutGatewayResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutGatewayResponseCommand 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/PutIntegrationCommand.ts b/clients/client-api-gateway/commands/PutIntegrationCommand.ts index d2faa513e005d..08de2f805b4f4 100644 --- a/clients/client-api-gateway/commands/PutIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/PutIntegrationCommand.ts @@ -28,7 +28,6 @@ export class PutIntegrationCommand extends $Command< PutIntegrationCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutIntegrationCommand 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/PutIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts index a9f2631a7f4c3..f34a3da8c4a4c 100644 --- a/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/PutIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class PutIntegrationResponseCommand extends $Command< PutIntegrationResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutIntegrationResponseCommand 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/PutMethodCommand.ts b/clients/client-api-gateway/commands/PutMethodCommand.ts index ea1075e786b97..30fab30c0bb28 100644 --- a/clients/client-api-gateway/commands/PutMethodCommand.ts +++ b/clients/client-api-gateway/commands/PutMethodCommand.ts @@ -28,7 +28,6 @@ export class PutMethodCommand extends $Command< PutMethodCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutMethodCommand 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/PutMethodResponseCommand.ts b/clients/client-api-gateway/commands/PutMethodResponseCommand.ts index 2900c32f29d33..3eb4bf1a15dbd 100644 --- a/clients/client-api-gateway/commands/PutMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/PutMethodResponseCommand.ts @@ -28,7 +28,6 @@ export class PutMethodResponseCommand extends $Command< PutMethodResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutMethodResponseCommand 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/PutRestApiCommand.ts b/clients/client-api-gateway/commands/PutRestApiCommand.ts index fbbe66650d56c..f6471880695b7 100644 --- a/clients/client-api-gateway/commands/PutRestApiCommand.ts +++ b/clients/client-api-gateway/commands/PutRestApiCommand.ts @@ -29,7 +29,6 @@ export class PutRestApiCommand extends $Command< PutRestApiCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutRestApiCommand 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/TagResourceCommand.ts b/clients/client-api-gateway/commands/TagResourceCommand.ts index 8e52e4c92d0c4..b41d8780d05fd 100644 --- a/clients/client-api-gateway/commands/TagResourceCommand.ts +++ b/clients/client-api-gateway/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand 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/TestInvokeAuthorizerCommand.ts b/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts index 44f6bf71672f3..ba7e4df992f39 100644 --- a/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/TestInvokeAuthorizerCommand.ts @@ -32,7 +32,6 @@ export class TestInvokeAuthorizerCommand extends $Command< TestInvokeAuthorizerCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TestInvokeAuthorizerCommand 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/TestInvokeMethodCommand.ts b/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts index db6e7e4cf843b..104328c825626 100644 --- a/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts +++ b/clients/client-api-gateway/commands/TestInvokeMethodCommand.ts @@ -28,7 +28,6 @@ export class TestInvokeMethodCommand extends $Command< TestInvokeMethodCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TestInvokeMethodCommand 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/UntagResourceCommand.ts b/clients/client-api-gateway/commands/UntagResourceCommand.ts index 5971e531f22eb..205ef9de8571a 100644 --- a/clients/client-api-gateway/commands/UntagResourceCommand.ts +++ b/clients/client-api-gateway/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand 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/UpdateAccountCommand.ts b/clients/client-api-gateway/commands/UpdateAccountCommand.ts index a6a33c7f746fb..7acaa05d238e9 100644 --- a/clients/client-api-gateway/commands/UpdateAccountCommand.ts +++ b/clients/client-api-gateway/commands/UpdateAccountCommand.ts @@ -28,7 +28,6 @@ export class UpdateAccountCommand extends $Command< UpdateAccountCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAccountCommand 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/UpdateApiKeyCommand.ts b/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts index 215ec9e30529e..a0fbe5d500b96 100644 --- a/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts +++ b/clients/client-api-gateway/commands/UpdateApiKeyCommand.ts @@ -28,7 +28,6 @@ export class UpdateApiKeyCommand extends $Command< UpdateApiKeyCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApiKeyCommand 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/UpdateAuthorizerCommand.ts b/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts index 21efdc7765398..2a088d7096bec 100644 --- a/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts +++ b/clients/client-api-gateway/commands/UpdateAuthorizerCommand.ts @@ -29,7 +29,6 @@ export class UpdateAuthorizerCommand extends $Command< UpdateAuthorizerCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateAuthorizerCommand 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/UpdateBasePathMappingCommand.ts b/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts index 634d1c9631545..1a16e087d8eaf 100644 --- a/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts +++ b/clients/client-api-gateway/commands/UpdateBasePathMappingCommand.ts @@ -28,7 +28,6 @@ export class UpdateBasePathMappingCommand extends $Command< UpdateBasePathMappingCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBasePathMappingCommand 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/UpdateClientCertificateCommand.ts b/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts index 50591f00631d6..06a20b3f97924 100644 --- a/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts +++ b/clients/client-api-gateway/commands/UpdateClientCertificateCommand.ts @@ -28,7 +28,6 @@ export class UpdateClientCertificateCommand extends $Command< UpdateClientCertificateCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateClientCertificateCommand 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/UpdateDeploymentCommand.ts b/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts index 4a3e4c999169e..a4f98cc6c737a 100644 --- a/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDeploymentCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeploymentCommand extends $Command< UpdateDeploymentCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeploymentCommand 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/UpdateDocumentationPartCommand.ts b/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts index 6020fe3d96f15..5a937d59cc8ef 100644 --- a/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDocumentationPartCommand.ts @@ -25,7 +25,6 @@ export class UpdateDocumentationPartCommand extends $Command< UpdateDocumentationPartCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UpdateDocumentationPartCommand 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/UpdateDocumentationVersionCommand.ts b/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts index b6de3c0e66887..5db0d2d087eff 100644 --- a/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDocumentationVersionCommand.ts @@ -25,7 +25,6 @@ export class UpdateDocumentationVersionCommand extends $Command< UpdateDocumentationVersionCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UpdateDocumentationVersionCommand 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/UpdateDomainNameCommand.ts b/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts index 5a7f0dfee65ae..601db5d6f9748 100644 --- a/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts +++ b/clients/client-api-gateway/commands/UpdateDomainNameCommand.ts @@ -28,7 +28,6 @@ export class UpdateDomainNameCommand extends $Command< UpdateDomainNameCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDomainNameCommand 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/UpdateGatewayResponseCommand.ts b/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts index 064242456da85..7bb0d29defab3 100644 --- a/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts +++ b/clients/client-api-gateway/commands/UpdateGatewayResponseCommand.ts @@ -28,7 +28,6 @@ export class UpdateGatewayResponseCommand extends $Command< UpdateGatewayResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGatewayResponseCommand 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/UpdateIntegrationCommand.ts b/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts index a9e6139f520fa..06e04821317ab 100644 --- a/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts +++ b/clients/client-api-gateway/commands/UpdateIntegrationCommand.ts @@ -28,7 +28,6 @@ export class UpdateIntegrationCommand extends $Command< UpdateIntegrationCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIntegrationCommand 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/UpdateIntegrationResponseCommand.ts b/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts index a737ecf50e6fc..a7410f46d37af 100644 --- a/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts +++ b/clients/client-api-gateway/commands/UpdateIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class UpdateIntegrationResponseCommand extends $Command< UpdateIntegrationResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIntegrationResponseCommand 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/UpdateMethodCommand.ts b/clients/client-api-gateway/commands/UpdateMethodCommand.ts index 153190846597f..d5674abb20a52 100644 --- a/clients/client-api-gateway/commands/UpdateMethodCommand.ts +++ b/clients/client-api-gateway/commands/UpdateMethodCommand.ts @@ -28,7 +28,6 @@ export class UpdateMethodCommand extends $Command< UpdateMethodCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMethodCommand 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/UpdateMethodResponseCommand.ts b/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts index e408fddb1e6af..0c602033eb064 100644 --- a/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts +++ b/clients/client-api-gateway/commands/UpdateMethodResponseCommand.ts @@ -28,7 +28,6 @@ export class UpdateMethodResponseCommand extends $Command< UpdateMethodResponseCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMethodResponseCommand 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/UpdateModelCommand.ts b/clients/client-api-gateway/commands/UpdateModelCommand.ts index 9a0764898010f..e1fc5f84eec83 100644 --- a/clients/client-api-gateway/commands/UpdateModelCommand.ts +++ b/clients/client-api-gateway/commands/UpdateModelCommand.ts @@ -28,7 +28,6 @@ export class UpdateModelCommand extends $Command< UpdateModelCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateModelCommand 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/UpdateRequestValidatorCommand.ts b/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts index a2406fa467f09..9fb215829daa7 100644 --- a/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts +++ b/clients/client-api-gateway/commands/UpdateRequestValidatorCommand.ts @@ -28,7 +28,6 @@ export class UpdateRequestValidatorCommand extends $Command< UpdateRequestValidatorCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRequestValidatorCommand 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/UpdateResourceCommand.ts b/clients/client-api-gateway/commands/UpdateResourceCommand.ts index 8d0166b014af0..c73dbf2f68b51 100644 --- a/clients/client-api-gateway/commands/UpdateResourceCommand.ts +++ b/clients/client-api-gateway/commands/UpdateResourceCommand.ts @@ -28,7 +28,6 @@ export class UpdateResourceCommand extends $Command< UpdateResourceCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateResourceCommand 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/UpdateRestApiCommand.ts b/clients/client-api-gateway/commands/UpdateRestApiCommand.ts index 53e6a9deb1997..fa874a1458e2a 100644 --- a/clients/client-api-gateway/commands/UpdateRestApiCommand.ts +++ b/clients/client-api-gateway/commands/UpdateRestApiCommand.ts @@ -28,7 +28,6 @@ export class UpdateRestApiCommand extends $Command< UpdateRestApiCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRestApiCommand 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/UpdateStageCommand.ts b/clients/client-api-gateway/commands/UpdateStageCommand.ts index 304a15756cbea..1b95416668f64 100644 --- a/clients/client-api-gateway/commands/UpdateStageCommand.ts +++ b/clients/client-api-gateway/commands/UpdateStageCommand.ts @@ -28,7 +28,6 @@ export class UpdateStageCommand extends $Command< UpdateStageCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateStageCommand 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/UpdateUsageCommand.ts b/clients/client-api-gateway/commands/UpdateUsageCommand.ts index 7d9102f099499..6164a9d5ee769 100644 --- a/clients/client-api-gateway/commands/UpdateUsageCommand.ts +++ b/clients/client-api-gateway/commands/UpdateUsageCommand.ts @@ -28,7 +28,6 @@ export class UpdateUsageCommand extends $Command< UpdateUsageCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUsageCommand 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/UpdateUsagePlanCommand.ts b/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts index 6a86c853a7041..34a36311b0ca3 100644 --- a/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts +++ b/clients/client-api-gateway/commands/UpdateUsagePlanCommand.ts @@ -28,7 +28,6 @@ export class UpdateUsagePlanCommand extends $Command< UpdateUsagePlanCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUsagePlanCommand 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/UpdateVpcLinkCommand.ts b/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts index bb495ecc5b0cd..5899d40340916 100644 --- a/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts +++ b/clients/client-api-gateway/commands/UpdateVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class UpdateVpcLinkCommand extends $Command< UpdateVpcLinkCommandOutput, APIGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVpcLinkCommand 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-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts b/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts index dc32cf083d240..19121697d4c03 100644 --- a/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts +++ b/clients/client-apigatewaymanagementapi/commands/DeleteConnectionCommand.ts @@ -32,7 +32,6 @@ export class DeleteConnectionCommand extends $Command< DeleteConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteConnectionCommand extends $Command< configuration: ApiGatewayManagementApiClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts b/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts index 2be8139b426de..cf1aac108f65e 100644 --- a/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts +++ b/clients/client-apigatewaymanagementapi/commands/GetConnectionCommand.ts @@ -32,7 +32,6 @@ export class GetConnectionCommand extends $Command< GetConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetConnectionCommand extends $Command< configuration: ApiGatewayManagementApiClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts b/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts index e0855623f0d55..056e2de18eede 100644 --- a/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts +++ b/clients/client-apigatewaymanagementapi/commands/PostToConnectionCommand.ts @@ -32,7 +32,6 @@ export class PostToConnectionCommand extends $Command< PostToConnectionCommandOutput, ApiGatewayManagementApiClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PostToConnectionCommand extends $Command< configuration: ApiGatewayManagementApiClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateApiCommand.ts b/clients/client-apigatewayv2/commands/CreateApiCommand.ts index bfaf471d30209..d1ef6347c60fb 100644 --- a/clients/client-apigatewayv2/commands/CreateApiCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateApiCommand.ts @@ -28,7 +28,6 @@ export class CreateApiCommand extends $Command< CreateApiCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateApiCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts b/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts index 4d343e6568009..2a35c73d32fe6 100644 --- a/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateApiMappingCommand.ts @@ -28,7 +28,6 @@ export class CreateApiMappingCommand extends $Command< CreateApiMappingCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateApiMappingCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts index d8c55b2991209..bc7f100964d07 100644 --- a/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class CreateAuthorizerCommand extends $Command< CreateAuthorizerCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAuthorizerCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts b/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts index 2b220b67318ac..eb0cd9dfd600c 100644 --- a/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateDeploymentCommand.ts @@ -28,7 +28,6 @@ export class CreateDeploymentCommand extends $Command< CreateDeploymentCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeploymentCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts b/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts index 77407fde0d99b..54a4bca49ca6b 100644 --- a/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateDomainNameCommand.ts @@ -28,7 +28,6 @@ export class CreateDomainNameCommand extends $Command< CreateDomainNameCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDomainNameCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts b/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts index c1b158ae673e4..2eeb89ccb6776 100644 --- a/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateIntegrationCommand.ts @@ -28,7 +28,6 @@ export class CreateIntegrationCommand extends $Command< CreateIntegrationCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateIntegrationCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts index 9b24705cc06b3..f78d1d0dc1445 100644 --- a/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class CreateIntegrationResponseCommand extends $Command< CreateIntegrationResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateIntegrationResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateModelCommand.ts b/clients/client-apigatewayv2/commands/CreateModelCommand.ts index f6544cc3b91e7..5fe48b900a9b2 100644 --- a/clients/client-apigatewayv2/commands/CreateModelCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateModelCommand.ts @@ -28,7 +28,6 @@ export class CreateModelCommand extends $Command< CreateModelCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateModelCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateRouteCommand.ts b/clients/client-apigatewayv2/commands/CreateRouteCommand.ts index 69ecb50012b31..bc8160906fe33 100644 --- a/clients/client-apigatewayv2/commands/CreateRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateRouteCommand.ts @@ -28,7 +28,6 @@ export class CreateRouteCommand extends $Command< CreateRouteCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRouteCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts index e3df1e3539544..45c1bf36f5208 100644 --- a/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateRouteResponseCommand.ts @@ -28,7 +28,6 @@ export class CreateRouteResponseCommand extends $Command< CreateRouteResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRouteResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateStageCommand.ts b/clients/client-apigatewayv2/commands/CreateStageCommand.ts index b324abbbf0000..fa1426fb86a75 100644 --- a/clients/client-apigatewayv2/commands/CreateStageCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateStageCommand.ts @@ -28,7 +28,6 @@ export class CreateStageCommand extends $Command< CreateStageCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateStageCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/CreateVpcLinkCommand.ts b/clients/client-apigatewayv2/commands/CreateVpcLinkCommand.ts index 5729a6c5441aa..55a66933dbe0b 100644 --- a/clients/client-apigatewayv2/commands/CreateVpcLinkCommand.ts +++ b/clients/client-apigatewayv2/commands/CreateVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class CreateVpcLinkCommand extends $Command< CreateVpcLinkCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateVpcLinkCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteAccessLogSettingsCommand.ts b/clients/client-apigatewayv2/commands/DeleteAccessLogSettingsCommand.ts index 76ddd45d178a9..ba1fcfb56acce 100644 --- a/clients/client-apigatewayv2/commands/DeleteAccessLogSettingsCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteAccessLogSettingsCommand.ts @@ -28,7 +28,6 @@ export class DeleteAccessLogSettingsCommand extends $Command< DeleteAccessLogSettingsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAccessLogSettingsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteApiCommand.ts b/clients/client-apigatewayv2/commands/DeleteApiCommand.ts index 892a999d149e6..ca597cd75f189 100644 --- a/clients/client-apigatewayv2/commands/DeleteApiCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteApiCommand.ts @@ -28,7 +28,6 @@ export class DeleteApiCommand extends $Command< DeleteApiCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApiCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts b/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts index 496fb9fd9bc72..c81de516ed1c5 100644 --- a/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteApiMappingCommand.ts @@ -28,7 +28,6 @@ export class DeleteApiMappingCommand extends $Command< DeleteApiMappingCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApiMappingCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts index eac141cf89929..884417b0ec996 100644 --- a/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class DeleteAuthorizerCommand extends $Command< DeleteAuthorizerCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAuthorizerCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts b/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts index e24057a8b6808..83ac8b8ba565a 100644 --- a/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteCorsConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteCorsConfigurationCommand extends $Command< DeleteCorsConfigurationCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCorsConfigurationCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts b/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts index 6c110def8090a..35eb4609f34b5 100644 --- a/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteDeploymentCommand.ts @@ -28,7 +28,6 @@ export class DeleteDeploymentCommand extends $Command< DeleteDeploymentCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDeploymentCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts b/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts index 3465dd14c7c16..d52465be30116 100644 --- a/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteDomainNameCommand.ts @@ -28,7 +28,6 @@ export class DeleteDomainNameCommand extends $Command< DeleteDomainNameCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDomainNameCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts b/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts index e20a7667805eb..e4e1e15f9f363 100644 --- a/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteIntegrationCommand.ts @@ -28,7 +28,6 @@ export class DeleteIntegrationCommand extends $Command< DeleteIntegrationCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIntegrationCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts index 2a2b194cb0c33..72bccaf1af769 100644 --- a/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class DeleteIntegrationResponseCommand extends $Command< DeleteIntegrationResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIntegrationResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteModelCommand.ts b/clients/client-apigatewayv2/commands/DeleteModelCommand.ts index 869146e89a091..077fc3a899a58 100644 --- a/clients/client-apigatewayv2/commands/DeleteModelCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteModelCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelCommand extends $Command< DeleteModelCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts index 22167d11cf3fe..7a5af1260397a 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteCommand.ts @@ -28,7 +28,6 @@ export class DeleteRouteCommand extends $Command< DeleteRouteCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRouteCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteRouteRequestParameterCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteRequestParameterCommand.ts index 4d74151ceb68f..dd40cce050d70 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteRequestParameterCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteRequestParameterCommand.ts @@ -28,7 +28,6 @@ export class DeleteRouteRequestParameterCommand extends $Command< DeleteRouteRequestParameterCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRouteRequestParameterCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts index b4b550b7cab42..78585b03e6896 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteResponseCommand.ts @@ -28,7 +28,6 @@ export class DeleteRouteResponseCommand extends $Command< DeleteRouteResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRouteResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts b/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts index 703446ca8a94c..a171f364f2aad 100644 --- a/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteRouteSettingsCommand.ts @@ -28,7 +28,6 @@ export class DeleteRouteSettingsCommand extends $Command< DeleteRouteSettingsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRouteSettingsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteStageCommand.ts b/clients/client-apigatewayv2/commands/DeleteStageCommand.ts index 722db20b6c0ee..20c621b303f5b 100644 --- a/clients/client-apigatewayv2/commands/DeleteStageCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteStageCommand.ts @@ -28,7 +28,6 @@ export class DeleteStageCommand extends $Command< DeleteStageCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteStageCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/DeleteVpcLinkCommand.ts b/clients/client-apigatewayv2/commands/DeleteVpcLinkCommand.ts index 8e4da3dffe616..94c1f577f7953 100644 --- a/clients/client-apigatewayv2/commands/DeleteVpcLinkCommand.ts +++ b/clients/client-apigatewayv2/commands/DeleteVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class DeleteVpcLinkCommand extends $Command< DeleteVpcLinkCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVpcLinkCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/ExportApiCommand.ts b/clients/client-apigatewayv2/commands/ExportApiCommand.ts index e12ff96057821..fa6233e189072 100644 --- a/clients/client-apigatewayv2/commands/ExportApiCommand.ts +++ b/clients/client-apigatewayv2/commands/ExportApiCommand.ts @@ -25,7 +25,6 @@ export class ExportApiCommand extends $Command< ExportApiCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ExportApiCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetApiCommand.ts b/clients/client-apigatewayv2/commands/GetApiCommand.ts index d8a5f185fa38d..c3ca5e31a3ec4 100644 --- a/clients/client-apigatewayv2/commands/GetApiCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApiCommand.ts @@ -21,7 +21,6 @@ export type GetApiCommandOutput = GetApiResponse & __MetadataBearer; *

Gets an Api resource.

*/ export class GetApiCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetApiCommand 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-apigatewayv2/commands/GetApiMappingCommand.ts b/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts index 9914882441911..74ba7506cc2f9 100644 --- a/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApiMappingCommand.ts @@ -28,7 +28,6 @@ export class GetApiMappingCommand extends $Command< GetApiMappingCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApiMappingCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts b/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts index 8a7dd3cb194a9..c54e5f6a15e33 100644 --- a/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApiMappingsCommand.ts @@ -28,7 +28,6 @@ export class GetApiMappingsCommand extends $Command< GetApiMappingsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApiMappingsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetApisCommand.ts b/clients/client-apigatewayv2/commands/GetApisCommand.ts index bc573d489da3f..6e009d193cdc4 100644 --- a/clients/client-apigatewayv2/commands/GetApisCommand.ts +++ b/clients/client-apigatewayv2/commands/GetApisCommand.ts @@ -28,7 +28,6 @@ export class GetApisCommand extends $Command< GetApisCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApisCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts index 4fea167434bf0..9863b31c704f4 100644 --- a/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/GetAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class GetAuthorizerCommand extends $Command< GetAuthorizerCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAuthorizerCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts b/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts index e0b5fe6322a07..912e542a68363 100644 --- a/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts +++ b/clients/client-apigatewayv2/commands/GetAuthorizersCommand.ts @@ -28,7 +28,6 @@ export class GetAuthorizersCommand extends $Command< GetAuthorizersCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAuthorizersCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts b/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts index dd8c72a7a6058..00cd9eb9703b5 100644 --- a/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDeploymentCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentCommand extends $Command< GetDeploymentCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts b/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts index 6354926b99439..9ddc5be9d3422 100644 --- a/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentsCommand extends $Command< GetDeploymentsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts b/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts index 8fce97ad2a266..51fc233a485ec 100644 --- a/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDomainNameCommand.ts @@ -28,7 +28,6 @@ export class GetDomainNameCommand extends $Command< GetDomainNameCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainNameCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts b/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts index 62018599ee9a4..8322c97df5351 100644 --- a/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetDomainNamesCommand.ts @@ -28,7 +28,6 @@ export class GetDomainNamesCommand extends $Command< GetDomainNamesCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainNamesCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts index 64a2113c7cdf6..ffcf970359c67 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationCommand extends $Command< GetIntegrationCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts index ff5eab5ef831e..4fe7d77b6ce28 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationResponseCommand extends $Command< GetIntegrationResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts index 9dea7d8d56062..56a8e33ae9cd9 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationResponsesCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationResponsesCommand extends $Command< GetIntegrationResponsesCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationResponsesCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts b/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts index b0f848797e732..d967bfe1ff973 100644 --- a/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetIntegrationsCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationsCommand extends $Command< GetIntegrationsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetModelCommand.ts b/clients/client-apigatewayv2/commands/GetModelCommand.ts index 4f1e5db2e37d1..bcc4f60fd5154 100644 --- a/clients/client-apigatewayv2/commands/GetModelCommand.ts +++ b/clients/client-apigatewayv2/commands/GetModelCommand.ts @@ -28,7 +28,6 @@ export class GetModelCommand extends $Command< GetModelCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts b/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts index 38392822acb93..08af0fb7df2e8 100644 --- a/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts +++ b/clients/client-apigatewayv2/commands/GetModelTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetModelTemplateCommand extends $Command< GetModelTemplateCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelTemplateCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetModelsCommand.ts b/clients/client-apigatewayv2/commands/GetModelsCommand.ts index ee62e6abaf237..6dc62ade7f3c0 100644 --- a/clients/client-apigatewayv2/commands/GetModelsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetModelsCommand.ts @@ -28,7 +28,6 @@ export class GetModelsCommand extends $Command< GetModelsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetRouteCommand.ts b/clients/client-apigatewayv2/commands/GetRouteCommand.ts index 22a2b9d7f7d5a..9e2bc5cdd46f5 100644 --- a/clients/client-apigatewayv2/commands/GetRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRouteCommand.ts @@ -28,7 +28,6 @@ export class GetRouteCommand extends $Command< GetRouteCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRouteCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts index b1994cb37e19b..c898ed7a80022 100644 --- a/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRouteResponseCommand.ts @@ -28,7 +28,6 @@ export class GetRouteResponseCommand extends $Command< GetRouteResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRouteResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts b/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts index c0123f484c1b6..b9d98972d9899 100644 --- a/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRouteResponsesCommand.ts @@ -28,7 +28,6 @@ export class GetRouteResponsesCommand extends $Command< GetRouteResponsesCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRouteResponsesCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetRoutesCommand.ts b/clients/client-apigatewayv2/commands/GetRoutesCommand.ts index 0e3aad3bd4064..437a163eb31c3 100644 --- a/clients/client-apigatewayv2/commands/GetRoutesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetRoutesCommand.ts @@ -28,7 +28,6 @@ export class GetRoutesCommand extends $Command< GetRoutesCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRoutesCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetStageCommand.ts b/clients/client-apigatewayv2/commands/GetStageCommand.ts index 09f92d29cde4f..2f6c85152bafe 100644 --- a/clients/client-apigatewayv2/commands/GetStageCommand.ts +++ b/clients/client-apigatewayv2/commands/GetStageCommand.ts @@ -28,7 +28,6 @@ export class GetStageCommand extends $Command< GetStageCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStageCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetStagesCommand.ts b/clients/client-apigatewayv2/commands/GetStagesCommand.ts index 93a97f9ebcb19..e38c40a5fafc4 100644 --- a/clients/client-apigatewayv2/commands/GetStagesCommand.ts +++ b/clients/client-apigatewayv2/commands/GetStagesCommand.ts @@ -28,7 +28,6 @@ export class GetStagesCommand extends $Command< GetStagesCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStagesCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetTagsCommand.ts b/clients/client-apigatewayv2/commands/GetTagsCommand.ts index 61def83fc62d2..ea6016b12ad88 100644 --- a/clients/client-apigatewayv2/commands/GetTagsCommand.ts +++ b/clients/client-apigatewayv2/commands/GetTagsCommand.ts @@ -28,7 +28,6 @@ export class GetTagsCommand extends $Command< GetTagsCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTagsCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetVpcLinkCommand.ts b/clients/client-apigatewayv2/commands/GetVpcLinkCommand.ts index c80f4ce5e98ad..996234a6fd153 100644 --- a/clients/client-apigatewayv2/commands/GetVpcLinkCommand.ts +++ b/clients/client-apigatewayv2/commands/GetVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class GetVpcLinkCommand extends $Command< GetVpcLinkCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVpcLinkCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/GetVpcLinksCommand.ts b/clients/client-apigatewayv2/commands/GetVpcLinksCommand.ts index 9466e13e92c08..88290d1104e71 100644 --- a/clients/client-apigatewayv2/commands/GetVpcLinksCommand.ts +++ b/clients/client-apigatewayv2/commands/GetVpcLinksCommand.ts @@ -28,7 +28,6 @@ export class GetVpcLinksCommand extends $Command< GetVpcLinksCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVpcLinksCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/ImportApiCommand.ts b/clients/client-apigatewayv2/commands/ImportApiCommand.ts index 44d226937ff1d..c6a42ebcfeb5d 100644 --- a/clients/client-apigatewayv2/commands/ImportApiCommand.ts +++ b/clients/client-apigatewayv2/commands/ImportApiCommand.ts @@ -28,7 +28,6 @@ export class ImportApiCommand extends $Command< ImportApiCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportApiCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/ReimportApiCommand.ts b/clients/client-apigatewayv2/commands/ReimportApiCommand.ts index 591010bed5fbe..d63cbf9e663d5 100644 --- a/clients/client-apigatewayv2/commands/ReimportApiCommand.ts +++ b/clients/client-apigatewayv2/commands/ReimportApiCommand.ts @@ -28,7 +28,6 @@ export class ReimportApiCommand extends $Command< ReimportApiCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ReimportApiCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/ResetAuthorizersCacheCommand.ts b/clients/client-apigatewayv2/commands/ResetAuthorizersCacheCommand.ts index 0d318229e4a4a..d2353783e2bec 100644 --- a/clients/client-apigatewayv2/commands/ResetAuthorizersCacheCommand.ts +++ b/clients/client-apigatewayv2/commands/ResetAuthorizersCacheCommand.ts @@ -28,7 +28,6 @@ export class ResetAuthorizersCacheCommand extends $Command< ResetAuthorizersCacheCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ResetAuthorizersCacheCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/TagResourceCommand.ts b/clients/client-apigatewayv2/commands/TagResourceCommand.ts index 20a25609872e8..20213205be56d 100644 --- a/clients/client-apigatewayv2/commands/TagResourceCommand.ts +++ b/clients/client-apigatewayv2/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UntagResourceCommand.ts b/clients/client-apigatewayv2/commands/UntagResourceCommand.ts index 9c26fb04e89d4..395974bded7b2 100644 --- a/clients/client-apigatewayv2/commands/UntagResourceCommand.ts +++ b/clients/client-apigatewayv2/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateApiCommand.ts b/clients/client-apigatewayv2/commands/UpdateApiCommand.ts index 4088994f80b52..8270ebfde71b2 100644 --- a/clients/client-apigatewayv2/commands/UpdateApiCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateApiCommand.ts @@ -28,7 +28,6 @@ export class UpdateApiCommand extends $Command< UpdateApiCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApiCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts b/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts index e6dcfe144db2c..3a02ecb1c5e37 100644 --- a/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateApiMappingCommand.ts @@ -28,7 +28,6 @@ export class UpdateApiMappingCommand extends $Command< UpdateApiMappingCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApiMappingCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts b/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts index 9b70911d5eb47..290fbd748893e 100644 --- a/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class UpdateAuthorizerCommand extends $Command< UpdateAuthorizerCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAuthorizerCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts b/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts index d9b7d4afcbd97..e396708f2efc2 100644 --- a/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateDeploymentCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeploymentCommand extends $Command< UpdateDeploymentCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeploymentCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts b/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts index 3b2fc9c2abb99..ea700c6e5f8f4 100644 --- a/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateDomainNameCommand.ts @@ -28,7 +28,6 @@ export class UpdateDomainNameCommand extends $Command< UpdateDomainNameCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDomainNameCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts b/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts index 26c8866edc7c7..9e847ad04136e 100644 --- a/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateIntegrationCommand.ts @@ -28,7 +28,6 @@ export class UpdateIntegrationCommand extends $Command< UpdateIntegrationCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIntegrationCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts b/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts index 63e4eada9fe71..cfee1e6543c80 100644 --- a/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateIntegrationResponseCommand.ts @@ -28,7 +28,6 @@ export class UpdateIntegrationResponseCommand extends $Command< UpdateIntegrationResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIntegrationResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateModelCommand.ts b/clients/client-apigatewayv2/commands/UpdateModelCommand.ts index 96a9480737c33..810e0a93af620 100644 --- a/clients/client-apigatewayv2/commands/UpdateModelCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateModelCommand.ts @@ -28,7 +28,6 @@ export class UpdateModelCommand extends $Command< UpdateModelCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateModelCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts b/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts index a26bd6321f9a4..f125cc20dffc6 100644 --- a/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateRouteCommand.ts @@ -28,7 +28,6 @@ export class UpdateRouteCommand extends $Command< UpdateRouteCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRouteCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts b/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts index fcafd2701f565..eae64cd4f43b6 100644 --- a/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateRouteResponseCommand.ts @@ -28,7 +28,6 @@ export class UpdateRouteResponseCommand extends $Command< UpdateRouteResponseCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRouteResponseCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateStageCommand.ts b/clients/client-apigatewayv2/commands/UpdateStageCommand.ts index 16a00e2df7516..2c558b77a2ee8 100644 --- a/clients/client-apigatewayv2/commands/UpdateStageCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateStageCommand.ts @@ -28,7 +28,6 @@ export class UpdateStageCommand extends $Command< UpdateStageCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateStageCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-apigatewayv2/commands/UpdateVpcLinkCommand.ts b/clients/client-apigatewayv2/commands/UpdateVpcLinkCommand.ts index e0ad9a3f4ee0e..5d920ce804b16 100644 --- a/clients/client-apigatewayv2/commands/UpdateVpcLinkCommand.ts +++ b/clients/client-apigatewayv2/commands/UpdateVpcLinkCommand.ts @@ -28,7 +28,6 @@ export class UpdateVpcLinkCommand extends $Command< UpdateVpcLinkCommandOutput, ApiGatewayV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVpcLinkCommand extends $Command< configuration: ApiGatewayV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateGatewayRouteCommand.ts b/clients/client-app-mesh/commands/CreateGatewayRouteCommand.ts index 41d41001f1d66..7277556b6da6c 100644 --- a/clients/client-app-mesh/commands/CreateGatewayRouteCommand.ts +++ b/clients/client-app-mesh/commands/CreateGatewayRouteCommand.ts @@ -31,7 +31,6 @@ export class CreateGatewayRouteCommand extends $Command< CreateGatewayRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateGatewayRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateMeshCommand.ts b/clients/client-app-mesh/commands/CreateMeshCommand.ts index beac7462275a1..a7f0b7e59ee0d 100644 --- a/clients/client-app-mesh/commands/CreateMeshCommand.ts +++ b/clients/client-app-mesh/commands/CreateMeshCommand.ts @@ -33,7 +33,6 @@ export class CreateMeshCommand extends $Command< CreateMeshCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateMeshCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateRouteCommand.ts b/clients/client-app-mesh/commands/CreateRouteCommand.ts index c60119ec8ceda..2759fa093a1c5 100644 --- a/clients/client-app-mesh/commands/CreateRouteCommand.ts +++ b/clients/client-app-mesh/commands/CreateRouteCommand.ts @@ -31,7 +31,6 @@ export class CreateRouteCommand extends $Command< CreateRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateVirtualGatewayCommand.ts b/clients/client-app-mesh/commands/CreateVirtualGatewayCommand.ts index 2ffa0c43ec390..c3695a94d362d 100644 --- a/clients/client-app-mesh/commands/CreateVirtualGatewayCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualGatewayCommand.ts @@ -33,7 +33,6 @@ export class CreateVirtualGatewayCommand extends $Command< CreateVirtualGatewayCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateVirtualGatewayCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts b/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts index bd93a1f19231c..d391257860a6a 100644 --- a/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualNodeCommand.ts @@ -48,7 +48,6 @@ export class CreateVirtualNodeCommand extends $Command< CreateVirtualNodeCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateVirtualNodeCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts b/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts index 5bf7fa7ad2ea7..e165af377de55 100644 --- a/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualRouterCommand.ts @@ -34,7 +34,6 @@ export class CreateVirtualRouterCommand extends $Command< CreateVirtualRouterCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateVirtualRouterCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts b/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts index eee689ed9b8de..e870a771a4177 100644 --- a/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/CreateVirtualServiceCommand.ts @@ -34,7 +34,6 @@ export class CreateVirtualServiceCommand extends $Command< CreateVirtualServiceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateVirtualServiceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteGatewayRouteCommand.ts b/clients/client-app-mesh/commands/DeleteGatewayRouteCommand.ts index 0b5dbb6d27bba..fea3a17b4249d 100644 --- a/clients/client-app-mesh/commands/DeleteGatewayRouteCommand.ts +++ b/clients/client-app-mesh/commands/DeleteGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class DeleteGatewayRouteCommand extends $Command< DeleteGatewayRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGatewayRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteMeshCommand.ts b/clients/client-app-mesh/commands/DeleteMeshCommand.ts index 61270b3f5e8f7..2a8bd391f6ceb 100644 --- a/clients/client-app-mesh/commands/DeleteMeshCommand.ts +++ b/clients/client-app-mesh/commands/DeleteMeshCommand.ts @@ -30,7 +30,6 @@ export class DeleteMeshCommand extends $Command< DeleteMeshCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteMeshCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteRouteCommand.ts b/clients/client-app-mesh/commands/DeleteRouteCommand.ts index 00647a36ca4b8..865a1df59d868 100644 --- a/clients/client-app-mesh/commands/DeleteRouteCommand.ts +++ b/clients/client-app-mesh/commands/DeleteRouteCommand.ts @@ -28,7 +28,6 @@ export class DeleteRouteCommand extends $Command< DeleteRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteVirtualGatewayCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualGatewayCommand.ts index 33e82e90966ba..36846785e377d 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualGatewayCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualGatewayCommand.ts @@ -29,7 +29,6 @@ export class DeleteVirtualGatewayCommand extends $Command< DeleteVirtualGatewayCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteVirtualGatewayCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts index 35e7369ad8996..02acf9f4ccfe2 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualNodeCommand.ts @@ -30,7 +30,6 @@ export class DeleteVirtualNodeCommand extends $Command< DeleteVirtualNodeCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteVirtualNodeCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts index ea14e9c0efbb2..909b4af9a6635 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualRouterCommand.ts @@ -30,7 +30,6 @@ export class DeleteVirtualRouterCommand extends $Command< DeleteVirtualRouterCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteVirtualRouterCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts b/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts index 8aa9f84235a92..583f1cce7aa22 100644 --- a/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/DeleteVirtualServiceCommand.ts @@ -28,7 +28,6 @@ export class DeleteVirtualServiceCommand extends $Command< DeleteVirtualServiceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVirtualServiceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeGatewayRouteCommand.ts b/clients/client-app-mesh/commands/DescribeGatewayRouteCommand.ts index 9c0fb33bb98aa..fe89d1c4505e7 100644 --- a/clients/client-app-mesh/commands/DescribeGatewayRouteCommand.ts +++ b/clients/client-app-mesh/commands/DescribeGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class DescribeGatewayRouteCommand extends $Command< DescribeGatewayRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGatewayRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeMeshCommand.ts b/clients/client-app-mesh/commands/DescribeMeshCommand.ts index e48a4a23a9937..e3a7d2951de39 100644 --- a/clients/client-app-mesh/commands/DescribeMeshCommand.ts +++ b/clients/client-app-mesh/commands/DescribeMeshCommand.ts @@ -28,7 +28,6 @@ export class DescribeMeshCommand extends $Command< DescribeMeshCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMeshCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeRouteCommand.ts b/clients/client-app-mesh/commands/DescribeRouteCommand.ts index 05522a0e195df..118f3f0cc9d01 100644 --- a/clients/client-app-mesh/commands/DescribeRouteCommand.ts +++ b/clients/client-app-mesh/commands/DescribeRouteCommand.ts @@ -28,7 +28,6 @@ export class DescribeRouteCommand extends $Command< DescribeRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeVirtualGatewayCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualGatewayCommand.ts index 2afcb23a7218d..662abb6e4ef9b 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualGatewayCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualGatewayCommand.ts @@ -28,7 +28,6 @@ export class DescribeVirtualGatewayCommand extends $Command< DescribeVirtualGatewayCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVirtualGatewayCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts index 31825689e74eb..125e726d33bbe 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualNodeCommand.ts @@ -28,7 +28,6 @@ export class DescribeVirtualNodeCommand extends $Command< DescribeVirtualNodeCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVirtualNodeCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts index 40f2af92def41..c42f4784c6896 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualRouterCommand.ts @@ -28,7 +28,6 @@ export class DescribeVirtualRouterCommand extends $Command< DescribeVirtualRouterCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVirtualRouterCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts b/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts index 9dac4256b6ea1..621f23d50d942 100644 --- a/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/DescribeVirtualServiceCommand.ts @@ -28,7 +28,6 @@ export class DescribeVirtualServiceCommand extends $Command< DescribeVirtualServiceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVirtualServiceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListGatewayRoutesCommand.ts b/clients/client-app-mesh/commands/ListGatewayRoutesCommand.ts index 52aebb76ff6d3..7ab287f691616 100644 --- a/clients/client-app-mesh/commands/ListGatewayRoutesCommand.ts +++ b/clients/client-app-mesh/commands/ListGatewayRoutesCommand.ts @@ -29,7 +29,6 @@ export class ListGatewayRoutesCommand extends $Command< ListGatewayRoutesCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListGatewayRoutesCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListMeshesCommand.ts b/clients/client-app-mesh/commands/ListMeshesCommand.ts index 66524fae6170e..0dc3af3f27530 100644 --- a/clients/client-app-mesh/commands/ListMeshesCommand.ts +++ b/clients/client-app-mesh/commands/ListMeshesCommand.ts @@ -28,7 +28,6 @@ export class ListMeshesCommand extends $Command< ListMeshesCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMeshesCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListRoutesCommand.ts b/clients/client-app-mesh/commands/ListRoutesCommand.ts index 5e17f34b512cd..fdf4d2be68e9a 100644 --- a/clients/client-app-mesh/commands/ListRoutesCommand.ts +++ b/clients/client-app-mesh/commands/ListRoutesCommand.ts @@ -28,7 +28,6 @@ export class ListRoutesCommand extends $Command< ListRoutesCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRoutesCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts b/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts index dde1e4eb2dcba..9433fbffda74a 100644 --- a/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts +++ b/clients/client-app-mesh/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListVirtualGatewaysCommand.ts b/clients/client-app-mesh/commands/ListVirtualGatewaysCommand.ts index fedf8b731621b..0c48273949626 100644 --- a/clients/client-app-mesh/commands/ListVirtualGatewaysCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualGatewaysCommand.ts @@ -28,7 +28,6 @@ export class ListVirtualGatewaysCommand extends $Command< ListVirtualGatewaysCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVirtualGatewaysCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts b/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts index 9584c8ea19d7c..188d5917cc873 100644 --- a/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualNodesCommand.ts @@ -28,7 +28,6 @@ export class ListVirtualNodesCommand extends $Command< ListVirtualNodesCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVirtualNodesCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts b/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts index 9a825384f1b40..45458e5109ddb 100644 --- a/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualRoutersCommand.ts @@ -28,7 +28,6 @@ export class ListVirtualRoutersCommand extends $Command< ListVirtualRoutersCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVirtualRoutersCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts b/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts index 4146d37a21493..db6974f669b55 100644 --- a/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts +++ b/clients/client-app-mesh/commands/ListVirtualServicesCommand.ts @@ -28,7 +28,6 @@ export class ListVirtualServicesCommand extends $Command< ListVirtualServicesCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVirtualServicesCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/TagResourceCommand.ts b/clients/client-app-mesh/commands/TagResourceCommand.ts index 5eda520c8d001..e238a2f38fcce 100644 --- a/clients/client-app-mesh/commands/TagResourceCommand.ts +++ b/clients/client-app-mesh/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UntagResourceCommand.ts b/clients/client-app-mesh/commands/UntagResourceCommand.ts index 6744df0b98c79..bffa400788279 100644 --- a/clients/client-app-mesh/commands/UntagResourceCommand.ts +++ b/clients/client-app-mesh/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateGatewayRouteCommand.ts b/clients/client-app-mesh/commands/UpdateGatewayRouteCommand.ts index 5e05ceb5aeb3c..520e3a9dcc4e6 100644 --- a/clients/client-app-mesh/commands/UpdateGatewayRouteCommand.ts +++ b/clients/client-app-mesh/commands/UpdateGatewayRouteCommand.ts @@ -29,7 +29,6 @@ export class UpdateGatewayRouteCommand extends $Command< UpdateGatewayRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGatewayRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateMeshCommand.ts b/clients/client-app-mesh/commands/UpdateMeshCommand.ts index 7d87c4485c565..a9c562d635765 100644 --- a/clients/client-app-mesh/commands/UpdateMeshCommand.ts +++ b/clients/client-app-mesh/commands/UpdateMeshCommand.ts @@ -28,7 +28,6 @@ export class UpdateMeshCommand extends $Command< UpdateMeshCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMeshCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateRouteCommand.ts b/clients/client-app-mesh/commands/UpdateRouteCommand.ts index 8c58773f05178..10778260b13e7 100644 --- a/clients/client-app-mesh/commands/UpdateRouteCommand.ts +++ b/clients/client-app-mesh/commands/UpdateRouteCommand.ts @@ -28,7 +28,6 @@ export class UpdateRouteCommand extends $Command< UpdateRouteCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRouteCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateVirtualGatewayCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualGatewayCommand.ts index 8566d1b3c3d40..6072e84901bad 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualGatewayCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualGatewayCommand.ts @@ -28,7 +28,6 @@ export class UpdateVirtualGatewayCommand extends $Command< UpdateVirtualGatewayCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVirtualGatewayCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts index 7576dca9c4374..480b10e609e96 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualNodeCommand.ts @@ -28,7 +28,6 @@ export class UpdateVirtualNodeCommand extends $Command< UpdateVirtualNodeCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVirtualNodeCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts index 75f8dfbcd623e..9eccfc24f8d31 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualRouterCommand.ts @@ -28,7 +28,6 @@ export class UpdateVirtualRouterCommand extends $Command< UpdateVirtualRouterCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVirtualRouterCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts b/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts index c94976cbfeba5..0372c4384ff01 100644 --- a/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts +++ b/clients/client-app-mesh/commands/UpdateVirtualServiceCommand.ts @@ -28,7 +28,6 @@ export class UpdateVirtualServiceCommand extends $Command< UpdateVirtualServiceCommandOutput, AppMeshClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVirtualServiceCommand extends $Command< configuration: AppMeshClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/CreateApplicationCommand.ts b/clients/client-appconfig/commands/CreateApplicationCommand.ts index 634cc661da172..00e28daa8a230 100644 --- a/clients/client-appconfig/commands/CreateApplicationCommand.ts +++ b/clients/client-appconfig/commands/CreateApplicationCommand.ts @@ -31,7 +31,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateApplicationCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts b/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts index 7c875a3436904..37555cceb86c5 100644 --- a/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/CreateConfigurationProfileCommand.ts @@ -45,7 +45,6 @@ export class CreateConfigurationProfileCommand extends $Command< CreateConfigurationProfileCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateConfigurationProfileCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts index a1892f40caa0e..910fdb8beb954 100644 --- a/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/CreateDeploymentStrategyCommand.ts @@ -31,7 +31,6 @@ export class CreateDeploymentStrategyCommand extends $Command< CreateDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDeploymentStrategyCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/CreateEnvironmentCommand.ts b/clients/client-appconfig/commands/CreateEnvironmentCommand.ts index d37a16b5833d4..1cf7d06a4a875 100644 --- a/clients/client-appconfig/commands/CreateEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/CreateEnvironmentCommand.ts @@ -34,7 +34,6 @@ export class CreateEnvironmentCommand extends $Command< CreateEnvironmentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateEnvironmentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/CreateHostedConfigurationVersionCommand.ts b/clients/client-appconfig/commands/CreateHostedConfigurationVersionCommand.ts index cdb6ce707e8d0..854ec94b8988a 100644 --- a/clients/client-appconfig/commands/CreateHostedConfigurationVersionCommand.ts +++ b/clients/client-appconfig/commands/CreateHostedConfigurationVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateHostedConfigurationVersionCommand extends $Command< CreateHostedConfigurationVersionCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateHostedConfigurationVersionCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/DeleteApplicationCommand.ts b/clients/client-appconfig/commands/DeleteApplicationCommand.ts index 3a89eb125a742..cfd3186a072e0 100644 --- a/clients/client-appconfig/commands/DeleteApplicationCommand.ts +++ b/clients/client-appconfig/commands/DeleteApplicationCommand.ts @@ -29,7 +29,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteApplicationCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts b/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts index a76ee330a212f..f412eadd9f80d 100644 --- a/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/DeleteConfigurationProfileCommand.ts @@ -29,7 +29,6 @@ export class DeleteConfigurationProfileCommand extends $Command< DeleteConfigurationProfileCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteConfigurationProfileCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts index 43349784ab3e4..3d50558e06ef4 100644 --- a/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/DeleteDeploymentStrategyCommand.ts @@ -29,7 +29,6 @@ export class DeleteDeploymentStrategyCommand extends $Command< DeleteDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDeploymentStrategyCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts b/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts index 8caf330dd0e4b..ac5d91574cc36 100644 --- a/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/DeleteEnvironmentCommand.ts @@ -29,7 +29,6 @@ export class DeleteEnvironmentCommand extends $Command< DeleteEnvironmentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteEnvironmentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/DeleteHostedConfigurationVersionCommand.ts b/clients/client-appconfig/commands/DeleteHostedConfigurationVersionCommand.ts index 8371159264902..316476e1d6f57 100644 --- a/clients/client-appconfig/commands/DeleteHostedConfigurationVersionCommand.ts +++ b/clients/client-appconfig/commands/DeleteHostedConfigurationVersionCommand.ts @@ -28,7 +28,6 @@ export class DeleteHostedConfigurationVersionCommand extends $Command< DeleteHostedConfigurationVersionCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteHostedConfigurationVersionCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetApplicationCommand.ts b/clients/client-appconfig/commands/GetApplicationCommand.ts index 2bebd27c1a998..c79748a5a6a86 100644 --- a/clients/client-appconfig/commands/GetApplicationCommand.ts +++ b/clients/client-appconfig/commands/GetApplicationCommand.ts @@ -28,7 +28,6 @@ export class GetApplicationCommand extends $Command< GetApplicationCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApplicationCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetConfigurationCommand.ts b/clients/client-appconfig/commands/GetConfigurationCommand.ts index b55fcd0c604cb..6060faca08ff1 100644 --- a/clients/client-appconfig/commands/GetConfigurationCommand.ts +++ b/clients/client-appconfig/commands/GetConfigurationCommand.ts @@ -40,7 +40,6 @@ export class GetConfigurationCommand extends $Command< GetConfigurationCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetConfigurationCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts b/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts index 9ee41221a6998..dce99fdd76a1a 100644 --- a/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/GetConfigurationProfileCommand.ts @@ -28,7 +28,6 @@ export class GetConfigurationProfileCommand extends $Command< GetConfigurationProfileCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConfigurationProfileCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetDeploymentCommand.ts b/clients/client-appconfig/commands/GetDeploymentCommand.ts index e88b8c19ed6fc..1e85711b2d8b5 100644 --- a/clients/client-appconfig/commands/GetDeploymentCommand.ts +++ b/clients/client-appconfig/commands/GetDeploymentCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentCommand extends $Command< GetDeploymentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts index 98e6a1a29b63a..00f05123c9a77 100644 --- a/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/GetDeploymentStrategyCommand.ts @@ -32,7 +32,6 @@ export class GetDeploymentStrategyCommand extends $Command< GetDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetDeploymentStrategyCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetEnvironmentCommand.ts b/clients/client-appconfig/commands/GetEnvironmentCommand.ts index 1a4d910bc26ef..cef73ac7bc1fd 100644 --- a/clients/client-appconfig/commands/GetEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/GetEnvironmentCommand.ts @@ -32,7 +32,6 @@ export class GetEnvironmentCommand extends $Command< GetEnvironmentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetEnvironmentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/GetHostedConfigurationVersionCommand.ts b/clients/client-appconfig/commands/GetHostedConfigurationVersionCommand.ts index a07451a220de5..fad405acba8fe 100644 --- a/clients/client-appconfig/commands/GetHostedConfigurationVersionCommand.ts +++ b/clients/client-appconfig/commands/GetHostedConfigurationVersionCommand.ts @@ -28,7 +28,6 @@ export class GetHostedConfigurationVersionCommand extends $Command< GetHostedConfigurationVersionCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetHostedConfigurationVersionCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListApplicationsCommand.ts b/clients/client-appconfig/commands/ListApplicationsCommand.ts index 33d97b933e5af..7508ede6e1b68 100644 --- a/clients/client-appconfig/commands/ListApplicationsCommand.ts +++ b/clients/client-appconfig/commands/ListApplicationsCommand.ts @@ -28,7 +28,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListApplicationsCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts b/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts index 7174c9a163250..11d618c527925 100644 --- a/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts +++ b/clients/client-appconfig/commands/ListConfigurationProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListConfigurationProfilesCommand extends $Command< ListConfigurationProfilesCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigurationProfilesCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts b/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts index de9b27f43c1a0..748305ac8e436 100644 --- a/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts +++ b/clients/client-appconfig/commands/ListDeploymentStrategiesCommand.ts @@ -28,7 +28,6 @@ export class ListDeploymentStrategiesCommand extends $Command< ListDeploymentStrategiesCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeploymentStrategiesCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListDeploymentsCommand.ts b/clients/client-appconfig/commands/ListDeploymentsCommand.ts index 3774475f99489..0776bd2a1c747 100644 --- a/clients/client-appconfig/commands/ListDeploymentsCommand.ts +++ b/clients/client-appconfig/commands/ListDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class ListDeploymentsCommand extends $Command< ListDeploymentsCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeploymentsCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListEnvironmentsCommand.ts b/clients/client-appconfig/commands/ListEnvironmentsCommand.ts index 8861050fc0a62..52b72c5f10595 100644 --- a/clients/client-appconfig/commands/ListEnvironmentsCommand.ts +++ b/clients/client-appconfig/commands/ListEnvironmentsCommand.ts @@ -28,7 +28,6 @@ export class ListEnvironmentsCommand extends $Command< ListEnvironmentsCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEnvironmentsCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListHostedConfigurationVersionsCommand.ts b/clients/client-appconfig/commands/ListHostedConfigurationVersionsCommand.ts index 9d4a62de7ddbc..a98c5b97174a4 100644 --- a/clients/client-appconfig/commands/ListHostedConfigurationVersionsCommand.ts +++ b/clients/client-appconfig/commands/ListHostedConfigurationVersionsCommand.ts @@ -29,7 +29,6 @@ export class ListHostedConfigurationVersionsCommand extends $Command< ListHostedConfigurationVersionsCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListHostedConfigurationVersionsCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ListTagsForResourceCommand.ts b/clients/client-appconfig/commands/ListTagsForResourceCommand.ts index a7398bde4425e..6459dfaae3f7f 100644 --- a/clients/client-appconfig/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appconfig/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/StartDeploymentCommand.ts b/clients/client-appconfig/commands/StartDeploymentCommand.ts index e4c1370274af0..171d1653a60c7 100644 --- a/clients/client-appconfig/commands/StartDeploymentCommand.ts +++ b/clients/client-appconfig/commands/StartDeploymentCommand.ts @@ -28,7 +28,6 @@ export class StartDeploymentCommand extends $Command< StartDeploymentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartDeploymentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/StopDeploymentCommand.ts b/clients/client-appconfig/commands/StopDeploymentCommand.ts index 0f86e83fd8381..afada1849af50 100644 --- a/clients/client-appconfig/commands/StopDeploymentCommand.ts +++ b/clients/client-appconfig/commands/StopDeploymentCommand.ts @@ -30,7 +30,6 @@ export class StopDeploymentCommand extends $Command< StopDeploymentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StopDeploymentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/TagResourceCommand.ts b/clients/client-appconfig/commands/TagResourceCommand.ts index f356e542a90e0..649161d75cd9a 100644 --- a/clients/client-appconfig/commands/TagResourceCommand.ts +++ b/clients/client-appconfig/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/UntagResourceCommand.ts b/clients/client-appconfig/commands/UntagResourceCommand.ts index 132f151666f39..9b557a6c5e857 100644 --- a/clients/client-appconfig/commands/UntagResourceCommand.ts +++ b/clients/client-appconfig/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/UpdateApplicationCommand.ts b/clients/client-appconfig/commands/UpdateApplicationCommand.ts index 21d2bfb3435ca..d514053af4c5f 100644 --- a/clients/client-appconfig/commands/UpdateApplicationCommand.ts +++ b/clients/client-appconfig/commands/UpdateApplicationCommand.ts @@ -28,7 +28,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApplicationCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts b/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts index 16b686146096e..246341690c8f4 100644 --- a/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts +++ b/clients/client-appconfig/commands/UpdateConfigurationProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateConfigurationProfileCommand extends $Command< UpdateConfigurationProfileCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConfigurationProfileCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts b/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts index e2877446f5330..81f1b0165531f 100644 --- a/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts +++ b/clients/client-appconfig/commands/UpdateDeploymentStrategyCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeploymentStrategyCommand extends $Command< UpdateDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeploymentStrategyCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts b/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts index c8f46ae2be211..f33a73b57195e 100644 --- a/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-appconfig/commands/UpdateEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class UpdateEnvironmentCommand extends $Command< UpdateEnvironmentCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEnvironmentCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appconfig/commands/ValidateConfigurationCommand.ts b/clients/client-appconfig/commands/ValidateConfigurationCommand.ts index 47a60b5835b6f..73d0467b4795c 100644 --- a/clients/client-appconfig/commands/ValidateConfigurationCommand.ts +++ b/clients/client-appconfig/commands/ValidateConfigurationCommand.ts @@ -28,7 +28,6 @@ export class ValidateConfigurationCommand extends $Command< ValidateConfigurationCommandOutput, AppConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ValidateConfigurationCommand extends $Command< configuration: AppConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/CreateConnectorProfileCommand.ts b/clients/client-appflow/commands/CreateConnectorProfileCommand.ts index 1fc20fcfcdcdf..65466daed6e76 100644 --- a/clients/client-appflow/commands/CreateConnectorProfileCommand.ts +++ b/clients/client-appflow/commands/CreateConnectorProfileCommand.ts @@ -30,7 +30,6 @@ export class CreateConnectorProfileCommand extends $Command< CreateConnectorProfileCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateConnectorProfileCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/CreateFlowCommand.ts b/clients/client-appflow/commands/CreateFlowCommand.ts index 9fe3d91e55d34..b480edff8ac46 100644 --- a/clients/client-appflow/commands/CreateFlowCommand.ts +++ b/clients/client-appflow/commands/CreateFlowCommand.ts @@ -31,7 +31,6 @@ export class CreateFlowCommand extends $Command< CreateFlowCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateFlowCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DeleteConnectorProfileCommand.ts b/clients/client-appflow/commands/DeleteConnectorProfileCommand.ts index c9d37d47205b1..821fbbda48d67 100644 --- a/clients/client-appflow/commands/DeleteConnectorProfileCommand.ts +++ b/clients/client-appflow/commands/DeleteConnectorProfileCommand.ts @@ -30,7 +30,6 @@ export class DeleteConnectorProfileCommand extends $Command< DeleteConnectorProfileCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteConnectorProfileCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DeleteFlowCommand.ts b/clients/client-appflow/commands/DeleteFlowCommand.ts index 54e52244cbef2..1e1487388c4c1 100644 --- a/clients/client-appflow/commands/DeleteFlowCommand.ts +++ b/clients/client-appflow/commands/DeleteFlowCommand.ts @@ -31,7 +31,6 @@ export class DeleteFlowCommand extends $Command< DeleteFlowCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteFlowCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DescribeConnectorEntityCommand.ts b/clients/client-appflow/commands/DescribeConnectorEntityCommand.ts index d8faba486dba2..90d3f2ba8d28a 100644 --- a/clients/client-appflow/commands/DescribeConnectorEntityCommand.ts +++ b/clients/client-appflow/commands/DescribeConnectorEntityCommand.ts @@ -30,7 +30,6 @@ export class DescribeConnectorEntityCommand extends $Command< DescribeConnectorEntityCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeConnectorEntityCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DescribeConnectorProfilesCommand.ts b/clients/client-appflow/commands/DescribeConnectorProfilesCommand.ts index 8c9de3259764e..526a505530ae9 100644 --- a/clients/client-appflow/commands/DescribeConnectorProfilesCommand.ts +++ b/clients/client-appflow/commands/DescribeConnectorProfilesCommand.ts @@ -30,7 +30,6 @@ export class DescribeConnectorProfilesCommand extends $Command< DescribeConnectorProfilesCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeConnectorProfilesCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DescribeConnectorsCommand.ts b/clients/client-appflow/commands/DescribeConnectorsCommand.ts index 9595ff39f4720..515db29a18746 100644 --- a/clients/client-appflow/commands/DescribeConnectorsCommand.ts +++ b/clients/client-appflow/commands/DescribeConnectorsCommand.ts @@ -31,7 +31,6 @@ export class DescribeConnectorsCommand extends $Command< DescribeConnectorsCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeConnectorsCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DescribeFlowCommand.ts b/clients/client-appflow/commands/DescribeFlowCommand.ts index a38983f4a9d64..382f88f2467e3 100644 --- a/clients/client-appflow/commands/DescribeFlowCommand.ts +++ b/clients/client-appflow/commands/DescribeFlowCommand.ts @@ -31,7 +31,6 @@ export class DescribeFlowCommand extends $Command< DescribeFlowCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeFlowCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/DescribeFlowExecutionRecordsCommand.ts b/clients/client-appflow/commands/DescribeFlowExecutionRecordsCommand.ts index 2c9a5a9c29431..51efb8462fdbd 100644 --- a/clients/client-appflow/commands/DescribeFlowExecutionRecordsCommand.ts +++ b/clients/client-appflow/commands/DescribeFlowExecutionRecordsCommand.ts @@ -30,7 +30,6 @@ export class DescribeFlowExecutionRecordsCommand extends $Command< DescribeFlowExecutionRecordsCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeFlowExecutionRecordsCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/ListConnectorEntitiesCommand.ts b/clients/client-appflow/commands/ListConnectorEntitiesCommand.ts index 80c0339e4b904..72646a8e04431 100644 --- a/clients/client-appflow/commands/ListConnectorEntitiesCommand.ts +++ b/clients/client-appflow/commands/ListConnectorEntitiesCommand.ts @@ -30,7 +30,6 @@ export class ListConnectorEntitiesCommand extends $Command< ListConnectorEntitiesCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListConnectorEntitiesCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/ListFlowsCommand.ts b/clients/client-appflow/commands/ListFlowsCommand.ts index 26518bf7a4861..26e0a64115574 100644 --- a/clients/client-appflow/commands/ListFlowsCommand.ts +++ b/clients/client-appflow/commands/ListFlowsCommand.ts @@ -30,7 +30,6 @@ export class ListFlowsCommand extends $Command< ListFlowsCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListFlowsCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/ListTagsForResourceCommand.ts b/clients/client-appflow/commands/ListTagsForResourceCommand.ts index 756bdc5bf790d..2067442e1892f 100644 --- a/clients/client-appflow/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appflow/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/StartFlowCommand.ts b/clients/client-appflow/commands/StartFlowCommand.ts index 6e17400e88308..339f050e648b8 100644 --- a/clients/client-appflow/commands/StartFlowCommand.ts +++ b/clients/client-appflow/commands/StartFlowCommand.ts @@ -31,7 +31,6 @@ export class StartFlowCommand extends $Command< StartFlowCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartFlowCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/StopFlowCommand.ts b/clients/client-appflow/commands/StopFlowCommand.ts index b5eaa3c20f998..4c2fb768c80cf 100644 --- a/clients/client-appflow/commands/StopFlowCommand.ts +++ b/clients/client-appflow/commands/StopFlowCommand.ts @@ -30,7 +30,6 @@ export class StopFlowCommand extends $Command< StopFlowCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StopFlowCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/TagResourceCommand.ts b/clients/client-appflow/commands/TagResourceCommand.ts index 7394732ae55dc..f3cf7870d4bf5 100644 --- a/clients/client-appflow/commands/TagResourceCommand.ts +++ b/clients/client-appflow/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/UntagResourceCommand.ts b/clients/client-appflow/commands/UntagResourceCommand.ts index b9b19a1af35e5..4a39513f97484 100644 --- a/clients/client-appflow/commands/UntagResourceCommand.ts +++ b/clients/client-appflow/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/UpdateConnectorProfileCommand.ts b/clients/client-appflow/commands/UpdateConnectorProfileCommand.ts index 302402c11b38d..ae18b10dd470e 100644 --- a/clients/client-appflow/commands/UpdateConnectorProfileCommand.ts +++ b/clients/client-appflow/commands/UpdateConnectorProfileCommand.ts @@ -30,7 +30,6 @@ export class UpdateConnectorProfileCommand extends $Command< UpdateConnectorProfileCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateConnectorProfileCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appflow/commands/UpdateFlowCommand.ts b/clients/client-appflow/commands/UpdateFlowCommand.ts index a6b34ea54841b..35560336a0f27 100644 --- a/clients/client-appflow/commands/UpdateFlowCommand.ts +++ b/clients/client-appflow/commands/UpdateFlowCommand.ts @@ -30,7 +30,6 @@ export class UpdateFlowCommand extends $Command< UpdateFlowCommandOutput, AppflowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateFlowCommand extends $Command< configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts b/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts index b8b0ed726bcc9..1c4993a712ab6 100644 --- a/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/CreateEventIntegrationCommand.ts @@ -32,7 +32,6 @@ export class CreateEventIntegrationCommand extends $Command< CreateEventIntegrationCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateEventIntegrationCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts b/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts index 648463f52402c..7e8ce1e612b76 100644 --- a/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/DeleteEventIntegrationCommand.ts @@ -30,7 +30,6 @@ export class DeleteEventIntegrationCommand extends $Command< DeleteEventIntegrationCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEventIntegrationCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts b/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts index 4955a943498c7..30d31419fa56a 100644 --- a/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/GetEventIntegrationCommand.ts @@ -29,7 +29,6 @@ export class GetEventIntegrationCommand extends $Command< GetEventIntegrationCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetEventIntegrationCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts b/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts index 7020ed5cd1766..a884b04bee477 100644 --- a/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts +++ b/clients/client-appintegrations/commands/ListEventIntegrationAssociationsCommand.ts @@ -29,7 +29,6 @@ export class ListEventIntegrationAssociationsCommand extends $Command< ListEventIntegrationAssociationsCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventIntegrationAssociationsCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts b/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts index 441558a8b07cd..0f86a67ea1592 100644 --- a/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts +++ b/clients/client-appintegrations/commands/ListEventIntegrationsCommand.ts @@ -29,7 +29,6 @@ export class ListEventIntegrationsCommand extends $Command< ListEventIntegrationsCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventIntegrationsCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts b/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts index b57282f52a571..d9a586526cdfe 100644 --- a/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appintegrations/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/TagResourceCommand.ts b/clients/client-appintegrations/commands/TagResourceCommand.ts index 9a69f3e0e30fb..f88a5696ce6a9 100644 --- a/clients/client-appintegrations/commands/TagResourceCommand.ts +++ b/clients/client-appintegrations/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/UntagResourceCommand.ts b/clients/client-appintegrations/commands/UntagResourceCommand.ts index f6b86a59c98e8..21b00e4cbc4fe 100644 --- a/clients/client-appintegrations/commands/UntagResourceCommand.ts +++ b/clients/client-appintegrations/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts b/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts index 2bb7c10ffb17f..811ea822b3404 100644 --- a/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts +++ b/clients/client-appintegrations/commands/UpdateEventIntegrationCommand.ts @@ -29,7 +29,6 @@ export class UpdateEventIntegrationCommand extends $Command< UpdateEventIntegrationCommandOutput, AppIntegrationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateEventIntegrationCommand extends $Command< configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts b/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts index d75fc30bc5153..fff59c4b503f5 100644 --- a/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts +++ b/clients/client-application-auto-scaling/commands/DeleteScalingPolicyCommand.ts @@ -37,7 +37,6 @@ export class DeleteScalingPolicyCommand extends $Command< DeleteScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteScalingPolicyCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts b/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts index e5f30019a866c..9a3842b5e2688 100644 --- a/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts +++ b/clients/client-application-auto-scaling/commands/DeleteScheduledActionCommand.ts @@ -33,7 +33,6 @@ export class DeleteScheduledActionCommand extends $Command< DeleteScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteScheduledActionCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts b/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts index d03c449c78bca..3d12c8f65b031 100644 --- a/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts +++ b/clients/client-application-auto-scaling/commands/DeregisterScalableTargetCommand.ts @@ -37,7 +37,6 @@ export class DeregisterScalableTargetCommand extends $Command< DeregisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeregisterScalableTargetCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts index 83e4b44467a91..146afb95ce2ef 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScalableTargetsCommand.ts @@ -34,7 +34,6 @@ export class DescribeScalableTargetsCommand extends $Command< DescribeScalableTargetsCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeScalableTargetsCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts index 3c0f0300a6068..e1f3ad1c5e385 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScalingActivitiesCommand.ts @@ -35,7 +35,6 @@ export class DescribeScalingActivitiesCommand extends $Command< DescribeScalingActivitiesCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeScalingActivitiesCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts index a0bb8c4ce89fd..4ed337f2cde90 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScalingPoliciesCommand.ts @@ -35,7 +35,6 @@ export class DescribeScalingPoliciesCommand extends $Command< DescribeScalingPoliciesCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeScalingPoliciesCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts b/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts index 27e5518bc5eb8..105a44c80fc5a 100644 --- a/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-application-auto-scaling/commands/DescribeScheduledActionsCommand.ts @@ -35,7 +35,6 @@ export class DescribeScheduledActionsCommand extends $Command< DescribeScheduledActionsCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeScheduledActionsCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts b/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts index 07ce65344bd2b..42168434f79d6 100644 --- a/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts +++ b/clients/client-application-auto-scaling/commands/PutScalingPolicyCommand.ts @@ -56,7 +56,6 @@ export class PutScalingPolicyCommand extends $Command< PutScalingPolicyCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class PutScalingPolicyCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts b/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts index af57834cfa1ac..1bcea3568bc87 100644 --- a/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts +++ b/clients/client-application-auto-scaling/commands/PutScheduledActionCommand.ts @@ -46,7 +46,6 @@ export class PutScheduledActionCommand extends $Command< PutScheduledActionCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class PutScheduledActionCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts b/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts index cb8472337d38c..5cfc231ccf597 100644 --- a/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts +++ b/clients/client-application-auto-scaling/commands/RegisterScalableTargetCommand.ts @@ -46,7 +46,6 @@ export class RegisterScalableTargetCommand extends $Command< RegisterScalableTargetCommandOutput, ApplicationAutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class RegisterScalableTargetCommand extends $Command< configuration: ApplicationAutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts b/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts index 3ab5be1456e65..f3208d78f0bdd 100644 --- a/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/AssociateConfigurationItemsToApplicationCommand.ts @@ -36,7 +36,6 @@ export class AssociateConfigurationItemsToApplicationCommand extends $Command< AssociateConfigurationItemsToApplicationCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AssociateConfigurationItemsToApplicationCommand extends $Command< AssociateConfigurationItemsToApplicationCommandInput, AssociateConfigurationItemsToApplicationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts b/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts index a2aab3b16c5c2..e7343667a53f7 100644 --- a/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts +++ b/clients/client-application-discovery-service/commands/BatchDeleteImportDataCommand.ts @@ -39,7 +39,6 @@ export class BatchDeleteImportDataCommand extends $Command< BatchDeleteImportDataCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class BatchDeleteImportDataCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts b/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts index 10755f3b34a75..bc66c46c953b9 100644 --- a/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/CreateApplicationCommand.ts @@ -32,7 +32,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApplicationCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/CreateTagsCommand.ts b/clients/client-application-discovery-service/commands/CreateTagsCommand.ts index f0515cf8fa6ac..802714207a44d 100644 --- a/clients/client-application-discovery-service/commands/CreateTagsCommand.ts +++ b/clients/client-application-discovery-service/commands/CreateTagsCommand.ts @@ -33,7 +33,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateTagsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts b/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts index 1ccc4beb01c1e..2c3dd001207d5 100644 --- a/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts +++ b/clients/client-application-discovery-service/commands/DeleteApplicationsCommand.ts @@ -33,7 +33,6 @@ export class DeleteApplicationsCommand extends $Command< DeleteApplicationsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteApplicationsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts b/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts index b887239c1c6d8..f8d31bd9ba4fd 100644 --- a/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts +++ b/clients/client-application-discovery-service/commands/DeleteTagsCommand.ts @@ -33,7 +33,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteTagsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts b/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts index 99677b85efe62..c0780b9aed03d 100644 --- a/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeAgentsCommand.ts @@ -34,7 +34,6 @@ export class DescribeAgentsCommand extends $Command< DescribeAgentsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeAgentsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts index d9c828bacde6b..0af880aa5d9b9 100644 --- a/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeConfigurationsCommand.ts @@ -57,7 +57,6 @@ export class DescribeConfigurationsCommand extends $Command< DescribeConfigurationsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class DescribeConfigurationsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts b/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts index efd5df2e3fb0e..6a34440cea108 100644 --- a/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeContinuousExportsCommand.ts @@ -34,7 +34,6 @@ export class DescribeContinuousExportsCommand extends $Command< DescribeContinuousExportsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeContinuousExportsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts index f4be28d5f9d45..6027e0a3b1906 100644 --- a/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeExportConfigurationsCommand.ts @@ -35,7 +35,6 @@ export class DescribeExportConfigurationsCommand extends $Command< DescribeExportConfigurationsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeExportConfigurationsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts b/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts index a934e789776e9..09efe6920c5b7 100644 --- a/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeExportTasksCommand.ts @@ -33,7 +33,6 @@ export class DescribeExportTasksCommand extends $Command< DescribeExportTasksCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeExportTasksCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts b/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts index 7ffe46cec265d..45a86e6cb11a4 100644 --- a/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeImportTasksCommand.ts @@ -33,7 +33,6 @@ export class DescribeImportTasksCommand extends $Command< DescribeImportTasksCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeImportTasksCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts b/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts index bfd4bf77beb54..08e9e56807775 100644 --- a/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts +++ b/clients/client-application-discovery-service/commands/DescribeTagsCommand.ts @@ -47,7 +47,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeTagsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts b/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts index add3e360f6823..894457108fea5 100644 --- a/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/DisassociateConfigurationItemsFromApplicationCommand.ts @@ -36,7 +36,6 @@ export class DisassociateConfigurationItemsFromApplicationCommand extends $Comma DisassociateConfigurationItemsFromApplicationCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DisassociateConfigurationItemsFromApplicationCommand extends $Comma DisassociateConfigurationItemsFromApplicationCommandInput, DisassociateConfigurationItemsFromApplicationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts index 3a8d454549ea5..e2e434dba865a 100644 --- a/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/ExportConfigurationsCommand.ts @@ -39,7 +39,6 @@ export class ExportConfigurationsCommand extends $Command< ExportConfigurationsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ExportConfigurationsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts b/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts index 47a7ce1075998..4005c449410d1 100644 --- a/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts +++ b/clients/client-application-discovery-service/commands/GetDiscoverySummaryCommand.ts @@ -34,7 +34,6 @@ export class GetDiscoverySummaryCommand extends $Command< GetDiscoverySummaryCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetDiscoverySummaryCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts b/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts index eee70a6c4d3cb..1a8810156f55d 100644 --- a/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts +++ b/clients/client-application-discovery-service/commands/ListConfigurationsCommand.ts @@ -34,7 +34,6 @@ export class ListConfigurationsCommand extends $Command< ListConfigurationsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListConfigurationsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts b/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts index 2988ecb88077d..c51e4d63cf784 100644 --- a/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts +++ b/clients/client-application-discovery-service/commands/ListServerNeighborsCommand.ts @@ -33,7 +33,6 @@ export class ListServerNeighborsCommand extends $Command< ListServerNeighborsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListServerNeighborsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts b/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts index b9b898cf69c31..7b8df2f8479cd 100644 --- a/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts +++ b/clients/client-application-discovery-service/commands/StartContinuousExportCommand.ts @@ -32,7 +32,6 @@ export class StartContinuousExportCommand extends $Command< StartContinuousExportCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartContinuousExportCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts b/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts index 7ce9b89fcfe55..e3433495ceef0 100644 --- a/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts +++ b/clients/client-application-discovery-service/commands/StartDataCollectionByAgentIdsCommand.ts @@ -32,7 +32,6 @@ export class StartDataCollectionByAgentIdsCommand extends $Command< StartDataCollectionByAgentIdsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartDataCollectionByAgentIdsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts b/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts index 511a219e68ead..ea7d66acac040 100644 --- a/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts +++ b/clients/client-application-discovery-service/commands/StartExportTaskCommand.ts @@ -40,7 +40,6 @@ export class StartExportTaskCommand extends $Command< StartExportTaskCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class StartExportTaskCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts b/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts index 09d9bfc347576..8ca28b3985918 100644 --- a/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts +++ b/clients/client-application-discovery-service/commands/StartImportTaskCommand.ts @@ -67,7 +67,6 @@ export class StartImportTaskCommand extends $Command< StartImportTaskCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class StartImportTaskCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts b/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts index d8b524842bef9..bdb391b6b5aa6 100644 --- a/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts +++ b/clients/client-application-discovery-service/commands/StopContinuousExportCommand.ts @@ -32,7 +32,6 @@ export class StopContinuousExportCommand extends $Command< StopContinuousExportCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopContinuousExportCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts b/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts index e4c32c34c2c6a..8c2908ab42e57 100644 --- a/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts +++ b/clients/client-application-discovery-service/commands/StopDataCollectionByAgentIdsCommand.ts @@ -32,7 +32,6 @@ export class StopDataCollectionByAgentIdsCommand extends $Command< StopDataCollectionByAgentIdsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopDataCollectionByAgentIdsCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts b/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts index 3c657d8ad2f79..c235baac82379 100644 --- a/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts +++ b/clients/client-application-discovery-service/commands/UpdateApplicationCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationCommand extends $Command< configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/CreateApplicationCommand.ts b/clients/client-application-insights/commands/CreateApplicationCommand.ts index 3b6965d5f95d9..fc9d9bedbd32a 100644 --- a/clients/client-application-insights/commands/CreateApplicationCommand.ts +++ b/clients/client-application-insights/commands/CreateApplicationCommand.ts @@ -32,7 +32,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApplicationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/CreateComponentCommand.ts b/clients/client-application-insights/commands/CreateComponentCommand.ts index 4fbe5e6302d69..77170840db286 100644 --- a/clients/client-application-insights/commands/CreateComponentCommand.ts +++ b/clients/client-application-insights/commands/CreateComponentCommand.ts @@ -32,7 +32,6 @@ export class CreateComponentCommand extends $Command< CreateComponentCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateComponentCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/CreateLogPatternCommand.ts b/clients/client-application-insights/commands/CreateLogPatternCommand.ts index 919345e44664b..286b7ddb20dd5 100644 --- a/clients/client-application-insights/commands/CreateLogPatternCommand.ts +++ b/clients/client-application-insights/commands/CreateLogPatternCommand.ts @@ -32,7 +32,6 @@ export class CreateLogPatternCommand extends $Command< CreateLogPatternCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateLogPatternCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DeleteApplicationCommand.ts b/clients/client-application-insights/commands/DeleteApplicationCommand.ts index 297fb6c5839a3..dbe0d95e1b44e 100644 --- a/clients/client-application-insights/commands/DeleteApplicationCommand.ts +++ b/clients/client-application-insights/commands/DeleteApplicationCommand.ts @@ -32,7 +32,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteApplicationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DeleteComponentCommand.ts b/clients/client-application-insights/commands/DeleteComponentCommand.ts index d1961bce47949..b587c9f747996 100644 --- a/clients/client-application-insights/commands/DeleteComponentCommand.ts +++ b/clients/client-application-insights/commands/DeleteComponentCommand.ts @@ -33,7 +33,6 @@ export class DeleteComponentCommand extends $Command< DeleteComponentCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteComponentCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DeleteLogPatternCommand.ts b/clients/client-application-insights/commands/DeleteLogPatternCommand.ts index 3fc26721fa3d5..4a4f58aeb893b 100644 --- a/clients/client-application-insights/commands/DeleteLogPatternCommand.ts +++ b/clients/client-application-insights/commands/DeleteLogPatternCommand.ts @@ -32,7 +32,6 @@ export class DeleteLogPatternCommand extends $Command< DeleteLogPatternCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLogPatternCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeApplicationCommand.ts b/clients/client-application-insights/commands/DescribeApplicationCommand.ts index 01f1cf443190c..98cd3a1a7287e 100644 --- a/clients/client-application-insights/commands/DescribeApplicationCommand.ts +++ b/clients/client-application-insights/commands/DescribeApplicationCommand.ts @@ -32,7 +32,6 @@ export class DescribeApplicationCommand extends $Command< DescribeApplicationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeApplicationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeComponentCommand.ts b/clients/client-application-insights/commands/DescribeComponentCommand.ts index f4e3514dd740b..20b0ea25fc126 100644 --- a/clients/client-application-insights/commands/DescribeComponentCommand.ts +++ b/clients/client-application-insights/commands/DescribeComponentCommand.ts @@ -32,7 +32,6 @@ export class DescribeComponentCommand extends $Command< DescribeComponentCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeComponentCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts b/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts index 655a9ba85c88c..0c522ef16e643 100644 --- a/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts +++ b/clients/client-application-insights/commands/DescribeComponentConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DescribeComponentConfigurationCommand extends $Command< DescribeComponentConfigurationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeComponentConfigurationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts b/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts index 2a9ab779678f9..65ee3c816c247 100644 --- a/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts +++ b/clients/client-application-insights/commands/DescribeComponentConfigurationRecommendationCommand.ts @@ -36,7 +36,6 @@ export class DescribeComponentConfigurationRecommendationCommand extends $Comman DescribeComponentConfigurationRecommendationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeComponentConfigurationRecommendationCommand extends $Comman DescribeComponentConfigurationRecommendationCommandInput, DescribeComponentConfigurationRecommendationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeLogPatternCommand.ts b/clients/client-application-insights/commands/DescribeLogPatternCommand.ts index 6eecb4a1e462c..406d141293bc3 100644 --- a/clients/client-application-insights/commands/DescribeLogPatternCommand.ts +++ b/clients/client-application-insights/commands/DescribeLogPatternCommand.ts @@ -32,7 +32,6 @@ export class DescribeLogPatternCommand extends $Command< DescribeLogPatternCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeLogPatternCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeObservationCommand.ts b/clients/client-application-insights/commands/DescribeObservationCommand.ts index 557bacae3c044..326fcee8618f7 100644 --- a/clients/client-application-insights/commands/DescribeObservationCommand.ts +++ b/clients/client-application-insights/commands/DescribeObservationCommand.ts @@ -32,7 +32,6 @@ export class DescribeObservationCommand extends $Command< DescribeObservationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeObservationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeProblemCommand.ts b/clients/client-application-insights/commands/DescribeProblemCommand.ts index 8888a26a96ed3..87d3f49287bde 100644 --- a/clients/client-application-insights/commands/DescribeProblemCommand.ts +++ b/clients/client-application-insights/commands/DescribeProblemCommand.ts @@ -32,7 +32,6 @@ export class DescribeProblemCommand extends $Command< DescribeProblemCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeProblemCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts b/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts index 273938945c0cb..e859b2da110c3 100644 --- a/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts +++ b/clients/client-application-insights/commands/DescribeProblemObservationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeProblemObservationsCommand extends $Command< DescribeProblemObservationsCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeProblemObservationsCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListApplicationsCommand.ts b/clients/client-application-insights/commands/ListApplicationsCommand.ts index 672570d66719a..f1ce989b073ce 100644 --- a/clients/client-application-insights/commands/ListApplicationsCommand.ts +++ b/clients/client-application-insights/commands/ListApplicationsCommand.ts @@ -32,7 +32,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListApplicationsCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListComponentsCommand.ts b/clients/client-application-insights/commands/ListComponentsCommand.ts index 59ff16e685711..a82d84898a2a2 100644 --- a/clients/client-application-insights/commands/ListComponentsCommand.ts +++ b/clients/client-application-insights/commands/ListComponentsCommand.ts @@ -32,7 +32,6 @@ export class ListComponentsCommand extends $Command< ListComponentsCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListComponentsCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts b/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts index 17571be7ef6c1..31cf0e47cd29e 100644 --- a/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts +++ b/clients/client-application-insights/commands/ListConfigurationHistoryCommand.ts @@ -45,7 +45,6 @@ export class ListConfigurationHistoryCommand extends $Command< ListConfigurationHistoryCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class ListConfigurationHistoryCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts b/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts index 85dcb0464e0d2..573d97f417418 100644 --- a/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts +++ b/clients/client-application-insights/commands/ListLogPatternSetsCommand.ts @@ -32,7 +32,6 @@ export class ListLogPatternSetsCommand extends $Command< ListLogPatternSetsCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListLogPatternSetsCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListLogPatternsCommand.ts b/clients/client-application-insights/commands/ListLogPatternsCommand.ts index 3f54b68b8e824..c60932a0d3f2c 100644 --- a/clients/client-application-insights/commands/ListLogPatternsCommand.ts +++ b/clients/client-application-insights/commands/ListLogPatternsCommand.ts @@ -32,7 +32,6 @@ export class ListLogPatternsCommand extends $Command< ListLogPatternsCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListLogPatternsCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListProblemsCommand.ts b/clients/client-application-insights/commands/ListProblemsCommand.ts index ae7829db127fa..5639261725b1b 100644 --- a/clients/client-application-insights/commands/ListProblemsCommand.ts +++ b/clients/client-application-insights/commands/ListProblemsCommand.ts @@ -32,7 +32,6 @@ export class ListProblemsCommand extends $Command< ListProblemsCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListProblemsCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/ListTagsForResourceCommand.ts b/clients/client-application-insights/commands/ListTagsForResourceCommand.ts index a44725114e2ba..944b3e400ac3d 100644 --- a/clients/client-application-insights/commands/ListTagsForResourceCommand.ts +++ b/clients/client-application-insights/commands/ListTagsForResourceCommand.ts @@ -37,7 +37,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/TagResourceCommand.ts b/clients/client-application-insights/commands/TagResourceCommand.ts index 873e360b8d4e2..e6bd82d1218ed 100644 --- a/clients/client-application-insights/commands/TagResourceCommand.ts +++ b/clients/client-application-insights/commands/TagResourceCommand.ts @@ -39,7 +39,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class TagResourceCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/UntagResourceCommand.ts b/clients/client-application-insights/commands/UntagResourceCommand.ts index e9d6d1985e564..3562a9975fc8c 100644 --- a/clients/client-application-insights/commands/UntagResourceCommand.ts +++ b/clients/client-application-insights/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/UpdateApplicationCommand.ts b/clients/client-application-insights/commands/UpdateApplicationCommand.ts index eb6f5b3a51f99..e087733b58d71 100644 --- a/clients/client-application-insights/commands/UpdateApplicationCommand.ts +++ b/clients/client-application-insights/commands/UpdateApplicationCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/UpdateComponentCommand.ts b/clients/client-application-insights/commands/UpdateComponentCommand.ts index d5552e086806b..4580bc65485e8 100644 --- a/clients/client-application-insights/commands/UpdateComponentCommand.ts +++ b/clients/client-application-insights/commands/UpdateComponentCommand.ts @@ -33,7 +33,6 @@ export class UpdateComponentCommand extends $Command< UpdateComponentCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateComponentCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts b/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts index e6331ab9c0801..a3f84a9e5bba4 100644 --- a/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts +++ b/clients/client-application-insights/commands/UpdateComponentConfigurationCommand.ts @@ -34,7 +34,6 @@ export class UpdateComponentConfigurationCommand extends $Command< UpdateComponentConfigurationCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateComponentConfigurationCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-application-insights/commands/UpdateLogPatternCommand.ts b/clients/client-application-insights/commands/UpdateLogPatternCommand.ts index 9c9f88cad2cd2..f5bdb5e503db8 100644 --- a/clients/client-application-insights/commands/UpdateLogPatternCommand.ts +++ b/clients/client-application-insights/commands/UpdateLogPatternCommand.ts @@ -32,7 +32,6 @@ export class UpdateLogPatternCommand extends $Command< UpdateLogPatternCommandOutput, ApplicationInsightsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateLogPatternCommand extends $Command< configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/AssociateFleetCommand.ts b/clients/client-appstream/commands/AssociateFleetCommand.ts index f6b2b0eac0ecb..1803e85f2bfa9 100644 --- a/clients/client-appstream/commands/AssociateFleetCommand.ts +++ b/clients/client-appstream/commands/AssociateFleetCommand.ts @@ -28,7 +28,6 @@ export class AssociateFleetCommand extends $Command< AssociateFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts b/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts index 7d04dadec888e..7f26f8a071bde 100644 --- a/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts +++ b/clients/client-appstream/commands/BatchAssociateUserStackCommand.ts @@ -28,7 +28,6 @@ export class BatchAssociateUserStackCommand extends $Command< BatchAssociateUserStackCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchAssociateUserStackCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts b/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts index 9da7dae7e32c7..98ad0bff9e166 100644 --- a/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts +++ b/clients/client-appstream/commands/BatchDisassociateUserStackCommand.ts @@ -28,7 +28,6 @@ export class BatchDisassociateUserStackCommand extends $Command< BatchDisassociateUserStackCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDisassociateUserStackCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CopyImageCommand.ts b/clients/client-appstream/commands/CopyImageCommand.ts index 1ec2fe9d31708..afd7898e53019 100644 --- a/clients/client-appstream/commands/CopyImageCommand.ts +++ b/clients/client-appstream/commands/CopyImageCommand.ts @@ -25,7 +25,6 @@ export class CopyImageCommand extends $Command< CopyImageCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CopyImageCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts b/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts index 6e93b0a1212d5..fc75d369f52fa 100644 --- a/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts +++ b/clients/client-appstream/commands/CreateDirectoryConfigCommand.ts @@ -28,7 +28,6 @@ export class CreateDirectoryConfigCommand extends $Command< CreateDirectoryConfigCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDirectoryConfigCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateFleetCommand.ts b/clients/client-appstream/commands/CreateFleetCommand.ts index d0d12c09ffea5..af0a554017742 100644 --- a/clients/client-appstream/commands/CreateFleetCommand.ts +++ b/clients/client-appstream/commands/CreateFleetCommand.ts @@ -28,7 +28,6 @@ export class CreateFleetCommand extends $Command< CreateFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateImageBuilderCommand.ts b/clients/client-appstream/commands/CreateImageBuilderCommand.ts index fedf00f41a536..03460604906c4 100644 --- a/clients/client-appstream/commands/CreateImageBuilderCommand.ts +++ b/clients/client-appstream/commands/CreateImageBuilderCommand.ts @@ -29,7 +29,6 @@ export class CreateImageBuilderCommand extends $Command< CreateImageBuilderCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateImageBuilderCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts b/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts index 411c170519d1f..f93566349efdd 100644 --- a/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts +++ b/clients/client-appstream/commands/CreateImageBuilderStreamingURLCommand.ts @@ -28,7 +28,6 @@ export class CreateImageBuilderStreamingURLCommand extends $Command< CreateImageBuilderStreamingURLCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImageBuilderStreamingURLCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateStackCommand.ts b/clients/client-appstream/commands/CreateStackCommand.ts index e00c30d3d4764..2cd718a931523 100644 --- a/clients/client-appstream/commands/CreateStackCommand.ts +++ b/clients/client-appstream/commands/CreateStackCommand.ts @@ -28,7 +28,6 @@ export class CreateStackCommand extends $Command< CreateStackCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateStackCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateStreamingURLCommand.ts b/clients/client-appstream/commands/CreateStreamingURLCommand.ts index ccd33571e8b7f..81958e3bbbd5f 100644 --- a/clients/client-appstream/commands/CreateStreamingURLCommand.ts +++ b/clients/client-appstream/commands/CreateStreamingURLCommand.ts @@ -28,7 +28,6 @@ export class CreateStreamingURLCommand extends $Command< CreateStreamingURLCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateStreamingURLCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts b/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts index 8a6868900304c..dfe8464a30572 100644 --- a/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts +++ b/clients/client-appstream/commands/CreateUsageReportSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class CreateUsageReportSubscriptionCommand extends $Command< CreateUsageReportSubscriptionCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUsageReportSubscriptionCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/CreateUserCommand.ts b/clients/client-appstream/commands/CreateUserCommand.ts index 503bd774fb982..2872b1ad239ad 100644 --- a/clients/client-appstream/commands/CreateUserCommand.ts +++ b/clients/client-appstream/commands/CreateUserCommand.ts @@ -28,7 +28,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUserCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts b/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts index e34aca4cd7aaa..ae557922f5a61 100644 --- a/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts +++ b/clients/client-appstream/commands/DeleteDirectoryConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteDirectoryConfigCommand extends $Command< DeleteDirectoryConfigCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDirectoryConfigCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteFleetCommand.ts b/clients/client-appstream/commands/DeleteFleetCommand.ts index 6927c99ba92aa..bddc8a1458c4a 100644 --- a/clients/client-appstream/commands/DeleteFleetCommand.ts +++ b/clients/client-appstream/commands/DeleteFleetCommand.ts @@ -28,7 +28,6 @@ export class DeleteFleetCommand extends $Command< DeleteFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteImageBuilderCommand.ts b/clients/client-appstream/commands/DeleteImageBuilderCommand.ts index 281455341f034..f9c8ca3ec747a 100644 --- a/clients/client-appstream/commands/DeleteImageBuilderCommand.ts +++ b/clients/client-appstream/commands/DeleteImageBuilderCommand.ts @@ -28,7 +28,6 @@ export class DeleteImageBuilderCommand extends $Command< DeleteImageBuilderCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteImageBuilderCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteImageCommand.ts b/clients/client-appstream/commands/DeleteImageCommand.ts index cbbbeb6790fdb..3b2c107f0d8e1 100644 --- a/clients/client-appstream/commands/DeleteImageCommand.ts +++ b/clients/client-appstream/commands/DeleteImageCommand.ts @@ -29,7 +29,6 @@ export class DeleteImageCommand extends $Command< DeleteImageCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteImageCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts b/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts index 4863970b5c7a5..5808a55bba2aa 100644 --- a/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts +++ b/clients/client-appstream/commands/DeleteImagePermissionsCommand.ts @@ -28,7 +28,6 @@ export class DeleteImagePermissionsCommand extends $Command< DeleteImagePermissionsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteImagePermissionsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteStackCommand.ts b/clients/client-appstream/commands/DeleteStackCommand.ts index 4acc2ee605083..dc36ac60ae478 100644 --- a/clients/client-appstream/commands/DeleteStackCommand.ts +++ b/clients/client-appstream/commands/DeleteStackCommand.ts @@ -28,7 +28,6 @@ export class DeleteStackCommand extends $Command< DeleteStackCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteStackCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts b/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts index 31ae582890cb9..46e7d2ec71bd8 100644 --- a/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts +++ b/clients/client-appstream/commands/DeleteUsageReportSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteUsageReportSubscriptionCommand extends $Command< DeleteUsageReportSubscriptionCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUsageReportSubscriptionCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DeleteUserCommand.ts b/clients/client-appstream/commands/DeleteUserCommand.ts index d1d5b9345138e..f90e3eb346f29 100644 --- a/clients/client-appstream/commands/DeleteUserCommand.ts +++ b/clients/client-appstream/commands/DeleteUserCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts b/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts index eac21e20a5240..c4f2506a363fe 100644 --- a/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts +++ b/clients/client-appstream/commands/DescribeDirectoryConfigsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDirectoryConfigsCommand extends $Command< DescribeDirectoryConfigsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDirectoryConfigsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeFleetsCommand.ts b/clients/client-appstream/commands/DescribeFleetsCommand.ts index 21720737115e6..7a3b0c4f4da7b 100644 --- a/clients/client-appstream/commands/DescribeFleetsCommand.ts +++ b/clients/client-appstream/commands/DescribeFleetsCommand.ts @@ -28,7 +28,6 @@ export class DescribeFleetsCommand extends $Command< DescribeFleetsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFleetsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeImageBuildersCommand.ts b/clients/client-appstream/commands/DescribeImageBuildersCommand.ts index d97fe35c08a05..1aa4945277bcd 100644 --- a/clients/client-appstream/commands/DescribeImageBuildersCommand.ts +++ b/clients/client-appstream/commands/DescribeImageBuildersCommand.ts @@ -28,7 +28,6 @@ export class DescribeImageBuildersCommand extends $Command< DescribeImageBuildersCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImageBuildersCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts b/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts index 95d1a321f6051..1fe7498ee4fbd 100644 --- a/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts +++ b/clients/client-appstream/commands/DescribeImagePermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeImagePermissionsCommand extends $Command< DescribeImagePermissionsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImagePermissionsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeImagesCommand.ts b/clients/client-appstream/commands/DescribeImagesCommand.ts index b4cd440685433..5b41e89e295fc 100644 --- a/clients/client-appstream/commands/DescribeImagesCommand.ts +++ b/clients/client-appstream/commands/DescribeImagesCommand.ts @@ -28,7 +28,6 @@ export class DescribeImagesCommand extends $Command< DescribeImagesCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImagesCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeSessionsCommand.ts b/clients/client-appstream/commands/DescribeSessionsCommand.ts index f397bd086e673..4093f6ad2736b 100644 --- a/clients/client-appstream/commands/DescribeSessionsCommand.ts +++ b/clients/client-appstream/commands/DescribeSessionsCommand.ts @@ -30,7 +30,6 @@ export class DescribeSessionsCommand extends $Command< DescribeSessionsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeSessionsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeStacksCommand.ts b/clients/client-appstream/commands/DescribeStacksCommand.ts index 39199e893d8c6..57e48a530215e 100644 --- a/clients/client-appstream/commands/DescribeStacksCommand.ts +++ b/clients/client-appstream/commands/DescribeStacksCommand.ts @@ -28,7 +28,6 @@ export class DescribeStacksCommand extends $Command< DescribeStacksCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStacksCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts b/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts index 116aac2af3bab..265b2c34e978d 100644 --- a/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts +++ b/clients/client-appstream/commands/DescribeUsageReportSubscriptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeUsageReportSubscriptionsCommand extends $Command< DescribeUsageReportSubscriptionsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUsageReportSubscriptionsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts b/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts index b2361f044857f..5a8c4fe168d4c 100644 --- a/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts +++ b/clients/client-appstream/commands/DescribeUserStackAssociationsCommand.ts @@ -36,7 +36,6 @@ export class DescribeUserStackAssociationsCommand extends $Command< DescribeUserStackAssociationsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeUserStackAssociationsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DescribeUsersCommand.ts b/clients/client-appstream/commands/DescribeUsersCommand.ts index 0cae6b1c1c383..1915dcb7a31c1 100644 --- a/clients/client-appstream/commands/DescribeUsersCommand.ts +++ b/clients/client-appstream/commands/DescribeUsersCommand.ts @@ -28,7 +28,6 @@ export class DescribeUsersCommand extends $Command< DescribeUsersCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUsersCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DisableUserCommand.ts b/clients/client-appstream/commands/DisableUserCommand.ts index 115ca4ce07765..20d92b00945e8 100644 --- a/clients/client-appstream/commands/DisableUserCommand.ts +++ b/clients/client-appstream/commands/DisableUserCommand.ts @@ -28,7 +28,6 @@ export class DisableUserCommand extends $Command< DisableUserCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableUserCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/DisassociateFleetCommand.ts b/clients/client-appstream/commands/DisassociateFleetCommand.ts index b94000ebf0ee4..23c835ed9ebd7 100644 --- a/clients/client-appstream/commands/DisassociateFleetCommand.ts +++ b/clients/client-appstream/commands/DisassociateFleetCommand.ts @@ -28,7 +28,6 @@ export class DisassociateFleetCommand extends $Command< DisassociateFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/EnableUserCommand.ts b/clients/client-appstream/commands/EnableUserCommand.ts index e586e89d7f340..334a5a105ae0c 100644 --- a/clients/client-appstream/commands/EnableUserCommand.ts +++ b/clients/client-appstream/commands/EnableUserCommand.ts @@ -28,7 +28,6 @@ export class EnableUserCommand extends $Command< EnableUserCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableUserCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/ExpireSessionCommand.ts b/clients/client-appstream/commands/ExpireSessionCommand.ts index aca64b26e996f..7112375bf584b 100644 --- a/clients/client-appstream/commands/ExpireSessionCommand.ts +++ b/clients/client-appstream/commands/ExpireSessionCommand.ts @@ -28,7 +28,6 @@ export class ExpireSessionCommand extends $Command< ExpireSessionCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ExpireSessionCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts b/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts index cc38d0f352446..f3f89ed64e4a0 100644 --- a/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts +++ b/clients/client-appstream/commands/ListAssociatedFleetsCommand.ts @@ -28,7 +28,6 @@ export class ListAssociatedFleetsCommand extends $Command< ListAssociatedFleetsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAssociatedFleetsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/ListAssociatedStacksCommand.ts b/clients/client-appstream/commands/ListAssociatedStacksCommand.ts index 0768bb9d493b4..ba13de1f1844c 100644 --- a/clients/client-appstream/commands/ListAssociatedStacksCommand.ts +++ b/clients/client-appstream/commands/ListAssociatedStacksCommand.ts @@ -28,7 +28,6 @@ export class ListAssociatedStacksCommand extends $Command< ListAssociatedStacksCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAssociatedStacksCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/ListTagsForResourceCommand.ts b/clients/client-appstream/commands/ListTagsForResourceCommand.ts index 99d9039b1ba7a..7dca995216ce3 100644 --- a/clients/client-appstream/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appstream/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/StartFleetCommand.ts b/clients/client-appstream/commands/StartFleetCommand.ts index 2f3b03cec8a81..a2bdb0591035a 100644 --- a/clients/client-appstream/commands/StartFleetCommand.ts +++ b/clients/client-appstream/commands/StartFleetCommand.ts @@ -28,7 +28,6 @@ export class StartFleetCommand extends $Command< StartFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/StartImageBuilderCommand.ts b/clients/client-appstream/commands/StartImageBuilderCommand.ts index d1ad9717bfeb6..bb5c0fe7212f9 100644 --- a/clients/client-appstream/commands/StartImageBuilderCommand.ts +++ b/clients/client-appstream/commands/StartImageBuilderCommand.ts @@ -28,7 +28,6 @@ export class StartImageBuilderCommand extends $Command< StartImageBuilderCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartImageBuilderCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/StopFleetCommand.ts b/clients/client-appstream/commands/StopFleetCommand.ts index 4f7b92827bc4b..40b1b269dc04c 100644 --- a/clients/client-appstream/commands/StopFleetCommand.ts +++ b/clients/client-appstream/commands/StopFleetCommand.ts @@ -25,7 +25,6 @@ export class StopFleetCommand extends $Command< StopFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class StopFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/StopImageBuilderCommand.ts b/clients/client-appstream/commands/StopImageBuilderCommand.ts index 220f2688ddae8..b1d07dff37020 100644 --- a/clients/client-appstream/commands/StopImageBuilderCommand.ts +++ b/clients/client-appstream/commands/StopImageBuilderCommand.ts @@ -28,7 +28,6 @@ export class StopImageBuilderCommand extends $Command< StopImageBuilderCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopImageBuilderCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/TagResourceCommand.ts b/clients/client-appstream/commands/TagResourceCommand.ts index 734857457e26d..576273781bcce 100644 --- a/clients/client-appstream/commands/TagResourceCommand.ts +++ b/clients/client-appstream/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/UntagResourceCommand.ts b/clients/client-appstream/commands/UntagResourceCommand.ts index 532e7d12ce15a..21fa4fb90b40c 100644 --- a/clients/client-appstream/commands/UntagResourceCommand.ts +++ b/clients/client-appstream/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts b/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts index 07a16e18a0d06..c1286f9e966aa 100644 --- a/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts +++ b/clients/client-appstream/commands/UpdateDirectoryConfigCommand.ts @@ -28,7 +28,6 @@ export class UpdateDirectoryConfigCommand extends $Command< UpdateDirectoryConfigCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDirectoryConfigCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/UpdateFleetCommand.ts b/clients/client-appstream/commands/UpdateFleetCommand.ts index f061bfb5247e1..93e99b84e1e7d 100644 --- a/clients/client-appstream/commands/UpdateFleetCommand.ts +++ b/clients/client-appstream/commands/UpdateFleetCommand.ts @@ -31,7 +31,6 @@ export class UpdateFleetCommand extends $Command< UpdateFleetCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateFleetCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts b/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts index f72b151be7a2b..5b8ea2a586606 100644 --- a/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts +++ b/clients/client-appstream/commands/UpdateImagePermissionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateImagePermissionsCommand extends $Command< UpdateImagePermissionsCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateImagePermissionsCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appstream/commands/UpdateStackCommand.ts b/clients/client-appstream/commands/UpdateStackCommand.ts index 6c18b5780a630..c92d2e06d6ac6 100644 --- a/clients/client-appstream/commands/UpdateStackCommand.ts +++ b/clients/client-appstream/commands/UpdateStackCommand.ts @@ -28,7 +28,6 @@ export class UpdateStackCommand extends $Command< UpdateStackCommandOutput, AppStreamClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateStackCommand extends $Command< configuration: AppStreamClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateApiCacheCommand.ts b/clients/client-appsync/commands/CreateApiCacheCommand.ts index be0b38ae3c263..c29e1031a0133 100644 --- a/clients/client-appsync/commands/CreateApiCacheCommand.ts +++ b/clients/client-appsync/commands/CreateApiCacheCommand.ts @@ -28,7 +28,6 @@ export class CreateApiCacheCommand extends $Command< CreateApiCacheCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateApiCacheCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateApiKeyCommand.ts b/clients/client-appsync/commands/CreateApiKeyCommand.ts index 0c3193b86366d..ec3ab915d38ce 100644 --- a/clients/client-appsync/commands/CreateApiKeyCommand.ts +++ b/clients/client-appsync/commands/CreateApiKeyCommand.ts @@ -29,7 +29,6 @@ export class CreateApiKeyCommand extends $Command< CreateApiKeyCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateApiKeyCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateDataSourceCommand.ts b/clients/client-appsync/commands/CreateDataSourceCommand.ts index c62b55944734d..359b1f14a95e1 100644 --- a/clients/client-appsync/commands/CreateDataSourceCommand.ts +++ b/clients/client-appsync/commands/CreateDataSourceCommand.ts @@ -28,7 +28,6 @@ export class CreateDataSourceCommand extends $Command< CreateDataSourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDataSourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateFunctionCommand.ts b/clients/client-appsync/commands/CreateFunctionCommand.ts index e39476f3c0e4c..feeb450c767b4 100644 --- a/clients/client-appsync/commands/CreateFunctionCommand.ts +++ b/clients/client-appsync/commands/CreateFunctionCommand.ts @@ -30,7 +30,6 @@ export class CreateFunctionCommand extends $Command< CreateFunctionCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateFunctionCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateGraphqlApiCommand.ts b/clients/client-appsync/commands/CreateGraphqlApiCommand.ts index 95d333d746123..712e9f89fafdc 100644 --- a/clients/client-appsync/commands/CreateGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/CreateGraphqlApiCommand.ts @@ -28,7 +28,6 @@ export class CreateGraphqlApiCommand extends $Command< CreateGraphqlApiCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGraphqlApiCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateResolverCommand.ts b/clients/client-appsync/commands/CreateResolverCommand.ts index 2c0f7c029acbf..8b3fe1e479fb1 100644 --- a/clients/client-appsync/commands/CreateResolverCommand.ts +++ b/clients/client-appsync/commands/CreateResolverCommand.ts @@ -30,7 +30,6 @@ export class CreateResolverCommand extends $Command< CreateResolverCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateResolverCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/CreateTypeCommand.ts b/clients/client-appsync/commands/CreateTypeCommand.ts index cf97443da9aa1..465b04f97f6a5 100644 --- a/clients/client-appsync/commands/CreateTypeCommand.ts +++ b/clients/client-appsync/commands/CreateTypeCommand.ts @@ -28,7 +28,6 @@ export class CreateTypeCommand extends $Command< CreateTypeCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTypeCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteApiCacheCommand.ts b/clients/client-appsync/commands/DeleteApiCacheCommand.ts index 97e43aab3be33..96968aa6ecd5c 100644 --- a/clients/client-appsync/commands/DeleteApiCacheCommand.ts +++ b/clients/client-appsync/commands/DeleteApiCacheCommand.ts @@ -28,7 +28,6 @@ export class DeleteApiCacheCommand extends $Command< DeleteApiCacheCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApiCacheCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteApiKeyCommand.ts b/clients/client-appsync/commands/DeleteApiKeyCommand.ts index a17ca65006fed..6f6676de3424c 100644 --- a/clients/client-appsync/commands/DeleteApiKeyCommand.ts +++ b/clients/client-appsync/commands/DeleteApiKeyCommand.ts @@ -28,7 +28,6 @@ export class DeleteApiKeyCommand extends $Command< DeleteApiKeyCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApiKeyCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteDataSourceCommand.ts b/clients/client-appsync/commands/DeleteDataSourceCommand.ts index a39c8fe4f9afa..b4abbe7f1828e 100644 --- a/clients/client-appsync/commands/DeleteDataSourceCommand.ts +++ b/clients/client-appsync/commands/DeleteDataSourceCommand.ts @@ -28,7 +28,6 @@ export class DeleteDataSourceCommand extends $Command< DeleteDataSourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDataSourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteFunctionCommand.ts b/clients/client-appsync/commands/DeleteFunctionCommand.ts index 7c669e739368b..d2638c81e8981 100644 --- a/clients/client-appsync/commands/DeleteFunctionCommand.ts +++ b/clients/client-appsync/commands/DeleteFunctionCommand.ts @@ -28,7 +28,6 @@ export class DeleteFunctionCommand extends $Command< DeleteFunctionCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFunctionCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts b/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts index ee2a8504612b5..5e3ea82a54a0c 100644 --- a/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/DeleteGraphqlApiCommand.ts @@ -28,7 +28,6 @@ export class DeleteGraphqlApiCommand extends $Command< DeleteGraphqlApiCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGraphqlApiCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteResolverCommand.ts b/clients/client-appsync/commands/DeleteResolverCommand.ts index ccb45748efbbe..f266a1833f2ed 100644 --- a/clients/client-appsync/commands/DeleteResolverCommand.ts +++ b/clients/client-appsync/commands/DeleteResolverCommand.ts @@ -28,7 +28,6 @@ export class DeleteResolverCommand extends $Command< DeleteResolverCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResolverCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/DeleteTypeCommand.ts b/clients/client-appsync/commands/DeleteTypeCommand.ts index 31c9099840cde..91b737b54953d 100644 --- a/clients/client-appsync/commands/DeleteTypeCommand.ts +++ b/clients/client-appsync/commands/DeleteTypeCommand.ts @@ -28,7 +28,6 @@ export class DeleteTypeCommand extends $Command< DeleteTypeCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTypeCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/FlushApiCacheCommand.ts b/clients/client-appsync/commands/FlushApiCacheCommand.ts index 96f7056c9bf33..beee0829c76eb 100644 --- a/clients/client-appsync/commands/FlushApiCacheCommand.ts +++ b/clients/client-appsync/commands/FlushApiCacheCommand.ts @@ -28,7 +28,6 @@ export class FlushApiCacheCommand extends $Command< FlushApiCacheCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlushApiCacheCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetApiCacheCommand.ts b/clients/client-appsync/commands/GetApiCacheCommand.ts index f0d1f8f49b10e..8256e4e86a9be 100644 --- a/clients/client-appsync/commands/GetApiCacheCommand.ts +++ b/clients/client-appsync/commands/GetApiCacheCommand.ts @@ -28,7 +28,6 @@ export class GetApiCacheCommand extends $Command< GetApiCacheCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApiCacheCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetDataSourceCommand.ts b/clients/client-appsync/commands/GetDataSourceCommand.ts index c33b03188fb69..835480fc78643 100644 --- a/clients/client-appsync/commands/GetDataSourceCommand.ts +++ b/clients/client-appsync/commands/GetDataSourceCommand.ts @@ -28,7 +28,6 @@ export class GetDataSourceCommand extends $Command< GetDataSourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataSourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetFunctionCommand.ts b/clients/client-appsync/commands/GetFunctionCommand.ts index bda0e15a35a5d..4ea7320030e97 100644 --- a/clients/client-appsync/commands/GetFunctionCommand.ts +++ b/clients/client-appsync/commands/GetFunctionCommand.ts @@ -28,7 +28,6 @@ export class GetFunctionCommand extends $Command< GetFunctionCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFunctionCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetGraphqlApiCommand.ts b/clients/client-appsync/commands/GetGraphqlApiCommand.ts index ff55211703b0c..da836eacfb9ef 100644 --- a/clients/client-appsync/commands/GetGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/GetGraphqlApiCommand.ts @@ -28,7 +28,6 @@ export class GetGraphqlApiCommand extends $Command< GetGraphqlApiCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGraphqlApiCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts b/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts index 107b2a00d3402..8b8566c9b5dd3 100644 --- a/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts +++ b/clients/client-appsync/commands/GetIntrospectionSchemaCommand.ts @@ -28,7 +28,6 @@ export class GetIntrospectionSchemaCommand extends $Command< GetIntrospectionSchemaCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntrospectionSchemaCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetResolverCommand.ts b/clients/client-appsync/commands/GetResolverCommand.ts index 9830a39ca55c6..1d1903d259ff5 100644 --- a/clients/client-appsync/commands/GetResolverCommand.ts +++ b/clients/client-appsync/commands/GetResolverCommand.ts @@ -28,7 +28,6 @@ export class GetResolverCommand extends $Command< GetResolverCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResolverCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts b/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts index 4c4c822f618fb..02d2d15d96801 100644 --- a/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts +++ b/clients/client-appsync/commands/GetSchemaCreationStatusCommand.ts @@ -28,7 +28,6 @@ export class GetSchemaCreationStatusCommand extends $Command< GetSchemaCreationStatusCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSchemaCreationStatusCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/GetTypeCommand.ts b/clients/client-appsync/commands/GetTypeCommand.ts index b4182ca2c3739..17b5168aab547 100644 --- a/clients/client-appsync/commands/GetTypeCommand.ts +++ b/clients/client-appsync/commands/GetTypeCommand.ts @@ -24,7 +24,6 @@ export type GetTypeCommandOutput = GetTypeResponse & __MetadataBearer; *

Retrieves a Type object.

*/ export class GetTypeCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetTypeCommand 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-appsync/commands/ListApiKeysCommand.ts b/clients/client-appsync/commands/ListApiKeysCommand.ts index cd23d576bf582..42a3357c135bd 100644 --- a/clients/client-appsync/commands/ListApiKeysCommand.ts +++ b/clients/client-appsync/commands/ListApiKeysCommand.ts @@ -34,7 +34,6 @@ export class ListApiKeysCommand extends $Command< ListApiKeysCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListApiKeysCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListDataSourcesCommand.ts b/clients/client-appsync/commands/ListDataSourcesCommand.ts index 88012e1c30836..31e158a212185 100644 --- a/clients/client-appsync/commands/ListDataSourcesCommand.ts +++ b/clients/client-appsync/commands/ListDataSourcesCommand.ts @@ -28,7 +28,6 @@ export class ListDataSourcesCommand extends $Command< ListDataSourcesCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataSourcesCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListFunctionsCommand.ts b/clients/client-appsync/commands/ListFunctionsCommand.ts index d4c5efdd4f5d2..bdbf0e618e436 100644 --- a/clients/client-appsync/commands/ListFunctionsCommand.ts +++ b/clients/client-appsync/commands/ListFunctionsCommand.ts @@ -28,7 +28,6 @@ export class ListFunctionsCommand extends $Command< ListFunctionsCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFunctionsCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListGraphqlApisCommand.ts b/clients/client-appsync/commands/ListGraphqlApisCommand.ts index cf719b1d473dc..757a2f6cc6e83 100644 --- a/clients/client-appsync/commands/ListGraphqlApisCommand.ts +++ b/clients/client-appsync/commands/ListGraphqlApisCommand.ts @@ -28,7 +28,6 @@ export class ListGraphqlApisCommand extends $Command< ListGraphqlApisCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGraphqlApisCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListResolversByFunctionCommand.ts b/clients/client-appsync/commands/ListResolversByFunctionCommand.ts index 76c9c39a0f88d..812360e573bac 100644 --- a/clients/client-appsync/commands/ListResolversByFunctionCommand.ts +++ b/clients/client-appsync/commands/ListResolversByFunctionCommand.ts @@ -28,7 +28,6 @@ export class ListResolversByFunctionCommand extends $Command< ListResolversByFunctionCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResolversByFunctionCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListResolversCommand.ts b/clients/client-appsync/commands/ListResolversCommand.ts index 2e46d50bddeef..f6c83109735f6 100644 --- a/clients/client-appsync/commands/ListResolversCommand.ts +++ b/clients/client-appsync/commands/ListResolversCommand.ts @@ -28,7 +28,6 @@ export class ListResolversCommand extends $Command< ListResolversCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResolversCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListTagsForResourceCommand.ts b/clients/client-appsync/commands/ListTagsForResourceCommand.ts index dd11ed0bfbb34..44956222f7b50 100644 --- a/clients/client-appsync/commands/ListTagsForResourceCommand.ts +++ b/clients/client-appsync/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/ListTypesCommand.ts b/clients/client-appsync/commands/ListTypesCommand.ts index b46a1831d05ec..6b15360d69a11 100644 --- a/clients/client-appsync/commands/ListTypesCommand.ts +++ b/clients/client-appsync/commands/ListTypesCommand.ts @@ -28,7 +28,6 @@ export class ListTypesCommand extends $Command< ListTypesCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTypesCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/StartSchemaCreationCommand.ts b/clients/client-appsync/commands/StartSchemaCreationCommand.ts index baff0538846c4..59a8d26966c68 100644 --- a/clients/client-appsync/commands/StartSchemaCreationCommand.ts +++ b/clients/client-appsync/commands/StartSchemaCreationCommand.ts @@ -30,7 +30,6 @@ export class StartSchemaCreationCommand extends $Command< StartSchemaCreationCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartSchemaCreationCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/TagResourceCommand.ts b/clients/client-appsync/commands/TagResourceCommand.ts index 83a09aaa96f5a..f3f98c166e18f 100644 --- a/clients/client-appsync/commands/TagResourceCommand.ts +++ b/clients/client-appsync/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UntagResourceCommand.ts b/clients/client-appsync/commands/UntagResourceCommand.ts index 834172c3a2345..79b6ccc20360d 100644 --- a/clients/client-appsync/commands/UntagResourceCommand.ts +++ b/clients/client-appsync/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateApiCacheCommand.ts b/clients/client-appsync/commands/UpdateApiCacheCommand.ts index b24d8eb076847..caf7108f2707d 100644 --- a/clients/client-appsync/commands/UpdateApiCacheCommand.ts +++ b/clients/client-appsync/commands/UpdateApiCacheCommand.ts @@ -28,7 +28,6 @@ export class UpdateApiCacheCommand extends $Command< UpdateApiCacheCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApiCacheCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateApiKeyCommand.ts b/clients/client-appsync/commands/UpdateApiKeyCommand.ts index 9cf263c16086b..b1c76afcaf12c 100644 --- a/clients/client-appsync/commands/UpdateApiKeyCommand.ts +++ b/clients/client-appsync/commands/UpdateApiKeyCommand.ts @@ -28,7 +28,6 @@ export class UpdateApiKeyCommand extends $Command< UpdateApiKeyCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApiKeyCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateDataSourceCommand.ts b/clients/client-appsync/commands/UpdateDataSourceCommand.ts index 8f4bd1a4c6a6a..ad7c629b54d05 100644 --- a/clients/client-appsync/commands/UpdateDataSourceCommand.ts +++ b/clients/client-appsync/commands/UpdateDataSourceCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataSourceCommand extends $Command< UpdateDataSourceCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataSourceCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateFunctionCommand.ts b/clients/client-appsync/commands/UpdateFunctionCommand.ts index 3fbe707440bad..1b941dfd722a6 100644 --- a/clients/client-appsync/commands/UpdateFunctionCommand.ts +++ b/clients/client-appsync/commands/UpdateFunctionCommand.ts @@ -28,7 +28,6 @@ export class UpdateFunctionCommand extends $Command< UpdateFunctionCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFunctionCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts b/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts index 6b87ce7c97b6f..4ae9ca733bce1 100644 --- a/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts +++ b/clients/client-appsync/commands/UpdateGraphqlApiCommand.ts @@ -28,7 +28,6 @@ export class UpdateGraphqlApiCommand extends $Command< UpdateGraphqlApiCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGraphqlApiCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateResolverCommand.ts b/clients/client-appsync/commands/UpdateResolverCommand.ts index 8bca50add8eea..dbafcd7b1252d 100644 --- a/clients/client-appsync/commands/UpdateResolverCommand.ts +++ b/clients/client-appsync/commands/UpdateResolverCommand.ts @@ -28,7 +28,6 @@ export class UpdateResolverCommand extends $Command< UpdateResolverCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateResolverCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-appsync/commands/UpdateTypeCommand.ts b/clients/client-appsync/commands/UpdateTypeCommand.ts index 17128f48c3b6a..d0c523e7a09f2 100644 --- a/clients/client-appsync/commands/UpdateTypeCommand.ts +++ b/clients/client-appsync/commands/UpdateTypeCommand.ts @@ -28,7 +28,6 @@ export class UpdateTypeCommand extends $Command< UpdateTypeCommandOutput, AppSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTypeCommand extends $Command< configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/BatchGetNamedQueryCommand.ts b/clients/client-athena/commands/BatchGetNamedQueryCommand.ts index d7bcebd582ad8..155b0433ac1ff 100644 --- a/clients/client-athena/commands/BatchGetNamedQueryCommand.ts +++ b/clients/client-athena/commands/BatchGetNamedQueryCommand.ts @@ -36,7 +36,6 @@ export class BatchGetNamedQueryCommand extends $Command< BatchGetNamedQueryCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class BatchGetNamedQueryCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts b/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts index 79f2719d757c1..f219b8e49e933 100644 --- a/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts +++ b/clients/client-athena/commands/BatchGetQueryExecutionCommand.ts @@ -33,7 +33,6 @@ export class BatchGetQueryExecutionCommand extends $Command< BatchGetQueryExecutionCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class BatchGetQueryExecutionCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/CreateDataCatalogCommand.ts b/clients/client-athena/commands/CreateDataCatalogCommand.ts index 20ceaabb1276c..922ae54afdd2c 100644 --- a/clients/client-athena/commands/CreateDataCatalogCommand.ts +++ b/clients/client-athena/commands/CreateDataCatalogCommand.ts @@ -29,7 +29,6 @@ export class CreateDataCatalogCommand extends $Command< CreateDataCatalogCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDataCatalogCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/CreateNamedQueryCommand.ts b/clients/client-athena/commands/CreateNamedQueryCommand.ts index 9c561687c2ca7..ccbf67fbbceed 100644 --- a/clients/client-athena/commands/CreateNamedQueryCommand.ts +++ b/clients/client-athena/commands/CreateNamedQueryCommand.ts @@ -31,7 +31,6 @@ export class CreateNamedQueryCommand extends $Command< CreateNamedQueryCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateNamedQueryCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/CreateWorkGroupCommand.ts b/clients/client-athena/commands/CreateWorkGroupCommand.ts index dc2e217eba18b..8e567e86ed88b 100644 --- a/clients/client-athena/commands/CreateWorkGroupCommand.ts +++ b/clients/client-athena/commands/CreateWorkGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateWorkGroupCommand extends $Command< CreateWorkGroupCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWorkGroupCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/DeleteDataCatalogCommand.ts b/clients/client-athena/commands/DeleteDataCatalogCommand.ts index 4be5bf0ec6b10..6ff381360c23e 100644 --- a/clients/client-athena/commands/DeleteDataCatalogCommand.ts +++ b/clients/client-athena/commands/DeleteDataCatalogCommand.ts @@ -28,7 +28,6 @@ export class DeleteDataCatalogCommand extends $Command< DeleteDataCatalogCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDataCatalogCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/DeleteNamedQueryCommand.ts b/clients/client-athena/commands/DeleteNamedQueryCommand.ts index 3daa79296dba9..5a467cb666fb3 100644 --- a/clients/client-athena/commands/DeleteNamedQueryCommand.ts +++ b/clients/client-athena/commands/DeleteNamedQueryCommand.ts @@ -31,7 +31,6 @@ export class DeleteNamedQueryCommand extends $Command< DeleteNamedQueryCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteNamedQueryCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/DeleteWorkGroupCommand.ts b/clients/client-athena/commands/DeleteWorkGroupCommand.ts index 53b2a3006171f..0434c35657807 100644 --- a/clients/client-athena/commands/DeleteWorkGroupCommand.ts +++ b/clients/client-athena/commands/DeleteWorkGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteWorkGroupCommand extends $Command< DeleteWorkGroupCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteWorkGroupCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetDataCatalogCommand.ts b/clients/client-athena/commands/GetDataCatalogCommand.ts index e0a897191f113..588f3ca39f686 100644 --- a/clients/client-athena/commands/GetDataCatalogCommand.ts +++ b/clients/client-athena/commands/GetDataCatalogCommand.ts @@ -28,7 +28,6 @@ export class GetDataCatalogCommand extends $Command< GetDataCatalogCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataCatalogCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetDatabaseCommand.ts b/clients/client-athena/commands/GetDatabaseCommand.ts index 435d3cc4551b9..ac8c4eb08f5cc 100644 --- a/clients/client-athena/commands/GetDatabaseCommand.ts +++ b/clients/client-athena/commands/GetDatabaseCommand.ts @@ -28,7 +28,6 @@ export class GetDatabaseCommand extends $Command< GetDatabaseCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDatabaseCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetNamedQueryCommand.ts b/clients/client-athena/commands/GetNamedQueryCommand.ts index 6a6ca88310ea1..0684b7f5537a9 100644 --- a/clients/client-athena/commands/GetNamedQueryCommand.ts +++ b/clients/client-athena/commands/GetNamedQueryCommand.ts @@ -29,7 +29,6 @@ export class GetNamedQueryCommand extends $Command< GetNamedQueryCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetNamedQueryCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetQueryExecutionCommand.ts b/clients/client-athena/commands/GetQueryExecutionCommand.ts index 386508573aadd..11b3681186dd4 100644 --- a/clients/client-athena/commands/GetQueryExecutionCommand.ts +++ b/clients/client-athena/commands/GetQueryExecutionCommand.ts @@ -30,7 +30,6 @@ export class GetQueryExecutionCommand extends $Command< GetQueryExecutionCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetQueryExecutionCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetQueryResultsCommand.ts b/clients/client-athena/commands/GetQueryResultsCommand.ts index f2768069f708b..dbd768cdebbc6 100644 --- a/clients/client-athena/commands/GetQueryResultsCommand.ts +++ b/clients/client-athena/commands/GetQueryResultsCommand.ts @@ -42,7 +42,6 @@ export class GetQueryResultsCommand extends $Command< GetQueryResultsCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetQueryResultsCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetTableMetadataCommand.ts b/clients/client-athena/commands/GetTableMetadataCommand.ts index 9c9b35c3593ad..85c2cb01d0476 100644 --- a/clients/client-athena/commands/GetTableMetadataCommand.ts +++ b/clients/client-athena/commands/GetTableMetadataCommand.ts @@ -28,7 +28,6 @@ export class GetTableMetadataCommand extends $Command< GetTableMetadataCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTableMetadataCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/GetWorkGroupCommand.ts b/clients/client-athena/commands/GetWorkGroupCommand.ts index 11cf054c84f77..09af5eaaf103c 100644 --- a/clients/client-athena/commands/GetWorkGroupCommand.ts +++ b/clients/client-athena/commands/GetWorkGroupCommand.ts @@ -28,7 +28,6 @@ export class GetWorkGroupCommand extends $Command< GetWorkGroupCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWorkGroupCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListDataCatalogsCommand.ts b/clients/client-athena/commands/ListDataCatalogsCommand.ts index e26a643b1b90b..043241e366464 100644 --- a/clients/client-athena/commands/ListDataCatalogsCommand.ts +++ b/clients/client-athena/commands/ListDataCatalogsCommand.ts @@ -28,7 +28,6 @@ export class ListDataCatalogsCommand extends $Command< ListDataCatalogsCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataCatalogsCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListDatabasesCommand.ts b/clients/client-athena/commands/ListDatabasesCommand.ts index da92621790330..32b51960a794f 100644 --- a/clients/client-athena/commands/ListDatabasesCommand.ts +++ b/clients/client-athena/commands/ListDatabasesCommand.ts @@ -28,7 +28,6 @@ export class ListDatabasesCommand extends $Command< ListDatabasesCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDatabasesCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListNamedQueriesCommand.ts b/clients/client-athena/commands/ListNamedQueriesCommand.ts index 60c1f6caad79b..54171fb240987 100644 --- a/clients/client-athena/commands/ListNamedQueriesCommand.ts +++ b/clients/client-athena/commands/ListNamedQueriesCommand.ts @@ -32,7 +32,6 @@ export class ListNamedQueriesCommand extends $Command< ListNamedQueriesCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListNamedQueriesCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListQueryExecutionsCommand.ts b/clients/client-athena/commands/ListQueryExecutionsCommand.ts index cc6ea2896de7d..49e8fb2ae9a6c 100644 --- a/clients/client-athena/commands/ListQueryExecutionsCommand.ts +++ b/clients/client-athena/commands/ListQueryExecutionsCommand.ts @@ -33,7 +33,6 @@ export class ListQueryExecutionsCommand extends $Command< ListQueryExecutionsCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListQueryExecutionsCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListTableMetadataCommand.ts b/clients/client-athena/commands/ListTableMetadataCommand.ts index e13e230531668..307c8f185c84d 100644 --- a/clients/client-athena/commands/ListTableMetadataCommand.ts +++ b/clients/client-athena/commands/ListTableMetadataCommand.ts @@ -28,7 +28,6 @@ export class ListTableMetadataCommand extends $Command< ListTableMetadataCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTableMetadataCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListTagsForResourceCommand.ts b/clients/client-athena/commands/ListTagsForResourceCommand.ts index 79a4bb98c2517..35ca31fe07bdd 100644 --- a/clients/client-athena/commands/ListTagsForResourceCommand.ts +++ b/clients/client-athena/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/ListWorkGroupsCommand.ts b/clients/client-athena/commands/ListWorkGroupsCommand.ts index 312e5341fadd3..6ad0918a81b89 100644 --- a/clients/client-athena/commands/ListWorkGroupsCommand.ts +++ b/clients/client-athena/commands/ListWorkGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListWorkGroupsCommand extends $Command< ListWorkGroupsCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorkGroupsCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/StartQueryExecutionCommand.ts b/clients/client-athena/commands/StartQueryExecutionCommand.ts index 480b813dfe09c..2fcc36b97db03 100644 --- a/clients/client-athena/commands/StartQueryExecutionCommand.ts +++ b/clients/client-athena/commands/StartQueryExecutionCommand.ts @@ -32,7 +32,6 @@ export class StartQueryExecutionCommand extends $Command< StartQueryExecutionCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartQueryExecutionCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/StopQueryExecutionCommand.ts b/clients/client-athena/commands/StopQueryExecutionCommand.ts index 710ce83685bd4..b278ebd2534fb 100644 --- a/clients/client-athena/commands/StopQueryExecutionCommand.ts +++ b/clients/client-athena/commands/StopQueryExecutionCommand.ts @@ -31,7 +31,6 @@ export class StopQueryExecutionCommand extends $Command< StopQueryExecutionCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StopQueryExecutionCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/TagResourceCommand.ts b/clients/client-athena/commands/TagResourceCommand.ts index 8937f452f16c4..f4b1aa74da78a 100644 --- a/clients/client-athena/commands/TagResourceCommand.ts +++ b/clients/client-athena/commands/TagResourceCommand.ts @@ -37,7 +37,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class TagResourceCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/UntagResourceCommand.ts b/clients/client-athena/commands/UntagResourceCommand.ts index 1371953221aa3..8aa3fa9c92080 100644 --- a/clients/client-athena/commands/UntagResourceCommand.ts +++ b/clients/client-athena/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/UpdateDataCatalogCommand.ts b/clients/client-athena/commands/UpdateDataCatalogCommand.ts index 3a18044bb0e6a..20933d8130a17 100644 --- a/clients/client-athena/commands/UpdateDataCatalogCommand.ts +++ b/clients/client-athena/commands/UpdateDataCatalogCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataCatalogCommand extends $Command< UpdateDataCatalogCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataCatalogCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-athena/commands/UpdateWorkGroupCommand.ts b/clients/client-athena/commands/UpdateWorkGroupCommand.ts index a3b2eb5664fe9..4aef808a615bd 100644 --- a/clients/client-athena/commands/UpdateWorkGroupCommand.ts +++ b/clients/client-athena/commands/UpdateWorkGroupCommand.ts @@ -29,7 +29,6 @@ export class UpdateWorkGroupCommand extends $Command< UpdateWorkGroupCommandOutput, AthenaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateWorkGroupCommand extends $Command< configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts index 85e3d005fa6b6..ae43138b6dc73 100644 --- a/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts @@ -34,7 +34,6 @@ export class AssociateAssessmentReportEvidenceFolderCommand extends $Command< AssociateAssessmentReportEvidenceFolderCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AssociateAssessmentReportEvidenceFolderCommand extends $Command< AssociateAssessmentReportEvidenceFolderCommandInput, AssociateAssessmentReportEvidenceFolderCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts b/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts index d8a2bb241f991..70004d1579043 100644 --- a/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts +++ b/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts @@ -34,7 +34,6 @@ export class BatchAssociateAssessmentReportEvidenceCommand extends $Command< BatchAssociateAssessmentReportEvidenceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchAssociateAssessmentReportEvidenceCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts b/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts index 6406907cfff54..863416f868e07 100644 --- a/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts @@ -34,7 +34,6 @@ export class BatchCreateDelegationByAssessmentCommand extends $Command< BatchCreateDelegationByAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchCreateDelegationByAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts b/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts index bb724154215db..0971cdace29a6 100644 --- a/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts @@ -34,7 +34,6 @@ export class BatchDeleteDelegationByAssessmentCommand extends $Command< BatchDeleteDelegationByAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchDeleteDelegationByAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts b/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts index af99c71a44455..050e7e56d00dd 100644 --- a/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts +++ b/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts @@ -34,7 +34,6 @@ export class BatchDisassociateAssessmentReportEvidenceCommand extends $Command< BatchDisassociateAssessmentReportEvidenceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class BatchDisassociateAssessmentReportEvidenceCommand extends $Command< BatchDisassociateAssessmentReportEvidenceCommandInput, BatchDisassociateAssessmentReportEvidenceCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts b/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts index b9640a11a59c3..654273d2550d0 100644 --- a/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts +++ b/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts @@ -34,7 +34,6 @@ export class BatchImportEvidenceToAssessmentControlCommand extends $Command< BatchImportEvidenceToAssessmentControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchImportEvidenceToAssessmentControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/CreateAssessmentCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentCommand.ts index 02e75d30dbbdb..ae1f03be3e251 100644 --- a/clients/client-auditmanager/commands/CreateAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/CreateAssessmentCommand.ts @@ -30,7 +30,6 @@ export class CreateAssessmentCommand extends $Command< CreateAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts index 83d882f153c89..0e787550fdbe4 100644 --- a/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts @@ -30,7 +30,6 @@ export class CreateAssessmentFrameworkCommand extends $Command< CreateAssessmentFrameworkCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAssessmentFrameworkCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts index 6ee30eb4768b6..a8fe0ca1b50eb 100644 --- a/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts +++ b/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts @@ -30,7 +30,6 @@ export class CreateAssessmentReportCommand extends $Command< CreateAssessmentReportCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAssessmentReportCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/CreateControlCommand.ts b/clients/client-auditmanager/commands/CreateControlCommand.ts index 5e847558daa4c..d9af333207ebf 100644 --- a/clients/client-auditmanager/commands/CreateControlCommand.ts +++ b/clients/client-auditmanager/commands/CreateControlCommand.ts @@ -30,7 +30,6 @@ export class CreateControlCommand extends $Command< CreateControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts index fc0157429ca7f..b33fffe118217 100644 --- a/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts @@ -30,7 +30,6 @@ export class DeleteAssessmentCommand extends $Command< DeleteAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts index 7999f18441628..da70c6b71ea0f 100644 --- a/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts @@ -30,7 +30,6 @@ export class DeleteAssessmentFrameworkCommand extends $Command< DeleteAssessmentFrameworkCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAssessmentFrameworkCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts index 98113aa55737a..259eeb2afc10f 100644 --- a/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts +++ b/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts @@ -30,7 +30,6 @@ export class DeleteAssessmentReportCommand extends $Command< DeleteAssessmentReportCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAssessmentReportCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DeleteControlCommand.ts b/clients/client-auditmanager/commands/DeleteControlCommand.ts index 6322b821dc040..a14a32dde4bb6 100644 --- a/clients/client-auditmanager/commands/DeleteControlCommand.ts +++ b/clients/client-auditmanager/commands/DeleteControlCommand.ts @@ -30,7 +30,6 @@ export class DeleteControlCommand extends $Command< DeleteControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DeregisterAccountCommand.ts b/clients/client-auditmanager/commands/DeregisterAccountCommand.ts index 88f185a5846e6..625c2a0ba4209 100644 --- a/clients/client-auditmanager/commands/DeregisterAccountCommand.ts +++ b/clients/client-auditmanager/commands/DeregisterAccountCommand.ts @@ -30,7 +30,6 @@ export class DeregisterAccountCommand extends $Command< DeregisterAccountCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeregisterAccountCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts index 217e44b622890..a5653a7347a31 100644 --- a/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts +++ b/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts @@ -34,7 +34,6 @@ export class DeregisterOrganizationAdminAccountCommand extends $Command< DeregisterOrganizationAdminAccountCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeregisterOrganizationAdminAccountCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts index 558f13cbc4a30..7b3a3b33578cc 100644 --- a/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts @@ -34,7 +34,6 @@ export class DisassociateAssessmentReportEvidenceFolderCommand extends $Command< DisassociateAssessmentReportEvidenceFolderCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DisassociateAssessmentReportEvidenceFolderCommand extends $Command< DisassociateAssessmentReportEvidenceFolderCommandInput, DisassociateAssessmentReportEvidenceFolderCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetAccountStatusCommand.ts b/clients/client-auditmanager/commands/GetAccountStatusCommand.ts index 981c81045cb38..a0b766b5a08b0 100644 --- a/clients/client-auditmanager/commands/GetAccountStatusCommand.ts +++ b/clients/client-auditmanager/commands/GetAccountStatusCommand.ts @@ -30,7 +30,6 @@ export class GetAccountStatusCommand extends $Command< GetAccountStatusCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAccountStatusCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetAssessmentCommand.ts b/clients/client-auditmanager/commands/GetAssessmentCommand.ts index 2aefdaa27c903..26a94935b5411 100644 --- a/clients/client-auditmanager/commands/GetAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/GetAssessmentCommand.ts @@ -30,7 +30,6 @@ export class GetAssessmentCommand extends $Command< GetAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts index d243f5319729a..b106b13a939c1 100644 --- a/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts @@ -30,7 +30,6 @@ export class GetAssessmentFrameworkCommand extends $Command< GetAssessmentFrameworkCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAssessmentFrameworkCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts b/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts index d0d9a2b34effb..91c9655c896cd 100644 --- a/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts +++ b/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts @@ -30,7 +30,6 @@ export class GetAssessmentReportUrlCommand extends $Command< GetAssessmentReportUrlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAssessmentReportUrlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetChangeLogsCommand.ts b/clients/client-auditmanager/commands/GetChangeLogsCommand.ts index 75c2570df20b7..457d91a4db386 100644 --- a/clients/client-auditmanager/commands/GetChangeLogsCommand.ts +++ b/clients/client-auditmanager/commands/GetChangeLogsCommand.ts @@ -30,7 +30,6 @@ export class GetChangeLogsCommand extends $Command< GetChangeLogsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetChangeLogsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetControlCommand.ts b/clients/client-auditmanager/commands/GetControlCommand.ts index e1a7952354ab9..9941a04f270bc 100644 --- a/clients/client-auditmanager/commands/GetControlCommand.ts +++ b/clients/client-auditmanager/commands/GetControlCommand.ts @@ -30,7 +30,6 @@ export class GetControlCommand extends $Command< GetControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetDelegationsCommand.ts b/clients/client-auditmanager/commands/GetDelegationsCommand.ts index 506be03cec549..6859a7064387a 100644 --- a/clients/client-auditmanager/commands/GetDelegationsCommand.ts +++ b/clients/client-auditmanager/commands/GetDelegationsCommand.ts @@ -30,7 +30,6 @@ export class GetDelegationsCommand extends $Command< GetDelegationsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDelegationsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts index 427d4825b39aa..ba09543f9110b 100644 --- a/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts @@ -30,7 +30,6 @@ export class GetEvidenceByEvidenceFolderCommand extends $Command< GetEvidenceByEvidenceFolderCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEvidenceByEvidenceFolderCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetEvidenceCommand.ts b/clients/client-auditmanager/commands/GetEvidenceCommand.ts index 9f70b8c3e87fc..4fbff80ba6039 100644 --- a/clients/client-auditmanager/commands/GetEvidenceCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceCommand.ts @@ -30,7 +30,6 @@ export class GetEvidenceCommand extends $Command< GetEvidenceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEvidenceCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts index 101c3731c417f..52060cabb471e 100644 --- a/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts @@ -30,7 +30,6 @@ export class GetEvidenceFolderCommand extends $Command< GetEvidenceFolderCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEvidenceFolderCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts index 0500366951f57..d7e4f32559c41 100644 --- a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts @@ -30,7 +30,6 @@ export class GetEvidenceFoldersByAssessmentCommand extends $Command< GetEvidenceFoldersByAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEvidenceFoldersByAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts index 7783ff44c34d5..e36c48ea52dbd 100644 --- a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts +++ b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts @@ -34,7 +34,6 @@ export class GetEvidenceFoldersByAssessmentControlCommand extends $Command< GetEvidenceFoldersByAssessmentControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetEvidenceFoldersByAssessmentControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts index 8559a785564fc..22e3efe6db081 100644 --- a/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts +++ b/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts @@ -30,7 +30,6 @@ export class GetOrganizationAdminAccountCommand extends $Command< GetOrganizationAdminAccountCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetOrganizationAdminAccountCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts b/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts index 68a38751d044f..34e367cc0cf72 100644 --- a/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts +++ b/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts @@ -30,7 +30,6 @@ export class GetServicesInScopeCommand extends $Command< GetServicesInScopeCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetServicesInScopeCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/GetSettingsCommand.ts b/clients/client-auditmanager/commands/GetSettingsCommand.ts index 457f80c1617b3..0069f7ffc7451 100644 --- a/clients/client-auditmanager/commands/GetSettingsCommand.ts +++ b/clients/client-auditmanager/commands/GetSettingsCommand.ts @@ -30,7 +30,6 @@ export class GetSettingsCommand extends $Command< GetSettingsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetSettingsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts b/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts index 3600d7ce16166..a04a9d7612af3 100644 --- a/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts +++ b/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts @@ -30,7 +30,6 @@ export class ListAssessmentFrameworksCommand extends $Command< ListAssessmentFrameworksCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAssessmentFrameworksCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts b/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts index 90cc8abc43ffd..e7f1c0c5f17f9 100644 --- a/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts +++ b/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts @@ -30,7 +30,6 @@ export class ListAssessmentReportsCommand extends $Command< ListAssessmentReportsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAssessmentReportsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListAssessmentsCommand.ts b/clients/client-auditmanager/commands/ListAssessmentsCommand.ts index 58ed5e805630d..10e6bedd853ef 100644 --- a/clients/client-auditmanager/commands/ListAssessmentsCommand.ts +++ b/clients/client-auditmanager/commands/ListAssessmentsCommand.ts @@ -30,7 +30,6 @@ export class ListAssessmentsCommand extends $Command< ListAssessmentsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAssessmentsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListControlsCommand.ts b/clients/client-auditmanager/commands/ListControlsCommand.ts index 19e6195f521a4..c06ecc92de71b 100644 --- a/clients/client-auditmanager/commands/ListControlsCommand.ts +++ b/clients/client-auditmanager/commands/ListControlsCommand.ts @@ -30,7 +30,6 @@ export class ListControlsCommand extends $Command< ListControlsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListControlsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts b/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts index 1b0999ffea07f..cd9819f007608 100644 --- a/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts +++ b/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts @@ -30,7 +30,6 @@ export class ListKeywordsForDataSourceCommand extends $Command< ListKeywordsForDataSourceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListKeywordsForDataSourceCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListNotificationsCommand.ts b/clients/client-auditmanager/commands/ListNotificationsCommand.ts index 7dee16f7201d2..23d4ef5da118e 100644 --- a/clients/client-auditmanager/commands/ListNotificationsCommand.ts +++ b/clients/client-auditmanager/commands/ListNotificationsCommand.ts @@ -30,7 +30,6 @@ export class ListNotificationsCommand extends $Command< ListNotificationsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListNotificationsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts b/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts index d9b37751b8a1b..f2b7bba114a4f 100644 --- a/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts +++ b/clients/client-auditmanager/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/RegisterAccountCommand.ts b/clients/client-auditmanager/commands/RegisterAccountCommand.ts index f12bffc6befc1..bdfebaf099682 100644 --- a/clients/client-auditmanager/commands/RegisterAccountCommand.ts +++ b/clients/client-auditmanager/commands/RegisterAccountCommand.ts @@ -30,7 +30,6 @@ export class RegisterAccountCommand extends $Command< RegisterAccountCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RegisterAccountCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts index f55e964045d79..66acf15881798 100644 --- a/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts +++ b/clients/client-auditmanager/commands/RegisterOrganizationAdminAccountCommand.ts @@ -30,7 +30,6 @@ export class RegisterOrganizationAdminAccountCommand extends $Command< RegisterOrganizationAdminAccountCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RegisterOrganizationAdminAccountCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/TagResourceCommand.ts b/clients/client-auditmanager/commands/TagResourceCommand.ts index cc04985c0f12f..1e05e0bad80ae 100644 --- a/clients/client-auditmanager/commands/TagResourceCommand.ts +++ b/clients/client-auditmanager/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UntagResourceCommand.ts b/clients/client-auditmanager/commands/UntagResourceCommand.ts index f7cec1545dcc0..b81571c977f7b 100644 --- a/clients/client-auditmanager/commands/UntagResourceCommand.ts +++ b/clients/client-auditmanager/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts index 9a2833a0d79ec..243b640438b8f 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentCommand.ts @@ -30,7 +30,6 @@ export class UpdateAssessmentCommand extends $Command< UpdateAssessmentCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAssessmentCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts index 7557aa1847b73..629237be5b5ae 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentControlCommand.ts @@ -30,7 +30,6 @@ export class UpdateAssessmentControlCommand extends $Command< UpdateAssessmentControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAssessmentControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts index 70da68d19e034..79e4ea9f5537b 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentControlSetStatusCommand.ts @@ -30,7 +30,6 @@ export class UpdateAssessmentControlSetStatusCommand extends $Command< UpdateAssessmentControlSetStatusCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAssessmentControlSetStatusCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts index ffa2f40369d2e..7d1526e88cd3f 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentFrameworkCommand.ts @@ -30,7 +30,6 @@ export class UpdateAssessmentFrameworkCommand extends $Command< UpdateAssessmentFrameworkCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAssessmentFrameworkCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts b/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts index cb729aa556f53..b3810c8ff59c1 100644 --- a/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts +++ b/clients/client-auditmanager/commands/UpdateAssessmentStatusCommand.ts @@ -30,7 +30,6 @@ export class UpdateAssessmentStatusCommand extends $Command< UpdateAssessmentStatusCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAssessmentStatusCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateControlCommand.ts b/clients/client-auditmanager/commands/UpdateControlCommand.ts index 8482d42340f9f..a84568783de4c 100644 --- a/clients/client-auditmanager/commands/UpdateControlCommand.ts +++ b/clients/client-auditmanager/commands/UpdateControlCommand.ts @@ -30,7 +30,6 @@ export class UpdateControlCommand extends $Command< UpdateControlCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateControlCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/UpdateSettingsCommand.ts b/clients/client-auditmanager/commands/UpdateSettingsCommand.ts index 7a93c84fd6698..fbeca66ab7068 100644 --- a/clients/client-auditmanager/commands/UpdateSettingsCommand.ts +++ b/clients/client-auditmanager/commands/UpdateSettingsCommand.ts @@ -30,7 +30,6 @@ export class UpdateSettingsCommand extends $Command< UpdateSettingsCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateSettingsCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts b/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts index 8959afafd29eb..74c7d21b9e54a 100644 --- a/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts +++ b/clients/client-auditmanager/commands/ValidateAssessmentReportIntegrityCommand.ts @@ -34,7 +34,6 @@ export class ValidateAssessmentReportIntegrityCommand extends $Command< ValidateAssessmentReportIntegrityCommandOutput, AuditManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ValidateAssessmentReportIntegrityCommand extends $Command< configuration: AuditManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts b/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts index f571c9e2d9699..7a073711919ad 100644 --- a/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/commands/CreateScalingPlanCommand.ts @@ -28,7 +28,6 @@ export class CreateScalingPlanCommand extends $Command< CreateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateScalingPlanCommand extends $Command< configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts b/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts index 0a949f316c725..31afbdeec564c 100644 --- a/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/commands/DeleteScalingPlanCommand.ts @@ -32,7 +32,6 @@ export class DeleteScalingPlanCommand extends $Command< DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteScalingPlanCommand extends $Command< configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts b/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts index fb5752cccd202..b0b8bb55805d7 100644 --- a/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts +++ b/clients/client-auto-scaling-plans/commands/DescribeScalingPlanResourcesCommand.ts @@ -28,7 +28,6 @@ export class DescribeScalingPlanResourcesCommand extends $Command< DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScalingPlanResourcesCommand extends $Command< configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts b/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts index b27fe2ebd44fc..999b613e25ff4 100644 --- a/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts +++ b/clients/client-auto-scaling-plans/commands/DescribeScalingPlansCommand.ts @@ -28,7 +28,6 @@ export class DescribeScalingPlansCommand extends $Command< DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScalingPlansCommand extends $Command< configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts b/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts index eefcac0c417bc..27949d25c57f7 100644 --- a/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts +++ b/clients/client-auto-scaling-plans/commands/GetScalingPlanResourceForecastDataCommand.ts @@ -37,7 +37,6 @@ export class GetScalingPlanResourceForecastDataCommand extends $Command< GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetScalingPlanResourceForecastDataCommand extends $Command< configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts b/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts index bb02ee61cfc2f..47bab565e1534 100644 --- a/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts +++ b/clients/client-auto-scaling-plans/commands/UpdateScalingPlanCommand.ts @@ -30,7 +30,6 @@ export class UpdateScalingPlanCommand extends $Command< UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateScalingPlanCommand extends $Command< configuration: AutoScalingPlansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/AttachInstancesCommand.ts b/clients/client-auto-scaling/commands/AttachInstancesCommand.ts index 9e7a044f1b35f..0ff4078edfc13 100644 --- a/clients/client-auto-scaling/commands/AttachInstancesCommand.ts +++ b/clients/client-auto-scaling/commands/AttachInstancesCommand.ts @@ -37,7 +37,6 @@ export class AttachInstancesCommand extends $Command< AttachInstancesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AttachInstancesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts b/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts index ff9d7bf800186..1b4fceb14460f 100644 --- a/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/AttachLoadBalancerTargetGroupsCommand.ts @@ -46,7 +46,6 @@ export class AttachLoadBalancerTargetGroupsCommand extends $Command< AttachLoadBalancerTargetGroupsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class AttachLoadBalancerTargetGroupsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts b/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts index 4f46cc30cf5c6..c34d58b7fcffb 100644 --- a/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts +++ b/clients/client-auto-scaling/commands/AttachLoadBalancersCommand.ts @@ -38,7 +38,6 @@ export class AttachLoadBalancersCommand extends $Command< AttachLoadBalancersCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AttachLoadBalancersCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts b/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts index e70fedbc2389d..05db8091acd06 100644 --- a/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts +++ b/clients/client-auto-scaling/commands/BatchDeleteScheduledActionCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteScheduledActionCommand extends $Command< BatchDeleteScheduledActionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteScheduledActionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts b/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts index 7ff1e4bddb4e2..b2e3c323d53c2 100644 --- a/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts +++ b/clients/client-auto-scaling/commands/BatchPutScheduledUpdateGroupActionCommand.ts @@ -31,7 +31,6 @@ export class BatchPutScheduledUpdateGroupActionCommand extends $Command< BatchPutScheduledUpdateGroupActionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class BatchPutScheduledUpdateGroupActionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/CancelInstanceRefreshCommand.ts b/clients/client-auto-scaling/commands/CancelInstanceRefreshCommand.ts index 81f99fc37180f..7e22c1f2f425a 100644 --- a/clients/client-auto-scaling/commands/CancelInstanceRefreshCommand.ts +++ b/clients/client-auto-scaling/commands/CancelInstanceRefreshCommand.ts @@ -32,7 +32,6 @@ export class CancelInstanceRefreshCommand extends $Command< CancelInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CancelInstanceRefreshCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts b/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts index f67c845ebe932..211cf60eaa050 100644 --- a/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts +++ b/clients/client-auto-scaling/commands/CompleteLifecycleActionCommand.ts @@ -59,7 +59,6 @@ export class CompleteLifecycleActionCommand extends $Command< CompleteLifecycleActionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CompleteLifecycleActionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts index ecae7472759b7..7ef2159c3c4e2 100644 --- a/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/CreateAutoScalingGroupCommand.ts @@ -42,7 +42,6 @@ export class CreateAutoScalingGroupCommand extends $Command< CreateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateAutoScalingGroupCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts b/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts index 87444e8f232ac..fe67d02acd1bb 100644 --- a/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/CreateLaunchConfigurationCommand.ts @@ -34,7 +34,6 @@ export class CreateLaunchConfigurationCommand extends $Command< CreateLaunchConfigurationCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateLaunchConfigurationCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts b/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts index 04df0a168fc75..f367702da5c7e 100644 --- a/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts +++ b/clients/client-auto-scaling/commands/CreateOrUpdateTagsCommand.ts @@ -32,7 +32,6 @@ export class CreateOrUpdateTagsCommand extends $Command< CreateOrUpdateTagsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateOrUpdateTagsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts index bc3ecd6887488..7666e5c3e7697 100644 --- a/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteAutoScalingGroupCommand.ts @@ -37,7 +37,6 @@ export class DeleteAutoScalingGroupCommand extends $Command< DeleteAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteAutoScalingGroupCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts b/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts index 5a0617ebf7643..c9e6c164c98f8 100644 --- a/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteLaunchConfigurationCommand.ts @@ -30,7 +30,6 @@ export class DeleteLaunchConfigurationCommand extends $Command< DeleteLaunchConfigurationCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteLaunchConfigurationCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts b/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts index 8a5f12f15d620..3b46a3c0b1fca 100644 --- a/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteLifecycleHookCommand.ts @@ -31,7 +31,6 @@ export class DeleteLifecycleHookCommand extends $Command< DeleteLifecycleHookCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteLifecycleHookCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts b/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts index c508ab3c2ec4e..4ec654b54266a 100644 --- a/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteNotificationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteNotificationConfigurationCommand extends $Command< DeleteNotificationConfigurationCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNotificationConfigurationCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeletePolicyCommand.ts b/clients/client-auto-scaling/commands/DeletePolicyCommand.ts index d8458f0ecc936..9ddfdefd1fff6 100644 --- a/clients/client-auto-scaling/commands/DeletePolicyCommand.ts +++ b/clients/client-auto-scaling/commands/DeletePolicyCommand.ts @@ -30,7 +30,6 @@ export class DeletePolicyCommand extends $Command< DeletePolicyCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeletePolicyCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts b/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts index e93a39dbc22af..332a375cb3877 100644 --- a/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteScheduledActionCommand.ts @@ -28,7 +28,6 @@ export class DeleteScheduledActionCommand extends $Command< DeleteScheduledActionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteScheduledActionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DeleteTagsCommand.ts b/clients/client-auto-scaling/commands/DeleteTagsCommand.ts index ff2a96d520f2d..6e668df55fa0a 100644 --- a/clients/client-auto-scaling/commands/DeleteTagsCommand.ts +++ b/clients/client-auto-scaling/commands/DeleteTagsCommand.ts @@ -25,7 +25,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteTagsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts b/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts index c0272b25d06db..5ed7703358e4f 100644 --- a/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAccountLimitsCommand.ts @@ -30,7 +30,6 @@ export class DescribeAccountLimitsCommand extends $Command< DescribeAccountLimitsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAccountLimitsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts index 52c9c584063ed..1bb0006c7d991 100644 --- a/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAdjustmentTypesCommand.ts @@ -42,7 +42,6 @@ export class DescribeAdjustmentTypesCommand extends $Command< DescribeAdjustmentTypesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeAdjustmentTypesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts b/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts index 2bc8cba57e867..84c7263e85898 100644 --- a/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAutoScalingGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeAutoScalingGroupsCommand extends $Command< DescribeAutoScalingGroupsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAutoScalingGroupsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts b/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts index 420ed1a7401b7..f66c1e4086a32 100644 --- a/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAutoScalingInstancesCommand.ts @@ -28,7 +28,6 @@ export class DescribeAutoScalingInstancesCommand extends $Command< DescribeAutoScalingInstancesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAutoScalingInstancesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts index ecb576727e52e..ba317e8374688 100644 --- a/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeAutoScalingNotificationTypesCommand.ts @@ -29,7 +29,6 @@ export class DescribeAutoScalingNotificationTypesCommand extends $Command< DescribeAutoScalingNotificationTypesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAutoScalingNotificationTypesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeInstanceRefreshesCommand.ts b/clients/client-auto-scaling/commands/DescribeInstanceRefreshesCommand.ts index 119e6a0009753..59f7087f03a04 100644 --- a/clients/client-auto-scaling/commands/DescribeInstanceRefreshesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeInstanceRefreshesCommand.ts @@ -62,7 +62,6 @@ export class DescribeInstanceRefreshesCommand extends $Command< DescribeInstanceRefreshesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DescribeInstanceRefreshesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts b/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts index fe2bb5dea09e1..90058a010cbaa 100644 --- a/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLaunchConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLaunchConfigurationsCommand extends $Command< DescribeLaunchConfigurationsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLaunchConfigurationsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts index 4a1e29f2676da..26b85469e32f5 100644 --- a/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLifecycleHookTypesCommand.ts @@ -37,7 +37,6 @@ export class DescribeLifecycleHookTypesCommand extends $Command< DescribeLifecycleHookTypesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeLifecycleHookTypesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts b/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts index 7e29e24d9b9ab..12d97eefd0082 100644 --- a/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLifecycleHooksCommand.ts @@ -28,7 +28,6 @@ export class DescribeLifecycleHooksCommand extends $Command< DescribeLifecycleHooksCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLifecycleHooksCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts b/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts index 1a21ea1cfe9b0..6e48147300553 100644 --- a/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLoadBalancerTargetGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLoadBalancerTargetGroupsCommand extends $Command< DescribeLoadBalancerTargetGroupsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLoadBalancerTargetGroupsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts b/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts index 7f7fa04ffa6f1..490b732a90274 100644 --- a/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeLoadBalancersCommand.ts @@ -30,7 +30,6 @@ export class DescribeLoadBalancersCommand extends $Command< DescribeLoadBalancersCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeLoadBalancersCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts index 9c07df497b9c9..9408ee15cd088 100644 --- a/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeMetricCollectionTypesCommand.ts @@ -30,7 +30,6 @@ export class DescribeMetricCollectionTypesCommand extends $Command< DescribeMetricCollectionTypesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeMetricCollectionTypesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts b/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts index b0c5fac9ead39..71e4298b2d25e 100644 --- a/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeNotificationConfigurationsCommand.ts @@ -29,7 +29,6 @@ export class DescribeNotificationConfigurationsCommand extends $Command< DescribeNotificationConfigurationsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeNotificationConfigurationsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts b/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts index 277d046f288e0..2c4d177bcbba0 100644 --- a/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribePoliciesCommand.ts @@ -28,7 +28,6 @@ export class DescribePoliciesCommand extends $Command< DescribePoliciesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePoliciesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts b/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts index c5f42dde5f6ca..eba19fcc449a7 100644 --- a/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeScalingActivitiesCommand.ts @@ -28,7 +28,6 @@ export class DescribeScalingActivitiesCommand extends $Command< DescribeScalingActivitiesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScalingActivitiesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts index 81db9dbb3f4e6..6a01a17a3c5a7 100644 --- a/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeScalingProcessTypesCommand.ts @@ -29,7 +29,6 @@ export class DescribeScalingProcessTypesCommand extends $Command< DescribeScalingProcessTypesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeScalingProcessTypesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts b/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts index 99a458f2bb7a1..0d092fb6a9804 100644 --- a/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeScheduledActionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeScheduledActionsCommand extends $Command< DescribeScheduledActionsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeScheduledActionsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeTagsCommand.ts b/clients/client-auto-scaling/commands/DescribeTagsCommand.ts index 9bf245199f6ea..27bcc0db58bea 100644 --- a/clients/client-auto-scaling/commands/DescribeTagsCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeTagsCommand.ts @@ -33,7 +33,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeTagsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts b/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts index d2b547b51baad..8fa9b15b135bf 100644 --- a/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts +++ b/clients/client-auto-scaling/commands/DescribeTerminationPolicyTypesCommand.ts @@ -31,7 +31,6 @@ export class DescribeTerminationPolicyTypesCommand extends $Command< DescribeTerminationPolicyTypesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeTerminationPolicyTypesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DetachInstancesCommand.ts b/clients/client-auto-scaling/commands/DetachInstancesCommand.ts index 9eebfce600cfd..4a5fe402c4982 100644 --- a/clients/client-auto-scaling/commands/DetachInstancesCommand.ts +++ b/clients/client-auto-scaling/commands/DetachInstancesCommand.ts @@ -37,7 +37,6 @@ export class DetachInstancesCommand extends $Command< DetachInstancesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DetachInstancesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts b/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts index 2d460392bf5cb..43f8e1647beb6 100644 --- a/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts +++ b/clients/client-auto-scaling/commands/DetachLoadBalancerTargetGroupsCommand.ts @@ -28,7 +28,6 @@ export class DetachLoadBalancerTargetGroupsCommand extends $Command< DetachLoadBalancerTargetGroupsCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachLoadBalancerTargetGroupsCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts b/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts index 4048c0bf9ed3f..3a63c07328848 100644 --- a/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts +++ b/clients/client-auto-scaling/commands/DetachLoadBalancersCommand.ts @@ -33,7 +33,6 @@ export class DetachLoadBalancersCommand extends $Command< DetachLoadBalancersCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DetachLoadBalancersCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts b/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts index 5bdac102a13f7..7a218b0dd56e1 100644 --- a/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts +++ b/clients/client-auto-scaling/commands/DisableMetricsCollectionCommand.ts @@ -28,7 +28,6 @@ export class DisableMetricsCollectionCommand extends $Command< DisableMetricsCollectionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableMetricsCollectionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts b/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts index fad9eb32a5bea..d55137fbfd349 100644 --- a/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts +++ b/clients/client-auto-scaling/commands/EnableMetricsCollectionCommand.ts @@ -29,7 +29,6 @@ export class EnableMetricsCollectionCommand extends $Command< EnableMetricsCollectionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableMetricsCollectionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/EnterStandbyCommand.ts b/clients/client-auto-scaling/commands/EnterStandbyCommand.ts index 3327b844fe01c..92ee319a69d93 100644 --- a/clients/client-auto-scaling/commands/EnterStandbyCommand.ts +++ b/clients/client-auto-scaling/commands/EnterStandbyCommand.ts @@ -34,7 +34,6 @@ export class EnterStandbyCommand extends $Command< EnterStandbyCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class EnterStandbyCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts b/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts index 44e82b9e143fe..2fcdc18dbc5bb 100644 --- a/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts +++ b/clients/client-auto-scaling/commands/ExecutePolicyCommand.ts @@ -29,7 +29,6 @@ export class ExecutePolicyCommand extends $Command< ExecutePolicyCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ExecutePolicyCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/ExitStandbyCommand.ts b/clients/client-auto-scaling/commands/ExitStandbyCommand.ts index edc8d4fec537c..57376b531068b 100644 --- a/clients/client-auto-scaling/commands/ExitStandbyCommand.ts +++ b/clients/client-auto-scaling/commands/ExitStandbyCommand.ts @@ -30,7 +30,6 @@ export class ExitStandbyCommand extends $Command< ExitStandbyCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ExitStandbyCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts b/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts index 6118927d7a0ba..c0f01bf1b1d89 100644 --- a/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts +++ b/clients/client-auto-scaling/commands/PutLifecycleHookCommand.ts @@ -65,7 +65,6 @@ export class PutLifecycleHookCommand extends $Command< PutLifecycleHookCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class PutLifecycleHookCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts b/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts index 1e56498de93b4..bad6216d12509 100644 --- a/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts +++ b/clients/client-auto-scaling/commands/PutNotificationConfigurationCommand.ts @@ -36,7 +36,6 @@ export class PutNotificationConfigurationCommand extends $Command< PutNotificationConfigurationCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PutNotificationConfigurationCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts b/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts index 9f02c492ba0df..836eb635e47cd 100644 --- a/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts +++ b/clients/client-auto-scaling/commands/PutScalingPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutScalingPolicyCommand extends $Command< PutScalingPolicyCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutScalingPolicyCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts b/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts index 4f26cbc5a3dbc..96d34cc34198a 100644 --- a/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts +++ b/clients/client-auto-scaling/commands/PutScheduledUpdateGroupActionCommand.ts @@ -32,7 +32,6 @@ export class PutScheduledUpdateGroupActionCommand extends $Command< PutScheduledUpdateGroupActionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutScheduledUpdateGroupActionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts b/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts index 1093673f47501..eb4dd154e0f85 100644 --- a/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts +++ b/clients/client-auto-scaling/commands/RecordLifecycleActionHeartbeatCommand.ts @@ -60,7 +60,6 @@ export class RecordLifecycleActionHeartbeatCommand extends $Command< RecordLifecycleActionHeartbeatCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class RecordLifecycleActionHeartbeatCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts b/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts index 0a28950862431..2a838cdb3afe0 100644 --- a/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts +++ b/clients/client-auto-scaling/commands/ResumeProcessesCommand.ts @@ -31,7 +31,6 @@ export class ResumeProcessesCommand extends $Command< ResumeProcessesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ResumeProcessesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts b/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts index 47b3a641702b8..3f351c2875fcc 100644 --- a/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts +++ b/clients/client-auto-scaling/commands/SetDesiredCapacityCommand.ts @@ -33,7 +33,6 @@ export class SetDesiredCapacityCommand extends $Command< SetDesiredCapacityCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetDesiredCapacityCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts b/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts index 7d47fb00bf5d0..1cba299c87d5f 100644 --- a/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts +++ b/clients/client-auto-scaling/commands/SetInstanceHealthCommand.ts @@ -30,7 +30,6 @@ export class SetInstanceHealthCommand extends $Command< SetInstanceHealthCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetInstanceHealthCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts b/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts index 98eaf062c32f3..2180b4e63e5c7 100644 --- a/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts +++ b/clients/client-auto-scaling/commands/SetInstanceProtectionCommand.ts @@ -33,7 +33,6 @@ export class SetInstanceProtectionCommand extends $Command< SetInstanceProtectionCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetInstanceProtectionCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/StartInstanceRefreshCommand.ts b/clients/client-auto-scaling/commands/StartInstanceRefreshCommand.ts index dae12bb09e297..d6d783d3e2de6 100644 --- a/clients/client-auto-scaling/commands/StartInstanceRefreshCommand.ts +++ b/clients/client-auto-scaling/commands/StartInstanceRefreshCommand.ts @@ -36,7 +36,6 @@ export class StartInstanceRefreshCommand extends $Command< StartInstanceRefreshCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartInstanceRefreshCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts b/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts index 40783c0409a5b..3b1f2986c028b 100644 --- a/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts +++ b/clients/client-auto-scaling/commands/SuspendProcessesCommand.ts @@ -34,7 +34,6 @@ export class SuspendProcessesCommand extends $Command< SuspendProcessesCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SuspendProcessesCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts index f975a02a3d5f5..000840d3aedce 100644 --- a/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/TerminateInstanceInAutoScalingGroupCommand.ts @@ -38,7 +38,6 @@ export class TerminateInstanceInAutoScalingGroupCommand extends $Command< TerminateInstanceInAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class TerminateInstanceInAutoScalingGroupCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts b/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts index ff694ca4b1514..a06d4dc176f38 100644 --- a/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts +++ b/clients/client-auto-scaling/commands/UpdateAutoScalingGroupCommand.ts @@ -68,7 +68,6 @@ export class UpdateAutoScalingGroupCommand extends $Command< UpdateAutoScalingGroupCommandOutput, AutoScalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class UpdateAutoScalingGroupCommand extends $Command< configuration: AutoScalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/CreateBackupPlanCommand.ts b/clients/client-backup/commands/CreateBackupPlanCommand.ts index d175c820b9ff9..555387762ad21 100644 --- a/clients/client-backup/commands/CreateBackupPlanCommand.ts +++ b/clients/client-backup/commands/CreateBackupPlanCommand.ts @@ -31,7 +31,6 @@ export class CreateBackupPlanCommand extends $Command< CreateBackupPlanCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateBackupPlanCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/CreateBackupSelectionCommand.ts b/clients/client-backup/commands/CreateBackupSelectionCommand.ts index 32b47866382cb..97ecbd1c3c7b7 100644 --- a/clients/client-backup/commands/CreateBackupSelectionCommand.ts +++ b/clients/client-backup/commands/CreateBackupSelectionCommand.ts @@ -67,7 +67,6 @@ export class CreateBackupSelectionCommand extends $Command< CreateBackupSelectionCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class CreateBackupSelectionCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/CreateBackupVaultCommand.ts b/clients/client-backup/commands/CreateBackupVaultCommand.ts index a3cb5261a64d7..d05c6674d61ff 100644 --- a/clients/client-backup/commands/CreateBackupVaultCommand.ts +++ b/clients/client-backup/commands/CreateBackupVaultCommand.ts @@ -34,7 +34,6 @@ export class CreateBackupVaultCommand extends $Command< CreateBackupVaultCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateBackupVaultCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DeleteBackupPlanCommand.ts b/clients/client-backup/commands/DeleteBackupPlanCommand.ts index a8368ed2a4a2f..79bb812c6066f 100644 --- a/clients/client-backup/commands/DeleteBackupPlanCommand.ts +++ b/clients/client-backup/commands/DeleteBackupPlanCommand.ts @@ -30,7 +30,6 @@ export class DeleteBackupPlanCommand extends $Command< DeleteBackupPlanCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteBackupPlanCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DeleteBackupSelectionCommand.ts b/clients/client-backup/commands/DeleteBackupSelectionCommand.ts index 35084c0d8352f..0ae6d9a8223dd 100644 --- a/clients/client-backup/commands/DeleteBackupSelectionCommand.ts +++ b/clients/client-backup/commands/DeleteBackupSelectionCommand.ts @@ -29,7 +29,6 @@ export class DeleteBackupSelectionCommand extends $Command< DeleteBackupSelectionCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteBackupSelectionCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts b/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts index 2ca3e75de5219..a42fe49942992 100644 --- a/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts +++ b/clients/client-backup/commands/DeleteBackupVaultAccessPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteBackupVaultAccessPolicyCommand extends $Command< DeleteBackupVaultAccessPolicyCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBackupVaultAccessPolicyCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DeleteBackupVaultCommand.ts b/clients/client-backup/commands/DeleteBackupVaultCommand.ts index b77409fcbdbac..863914415de33 100644 --- a/clients/client-backup/commands/DeleteBackupVaultCommand.ts +++ b/clients/client-backup/commands/DeleteBackupVaultCommand.ts @@ -29,7 +29,6 @@ export class DeleteBackupVaultCommand extends $Command< DeleteBackupVaultCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteBackupVaultCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts b/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts index 782f5e0e138d4..9a315b85d4567 100644 --- a/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts +++ b/clients/client-backup/commands/DeleteBackupVaultNotificationsCommand.ts @@ -28,7 +28,6 @@ export class DeleteBackupVaultNotificationsCommand extends $Command< DeleteBackupVaultNotificationsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBackupVaultNotificationsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DeleteRecoveryPointCommand.ts b/clients/client-backup/commands/DeleteRecoveryPointCommand.ts index 074ec7164f904..3d25b391351ed 100644 --- a/clients/client-backup/commands/DeleteRecoveryPointCommand.ts +++ b/clients/client-backup/commands/DeleteRecoveryPointCommand.ts @@ -28,7 +28,6 @@ export class DeleteRecoveryPointCommand extends $Command< DeleteRecoveryPointCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRecoveryPointCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeBackupJobCommand.ts b/clients/client-backup/commands/DescribeBackupJobCommand.ts index 1c7508435518d..cd220f5632516 100644 --- a/clients/client-backup/commands/DescribeBackupJobCommand.ts +++ b/clients/client-backup/commands/DescribeBackupJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeBackupJobCommand extends $Command< DescribeBackupJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBackupJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeBackupVaultCommand.ts b/clients/client-backup/commands/DescribeBackupVaultCommand.ts index da2bd3a58cca8..a5ce01f6e774d 100644 --- a/clients/client-backup/commands/DescribeBackupVaultCommand.ts +++ b/clients/client-backup/commands/DescribeBackupVaultCommand.ts @@ -28,7 +28,6 @@ export class DescribeBackupVaultCommand extends $Command< DescribeBackupVaultCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBackupVaultCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeCopyJobCommand.ts b/clients/client-backup/commands/DescribeCopyJobCommand.ts index a3aa59c8d9c09..5fa71cacf7507 100644 --- a/clients/client-backup/commands/DescribeCopyJobCommand.ts +++ b/clients/client-backup/commands/DescribeCopyJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeCopyJobCommand extends $Command< DescribeCopyJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCopyJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeGlobalSettingsCommand.ts b/clients/client-backup/commands/DescribeGlobalSettingsCommand.ts index e87eef3739a22..85bfd2793d6b0 100644 --- a/clients/client-backup/commands/DescribeGlobalSettingsCommand.ts +++ b/clients/client-backup/commands/DescribeGlobalSettingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeGlobalSettingsCommand extends $Command< DescribeGlobalSettingsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGlobalSettingsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeProtectedResourceCommand.ts b/clients/client-backup/commands/DescribeProtectedResourceCommand.ts index 61e5fdbcd7e7c..3e3016f9a05a2 100644 --- a/clients/client-backup/commands/DescribeProtectedResourceCommand.ts +++ b/clients/client-backup/commands/DescribeProtectedResourceCommand.ts @@ -29,7 +29,6 @@ export class DescribeProtectedResourceCommand extends $Command< DescribeProtectedResourceCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeProtectedResourceCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeRecoveryPointCommand.ts b/clients/client-backup/commands/DescribeRecoveryPointCommand.ts index 19bfc71dc8895..c3b9fd1a82926 100644 --- a/clients/client-backup/commands/DescribeRecoveryPointCommand.ts +++ b/clients/client-backup/commands/DescribeRecoveryPointCommand.ts @@ -29,7 +29,6 @@ export class DescribeRecoveryPointCommand extends $Command< DescribeRecoveryPointCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeRecoveryPointCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeRegionSettingsCommand.ts b/clients/client-backup/commands/DescribeRegionSettingsCommand.ts index bcf10a8061a3c..8027659fcf4ec 100644 --- a/clients/client-backup/commands/DescribeRegionSettingsCommand.ts +++ b/clients/client-backup/commands/DescribeRegionSettingsCommand.ts @@ -31,7 +31,6 @@ export class DescribeRegionSettingsCommand extends $Command< DescribeRegionSettingsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeRegionSettingsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/DescribeRestoreJobCommand.ts b/clients/client-backup/commands/DescribeRestoreJobCommand.ts index 772ceee5617d2..3beae3c717621 100644 --- a/clients/client-backup/commands/DescribeRestoreJobCommand.ts +++ b/clients/client-backup/commands/DescribeRestoreJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeRestoreJobCommand extends $Command< DescribeRestoreJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRestoreJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts b/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts index b7f3501654110..74f92fc401681 100644 --- a/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts +++ b/clients/client-backup/commands/ExportBackupPlanTemplateCommand.ts @@ -28,7 +28,6 @@ export class ExportBackupPlanTemplateCommand extends $Command< ExportBackupPlanTemplateCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ExportBackupPlanTemplateCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetBackupPlanCommand.ts b/clients/client-backup/commands/GetBackupPlanCommand.ts index b7c1c418a2a6e..73a417310803b 100644 --- a/clients/client-backup/commands/GetBackupPlanCommand.ts +++ b/clients/client-backup/commands/GetBackupPlanCommand.ts @@ -30,7 +30,6 @@ export class GetBackupPlanCommand extends $Command< GetBackupPlanCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetBackupPlanCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts b/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts index 9bd583943d8f2..c776d9207aa1a 100644 --- a/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts +++ b/clients/client-backup/commands/GetBackupPlanFromJSONCommand.ts @@ -28,7 +28,6 @@ export class GetBackupPlanFromJSONCommand extends $Command< GetBackupPlanFromJSONCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackupPlanFromJSONCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts b/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts index aac9cca88604b..3a67c56ab2d11 100644 --- a/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts +++ b/clients/client-backup/commands/GetBackupPlanFromTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetBackupPlanFromTemplateCommand extends $Command< GetBackupPlanFromTemplateCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackupPlanFromTemplateCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetBackupSelectionCommand.ts b/clients/client-backup/commands/GetBackupSelectionCommand.ts index 2b43ffc254617..d912f4f5ed452 100644 --- a/clients/client-backup/commands/GetBackupSelectionCommand.ts +++ b/clients/client-backup/commands/GetBackupSelectionCommand.ts @@ -29,7 +29,6 @@ export class GetBackupSelectionCommand extends $Command< GetBackupSelectionCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetBackupSelectionCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts b/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts index 6a04125e767bc..6db8098da91d4 100644 --- a/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts +++ b/clients/client-backup/commands/GetBackupVaultAccessPolicyCommand.ts @@ -29,7 +29,6 @@ export class GetBackupVaultAccessPolicyCommand extends $Command< GetBackupVaultAccessPolicyCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetBackupVaultAccessPolicyCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts b/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts index 2de439f0184bc..2c24e79615a0a 100644 --- a/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts +++ b/clients/client-backup/commands/GetBackupVaultNotificationsCommand.ts @@ -28,7 +28,6 @@ export class GetBackupVaultNotificationsCommand extends $Command< GetBackupVaultNotificationsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBackupVaultNotificationsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts b/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts index 7933fdba355a3..1826d594522de 100644 --- a/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts +++ b/clients/client-backup/commands/GetRecoveryPointRestoreMetadataCommand.ts @@ -28,7 +28,6 @@ export class GetRecoveryPointRestoreMetadataCommand extends $Command< GetRecoveryPointRestoreMetadataCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRecoveryPointRestoreMetadataCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts b/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts index e05792464e4a7..df97e657659d7 100644 --- a/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts +++ b/clients/client-backup/commands/GetSupportedResourceTypesCommand.ts @@ -28,7 +28,6 @@ export class GetSupportedResourceTypesCommand extends $Command< GetSupportedResourceTypesCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSupportedResourceTypesCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListBackupJobsCommand.ts b/clients/client-backup/commands/ListBackupJobsCommand.ts index 1ecd1afb7b9a0..6cd60ce70babc 100644 --- a/clients/client-backup/commands/ListBackupJobsCommand.ts +++ b/clients/client-backup/commands/ListBackupJobsCommand.ts @@ -28,7 +28,6 @@ export class ListBackupJobsCommand extends $Command< ListBackupJobsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBackupJobsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts b/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts index c1fdcfe369fcc..d76f6addc4be4 100644 --- a/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts +++ b/clients/client-backup/commands/ListBackupPlanTemplatesCommand.ts @@ -29,7 +29,6 @@ export class ListBackupPlanTemplatesCommand extends $Command< ListBackupPlanTemplatesCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListBackupPlanTemplatesCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts b/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts index e631025d1e926..49d110bebe634 100644 --- a/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts +++ b/clients/client-backup/commands/ListBackupPlanVersionsCommand.ts @@ -29,7 +29,6 @@ export class ListBackupPlanVersionsCommand extends $Command< ListBackupPlanVersionsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListBackupPlanVersionsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListBackupPlansCommand.ts b/clients/client-backup/commands/ListBackupPlansCommand.ts index 504019c4dacee..6f67344e1459e 100644 --- a/clients/client-backup/commands/ListBackupPlansCommand.ts +++ b/clients/client-backup/commands/ListBackupPlansCommand.ts @@ -31,7 +31,6 @@ export class ListBackupPlansCommand extends $Command< ListBackupPlansCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListBackupPlansCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListBackupSelectionsCommand.ts b/clients/client-backup/commands/ListBackupSelectionsCommand.ts index 2a953e8d4d220..ed47d72411be8 100644 --- a/clients/client-backup/commands/ListBackupSelectionsCommand.ts +++ b/clients/client-backup/commands/ListBackupSelectionsCommand.ts @@ -29,7 +29,6 @@ export class ListBackupSelectionsCommand extends $Command< ListBackupSelectionsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListBackupSelectionsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListBackupVaultsCommand.ts b/clients/client-backup/commands/ListBackupVaultsCommand.ts index 18cdba5eb3b1c..49554d077da67 100644 --- a/clients/client-backup/commands/ListBackupVaultsCommand.ts +++ b/clients/client-backup/commands/ListBackupVaultsCommand.ts @@ -29,7 +29,6 @@ export class ListBackupVaultsCommand extends $Command< ListBackupVaultsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListBackupVaultsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListCopyJobsCommand.ts b/clients/client-backup/commands/ListCopyJobsCommand.ts index caf40a47c702d..aea4d1ec0b0aa 100644 --- a/clients/client-backup/commands/ListCopyJobsCommand.ts +++ b/clients/client-backup/commands/ListCopyJobsCommand.ts @@ -28,7 +28,6 @@ export class ListCopyJobsCommand extends $Command< ListCopyJobsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCopyJobsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListProtectedResourcesCommand.ts b/clients/client-backup/commands/ListProtectedResourcesCommand.ts index 9a3789d48fb83..e61c5a03517cb 100644 --- a/clients/client-backup/commands/ListProtectedResourcesCommand.ts +++ b/clients/client-backup/commands/ListProtectedResourcesCommand.ts @@ -30,7 +30,6 @@ export class ListProtectedResourcesCommand extends $Command< ListProtectedResourcesCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListProtectedResourcesCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts b/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts index 9d299154d212f..7823c780fe947 100644 --- a/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts +++ b/clients/client-backup/commands/ListRecoveryPointsByBackupVaultCommand.ts @@ -28,7 +28,6 @@ export class ListRecoveryPointsByBackupVaultCommand extends $Command< ListRecoveryPointsByBackupVaultCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRecoveryPointsByBackupVaultCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts b/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts index 74f5dc555b08c..018aef8c1d618 100644 --- a/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts +++ b/clients/client-backup/commands/ListRecoveryPointsByResourceCommand.ts @@ -29,7 +29,6 @@ export class ListRecoveryPointsByResourceCommand extends $Command< ListRecoveryPointsByResourceCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRecoveryPointsByResourceCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListRestoreJobsCommand.ts b/clients/client-backup/commands/ListRestoreJobsCommand.ts index ab0c07d3a3428..0d716938f26eb 100644 --- a/clients/client-backup/commands/ListRestoreJobsCommand.ts +++ b/clients/client-backup/commands/ListRestoreJobsCommand.ts @@ -29,7 +29,6 @@ export class ListRestoreJobsCommand extends $Command< ListRestoreJobsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRestoreJobsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/ListTagsCommand.ts b/clients/client-backup/commands/ListTagsCommand.ts index bcc583c6aba6b..ed72203856272 100644 --- a/clients/client-backup/commands/ListTagsCommand.ts +++ b/clients/client-backup/commands/ListTagsCommand.ts @@ -29,7 +29,6 @@ export type ListTagsCommandOutput = ListTagsOutput & __MetadataBearer; * */ export class ListTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,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-backup/commands/PutBackupVaultAccessPolicyCommand.ts b/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts index af256563f6542..45f27dfb52673 100644 --- a/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts +++ b/clients/client-backup/commands/PutBackupVaultAccessPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutBackupVaultAccessPolicyCommand extends $Command< PutBackupVaultAccessPolicyCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutBackupVaultAccessPolicyCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts b/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts index 3b94e892b6f8f..9e4f5618aedac 100644 --- a/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts +++ b/clients/client-backup/commands/PutBackupVaultNotificationsCommand.ts @@ -28,7 +28,6 @@ export class PutBackupVaultNotificationsCommand extends $Command< PutBackupVaultNotificationsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutBackupVaultNotificationsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/StartBackupJobCommand.ts b/clients/client-backup/commands/StartBackupJobCommand.ts index 15ac4486ca28c..ffa8977268822 100644 --- a/clients/client-backup/commands/StartBackupJobCommand.ts +++ b/clients/client-backup/commands/StartBackupJobCommand.ts @@ -28,7 +28,6 @@ export class StartBackupJobCommand extends $Command< StartBackupJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartBackupJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/StartCopyJobCommand.ts b/clients/client-backup/commands/StartCopyJobCommand.ts index 88bcccd6dd089..9b0f89a7ef535 100644 --- a/clients/client-backup/commands/StartCopyJobCommand.ts +++ b/clients/client-backup/commands/StartCopyJobCommand.ts @@ -28,7 +28,6 @@ export class StartCopyJobCommand extends $Command< StartCopyJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartCopyJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/StartRestoreJobCommand.ts b/clients/client-backup/commands/StartRestoreJobCommand.ts index cc1c403ee8bf6..fc52274bb573e 100644 --- a/clients/client-backup/commands/StartRestoreJobCommand.ts +++ b/clients/client-backup/commands/StartRestoreJobCommand.ts @@ -28,7 +28,6 @@ export class StartRestoreJobCommand extends $Command< StartRestoreJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartRestoreJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/StopBackupJobCommand.ts b/clients/client-backup/commands/StopBackupJobCommand.ts index 81e6cd6c6768f..47394314557e9 100644 --- a/clients/client-backup/commands/StopBackupJobCommand.ts +++ b/clients/client-backup/commands/StopBackupJobCommand.ts @@ -28,7 +28,6 @@ export class StopBackupJobCommand extends $Command< StopBackupJobCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopBackupJobCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/TagResourceCommand.ts b/clients/client-backup/commands/TagResourceCommand.ts index 30e739d8de962..e0c1240ef8ebf 100644 --- a/clients/client-backup/commands/TagResourceCommand.ts +++ b/clients/client-backup/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/UntagResourceCommand.ts b/clients/client-backup/commands/UntagResourceCommand.ts index b3fa2fd76fe6e..82bd505ad8dc4 100644 --- a/clients/client-backup/commands/UntagResourceCommand.ts +++ b/clients/client-backup/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/UpdateBackupPlanCommand.ts b/clients/client-backup/commands/UpdateBackupPlanCommand.ts index e109dc1675888..f38329482c87f 100644 --- a/clients/client-backup/commands/UpdateBackupPlanCommand.ts +++ b/clients/client-backup/commands/UpdateBackupPlanCommand.ts @@ -30,7 +30,6 @@ export class UpdateBackupPlanCommand extends $Command< UpdateBackupPlanCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateBackupPlanCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/UpdateGlobalSettingsCommand.ts b/clients/client-backup/commands/UpdateGlobalSettingsCommand.ts index a144a246c9c13..1bd5a79269539 100644 --- a/clients/client-backup/commands/UpdateGlobalSettingsCommand.ts +++ b/clients/client-backup/commands/UpdateGlobalSettingsCommand.ts @@ -29,7 +29,6 @@ export class UpdateGlobalSettingsCommand extends $Command< UpdateGlobalSettingsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGlobalSettingsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts b/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts index de72165cca57f..5a302a4a18d23 100644 --- a/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts +++ b/clients/client-backup/commands/UpdateRecoveryPointLifecycleCommand.ts @@ -35,7 +35,6 @@ export class UpdateRecoveryPointLifecycleCommand extends $Command< UpdateRecoveryPointLifecycleCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateRecoveryPointLifecycleCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-backup/commands/UpdateRegionSettingsCommand.ts b/clients/client-backup/commands/UpdateRegionSettingsCommand.ts index 927fe6e873d8b..61f68a8ca286c 100644 --- a/clients/client-backup/commands/UpdateRegionSettingsCommand.ts +++ b/clients/client-backup/commands/UpdateRegionSettingsCommand.ts @@ -31,7 +31,6 @@ export class UpdateRegionSettingsCommand extends $Command< UpdateRegionSettingsCommandOutput, BackupClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateRegionSettingsCommand extends $Command< configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/CancelJobCommand.ts b/clients/client-batch/commands/CancelJobCommand.ts index f1713f5d231da..33bac7878c42f 100644 --- a/clients/client-batch/commands/CancelJobCommand.ts +++ b/clients/client-batch/commands/CancelJobCommand.ts @@ -31,7 +31,6 @@ export class CancelJobCommand extends $Command< CancelJobCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CancelJobCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts b/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts index f131c80248258..17cdcfcc0a6b7 100644 --- a/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts +++ b/clients/client-batch/commands/CreateComputeEnvironmentCommand.ts @@ -67,7 +67,6 @@ export class CreateComputeEnvironmentCommand extends $Command< CreateComputeEnvironmentCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class CreateComputeEnvironmentCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/CreateJobQueueCommand.ts b/clients/client-batch/commands/CreateJobQueueCommand.ts index 60bbb5b1b0db1..b65acf9ec6dd8 100644 --- a/clients/client-batch/commands/CreateJobQueueCommand.ts +++ b/clients/client-batch/commands/CreateJobQueueCommand.ts @@ -33,7 +33,6 @@ export class CreateJobQueueCommand extends $Command< CreateJobQueueCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateJobQueueCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts b/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts index 2ca3188b2a717..a0998e32da5a3 100644 --- a/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts +++ b/clients/client-batch/commands/DeleteComputeEnvironmentCommand.ts @@ -31,7 +31,6 @@ export class DeleteComputeEnvironmentCommand extends $Command< DeleteComputeEnvironmentCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteComputeEnvironmentCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DeleteJobQueueCommand.ts b/clients/client-batch/commands/DeleteJobQueueCommand.ts index 85a72bd735c5b..e34775e97994b 100644 --- a/clients/client-batch/commands/DeleteJobQueueCommand.ts +++ b/clients/client-batch/commands/DeleteJobQueueCommand.ts @@ -30,7 +30,6 @@ export class DeleteJobQueueCommand extends $Command< DeleteJobQueueCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteJobQueueCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts b/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts index 8a8a817f66bd7..2e808d1ab49bf 100644 --- a/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts +++ b/clients/client-batch/commands/DeregisterJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeregisterJobDefinitionCommand extends $Command< DeregisterJobDefinitionCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterJobDefinitionCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts b/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts index f6c2ed97884ee..0ae3b5bd7928d 100644 --- a/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts +++ b/clients/client-batch/commands/DescribeComputeEnvironmentsCommand.ts @@ -31,7 +31,6 @@ export class DescribeComputeEnvironmentsCommand extends $Command< DescribeComputeEnvironmentsCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeComputeEnvironmentsCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts b/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts index b8968a8d64e31..91e44f78c4f3b 100644 --- a/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts +++ b/clients/client-batch/commands/DescribeJobDefinitionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeJobDefinitionsCommand extends $Command< DescribeJobDefinitionsCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeJobDefinitionsCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DescribeJobQueuesCommand.ts b/clients/client-batch/commands/DescribeJobQueuesCommand.ts index 27bc3d32edec0..a3a4f471fe2d4 100644 --- a/clients/client-batch/commands/DescribeJobQueuesCommand.ts +++ b/clients/client-batch/commands/DescribeJobQueuesCommand.ts @@ -28,7 +28,6 @@ export class DescribeJobQueuesCommand extends $Command< DescribeJobQueuesCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeJobQueuesCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/DescribeJobsCommand.ts b/clients/client-batch/commands/DescribeJobsCommand.ts index ddc013af95056..eb3ccbb98ecf5 100644 --- a/clients/client-batch/commands/DescribeJobsCommand.ts +++ b/clients/client-batch/commands/DescribeJobsCommand.ts @@ -28,7 +28,6 @@ export class DescribeJobsCommand extends $Command< DescribeJobsCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeJobsCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/ListJobsCommand.ts b/clients/client-batch/commands/ListJobsCommand.ts index 711e3e6dbcf57..96d83a8d36a36 100644 --- a/clients/client-batch/commands/ListJobsCommand.ts +++ b/clients/client-batch/commands/ListJobsCommand.ts @@ -38,7 +38,6 @@ export type ListJobsCommandOutput = ListJobsResponse & __MetadataBearer; * status, only RUNNING jobs are returned.

*/ export class ListJobsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListJobsCommand 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-batch/commands/ListTagsForResourceCommand.ts b/clients/client-batch/commands/ListTagsForResourceCommand.ts index 61c81ee765173..673539582b3ba 100644 --- a/clients/client-batch/commands/ListTagsForResourceCommand.ts +++ b/clients/client-batch/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/RegisterJobDefinitionCommand.ts b/clients/client-batch/commands/RegisterJobDefinitionCommand.ts index 8c5be346bc3fd..90631b42cce12 100644 --- a/clients/client-batch/commands/RegisterJobDefinitionCommand.ts +++ b/clients/client-batch/commands/RegisterJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class RegisterJobDefinitionCommand extends $Command< RegisterJobDefinitionCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterJobDefinitionCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/SubmitJobCommand.ts b/clients/client-batch/commands/SubmitJobCommand.ts index d318e784b689c..ca02312c882c4 100644 --- a/clients/client-batch/commands/SubmitJobCommand.ts +++ b/clients/client-batch/commands/SubmitJobCommand.ts @@ -35,7 +35,6 @@ export class SubmitJobCommand extends $Command< SubmitJobCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class SubmitJobCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/TagResourceCommand.ts b/clients/client-batch/commands/TagResourceCommand.ts index afaf0dac663f0..c2e699819b0a9 100644 --- a/clients/client-batch/commands/TagResourceCommand.ts +++ b/clients/client-batch/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/TerminateJobCommand.ts b/clients/client-batch/commands/TerminateJobCommand.ts index 52b142036adaa..dc1fe9acf71ee 100644 --- a/clients/client-batch/commands/TerminateJobCommand.ts +++ b/clients/client-batch/commands/TerminateJobCommand.ts @@ -30,7 +30,6 @@ export class TerminateJobCommand extends $Command< TerminateJobCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TerminateJobCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/UntagResourceCommand.ts b/clients/client-batch/commands/UntagResourceCommand.ts index 29231238fb182..ccd3070420e92 100644 --- a/clients/client-batch/commands/UntagResourceCommand.ts +++ b/clients/client-batch/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts b/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts index 765439e13ede8..5beaca197c6c4 100644 --- a/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts +++ b/clients/client-batch/commands/UpdateComputeEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class UpdateComputeEnvironmentCommand extends $Command< UpdateComputeEnvironmentCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateComputeEnvironmentCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-batch/commands/UpdateJobQueueCommand.ts b/clients/client-batch/commands/UpdateJobQueueCommand.ts index 4eb1048a1630d..9afdc7220122c 100644 --- a/clients/client-batch/commands/UpdateJobQueueCommand.ts +++ b/clients/client-batch/commands/UpdateJobQueueCommand.ts @@ -28,7 +28,6 @@ export class UpdateJobQueueCommand extends $Command< UpdateJobQueueCommandOutput, BatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateJobQueueCommand extends $Command< configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-braket/commands/CancelQuantumTaskCommand.ts b/clients/client-braket/commands/CancelQuantumTaskCommand.ts index dfac665bf93a9..b4b6e41d16c70 100644 --- a/clients/client-braket/commands/CancelQuantumTaskCommand.ts +++ b/clients/client-braket/commands/CancelQuantumTaskCommand.ts @@ -28,7 +28,6 @@ export class CancelQuantumTaskCommand extends $Command< CancelQuantumTaskCommandOutput, BraketClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelQuantumTaskCommand extends $Command< configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-braket/commands/CreateQuantumTaskCommand.ts b/clients/client-braket/commands/CreateQuantumTaskCommand.ts index 46c7678dcf870..725b13c161352 100644 --- a/clients/client-braket/commands/CreateQuantumTaskCommand.ts +++ b/clients/client-braket/commands/CreateQuantumTaskCommand.ts @@ -28,7 +28,6 @@ export class CreateQuantumTaskCommand extends $Command< CreateQuantumTaskCommandOutput, BraketClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateQuantumTaskCommand extends $Command< configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-braket/commands/GetDeviceCommand.ts b/clients/client-braket/commands/GetDeviceCommand.ts index 505b9a4166a5e..806805720aa26 100644 --- a/clients/client-braket/commands/GetDeviceCommand.ts +++ b/clients/client-braket/commands/GetDeviceCommand.ts @@ -28,7 +28,6 @@ export class GetDeviceCommand extends $Command< GetDeviceCommandOutput, BraketClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeviceCommand extends $Command< configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-braket/commands/GetQuantumTaskCommand.ts b/clients/client-braket/commands/GetQuantumTaskCommand.ts index 5ae7897872c22..9c3782eed3efc 100644 --- a/clients/client-braket/commands/GetQuantumTaskCommand.ts +++ b/clients/client-braket/commands/GetQuantumTaskCommand.ts @@ -28,7 +28,6 @@ export class GetQuantumTaskCommand extends $Command< GetQuantumTaskCommandOutput, BraketClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetQuantumTaskCommand extends $Command< configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-braket/commands/SearchDevicesCommand.ts b/clients/client-braket/commands/SearchDevicesCommand.ts index 1e279b4e20f99..ea3a5a107212b 100644 --- a/clients/client-braket/commands/SearchDevicesCommand.ts +++ b/clients/client-braket/commands/SearchDevicesCommand.ts @@ -28,7 +28,6 @@ export class SearchDevicesCommand extends $Command< SearchDevicesCommandOutput, BraketClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchDevicesCommand extends $Command< configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-braket/commands/SearchQuantumTasksCommand.ts b/clients/client-braket/commands/SearchQuantumTasksCommand.ts index 67c149f592f09..338f5ba4dbeda 100644 --- a/clients/client-braket/commands/SearchQuantumTasksCommand.ts +++ b/clients/client-braket/commands/SearchQuantumTasksCommand.ts @@ -28,7 +28,6 @@ export class SearchQuantumTasksCommand extends $Command< SearchQuantumTasksCommandOutput, BraketClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchQuantumTasksCommand extends $Command< configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/CreateBudgetActionCommand.ts b/clients/client-budgets/commands/CreateBudgetActionCommand.ts index 198f61564d36c..cfde8c7aa52ec 100644 --- a/clients/client-budgets/commands/CreateBudgetActionCommand.ts +++ b/clients/client-budgets/commands/CreateBudgetActionCommand.ts @@ -30,7 +30,6 @@ export class CreateBudgetActionCommand extends $Command< CreateBudgetActionCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateBudgetActionCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/CreateBudgetCommand.ts b/clients/client-budgets/commands/CreateBudgetCommand.ts index 4d355780173aa..3a9faff8082e9 100644 --- a/clients/client-budgets/commands/CreateBudgetCommand.ts +++ b/clients/client-budgets/commands/CreateBudgetCommand.ts @@ -31,7 +31,6 @@ export class CreateBudgetCommand extends $Command< CreateBudgetCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateBudgetCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/CreateNotificationCommand.ts b/clients/client-budgets/commands/CreateNotificationCommand.ts index 69327d24afdad..6334efac3dc4f 100644 --- a/clients/client-budgets/commands/CreateNotificationCommand.ts +++ b/clients/client-budgets/commands/CreateNotificationCommand.ts @@ -28,7 +28,6 @@ export class CreateNotificationCommand extends $Command< CreateNotificationCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateNotificationCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/CreateSubscriberCommand.ts b/clients/client-budgets/commands/CreateSubscriberCommand.ts index fb9efe2142ff1..c6af8238ce814 100644 --- a/clients/client-budgets/commands/CreateSubscriberCommand.ts +++ b/clients/client-budgets/commands/CreateSubscriberCommand.ts @@ -28,7 +28,6 @@ export class CreateSubscriberCommand extends $Command< CreateSubscriberCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSubscriberCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DeleteBudgetActionCommand.ts b/clients/client-budgets/commands/DeleteBudgetActionCommand.ts index 8f426a56dc770..4ad7265691b5e 100644 --- a/clients/client-budgets/commands/DeleteBudgetActionCommand.ts +++ b/clients/client-budgets/commands/DeleteBudgetActionCommand.ts @@ -30,7 +30,6 @@ export class DeleteBudgetActionCommand extends $Command< DeleteBudgetActionCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteBudgetActionCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DeleteBudgetCommand.ts b/clients/client-budgets/commands/DeleteBudgetCommand.ts index 1122ceb041493..adc48086947a0 100644 --- a/clients/client-budgets/commands/DeleteBudgetCommand.ts +++ b/clients/client-budgets/commands/DeleteBudgetCommand.ts @@ -31,7 +31,6 @@ export class DeleteBudgetCommand extends $Command< DeleteBudgetCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteBudgetCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DeleteNotificationCommand.ts b/clients/client-budgets/commands/DeleteNotificationCommand.ts index 521aaf90f44c1..d0240ad09a486 100644 --- a/clients/client-budgets/commands/DeleteNotificationCommand.ts +++ b/clients/client-budgets/commands/DeleteNotificationCommand.ts @@ -31,7 +31,6 @@ export class DeleteNotificationCommand extends $Command< DeleteNotificationCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteNotificationCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DeleteSubscriberCommand.ts b/clients/client-budgets/commands/DeleteSubscriberCommand.ts index fd3e4aee3e6d1..e14fae5694b37 100644 --- a/clients/client-budgets/commands/DeleteSubscriberCommand.ts +++ b/clients/client-budgets/commands/DeleteSubscriberCommand.ts @@ -31,7 +31,6 @@ export class DeleteSubscriberCommand extends $Command< DeleteSubscriberCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteSubscriberCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetActionCommand.ts b/clients/client-budgets/commands/DescribeBudgetActionCommand.ts index d52e663dfe44b..16662f7b7447c 100644 --- a/clients/client-budgets/commands/DescribeBudgetActionCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetActionCommand.ts @@ -30,7 +30,6 @@ export class DescribeBudgetActionCommand extends $Command< DescribeBudgetActionCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeBudgetActionCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetActionHistoriesCommand.ts b/clients/client-budgets/commands/DescribeBudgetActionHistoriesCommand.ts index 0629f451ca075..864fb3e7c4014 100644 --- a/clients/client-budgets/commands/DescribeBudgetActionHistoriesCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetActionHistoriesCommand.ts @@ -30,7 +30,6 @@ export class DescribeBudgetActionHistoriesCommand extends $Command< DescribeBudgetActionHistoriesCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeBudgetActionHistoriesCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetActionsForAccountCommand.ts b/clients/client-budgets/commands/DescribeBudgetActionsForAccountCommand.ts index 539b8d8f56870..6a1de3b96b3d8 100644 --- a/clients/client-budgets/commands/DescribeBudgetActionsForAccountCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetActionsForAccountCommand.ts @@ -30,7 +30,6 @@ export class DescribeBudgetActionsForAccountCommand extends $Command< DescribeBudgetActionsForAccountCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeBudgetActionsForAccountCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetActionsForBudgetCommand.ts b/clients/client-budgets/commands/DescribeBudgetActionsForBudgetCommand.ts index 66d5389ddeafa..c951de61ac6ac 100644 --- a/clients/client-budgets/commands/DescribeBudgetActionsForBudgetCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetActionsForBudgetCommand.ts @@ -30,7 +30,6 @@ export class DescribeBudgetActionsForBudgetCommand extends $Command< DescribeBudgetActionsForBudgetCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeBudgetActionsForBudgetCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetCommand.ts b/clients/client-budgets/commands/DescribeBudgetCommand.ts index dedb1b4beaa12..a7d9a488419e1 100644 --- a/clients/client-budgets/commands/DescribeBudgetCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetCommand.ts @@ -31,7 +31,6 @@ export class DescribeBudgetCommand extends $Command< DescribeBudgetCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeBudgetCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts b/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts index 470b94d62d8d4..59b8cfc4db1b6 100644 --- a/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetPerformanceHistoryCommand.ts @@ -28,7 +28,6 @@ export class DescribeBudgetPerformanceHistoryCommand extends $Command< DescribeBudgetPerformanceHistoryCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBudgetPerformanceHistoryCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeBudgetsCommand.ts b/clients/client-budgets/commands/DescribeBudgetsCommand.ts index ae30ecb201086..f8bb214a22697 100644 --- a/clients/client-budgets/commands/DescribeBudgetsCommand.ts +++ b/clients/client-budgets/commands/DescribeBudgetsCommand.ts @@ -31,7 +31,6 @@ export class DescribeBudgetsCommand extends $Command< DescribeBudgetsCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeBudgetsCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts b/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts index 4e97841f97c9b..0e08c15b4833f 100644 --- a/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts +++ b/clients/client-budgets/commands/DescribeNotificationsForBudgetCommand.ts @@ -28,7 +28,6 @@ export class DescribeNotificationsForBudgetCommand extends $Command< DescribeNotificationsForBudgetCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNotificationsForBudgetCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts b/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts index 6a75c8230afeb..5b1eda28506c2 100644 --- a/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts +++ b/clients/client-budgets/commands/DescribeSubscribersForNotificationCommand.ts @@ -32,7 +32,6 @@ export class DescribeSubscribersForNotificationCommand extends $Command< DescribeSubscribersForNotificationCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeSubscribersForNotificationCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/ExecuteBudgetActionCommand.ts b/clients/client-budgets/commands/ExecuteBudgetActionCommand.ts index d6abb63f991b4..687791f24a999 100644 --- a/clients/client-budgets/commands/ExecuteBudgetActionCommand.ts +++ b/clients/client-budgets/commands/ExecuteBudgetActionCommand.ts @@ -30,7 +30,6 @@ export class ExecuteBudgetActionCommand extends $Command< ExecuteBudgetActionCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ExecuteBudgetActionCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/UpdateBudgetActionCommand.ts b/clients/client-budgets/commands/UpdateBudgetActionCommand.ts index 5f3f13bf7a289..a134e00e135f6 100644 --- a/clients/client-budgets/commands/UpdateBudgetActionCommand.ts +++ b/clients/client-budgets/commands/UpdateBudgetActionCommand.ts @@ -30,7 +30,6 @@ export class UpdateBudgetActionCommand extends $Command< UpdateBudgetActionCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateBudgetActionCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/UpdateBudgetCommand.ts b/clients/client-budgets/commands/UpdateBudgetCommand.ts index 96f4a351c5ff5..2b4a56dbd5478 100644 --- a/clients/client-budgets/commands/UpdateBudgetCommand.ts +++ b/clients/client-budgets/commands/UpdateBudgetCommand.ts @@ -31,7 +31,6 @@ export class UpdateBudgetCommand extends $Command< UpdateBudgetCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateBudgetCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/UpdateNotificationCommand.ts b/clients/client-budgets/commands/UpdateNotificationCommand.ts index 867f1d478bbdc..8136fc7fe61f8 100644 --- a/clients/client-budgets/commands/UpdateNotificationCommand.ts +++ b/clients/client-budgets/commands/UpdateNotificationCommand.ts @@ -28,7 +28,6 @@ export class UpdateNotificationCommand extends $Command< UpdateNotificationCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateNotificationCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-budgets/commands/UpdateSubscriberCommand.ts b/clients/client-budgets/commands/UpdateSubscriberCommand.ts index 94dd08951816d..b876b87d6dab4 100644 --- a/clients/client-budgets/commands/UpdateSubscriberCommand.ts +++ b/clients/client-budgets/commands/UpdateSubscriberCommand.ts @@ -28,7 +28,6 @@ export class UpdateSubscriberCommand extends $Command< UpdateSubscriberCommandOutput, BudgetsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSubscriberCommand extends $Command< configuration: BudgetsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts b/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts index ad3ff74d3aaad..3041577ba1aec 100644 --- a/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts +++ b/clients/client-chime/commands/AssociatePhoneNumberWithUserCommand.ts @@ -28,7 +28,6 @@ export class AssociatePhoneNumberWithUserCommand extends $Command< AssociatePhoneNumberWithUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociatePhoneNumberWithUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts index 9f52ef75e4911..0f9bbe87dc453 100644 --- a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorCommand.ts @@ -32,7 +32,6 @@ export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command< AssociatePhoneNumbersWithVoiceConnectorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AssociatePhoneNumbersWithVoiceConnectorCommand extends $Command< AssociatePhoneNumbersWithVoiceConnectorCommandInput, AssociatePhoneNumbersWithVoiceConnectorCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts index c8564ed61ba4a..694b5d303ad07 100644 --- a/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/AssociatePhoneNumbersWithVoiceConnectorGroupCommand.ts @@ -32,7 +32,6 @@ export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Comman AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AssociatePhoneNumbersWithVoiceConnectorGroupCommand extends $Comman AssociatePhoneNumbersWithVoiceConnectorGroupCommandInput, AssociatePhoneNumbersWithVoiceConnectorGroupCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts b/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts index 919cd06671926..8a206b18941e6 100644 --- a/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts +++ b/clients/client-chime/commands/AssociateSigninDelegateGroupsWithAccountCommand.ts @@ -32,7 +32,6 @@ export class AssociateSigninDelegateGroupsWithAccountCommand extends $Command< AssociateSigninDelegateGroupsWithAccountCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AssociateSigninDelegateGroupsWithAccountCommand extends $Command< AssociateSigninDelegateGroupsWithAccountCommandInput, AssociateSigninDelegateGroupsWithAccountCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchCreateAttendeeCommand.ts b/clients/client-chime/commands/BatchCreateAttendeeCommand.ts index 480e252dabe95..03efe818bc92b 100644 --- a/clients/client-chime/commands/BatchCreateAttendeeCommand.ts +++ b/clients/client-chime/commands/BatchCreateAttendeeCommand.ts @@ -28,7 +28,6 @@ export class BatchCreateAttendeeCommand extends $Command< BatchCreateAttendeeCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchCreateAttendeeCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts b/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts index d6cf32e1bdfd4..c2769b255e615 100644 --- a/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts +++ b/clients/client-chime/commands/BatchCreateRoomMembershipCommand.ts @@ -28,7 +28,6 @@ export class BatchCreateRoomMembershipCommand extends $Command< BatchCreateRoomMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchCreateRoomMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts b/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts index 76f02082a32f2..d35a4c37d203f 100644 --- a/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts +++ b/clients/client-chime/commands/BatchDeletePhoneNumberCommand.ts @@ -32,7 +32,6 @@ export class BatchDeletePhoneNumberCommand extends $Command< BatchDeletePhoneNumberCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class BatchDeletePhoneNumberCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchSuspendUserCommand.ts b/clients/client-chime/commands/BatchSuspendUserCommand.ts index 00b85a7d27454..9e37ed7a055c7 100644 --- a/clients/client-chime/commands/BatchSuspendUserCommand.ts +++ b/clients/client-chime/commands/BatchSuspendUserCommand.ts @@ -42,7 +42,6 @@ export class BatchSuspendUserCommand extends $Command< BatchSuspendUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class BatchSuspendUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchUnsuspendUserCommand.ts b/clients/client-chime/commands/BatchUnsuspendUserCommand.ts index 3d0b90d56889b..f9d0d75bc10a0 100644 --- a/clients/client-chime/commands/BatchUnsuspendUserCommand.ts +++ b/clients/client-chime/commands/BatchUnsuspendUserCommand.ts @@ -34,7 +34,6 @@ export class BatchUnsuspendUserCommand extends $Command< BatchUnsuspendUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchUnsuspendUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts b/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts index 3ab14d0b84906..9c8b6c60d0d6f 100644 --- a/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts +++ b/clients/client-chime/commands/BatchUpdatePhoneNumberCommand.ts @@ -32,7 +32,6 @@ export class BatchUpdatePhoneNumberCommand extends $Command< BatchUpdatePhoneNumberCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class BatchUpdatePhoneNumberCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/BatchUpdateUserCommand.ts b/clients/client-chime/commands/BatchUpdateUserCommand.ts index b46af5f8423a9..35481d8e31d02 100644 --- a/clients/client-chime/commands/BatchUpdateUserCommand.ts +++ b/clients/client-chime/commands/BatchUpdateUserCommand.ts @@ -29,7 +29,6 @@ export class BatchUpdateUserCommand extends $Command< BatchUpdateUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BatchUpdateUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateAccountCommand.ts b/clients/client-chime/commands/CreateAccountCommand.ts index c6f903758f37d..5b6d538c486fb 100644 --- a/clients/client-chime/commands/CreateAccountCommand.ts +++ b/clients/client-chime/commands/CreateAccountCommand.ts @@ -32,7 +32,6 @@ export class CreateAccountCommand extends $Command< CreateAccountCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateAccountCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateAppInstanceAdminCommand.ts b/clients/client-chime/commands/CreateAppInstanceAdminCommand.ts index 23dc1efd7f484..44f3d1b3cc4e6 100644 --- a/clients/client-chime/commands/CreateAppInstanceAdminCommand.ts +++ b/clients/client-chime/commands/CreateAppInstanceAdminCommand.ts @@ -39,7 +39,6 @@ export class CreateAppInstanceAdminCommand extends $Command< CreateAppInstanceAdminCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateAppInstanceAdminCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateAppInstanceCommand.ts b/clients/client-chime/commands/CreateAppInstanceCommand.ts index 3db9920d85d5d..b6171235485d1 100644 --- a/clients/client-chime/commands/CreateAppInstanceCommand.ts +++ b/clients/client-chime/commands/CreateAppInstanceCommand.ts @@ -29,7 +29,6 @@ export class CreateAppInstanceCommand extends $Command< CreateAppInstanceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAppInstanceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateAppInstanceUserCommand.ts b/clients/client-chime/commands/CreateAppInstanceUserCommand.ts index fe46d076940c2..f96877d0c1abd 100644 --- a/clients/client-chime/commands/CreateAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/CreateAppInstanceUserCommand.ts @@ -29,7 +29,6 @@ export class CreateAppInstanceUserCommand extends $Command< CreateAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAppInstanceUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateAttendeeCommand.ts b/clients/client-chime/commands/CreateAttendeeCommand.ts index c681d0e2366d2..c7558d3f86fda 100644 --- a/clients/client-chime/commands/CreateAttendeeCommand.ts +++ b/clients/client-chime/commands/CreateAttendeeCommand.ts @@ -28,7 +28,6 @@ export class CreateAttendeeCommand extends $Command< CreateAttendeeCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAttendeeCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateBotCommand.ts b/clients/client-chime/commands/CreateBotCommand.ts index a817e528156f2..1722474da26fe 100644 --- a/clients/client-chime/commands/CreateBotCommand.ts +++ b/clients/client-chime/commands/CreateBotCommand.ts @@ -28,7 +28,6 @@ export class CreateBotCommand extends $Command< CreateBotCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBotCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateChannelBanCommand.ts b/clients/client-chime/commands/CreateChannelBanCommand.ts index c926230384c69..5b73e109820f6 100644 --- a/clients/client-chime/commands/CreateChannelBanCommand.ts +++ b/clients/client-chime/commands/CreateChannelBanCommand.ts @@ -32,7 +32,6 @@ export class CreateChannelBanCommand extends $Command< CreateChannelBanCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateChannelBanCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateChannelCommand.ts b/clients/client-chime/commands/CreateChannelCommand.ts index f14260b4261d8..cfd7c3409eff9 100644 --- a/clients/client-chime/commands/CreateChannelCommand.ts +++ b/clients/client-chime/commands/CreateChannelCommand.ts @@ -30,7 +30,6 @@ export class CreateChannelCommand extends $Command< CreateChannelCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateChannelCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateChannelMembershipCommand.ts b/clients/client-chime/commands/CreateChannelMembershipCommand.ts index 30661a1252ff1..833b6e45e80fd 100644 --- a/clients/client-chime/commands/CreateChannelMembershipCommand.ts +++ b/clients/client-chime/commands/CreateChannelMembershipCommand.ts @@ -55,7 +55,6 @@ export class CreateChannelMembershipCommand extends $Command< CreateChannelMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CreateChannelMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateChannelModeratorCommand.ts b/clients/client-chime/commands/CreateChannelModeratorCommand.ts index 28b727acc7bf4..b244afda36f41 100644 --- a/clients/client-chime/commands/CreateChannelModeratorCommand.ts +++ b/clients/client-chime/commands/CreateChannelModeratorCommand.ts @@ -45,7 +45,6 @@ export class CreateChannelModeratorCommand extends $Command< CreateChannelModeratorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateChannelModeratorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateMeetingCommand.ts b/clients/client-chime/commands/CreateMeetingCommand.ts index 0917398c02508..f5a812399c144 100644 --- a/clients/client-chime/commands/CreateMeetingCommand.ts +++ b/clients/client-chime/commands/CreateMeetingCommand.ts @@ -28,7 +28,6 @@ export class CreateMeetingCommand extends $Command< CreateMeetingCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateMeetingCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateMeetingDialOutCommand.ts b/clients/client-chime/commands/CreateMeetingDialOutCommand.ts index 9c28cedac0548..f242f395dc4f1 100644 --- a/clients/client-chime/commands/CreateMeetingDialOutCommand.ts +++ b/clients/client-chime/commands/CreateMeetingDialOutCommand.ts @@ -33,7 +33,6 @@ export class CreateMeetingDialOutCommand extends $Command< CreateMeetingDialOutCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateMeetingDialOutCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateMeetingWithAttendeesCommand.ts b/clients/client-chime/commands/CreateMeetingWithAttendeesCommand.ts index 78ade790606c8..1ebb0d4ce5aff 100644 --- a/clients/client-chime/commands/CreateMeetingWithAttendeesCommand.ts +++ b/clients/client-chime/commands/CreateMeetingWithAttendeesCommand.ts @@ -32,7 +32,6 @@ export class CreateMeetingWithAttendeesCommand extends $Command< CreateMeetingWithAttendeesCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateMeetingWithAttendeesCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts b/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts index 60bb935b9b8cc..8ab0ed4da529f 100644 --- a/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts +++ b/clients/client-chime/commands/CreatePhoneNumberOrderCommand.ts @@ -30,7 +30,6 @@ export class CreatePhoneNumberOrderCommand extends $Command< CreatePhoneNumberOrderCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreatePhoneNumberOrderCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateProxySessionCommand.ts b/clients/client-chime/commands/CreateProxySessionCommand.ts index e35d618ea6604..61a82c4822304 100644 --- a/clients/client-chime/commands/CreateProxySessionCommand.ts +++ b/clients/client-chime/commands/CreateProxySessionCommand.ts @@ -28,7 +28,6 @@ export class CreateProxySessionCommand extends $Command< CreateProxySessionCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProxySessionCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateRoomCommand.ts b/clients/client-chime/commands/CreateRoomCommand.ts index 579df5f0003e9..27532c69d5bba 100644 --- a/clients/client-chime/commands/CreateRoomCommand.ts +++ b/clients/client-chime/commands/CreateRoomCommand.ts @@ -28,7 +28,6 @@ export class CreateRoomCommand extends $Command< CreateRoomCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRoomCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateRoomMembershipCommand.ts b/clients/client-chime/commands/CreateRoomMembershipCommand.ts index 07a8d97345f99..446f97c850731 100644 --- a/clients/client-chime/commands/CreateRoomMembershipCommand.ts +++ b/clients/client-chime/commands/CreateRoomMembershipCommand.ts @@ -28,7 +28,6 @@ export class CreateRoomMembershipCommand extends $Command< CreateRoomMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRoomMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateSipMediaApplicationCallCommand.ts b/clients/client-chime/commands/CreateSipMediaApplicationCallCommand.ts index 8e08d0132e2b5..65cb75c1b5ef4 100644 --- a/clients/client-chime/commands/CreateSipMediaApplicationCallCommand.ts +++ b/clients/client-chime/commands/CreateSipMediaApplicationCallCommand.ts @@ -29,7 +29,6 @@ export class CreateSipMediaApplicationCallCommand extends $Command< CreateSipMediaApplicationCallCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateSipMediaApplicationCallCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateSipMediaApplicationCommand.ts b/clients/client-chime/commands/CreateSipMediaApplicationCommand.ts index caa172c25fe50..f3678a8554c3c 100644 --- a/clients/client-chime/commands/CreateSipMediaApplicationCommand.ts +++ b/clients/client-chime/commands/CreateSipMediaApplicationCommand.ts @@ -28,7 +28,6 @@ export class CreateSipMediaApplicationCommand extends $Command< CreateSipMediaApplicationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSipMediaApplicationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateSipRuleCommand.ts b/clients/client-chime/commands/CreateSipRuleCommand.ts index 008f30303873e..222441ae4dec6 100644 --- a/clients/client-chime/commands/CreateSipRuleCommand.ts +++ b/clients/client-chime/commands/CreateSipRuleCommand.ts @@ -29,7 +29,6 @@ export class CreateSipRuleCommand extends $Command< CreateSipRuleCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateSipRuleCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateUserCommand.ts b/clients/client-chime/commands/CreateUserCommand.ts index 77d3903ee6bba..2bfebd5f668b7 100644 --- a/clients/client-chime/commands/CreateUserCommand.ts +++ b/clients/client-chime/commands/CreateUserCommand.ts @@ -28,7 +28,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateVoiceConnectorCommand.ts b/clients/client-chime/commands/CreateVoiceConnectorCommand.ts index 3d0cf7d09153c..179cef9fe8163 100644 --- a/clients/client-chime/commands/CreateVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/CreateVoiceConnectorCommand.ts @@ -30,7 +30,6 @@ export class CreateVoiceConnectorCommand extends $Command< CreateVoiceConnectorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateVoiceConnectorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts index 35f51753cceb6..9cc160121f2af 100644 --- a/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/CreateVoiceConnectorGroupCommand.ts @@ -32,7 +32,6 @@ export class CreateVoiceConnectorGroupCommand extends $Command< CreateVoiceConnectorGroupCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateVoiceConnectorGroupCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteAccountCommand.ts b/clients/client-chime/commands/DeleteAccountCommand.ts index 25e06601ecc13..53a2b12e9d65c 100644 --- a/clients/client-chime/commands/DeleteAccountCommand.ts +++ b/clients/client-chime/commands/DeleteAccountCommand.ts @@ -37,7 +37,6 @@ export class DeleteAccountCommand extends $Command< DeleteAccountCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteAccountCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteAppInstanceAdminCommand.ts b/clients/client-chime/commands/DeleteAppInstanceAdminCommand.ts index 5ae8494222615..fdc2e21abf830 100644 --- a/clients/client-chime/commands/DeleteAppInstanceAdminCommand.ts +++ b/clients/client-chime/commands/DeleteAppInstanceAdminCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppInstanceAdminCommand extends $Command< DeleteAppInstanceAdminCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppInstanceAdminCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteAppInstanceCommand.ts b/clients/client-chime/commands/DeleteAppInstanceCommand.ts index 642e61c5485b6..0acad0407c578 100644 --- a/clients/client-chime/commands/DeleteAppInstanceCommand.ts +++ b/clients/client-chime/commands/DeleteAppInstanceCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppInstanceCommand extends $Command< DeleteAppInstanceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppInstanceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts b/clients/client-chime/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts index 34f4200415e41..b5fcbd64091f5 100644 --- a/clients/client-chime/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts +++ b/clients/client-chime/commands/DeleteAppInstanceStreamingConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppInstanceStreamingConfigurationsCommand extends $Command< DeleteAppInstanceStreamingConfigurationsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteAppInstanceStreamingConfigurationsCommand extends $Command< DeleteAppInstanceStreamingConfigurationsCommandInput, DeleteAppInstanceStreamingConfigurationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteAppInstanceUserCommand.ts b/clients/client-chime/commands/DeleteAppInstanceUserCommand.ts index f8d49a3be5dd8..73cd7d0026e17 100644 --- a/clients/client-chime/commands/DeleteAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/DeleteAppInstanceUserCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppInstanceUserCommand extends $Command< DeleteAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppInstanceUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteAttendeeCommand.ts b/clients/client-chime/commands/DeleteAttendeeCommand.ts index 590de9a91629f..e77c7b93f1a46 100644 --- a/clients/client-chime/commands/DeleteAttendeeCommand.ts +++ b/clients/client-chime/commands/DeleteAttendeeCommand.ts @@ -28,7 +28,6 @@ export class DeleteAttendeeCommand extends $Command< DeleteAttendeeCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAttendeeCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteChannelBanCommand.ts b/clients/client-chime/commands/DeleteChannelBanCommand.ts index 64c46ea5a4a6f..013166f3bc1f6 100644 --- a/clients/client-chime/commands/DeleteChannelBanCommand.ts +++ b/clients/client-chime/commands/DeleteChannelBanCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelBanCommand extends $Command< DeleteChannelBanCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelBanCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteChannelCommand.ts b/clients/client-chime/commands/DeleteChannelCommand.ts index b0ea2f20b10dd..e39fa9cbf5717 100644 --- a/clients/client-chime/commands/DeleteChannelCommand.ts +++ b/clients/client-chime/commands/DeleteChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelCommand extends $Command< DeleteChannelCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteChannelMembershipCommand.ts b/clients/client-chime/commands/DeleteChannelMembershipCommand.ts index 7a94ffc8436e6..574310c814910 100644 --- a/clients/client-chime/commands/DeleteChannelMembershipCommand.ts +++ b/clients/client-chime/commands/DeleteChannelMembershipCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelMembershipCommand extends $Command< DeleteChannelMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteChannelMessageCommand.ts b/clients/client-chime/commands/DeleteChannelMessageCommand.ts index 0a81114aa69f6..53fd6069fa26d 100644 --- a/clients/client-chime/commands/DeleteChannelMessageCommand.ts +++ b/clients/client-chime/commands/DeleteChannelMessageCommand.ts @@ -29,7 +29,6 @@ export class DeleteChannelMessageCommand extends $Command< DeleteChannelMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteChannelMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteChannelModeratorCommand.ts b/clients/client-chime/commands/DeleteChannelModeratorCommand.ts index 181e53b12d165..505f50ad0d004 100644 --- a/clients/client-chime/commands/DeleteChannelModeratorCommand.ts +++ b/clients/client-chime/commands/DeleteChannelModeratorCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelModeratorCommand extends $Command< DeleteChannelModeratorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelModeratorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts b/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts index 6468d95ebc157..633f986516a63 100644 --- a/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts +++ b/clients/client-chime/commands/DeleteEventsConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteEventsConfigurationCommand extends $Command< DeleteEventsConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEventsConfigurationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteMeetingCommand.ts b/clients/client-chime/commands/DeleteMeetingCommand.ts index fecb226fb18be..53b5a283b3683 100644 --- a/clients/client-chime/commands/DeleteMeetingCommand.ts +++ b/clients/client-chime/commands/DeleteMeetingCommand.ts @@ -28,7 +28,6 @@ export class DeleteMeetingCommand extends $Command< DeleteMeetingCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMeetingCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeletePhoneNumberCommand.ts b/clients/client-chime/commands/DeletePhoneNumberCommand.ts index 6eb12c11f575c..02ca481a38743 100644 --- a/clients/client-chime/commands/DeletePhoneNumberCommand.ts +++ b/clients/client-chime/commands/DeletePhoneNumberCommand.ts @@ -32,7 +32,6 @@ export class DeletePhoneNumberCommand extends $Command< DeletePhoneNumberCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeletePhoneNumberCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteProxySessionCommand.ts b/clients/client-chime/commands/DeleteProxySessionCommand.ts index 9150cd8e546fc..4b196c1ea9e87 100644 --- a/clients/client-chime/commands/DeleteProxySessionCommand.ts +++ b/clients/client-chime/commands/DeleteProxySessionCommand.ts @@ -28,7 +28,6 @@ export class DeleteProxySessionCommand extends $Command< DeleteProxySessionCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProxySessionCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteRoomCommand.ts b/clients/client-chime/commands/DeleteRoomCommand.ts index dc0465e2d2445..e854e73c5afca 100644 --- a/clients/client-chime/commands/DeleteRoomCommand.ts +++ b/clients/client-chime/commands/DeleteRoomCommand.ts @@ -28,7 +28,6 @@ export class DeleteRoomCommand extends $Command< DeleteRoomCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRoomCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteRoomMembershipCommand.ts b/clients/client-chime/commands/DeleteRoomMembershipCommand.ts index 6843e9dcd9a41..6220d7554ff49 100644 --- a/clients/client-chime/commands/DeleteRoomMembershipCommand.ts +++ b/clients/client-chime/commands/DeleteRoomMembershipCommand.ts @@ -28,7 +28,6 @@ export class DeleteRoomMembershipCommand extends $Command< DeleteRoomMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRoomMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteSipMediaApplicationCommand.ts b/clients/client-chime/commands/DeleteSipMediaApplicationCommand.ts index 677e90bec673a..26e5889a99c65 100644 --- a/clients/client-chime/commands/DeleteSipMediaApplicationCommand.ts +++ b/clients/client-chime/commands/DeleteSipMediaApplicationCommand.ts @@ -28,7 +28,6 @@ export class DeleteSipMediaApplicationCommand extends $Command< DeleteSipMediaApplicationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSipMediaApplicationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteSipRuleCommand.ts b/clients/client-chime/commands/DeleteSipRuleCommand.ts index dbcf40343c15f..9d9a51237a79a 100644 --- a/clients/client-chime/commands/DeleteSipRuleCommand.ts +++ b/clients/client-chime/commands/DeleteSipRuleCommand.ts @@ -28,7 +28,6 @@ export class DeleteSipRuleCommand extends $Command< DeleteSipRuleCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSipRuleCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts index 784913cb17e18..53d73ea7463cb 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorCommand.ts @@ -29,7 +29,6 @@ export class DeleteVoiceConnectorCommand extends $Command< DeleteVoiceConnectorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteVoiceConnectorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts index acc80587e9d52..38276faca7c55 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorEmergencyCallingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceConnectorEmergencyCallingConfigurationCommand extends $C DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteVoiceConnectorEmergencyCallingConfigurationCommand extends $C DeleteVoiceConnectorEmergencyCallingConfigurationCommandInput, DeleteVoiceConnectorEmergencyCallingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts index c897261c5ff83..8c1d6cb11deea 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceConnectorGroupCommand extends $Command< DeleteVoiceConnectorGroupCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVoiceConnectorGroupCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts index 8e872213eb86f..97d816f2e43ca 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorOriginationCommand.ts @@ -31,7 +31,6 @@ export class DeleteVoiceConnectorOriginationCommand extends $Command< DeleteVoiceConnectorOriginationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteVoiceConnectorOriginationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorProxyCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorProxyCommand.ts index d56a432f6a9bc..43806b2142e56 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorProxyCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorProxyCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceConnectorProxyCommand extends $Command< DeleteVoiceConnectorProxyCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVoiceConnectorProxyCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts index 8d4e0bca4ac5a..7d5ed06ab2dd2 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorStreamingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceConnectorStreamingConfigurationCommand extends $Command< DeleteVoiceConnectorStreamingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteVoiceConnectorStreamingConfigurationCommand extends $Command< DeleteVoiceConnectorStreamingConfigurationCommandInput, DeleteVoiceConnectorStreamingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts index 600a8a27a4c13..096b8413de7d6 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCommand.ts @@ -31,7 +31,6 @@ export class DeleteVoiceConnectorTerminationCommand extends $Command< DeleteVoiceConnectorTerminationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteVoiceConnectorTerminationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts index ee598050f6b3b..516475b0592ba 100644 --- a/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts +++ b/clients/client-chime/commands/DeleteVoiceConnectorTerminationCredentialsCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceConnectorTerminationCredentialsCommand extends $Command< DeleteVoiceConnectorTerminationCredentialsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteVoiceConnectorTerminationCredentialsCommand extends $Command< DeleteVoiceConnectorTerminationCredentialsCommandInput, DeleteVoiceConnectorTerminationCredentialsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeAppInstanceAdminCommand.ts b/clients/client-chime/commands/DescribeAppInstanceAdminCommand.ts index 41279a88b2492..3cde1e7c4b41c 100644 --- a/clients/client-chime/commands/DescribeAppInstanceAdminCommand.ts +++ b/clients/client-chime/commands/DescribeAppInstanceAdminCommand.ts @@ -28,7 +28,6 @@ export class DescribeAppInstanceAdminCommand extends $Command< DescribeAppInstanceAdminCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAppInstanceAdminCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeAppInstanceCommand.ts b/clients/client-chime/commands/DescribeAppInstanceCommand.ts index 666484d139ccd..406258ad38ea3 100644 --- a/clients/client-chime/commands/DescribeAppInstanceCommand.ts +++ b/clients/client-chime/commands/DescribeAppInstanceCommand.ts @@ -28,7 +28,6 @@ export class DescribeAppInstanceCommand extends $Command< DescribeAppInstanceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAppInstanceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeAppInstanceUserCommand.ts b/clients/client-chime/commands/DescribeAppInstanceUserCommand.ts index 6682c0e8b82d6..4bcd1f06c2877 100644 --- a/clients/client-chime/commands/DescribeAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/DescribeAppInstanceUserCommand.ts @@ -28,7 +28,6 @@ export class DescribeAppInstanceUserCommand extends $Command< DescribeAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAppInstanceUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeChannelBanCommand.ts b/clients/client-chime/commands/DescribeChannelBanCommand.ts index fe5eb0113f4a2..b2a380c1cb8c2 100644 --- a/clients/client-chime/commands/DescribeChannelBanCommand.ts +++ b/clients/client-chime/commands/DescribeChannelBanCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelBanCommand extends $Command< DescribeChannelBanCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelBanCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeChannelCommand.ts b/clients/client-chime/commands/DescribeChannelCommand.ts index 9d971e6bfc73d..ff9941b2e6f91 100644 --- a/clients/client-chime/commands/DescribeChannelCommand.ts +++ b/clients/client-chime/commands/DescribeChannelCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelCommand extends $Command< DescribeChannelCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeChannelMembershipCommand.ts b/clients/client-chime/commands/DescribeChannelMembershipCommand.ts index c9bb06b2e4dcf..b29d5f9136d95 100644 --- a/clients/client-chime/commands/DescribeChannelMembershipCommand.ts +++ b/clients/client-chime/commands/DescribeChannelMembershipCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelMembershipCommand extends $Command< DescribeChannelMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts b/clients/client-chime/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts index 83af80414f931..43341dc336cd6 100644 --- a/clients/client-chime/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/DescribeChannelMembershipForAppInstanceUserCommand.ts @@ -32,7 +32,6 @@ export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command DescribeChannelMembershipForAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeChannelMembershipForAppInstanceUserCommand extends $Command DescribeChannelMembershipForAppInstanceUserCommandInput, DescribeChannelMembershipForAppInstanceUserCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts b/clients/client-chime/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts index 37a044c1cd19b..fb84f7116247d 100644 --- a/clients/client-chime/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/DescribeChannelModeratedByAppInstanceUserCommand.ts @@ -32,7 +32,6 @@ export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command< DescribeChannelModeratedByAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeChannelModeratedByAppInstanceUserCommand extends $Command< DescribeChannelModeratedByAppInstanceUserCommandInput, DescribeChannelModeratedByAppInstanceUserCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DescribeChannelModeratorCommand.ts b/clients/client-chime/commands/DescribeChannelModeratorCommand.ts index 29c6e8174c304..e2397a402ba58 100644 --- a/clients/client-chime/commands/DescribeChannelModeratorCommand.ts +++ b/clients/client-chime/commands/DescribeChannelModeratorCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelModeratorCommand extends $Command< DescribeChannelModeratorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelModeratorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts b/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts index 6d29179784a93..8420b72fd9950 100644 --- a/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts +++ b/clients/client-chime/commands/DisassociatePhoneNumberFromUserCommand.ts @@ -29,7 +29,6 @@ export class DisassociatePhoneNumberFromUserCommand extends $Command< DisassociatePhoneNumberFromUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociatePhoneNumberFromUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts index bfcebe6d3c5ce..220b150bb8da6 100644 --- a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorCommand.ts @@ -32,7 +32,6 @@ export class DisassociatePhoneNumbersFromVoiceConnectorCommand extends $Command< DisassociatePhoneNumbersFromVoiceConnectorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociatePhoneNumbersFromVoiceConnectorCommand extends $Command< DisassociatePhoneNumbersFromVoiceConnectorCommandInput, DisassociatePhoneNumbersFromVoiceConnectorCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts index ea88a0988ef5c..4dfc0c113b737 100644 --- a/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/DisassociatePhoneNumbersFromVoiceConnectorGroupCommand.ts @@ -32,7 +32,6 @@ export class DisassociatePhoneNumbersFromVoiceConnectorGroupCommand extends $Com DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociatePhoneNumbersFromVoiceConnectorGroupCommand extends $Com DisassociatePhoneNumbersFromVoiceConnectorGroupCommandInput, DisassociatePhoneNumbersFromVoiceConnectorGroupCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts b/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts index 0b6b10f1a370c..eb8831317baa4 100644 --- a/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts +++ b/clients/client-chime/commands/DisassociateSigninDelegateGroupsFromAccountCommand.ts @@ -32,7 +32,6 @@ export class DisassociateSigninDelegateGroupsFromAccountCommand extends $Command DisassociateSigninDelegateGroupsFromAccountCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociateSigninDelegateGroupsFromAccountCommand extends $Command DisassociateSigninDelegateGroupsFromAccountCommandInput, DisassociateSigninDelegateGroupsFromAccountCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetAccountCommand.ts b/clients/client-chime/commands/GetAccountCommand.ts index 1d4ca60d31f18..2b850d5c0e4d2 100644 --- a/clients/client-chime/commands/GetAccountCommand.ts +++ b/clients/client-chime/commands/GetAccountCommand.ts @@ -29,7 +29,6 @@ export class GetAccountCommand extends $Command< GetAccountCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAccountCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetAccountSettingsCommand.ts b/clients/client-chime/commands/GetAccountSettingsCommand.ts index d15f74c222fe1..c3581462cdbf8 100644 --- a/clients/client-chime/commands/GetAccountSettingsCommand.ts +++ b/clients/client-chime/commands/GetAccountSettingsCommand.ts @@ -31,7 +31,6 @@ export class GetAccountSettingsCommand extends $Command< GetAccountSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetAccountSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetAppInstanceRetentionSettingsCommand.ts b/clients/client-chime/commands/GetAppInstanceRetentionSettingsCommand.ts index a17c23151ee52..e8a96a1279bef 100644 --- a/clients/client-chime/commands/GetAppInstanceRetentionSettingsCommand.ts +++ b/clients/client-chime/commands/GetAppInstanceRetentionSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetAppInstanceRetentionSettingsCommand extends $Command< GetAppInstanceRetentionSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAppInstanceRetentionSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetAppInstanceStreamingConfigurationsCommand.ts b/clients/client-chime/commands/GetAppInstanceStreamingConfigurationsCommand.ts index 6e66070f4f299..7604bcaef40ff 100644 --- a/clients/client-chime/commands/GetAppInstanceStreamingConfigurationsCommand.ts +++ b/clients/client-chime/commands/GetAppInstanceStreamingConfigurationsCommand.ts @@ -32,7 +32,6 @@ export class GetAppInstanceStreamingConfigurationsCommand extends $Command< GetAppInstanceStreamingConfigurationsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetAppInstanceStreamingConfigurationsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetAttendeeCommand.ts b/clients/client-chime/commands/GetAttendeeCommand.ts index 19042e45e908e..c80d0fb9b7642 100644 --- a/clients/client-chime/commands/GetAttendeeCommand.ts +++ b/clients/client-chime/commands/GetAttendeeCommand.ts @@ -28,7 +28,6 @@ export class GetAttendeeCommand extends $Command< GetAttendeeCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAttendeeCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetBotCommand.ts b/clients/client-chime/commands/GetBotCommand.ts index 566df4daed67b..1bbdf0d8b65eb 100644 --- a/clients/client-chime/commands/GetBotCommand.ts +++ b/clients/client-chime/commands/GetBotCommand.ts @@ -21,7 +21,6 @@ export type GetBotCommandOutput = GetBotResponse & __MetadataBearer; *

Retrieves details for the specified bot, such as bot email address, bot type, status, and display name.

*/ export class GetBotCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetBotCommand 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-chime/commands/GetChannelMessageCommand.ts b/clients/client-chime/commands/GetChannelMessageCommand.ts index 6bb1a13d8bf43..8ccfaab340f5f 100644 --- a/clients/client-chime/commands/GetChannelMessageCommand.ts +++ b/clients/client-chime/commands/GetChannelMessageCommand.ts @@ -28,7 +28,6 @@ export class GetChannelMessageCommand extends $Command< GetChannelMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetChannelMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetEventsConfigurationCommand.ts b/clients/client-chime/commands/GetEventsConfigurationCommand.ts index 6a23abfd159dc..3cf0fcd513660 100644 --- a/clients/client-chime/commands/GetEventsConfigurationCommand.ts +++ b/clients/client-chime/commands/GetEventsConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetEventsConfigurationCommand extends $Command< GetEventsConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEventsConfigurationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetGlobalSettingsCommand.ts b/clients/client-chime/commands/GetGlobalSettingsCommand.ts index 51b8c602fb56d..4f5b66544799f 100644 --- a/clients/client-chime/commands/GetGlobalSettingsCommand.ts +++ b/clients/client-chime/commands/GetGlobalSettingsCommand.ts @@ -29,7 +29,6 @@ export class GetGlobalSettingsCommand extends $Command< GetGlobalSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetGlobalSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetMeetingCommand.ts b/clients/client-chime/commands/GetMeetingCommand.ts index 7f0191b4a8f17..8e1e3023f36a8 100644 --- a/clients/client-chime/commands/GetMeetingCommand.ts +++ b/clients/client-chime/commands/GetMeetingCommand.ts @@ -28,7 +28,6 @@ export class GetMeetingCommand extends $Command< GetMeetingCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMeetingCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetMessagingSessionEndpointCommand.ts b/clients/client-chime/commands/GetMessagingSessionEndpointCommand.ts index 6ef07d395ed67..74494a766627a 100644 --- a/clients/client-chime/commands/GetMessagingSessionEndpointCommand.ts +++ b/clients/client-chime/commands/GetMessagingSessionEndpointCommand.ts @@ -28,7 +28,6 @@ export class GetMessagingSessionEndpointCommand extends $Command< GetMessagingSessionEndpointCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMessagingSessionEndpointCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetPhoneNumberCommand.ts b/clients/client-chime/commands/GetPhoneNumberCommand.ts index dbbbe8a114231..485e923d8657c 100644 --- a/clients/client-chime/commands/GetPhoneNumberCommand.ts +++ b/clients/client-chime/commands/GetPhoneNumberCommand.ts @@ -29,7 +29,6 @@ export class GetPhoneNumberCommand extends $Command< GetPhoneNumberCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetPhoneNumberCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts b/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts index 91c9a82ea5081..d5a69fb8ccf4c 100644 --- a/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts +++ b/clients/client-chime/commands/GetPhoneNumberOrderCommand.ts @@ -29,7 +29,6 @@ export class GetPhoneNumberOrderCommand extends $Command< GetPhoneNumberOrderCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetPhoneNumberOrderCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts b/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts index bd432da426b00..77056b38132ce 100644 --- a/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts +++ b/clients/client-chime/commands/GetPhoneNumberSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetPhoneNumberSettingsCommand extends $Command< GetPhoneNumberSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPhoneNumberSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetProxySessionCommand.ts b/clients/client-chime/commands/GetProxySessionCommand.ts index 23b1d0e0aacf1..b4033e0b72118 100644 --- a/clients/client-chime/commands/GetProxySessionCommand.ts +++ b/clients/client-chime/commands/GetProxySessionCommand.ts @@ -28,7 +28,6 @@ export class GetProxySessionCommand extends $Command< GetProxySessionCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProxySessionCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetRetentionSettingsCommand.ts b/clients/client-chime/commands/GetRetentionSettingsCommand.ts index 2e97928cf4f62..93cafc67d2866 100644 --- a/clients/client-chime/commands/GetRetentionSettingsCommand.ts +++ b/clients/client-chime/commands/GetRetentionSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetRetentionSettingsCommand extends $Command< GetRetentionSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRetentionSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetRoomCommand.ts b/clients/client-chime/commands/GetRoomCommand.ts index 66cd992f75f8c..64ef8d0bc1db4 100644 --- a/clients/client-chime/commands/GetRoomCommand.ts +++ b/clients/client-chime/commands/GetRoomCommand.ts @@ -24,7 +24,6 @@ export type GetRoomCommandOutput = GetRoomResponse & __MetadataBearer; *

Retrieves room details, such as the room name, for a room in an Amazon Chime Enterprise account.

*/ export class GetRoomCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetRoomCommand 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-chime/commands/GetSipMediaApplicationCommand.ts b/clients/client-chime/commands/GetSipMediaApplicationCommand.ts index 8e043be8f61b3..13cdf7363c523 100644 --- a/clients/client-chime/commands/GetSipMediaApplicationCommand.ts +++ b/clients/client-chime/commands/GetSipMediaApplicationCommand.ts @@ -29,7 +29,6 @@ export class GetSipMediaApplicationCommand extends $Command< GetSipMediaApplicationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSipMediaApplicationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts b/clients/client-chime/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts index 66d082aeee970..8d4cc330e46e3 100644 --- a/clients/client-chime/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetSipMediaApplicationLoggingConfigurationCommand.ts @@ -32,7 +32,6 @@ export class GetSipMediaApplicationLoggingConfigurationCommand extends $Command< GetSipMediaApplicationLoggingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetSipMediaApplicationLoggingConfigurationCommand extends $Command< GetSipMediaApplicationLoggingConfigurationCommandInput, GetSipMediaApplicationLoggingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetSipRuleCommand.ts b/clients/client-chime/commands/GetSipRuleCommand.ts index 8c0952aabd781..bdf6cc275f44d 100644 --- a/clients/client-chime/commands/GetSipRuleCommand.ts +++ b/clients/client-chime/commands/GetSipRuleCommand.ts @@ -29,7 +29,6 @@ export class GetSipRuleCommand extends $Command< GetSipRuleCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSipRuleCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetUserCommand.ts b/clients/client-chime/commands/GetUserCommand.ts index 94d9473d1c075..e548629c3b948 100644 --- a/clients/client-chime/commands/GetUserCommand.ts +++ b/clients/client-chime/commands/GetUserCommand.ts @@ -26,7 +26,6 @@ export type GetUserCommandOutput = GetUserResponse & __MetadataBearer; *

To retrieve user details with an email address instead of a user ID, use the ListUsers action, and then filter by email address.

*/ export class GetUserCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class GetUserCommand 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-chime/commands/GetUserSettingsCommand.ts b/clients/client-chime/commands/GetUserSettingsCommand.ts index 41adfa9683ad0..e57cfe72f33f6 100644 --- a/clients/client-chime/commands/GetUserSettingsCommand.ts +++ b/clients/client-chime/commands/GetUserSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetUserSettingsCommand extends $Command< GetUserSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUserSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorCommand.ts b/clients/client-chime/commands/GetVoiceConnectorCommand.ts index 04e7b66012c61..3b8080ecef572 100644 --- a/clients/client-chime/commands/GetVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorCommand.ts @@ -29,7 +29,6 @@ export class GetVoiceConnectorCommand extends $Command< GetVoiceConnectorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetVoiceConnectorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts index 285862bda3b24..1d498b45f3e18 100644 --- a/clients/client-chime/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorEmergencyCallingConfigurationCommand.ts @@ -32,7 +32,6 @@ export class GetVoiceConnectorEmergencyCallingConfigurationCommand extends $Comm GetVoiceConnectorEmergencyCallingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetVoiceConnectorEmergencyCallingConfigurationCommand extends $Comm GetVoiceConnectorEmergencyCallingConfigurationCommandInput, GetVoiceConnectorEmergencyCallingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts index f8bab2f5ed180..8e90ee2122a24 100644 --- a/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorGroupCommand.ts @@ -29,7 +29,6 @@ export class GetVoiceConnectorGroupCommand extends $Command< GetVoiceConnectorGroupCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetVoiceConnectorGroupCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts index 4b0b1b463eb52..2a09495067bb1 100644 --- a/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorLoggingConfigurationCommand.ts @@ -33,7 +33,6 @@ export class GetVoiceConnectorLoggingConfigurationCommand extends $Command< GetVoiceConnectorLoggingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetVoiceConnectorLoggingConfigurationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts index 78938f1d4c2d1..02a6a78dfc824 100644 --- a/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorOriginationCommand.ts @@ -28,7 +28,6 @@ export class GetVoiceConnectorOriginationCommand extends $Command< GetVoiceConnectorOriginationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVoiceConnectorOriginationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorProxyCommand.ts b/clients/client-chime/commands/GetVoiceConnectorProxyCommand.ts index 33ad25683355b..26dbbffcd3198 100644 --- a/clients/client-chime/commands/GetVoiceConnectorProxyCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorProxyCommand.ts @@ -28,7 +28,6 @@ export class GetVoiceConnectorProxyCommand extends $Command< GetVoiceConnectorProxyCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVoiceConnectorProxyCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts index c5b63f1c0aaad..d7adef89c2655 100644 --- a/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorStreamingConfigurationCommand.ts @@ -34,7 +34,6 @@ export class GetVoiceConnectorStreamingConfigurationCommand extends $Command< GetVoiceConnectorStreamingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetVoiceConnectorStreamingConfigurationCommand extends $Command< GetVoiceConnectorStreamingConfigurationCommandInput, GetVoiceConnectorStreamingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts b/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts index 369582e4241f8..fad328a07cc91 100644 --- a/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorTerminationCommand.ts @@ -28,7 +28,6 @@ export class GetVoiceConnectorTerminationCommand extends $Command< GetVoiceConnectorTerminationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVoiceConnectorTerminationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts b/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts index 1bcab795b5037..76dc9829fbfd7 100644 --- a/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts +++ b/clients/client-chime/commands/GetVoiceConnectorTerminationHealthCommand.ts @@ -33,7 +33,6 @@ export class GetVoiceConnectorTerminationHealthCommand extends $Command< GetVoiceConnectorTerminationHealthCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetVoiceConnectorTerminationHealthCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/InviteUsersCommand.ts b/clients/client-chime/commands/InviteUsersCommand.ts index 9a1b9dc43d65d..9e3e6615a4977 100644 --- a/clients/client-chime/commands/InviteUsersCommand.ts +++ b/clients/client-chime/commands/InviteUsersCommand.ts @@ -30,7 +30,6 @@ export class InviteUsersCommand extends $Command< InviteUsersCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class InviteUsersCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListAccountsCommand.ts b/clients/client-chime/commands/ListAccountsCommand.ts index 8d9474395ae8a..e50d0bf78c0f4 100644 --- a/clients/client-chime/commands/ListAccountsCommand.ts +++ b/clients/client-chime/commands/ListAccountsCommand.ts @@ -30,7 +30,6 @@ export class ListAccountsCommand extends $Command< ListAccountsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAccountsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListAppInstanceAdminsCommand.ts b/clients/client-chime/commands/ListAppInstanceAdminsCommand.ts index 848865e5d265c..e16442064118c 100644 --- a/clients/client-chime/commands/ListAppInstanceAdminsCommand.ts +++ b/clients/client-chime/commands/ListAppInstanceAdminsCommand.ts @@ -28,7 +28,6 @@ export class ListAppInstanceAdminsCommand extends $Command< ListAppInstanceAdminsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAppInstanceAdminsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListAppInstanceUsersCommand.ts b/clients/client-chime/commands/ListAppInstanceUsersCommand.ts index afe979ad3c96d..2d7c6faf73c43 100644 --- a/clients/client-chime/commands/ListAppInstanceUsersCommand.ts +++ b/clients/client-chime/commands/ListAppInstanceUsersCommand.ts @@ -28,7 +28,6 @@ export class ListAppInstanceUsersCommand extends $Command< ListAppInstanceUsersCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAppInstanceUsersCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListAppInstancesCommand.ts b/clients/client-chime/commands/ListAppInstancesCommand.ts index 1f61488dfd217..f45baa6b2ea3c 100644 --- a/clients/client-chime/commands/ListAppInstancesCommand.ts +++ b/clients/client-chime/commands/ListAppInstancesCommand.ts @@ -28,7 +28,6 @@ export class ListAppInstancesCommand extends $Command< ListAppInstancesCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAppInstancesCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListAttendeeTagsCommand.ts b/clients/client-chime/commands/ListAttendeeTagsCommand.ts index eb7820fce0ca2..316e14bf8bfce 100644 --- a/clients/client-chime/commands/ListAttendeeTagsCommand.ts +++ b/clients/client-chime/commands/ListAttendeeTagsCommand.ts @@ -28,7 +28,6 @@ export class ListAttendeeTagsCommand extends $Command< ListAttendeeTagsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAttendeeTagsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListAttendeesCommand.ts b/clients/client-chime/commands/ListAttendeesCommand.ts index f43f40236907e..8228b0cebe445 100644 --- a/clients/client-chime/commands/ListAttendeesCommand.ts +++ b/clients/client-chime/commands/ListAttendeesCommand.ts @@ -28,7 +28,6 @@ export class ListAttendeesCommand extends $Command< ListAttendeesCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAttendeesCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListBotsCommand.ts b/clients/client-chime/commands/ListBotsCommand.ts index 5befc6d9a98cc..161134fa16466 100644 --- a/clients/client-chime/commands/ListBotsCommand.ts +++ b/clients/client-chime/commands/ListBotsCommand.ts @@ -24,7 +24,6 @@ export type ListBotsCommandOutput = ListBotsResponse & __MetadataBearer; *

Lists the bots associated with the administrator's Amazon Chime Enterprise account ID.

*/ export class ListBotsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class ListBotsCommand 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-chime/commands/ListChannelBansCommand.ts b/clients/client-chime/commands/ListChannelBansCommand.ts index bd31882daa760..a117a29e9d762 100644 --- a/clients/client-chime/commands/ListChannelBansCommand.ts +++ b/clients/client-chime/commands/ListChannelBansCommand.ts @@ -28,7 +28,6 @@ export class ListChannelBansCommand extends $Command< ListChannelBansCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListChannelBansCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListChannelMembershipsCommand.ts b/clients/client-chime/commands/ListChannelMembershipsCommand.ts index 28108617c5c11..387852284e138 100644 --- a/clients/client-chime/commands/ListChannelMembershipsCommand.ts +++ b/clients/client-chime/commands/ListChannelMembershipsCommand.ts @@ -28,7 +28,6 @@ export class ListChannelMembershipsCommand extends $Command< ListChannelMembershipsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListChannelMembershipsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListChannelMembershipsForAppInstanceUserCommand.ts b/clients/client-chime/commands/ListChannelMembershipsForAppInstanceUserCommand.ts index 31ff4e4ef1915..63d24f221a07b 100644 --- a/clients/client-chime/commands/ListChannelMembershipsForAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/ListChannelMembershipsForAppInstanceUserCommand.ts @@ -33,7 +33,6 @@ export class ListChannelMembershipsForAppInstanceUserCommand extends $Command< ListChannelMembershipsForAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListChannelMembershipsForAppInstanceUserCommand extends $Command< ListChannelMembershipsForAppInstanceUserCommandInput, ListChannelMembershipsForAppInstanceUserCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListChannelMessagesCommand.ts b/clients/client-chime/commands/ListChannelMessagesCommand.ts index 17a54cc4ad057..5fbb78d736923 100644 --- a/clients/client-chime/commands/ListChannelMessagesCommand.ts +++ b/clients/client-chime/commands/ListChannelMessagesCommand.ts @@ -33,7 +33,6 @@ export class ListChannelMessagesCommand extends $Command< ListChannelMessagesCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListChannelMessagesCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListChannelModeratorsCommand.ts b/clients/client-chime/commands/ListChannelModeratorsCommand.ts index 2e6506834d376..3add5ce1b8d77 100644 --- a/clients/client-chime/commands/ListChannelModeratorsCommand.ts +++ b/clients/client-chime/commands/ListChannelModeratorsCommand.ts @@ -28,7 +28,6 @@ export class ListChannelModeratorsCommand extends $Command< ListChannelModeratorsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListChannelModeratorsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListChannelsCommand.ts b/clients/client-chime/commands/ListChannelsCommand.ts index 2547029e1c206..8cca3b520803c 100644 --- a/clients/client-chime/commands/ListChannelsCommand.ts +++ b/clients/client-chime/commands/ListChannelsCommand.ts @@ -40,7 +40,6 @@ export class ListChannelsCommand extends $Command< ListChannelsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListChannelsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListChannelsModeratedByAppInstanceUserCommand.ts b/clients/client-chime/commands/ListChannelsModeratedByAppInstanceUserCommand.ts index a592658dfbc54..30e2a922bfd6a 100644 --- a/clients/client-chime/commands/ListChannelsModeratedByAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/ListChannelsModeratedByAppInstanceUserCommand.ts @@ -32,7 +32,6 @@ export class ListChannelsModeratedByAppInstanceUserCommand extends $Command< ListChannelsModeratedByAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListChannelsModeratedByAppInstanceUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListMeetingTagsCommand.ts b/clients/client-chime/commands/ListMeetingTagsCommand.ts index 2da88e222823f..e632c3d080b10 100644 --- a/clients/client-chime/commands/ListMeetingTagsCommand.ts +++ b/clients/client-chime/commands/ListMeetingTagsCommand.ts @@ -28,7 +28,6 @@ export class ListMeetingTagsCommand extends $Command< ListMeetingTagsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMeetingTagsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListMeetingsCommand.ts b/clients/client-chime/commands/ListMeetingsCommand.ts index a37db60a710f7..05f8d75a08ec9 100644 --- a/clients/client-chime/commands/ListMeetingsCommand.ts +++ b/clients/client-chime/commands/ListMeetingsCommand.ts @@ -28,7 +28,6 @@ export class ListMeetingsCommand extends $Command< ListMeetingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMeetingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts b/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts index 89b69ed7856c6..335c059c556fe 100644 --- a/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts +++ b/clients/client-chime/commands/ListPhoneNumberOrdersCommand.ts @@ -28,7 +28,6 @@ export class ListPhoneNumberOrdersCommand extends $Command< ListPhoneNumberOrdersCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPhoneNumberOrdersCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListPhoneNumbersCommand.ts b/clients/client-chime/commands/ListPhoneNumbersCommand.ts index ea1c1490d1b67..c37445b0e5ac9 100644 --- a/clients/client-chime/commands/ListPhoneNumbersCommand.ts +++ b/clients/client-chime/commands/ListPhoneNumbersCommand.ts @@ -28,7 +28,6 @@ export class ListPhoneNumbersCommand extends $Command< ListPhoneNumbersCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPhoneNumbersCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListProxySessionsCommand.ts b/clients/client-chime/commands/ListProxySessionsCommand.ts index a9218bada6687..167bd082c3ae2 100644 --- a/clients/client-chime/commands/ListProxySessionsCommand.ts +++ b/clients/client-chime/commands/ListProxySessionsCommand.ts @@ -28,7 +28,6 @@ export class ListProxySessionsCommand extends $Command< ListProxySessionsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProxySessionsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListRoomMembershipsCommand.ts b/clients/client-chime/commands/ListRoomMembershipsCommand.ts index 3119610509785..7b875105918a8 100644 --- a/clients/client-chime/commands/ListRoomMembershipsCommand.ts +++ b/clients/client-chime/commands/ListRoomMembershipsCommand.ts @@ -29,7 +29,6 @@ export class ListRoomMembershipsCommand extends $Command< ListRoomMembershipsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRoomMembershipsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListRoomsCommand.ts b/clients/client-chime/commands/ListRoomsCommand.ts index 3f4f1911a01a2..0dc21a9e7033e 100644 --- a/clients/client-chime/commands/ListRoomsCommand.ts +++ b/clients/client-chime/commands/ListRoomsCommand.ts @@ -28,7 +28,6 @@ export class ListRoomsCommand extends $Command< ListRoomsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRoomsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListSipMediaApplicationsCommand.ts b/clients/client-chime/commands/ListSipMediaApplicationsCommand.ts index 6af9ca8db4f39..586349ad1ada4 100644 --- a/clients/client-chime/commands/ListSipMediaApplicationsCommand.ts +++ b/clients/client-chime/commands/ListSipMediaApplicationsCommand.ts @@ -28,7 +28,6 @@ export class ListSipMediaApplicationsCommand extends $Command< ListSipMediaApplicationsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSipMediaApplicationsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListSipRulesCommand.ts b/clients/client-chime/commands/ListSipRulesCommand.ts index 703167f9b19a7..4774f9a812d1b 100644 --- a/clients/client-chime/commands/ListSipRulesCommand.ts +++ b/clients/client-chime/commands/ListSipRulesCommand.ts @@ -28,7 +28,6 @@ export class ListSipRulesCommand extends $Command< ListSipRulesCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSipRulesCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListTagsForResourceCommand.ts b/clients/client-chime/commands/ListTagsForResourceCommand.ts index 8e6785ae214a1..aa4bb3b63dab4 100644 --- a/clients/client-chime/commands/ListTagsForResourceCommand.ts +++ b/clients/client-chime/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListUsersCommand.ts b/clients/client-chime/commands/ListUsersCommand.ts index 0e72620002da2..912dbcf6148d9 100644 --- a/clients/client-chime/commands/ListUsersCommand.ts +++ b/clients/client-chime/commands/ListUsersCommand.ts @@ -29,7 +29,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListUsersCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts b/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts index 5ebd8d3d7fe6d..0d6c2bec5ebe8 100644 --- a/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts +++ b/clients/client-chime/commands/ListVoiceConnectorGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListVoiceConnectorGroupsCommand extends $Command< ListVoiceConnectorGroupsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVoiceConnectorGroupsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts index a521f35cc097f..9415b831220b2 100644 --- a/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts +++ b/clients/client-chime/commands/ListVoiceConnectorTerminationCredentialsCommand.ts @@ -32,7 +32,6 @@ export class ListVoiceConnectorTerminationCredentialsCommand extends $Command< ListVoiceConnectorTerminationCredentialsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListVoiceConnectorTerminationCredentialsCommand extends $Command< ListVoiceConnectorTerminationCredentialsCommandInput, ListVoiceConnectorTerminationCredentialsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ListVoiceConnectorsCommand.ts b/clients/client-chime/commands/ListVoiceConnectorsCommand.ts index 6aea67219a4da..7a11dfab5bffd 100644 --- a/clients/client-chime/commands/ListVoiceConnectorsCommand.ts +++ b/clients/client-chime/commands/ListVoiceConnectorsCommand.ts @@ -28,7 +28,6 @@ export class ListVoiceConnectorsCommand extends $Command< ListVoiceConnectorsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVoiceConnectorsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/LogoutUserCommand.ts b/clients/client-chime/commands/LogoutUserCommand.ts index 0d142c49fb69d..0f728dd08700d 100644 --- a/clients/client-chime/commands/LogoutUserCommand.ts +++ b/clients/client-chime/commands/LogoutUserCommand.ts @@ -28,7 +28,6 @@ export class LogoutUserCommand extends $Command< LogoutUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class LogoutUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutAppInstanceRetentionSettingsCommand.ts b/clients/client-chime/commands/PutAppInstanceRetentionSettingsCommand.ts index 8a47b469c32ce..73da3720bf034 100644 --- a/clients/client-chime/commands/PutAppInstanceRetentionSettingsCommand.ts +++ b/clients/client-chime/commands/PutAppInstanceRetentionSettingsCommand.ts @@ -28,7 +28,6 @@ export class PutAppInstanceRetentionSettingsCommand extends $Command< PutAppInstanceRetentionSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAppInstanceRetentionSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutAppInstanceStreamingConfigurationsCommand.ts b/clients/client-chime/commands/PutAppInstanceStreamingConfigurationsCommand.ts index 2a98ec5693042..fcba20cccd517 100644 --- a/clients/client-chime/commands/PutAppInstanceStreamingConfigurationsCommand.ts +++ b/clients/client-chime/commands/PutAppInstanceStreamingConfigurationsCommand.ts @@ -32,7 +32,6 @@ export class PutAppInstanceStreamingConfigurationsCommand extends $Command< PutAppInstanceStreamingConfigurationsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutAppInstanceStreamingConfigurationsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutEventsConfigurationCommand.ts b/clients/client-chime/commands/PutEventsConfigurationCommand.ts index c3005f5c048a8..b5ec6233f9133 100644 --- a/clients/client-chime/commands/PutEventsConfigurationCommand.ts +++ b/clients/client-chime/commands/PutEventsConfigurationCommand.ts @@ -29,7 +29,6 @@ export class PutEventsConfigurationCommand extends $Command< PutEventsConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutEventsConfigurationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutRetentionSettingsCommand.ts b/clients/client-chime/commands/PutRetentionSettingsCommand.ts index 1f7da8d4cc6ce..9d6c9dbbce8a8 100644 --- a/clients/client-chime/commands/PutRetentionSettingsCommand.ts +++ b/clients/client-chime/commands/PutRetentionSettingsCommand.ts @@ -29,7 +29,6 @@ export class PutRetentionSettingsCommand extends $Command< PutRetentionSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutRetentionSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts b/clients/client-chime/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts index 1d480a7bfbc0d..52966debdd38c 100644 --- a/clients/client-chime/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/PutSipMediaApplicationLoggingConfigurationCommand.ts @@ -32,7 +32,6 @@ export class PutSipMediaApplicationLoggingConfigurationCommand extends $Command< PutSipMediaApplicationLoggingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutSipMediaApplicationLoggingConfigurationCommand extends $Command< PutSipMediaApplicationLoggingConfigurationCommandInput, PutSipMediaApplicationLoggingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts index 076aea6415073..29757a0c3d971 100644 --- a/clients/client-chime/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorEmergencyCallingConfigurationCommand.ts @@ -32,7 +32,6 @@ export class PutVoiceConnectorEmergencyCallingConfigurationCommand extends $Comm PutVoiceConnectorEmergencyCallingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutVoiceConnectorEmergencyCallingConfigurationCommand extends $Comm PutVoiceConnectorEmergencyCallingConfigurationCommandInput, PutVoiceConnectorEmergencyCallingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts index 153a9eb6a8710..3555c9c48de03 100644 --- a/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorLoggingConfigurationCommand.ts @@ -32,7 +32,6 @@ export class PutVoiceConnectorLoggingConfigurationCommand extends $Command< PutVoiceConnectorLoggingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutVoiceConnectorLoggingConfigurationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts index bb16e44ddf906..46faf2b010f57 100644 --- a/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorOriginationCommand.ts @@ -31,7 +31,6 @@ export class PutVoiceConnectorOriginationCommand extends $Command< PutVoiceConnectorOriginationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutVoiceConnectorOriginationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorProxyCommand.ts b/clients/client-chime/commands/PutVoiceConnectorProxyCommand.ts index 1bf036868a005..7fb3326a1dd33 100644 --- a/clients/client-chime/commands/PutVoiceConnectorProxyCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorProxyCommand.ts @@ -28,7 +28,6 @@ export class PutVoiceConnectorProxyCommand extends $Command< PutVoiceConnectorProxyCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutVoiceConnectorProxyCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts index cbe625a644b67..61ba59686591c 100644 --- a/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorStreamingConfigurationCommand.ts @@ -34,7 +34,6 @@ export class PutVoiceConnectorStreamingConfigurationCommand extends $Command< PutVoiceConnectorStreamingConfigurationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutVoiceConnectorStreamingConfigurationCommand extends $Command< PutVoiceConnectorStreamingConfigurationCommandInput, PutVoiceConnectorStreamingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts b/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts index ef0b5d95eb73a..8ae007a5420bf 100644 --- a/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorTerminationCommand.ts @@ -31,7 +31,6 @@ export class PutVoiceConnectorTerminationCommand extends $Command< PutVoiceConnectorTerminationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutVoiceConnectorTerminationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts b/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts index 94e50cab9feb8..dec3c9576a2bb 100644 --- a/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts +++ b/clients/client-chime/commands/PutVoiceConnectorTerminationCredentialsCommand.ts @@ -28,7 +28,6 @@ export class PutVoiceConnectorTerminationCredentialsCommand extends $Command< PutVoiceConnectorTerminationCredentialsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutVoiceConnectorTerminationCredentialsCommand extends $Command< PutVoiceConnectorTerminationCredentialsCommandInput, PutVoiceConnectorTerminationCredentialsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/RedactChannelMessageCommand.ts b/clients/client-chime/commands/RedactChannelMessageCommand.ts index 540127caff140..3ef44cd6b1139 100644 --- a/clients/client-chime/commands/RedactChannelMessageCommand.ts +++ b/clients/client-chime/commands/RedactChannelMessageCommand.ts @@ -29,7 +29,6 @@ export class RedactChannelMessageCommand extends $Command< RedactChannelMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RedactChannelMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/RedactConversationMessageCommand.ts b/clients/client-chime/commands/RedactConversationMessageCommand.ts index d432a778aa128..5c89496114538 100644 --- a/clients/client-chime/commands/RedactConversationMessageCommand.ts +++ b/clients/client-chime/commands/RedactConversationMessageCommand.ts @@ -28,7 +28,6 @@ export class RedactConversationMessageCommand extends $Command< RedactConversationMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RedactConversationMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/RedactRoomMessageCommand.ts b/clients/client-chime/commands/RedactRoomMessageCommand.ts index 3182cc76e91cb..9959448e7f38e 100644 --- a/clients/client-chime/commands/RedactRoomMessageCommand.ts +++ b/clients/client-chime/commands/RedactRoomMessageCommand.ts @@ -28,7 +28,6 @@ export class RedactRoomMessageCommand extends $Command< RedactRoomMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RedactRoomMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts b/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts index 13bcb682d0622..a7233e5ddac42 100644 --- a/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts +++ b/clients/client-chime/commands/RegenerateSecurityTokenCommand.ts @@ -28,7 +28,6 @@ export class RegenerateSecurityTokenCommand extends $Command< RegenerateSecurityTokenCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegenerateSecurityTokenCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/ResetPersonalPINCommand.ts b/clients/client-chime/commands/ResetPersonalPINCommand.ts index 39c3b5ccd4276..4bc0d5623c446 100644 --- a/clients/client-chime/commands/ResetPersonalPINCommand.ts +++ b/clients/client-chime/commands/ResetPersonalPINCommand.ts @@ -29,7 +29,6 @@ export class ResetPersonalPINCommand extends $Command< ResetPersonalPINCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ResetPersonalPINCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/RestorePhoneNumberCommand.ts b/clients/client-chime/commands/RestorePhoneNumberCommand.ts index 1570cab143d39..cadd955c9fabe 100644 --- a/clients/client-chime/commands/RestorePhoneNumberCommand.ts +++ b/clients/client-chime/commands/RestorePhoneNumberCommand.ts @@ -29,7 +29,6 @@ export class RestorePhoneNumberCommand extends $Command< RestorePhoneNumberCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RestorePhoneNumberCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts b/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts index a1cd7dd945024..cb8e515941eb8 100644 --- a/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts +++ b/clients/client-chime/commands/SearchAvailablePhoneNumbersCommand.ts @@ -28,7 +28,6 @@ export class SearchAvailablePhoneNumbersCommand extends $Command< SearchAvailablePhoneNumbersCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchAvailablePhoneNumbersCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/SendChannelMessageCommand.ts b/clients/client-chime/commands/SendChannelMessageCommand.ts index 676d0ffe521cb..7738086ec4bd0 100644 --- a/clients/client-chime/commands/SendChannelMessageCommand.ts +++ b/clients/client-chime/commands/SendChannelMessageCommand.ts @@ -34,7 +34,6 @@ export class SendChannelMessageCommand extends $Command< SendChannelMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SendChannelMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/TagAttendeeCommand.ts b/clients/client-chime/commands/TagAttendeeCommand.ts index aaadc8bd75fcd..3d61218bb95a1 100644 --- a/clients/client-chime/commands/TagAttendeeCommand.ts +++ b/clients/client-chime/commands/TagAttendeeCommand.ts @@ -28,7 +28,6 @@ export class TagAttendeeCommand extends $Command< TagAttendeeCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagAttendeeCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/TagMeetingCommand.ts b/clients/client-chime/commands/TagMeetingCommand.ts index 283968b66b569..73e5287587b89 100644 --- a/clients/client-chime/commands/TagMeetingCommand.ts +++ b/clients/client-chime/commands/TagMeetingCommand.ts @@ -28,7 +28,6 @@ export class TagMeetingCommand extends $Command< TagMeetingCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagMeetingCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/TagResourceCommand.ts b/clients/client-chime/commands/TagResourceCommand.ts index a2dad9c2d15e2..b6698e1592078 100644 --- a/clients/client-chime/commands/TagResourceCommand.ts +++ b/clients/client-chime/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UntagAttendeeCommand.ts b/clients/client-chime/commands/UntagAttendeeCommand.ts index f41258b46989a..9bee373d7cb1c 100644 --- a/clients/client-chime/commands/UntagAttendeeCommand.ts +++ b/clients/client-chime/commands/UntagAttendeeCommand.ts @@ -28,7 +28,6 @@ export class UntagAttendeeCommand extends $Command< UntagAttendeeCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagAttendeeCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UntagMeetingCommand.ts b/clients/client-chime/commands/UntagMeetingCommand.ts index 38df1c1c98ee9..01dd8f1c331b9 100644 --- a/clients/client-chime/commands/UntagMeetingCommand.ts +++ b/clients/client-chime/commands/UntagMeetingCommand.ts @@ -28,7 +28,6 @@ export class UntagMeetingCommand extends $Command< UntagMeetingCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagMeetingCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UntagResourceCommand.ts b/clients/client-chime/commands/UntagResourceCommand.ts index 470743908e1b9..18f6389785b89 100644 --- a/clients/client-chime/commands/UntagResourceCommand.ts +++ b/clients/client-chime/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateAccountCommand.ts b/clients/client-chime/commands/UpdateAccountCommand.ts index 9e46b5a940792..27ea85616b4cc 100644 --- a/clients/client-chime/commands/UpdateAccountCommand.ts +++ b/clients/client-chime/commands/UpdateAccountCommand.ts @@ -29,7 +29,6 @@ export class UpdateAccountCommand extends $Command< UpdateAccountCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateAccountCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateAccountSettingsCommand.ts b/clients/client-chime/commands/UpdateAccountSettingsCommand.ts index 0665bd302b2ec..5bd2e96034287 100644 --- a/clients/client-chime/commands/UpdateAccountSettingsCommand.ts +++ b/clients/client-chime/commands/UpdateAccountSettingsCommand.ts @@ -32,7 +32,6 @@ export class UpdateAccountSettingsCommand extends $Command< UpdateAccountSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateAccountSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateAppInstanceCommand.ts b/clients/client-chime/commands/UpdateAppInstanceCommand.ts index 0e21fd4b2e667..3160415d68fed 100644 --- a/clients/client-chime/commands/UpdateAppInstanceCommand.ts +++ b/clients/client-chime/commands/UpdateAppInstanceCommand.ts @@ -28,7 +28,6 @@ export class UpdateAppInstanceCommand extends $Command< UpdateAppInstanceCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAppInstanceCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateAppInstanceUserCommand.ts b/clients/client-chime/commands/UpdateAppInstanceUserCommand.ts index 850e7907f1852..ddb5f66ebe42d 100644 --- a/clients/client-chime/commands/UpdateAppInstanceUserCommand.ts +++ b/clients/client-chime/commands/UpdateAppInstanceUserCommand.ts @@ -28,7 +28,6 @@ export class UpdateAppInstanceUserCommand extends $Command< UpdateAppInstanceUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAppInstanceUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateBotCommand.ts b/clients/client-chime/commands/UpdateBotCommand.ts index c9196d6bac544..ccf92b0b21523 100644 --- a/clients/client-chime/commands/UpdateBotCommand.ts +++ b/clients/client-chime/commands/UpdateBotCommand.ts @@ -28,7 +28,6 @@ export class UpdateBotCommand extends $Command< UpdateBotCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBotCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateChannelCommand.ts b/clients/client-chime/commands/UpdateChannelCommand.ts index d02db75e623c9..18e8550758eda 100644 --- a/clients/client-chime/commands/UpdateChannelCommand.ts +++ b/clients/client-chime/commands/UpdateChannelCommand.ts @@ -30,7 +30,6 @@ export class UpdateChannelCommand extends $Command< UpdateChannelCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateChannelCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateChannelMessageCommand.ts b/clients/client-chime/commands/UpdateChannelMessageCommand.ts index 9ab28b0c4b4c3..5c92558d9f80f 100644 --- a/clients/client-chime/commands/UpdateChannelMessageCommand.ts +++ b/clients/client-chime/commands/UpdateChannelMessageCommand.ts @@ -28,7 +28,6 @@ export class UpdateChannelMessageCommand extends $Command< UpdateChannelMessageCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateChannelMessageCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateChannelReadMarkerCommand.ts b/clients/client-chime/commands/UpdateChannelReadMarkerCommand.ts index 99cea46a1c14b..4a31b84c3edf9 100644 --- a/clients/client-chime/commands/UpdateChannelReadMarkerCommand.ts +++ b/clients/client-chime/commands/UpdateChannelReadMarkerCommand.ts @@ -28,7 +28,6 @@ export class UpdateChannelReadMarkerCommand extends $Command< UpdateChannelReadMarkerCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateChannelReadMarkerCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts b/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts index 9cdabbb35f5b9..7d6a2cde36e97 100644 --- a/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts +++ b/clients/client-chime/commands/UpdateGlobalSettingsCommand.ts @@ -29,7 +29,6 @@ export class UpdateGlobalSettingsCommand extends $Command< UpdateGlobalSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGlobalSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdatePhoneNumberCommand.ts b/clients/client-chime/commands/UpdatePhoneNumberCommand.ts index 95198829cc607..42347fca793c8 100644 --- a/clients/client-chime/commands/UpdatePhoneNumberCommand.ts +++ b/clients/client-chime/commands/UpdatePhoneNumberCommand.ts @@ -31,7 +31,6 @@ export class UpdatePhoneNumberCommand extends $Command< UpdatePhoneNumberCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdatePhoneNumberCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts b/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts index 0a67c714513bc..907723d22bc5b 100644 --- a/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts +++ b/clients/client-chime/commands/UpdatePhoneNumberSettingsCommand.ts @@ -30,7 +30,6 @@ export class UpdatePhoneNumberSettingsCommand extends $Command< UpdatePhoneNumberSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdatePhoneNumberSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateProxySessionCommand.ts b/clients/client-chime/commands/UpdateProxySessionCommand.ts index 653767c76c663..acdc9fede9f2b 100644 --- a/clients/client-chime/commands/UpdateProxySessionCommand.ts +++ b/clients/client-chime/commands/UpdateProxySessionCommand.ts @@ -28,7 +28,6 @@ export class UpdateProxySessionCommand extends $Command< UpdateProxySessionCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProxySessionCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateRoomCommand.ts b/clients/client-chime/commands/UpdateRoomCommand.ts index e8c16ee0421d7..7566d19134cd3 100644 --- a/clients/client-chime/commands/UpdateRoomCommand.ts +++ b/clients/client-chime/commands/UpdateRoomCommand.ts @@ -28,7 +28,6 @@ export class UpdateRoomCommand extends $Command< UpdateRoomCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRoomCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateRoomMembershipCommand.ts b/clients/client-chime/commands/UpdateRoomMembershipCommand.ts index c0b43662695a5..5317d57cb0fad 100644 --- a/clients/client-chime/commands/UpdateRoomMembershipCommand.ts +++ b/clients/client-chime/commands/UpdateRoomMembershipCommand.ts @@ -30,7 +30,6 @@ export class UpdateRoomMembershipCommand extends $Command< UpdateRoomMembershipCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateRoomMembershipCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateSipMediaApplicationCommand.ts b/clients/client-chime/commands/UpdateSipMediaApplicationCommand.ts index f73e1df7c83ab..fb89c11e56776 100644 --- a/clients/client-chime/commands/UpdateSipMediaApplicationCommand.ts +++ b/clients/client-chime/commands/UpdateSipMediaApplicationCommand.ts @@ -28,7 +28,6 @@ export class UpdateSipMediaApplicationCommand extends $Command< UpdateSipMediaApplicationCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSipMediaApplicationCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateSipRuleCommand.ts b/clients/client-chime/commands/UpdateSipRuleCommand.ts index 0719ff6686a84..5b64a98bb4cc9 100644 --- a/clients/client-chime/commands/UpdateSipRuleCommand.ts +++ b/clients/client-chime/commands/UpdateSipRuleCommand.ts @@ -28,7 +28,6 @@ export class UpdateSipRuleCommand extends $Command< UpdateSipRuleCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSipRuleCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateUserCommand.ts b/clients/client-chime/commands/UpdateUserCommand.ts index d61ed0d5c7613..0b6ff82db40a4 100644 --- a/clients/client-chime/commands/UpdateUserCommand.ts +++ b/clients/client-chime/commands/UpdateUserCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserCommand extends $Command< UpdateUserCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateUserSettingsCommand.ts b/clients/client-chime/commands/UpdateUserSettingsCommand.ts index 328f45fcf0968..01385aafdd69e 100644 --- a/clients/client-chime/commands/UpdateUserSettingsCommand.ts +++ b/clients/client-chime/commands/UpdateUserSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserSettingsCommand extends $Command< UpdateUserSettingsCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserSettingsCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts b/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts index 3ed453588aa22..2387e32170d3a 100644 --- a/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts +++ b/clients/client-chime/commands/UpdateVoiceConnectorCommand.ts @@ -28,7 +28,6 @@ export class UpdateVoiceConnectorCommand extends $Command< UpdateVoiceConnectorCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVoiceConnectorCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts b/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts index 11c6c978c8fbe..f2df770b13471 100644 --- a/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts +++ b/clients/client-chime/commands/UpdateVoiceConnectorGroupCommand.ts @@ -29,7 +29,6 @@ export class UpdateVoiceConnectorGroupCommand extends $Command< UpdateVoiceConnectorGroupCommandOutput, ChimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateVoiceConnectorGroupCommand extends $Command< configuration: ChimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts b/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts index 1f858020e0e57..cdf9a5388b09b 100644 --- a/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts +++ b/clients/client-cloud9/commands/CreateEnvironmentEC2Command.ts @@ -28,7 +28,6 @@ export class CreateEnvironmentEC2Command extends $Command< CreateEnvironmentEC2CommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateEnvironmentEC2Command extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts b/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts index 64b981b3a7c00..e08a284d6ee8e 100644 --- a/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts +++ b/clients/client-cloud9/commands/CreateEnvironmentMembershipCommand.ts @@ -28,7 +28,6 @@ export class CreateEnvironmentMembershipCommand extends $Command< CreateEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateEnvironmentMembershipCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts b/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts index 81dfd152cafa9..5d14412fc6dad 100644 --- a/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts +++ b/clients/client-cloud9/commands/DeleteEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class DeleteEnvironmentCommand extends $Command< DeleteEnvironmentCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEnvironmentCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts b/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts index 34cbb2b498b08..483bf97335591 100644 --- a/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts +++ b/clients/client-cloud9/commands/DeleteEnvironmentMembershipCommand.ts @@ -28,7 +28,6 @@ export class DeleteEnvironmentMembershipCommand extends $Command< DeleteEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEnvironmentMembershipCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts b/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts index 444b97536dc5a..740b1e485df4d 100644 --- a/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts +++ b/clients/client-cloud9/commands/DescribeEnvironmentMembershipsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEnvironmentMembershipsCommand extends $Command< DescribeEnvironmentMembershipsCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEnvironmentMembershipsCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts b/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts index 025668c48f75e..b4533d03ea48c 100644 --- a/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts +++ b/clients/client-cloud9/commands/DescribeEnvironmentStatusCommand.ts @@ -28,7 +28,6 @@ export class DescribeEnvironmentStatusCommand extends $Command< DescribeEnvironmentStatusCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEnvironmentStatusCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts b/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts index 53f3f08bcbe19..16623032e29de 100644 --- a/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts +++ b/clients/client-cloud9/commands/DescribeEnvironmentsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEnvironmentsCommand extends $Command< DescribeEnvironmentsCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEnvironmentsCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/ListEnvironmentsCommand.ts b/clients/client-cloud9/commands/ListEnvironmentsCommand.ts index a65d3ae68e4f2..10d37516679a3 100644 --- a/clients/client-cloud9/commands/ListEnvironmentsCommand.ts +++ b/clients/client-cloud9/commands/ListEnvironmentsCommand.ts @@ -28,7 +28,6 @@ export class ListEnvironmentsCommand extends $Command< ListEnvironmentsCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEnvironmentsCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/ListTagsForResourceCommand.ts b/clients/client-cloud9/commands/ListTagsForResourceCommand.ts index 730945d374c89..f8b42d8512d95 100644 --- a/clients/client-cloud9/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloud9/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/TagResourceCommand.ts b/clients/client-cloud9/commands/TagResourceCommand.ts index 30085996a853f..5209276f52014 100644 --- a/clients/client-cloud9/commands/TagResourceCommand.ts +++ b/clients/client-cloud9/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/UntagResourceCommand.ts b/clients/client-cloud9/commands/UntagResourceCommand.ts index e98a47880408f..e7e31857f8531 100644 --- a/clients/client-cloud9/commands/UntagResourceCommand.ts +++ b/clients/client-cloud9/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts b/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts index fe56315b24d8d..2915208637f63 100644 --- a/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-cloud9/commands/UpdateEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class UpdateEnvironmentCommand extends $Command< UpdateEnvironmentCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEnvironmentCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts b/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts index 7b959278ee87d..910467b160fc7 100644 --- a/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts +++ b/clients/client-cloud9/commands/UpdateEnvironmentMembershipCommand.ts @@ -28,7 +28,6 @@ export class UpdateEnvironmentMembershipCommand extends $Command< UpdateEnvironmentMembershipCommandOutput, Cloud9ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEnvironmentMembershipCommand extends $Command< configuration: Cloud9ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts b/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts index 7cd695d57d760..d3572c538d4ce 100644 --- a/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts +++ b/clients/client-clouddirectory/commands/AddFacetToObjectCommand.ts @@ -28,7 +28,6 @@ export class AddFacetToObjectCommand extends $Command< AddFacetToObjectCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddFacetToObjectCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ApplySchemaCommand.ts b/clients/client-clouddirectory/commands/ApplySchemaCommand.ts index d742d562f385a..e80c56b5c671e 100644 --- a/clients/client-clouddirectory/commands/ApplySchemaCommand.ts +++ b/clients/client-clouddirectory/commands/ApplySchemaCommand.ts @@ -29,7 +29,6 @@ export class ApplySchemaCommand extends $Command< ApplySchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ApplySchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/AttachObjectCommand.ts b/clients/client-clouddirectory/commands/AttachObjectCommand.ts index d4a019d6fd425..402067a65ef40 100644 --- a/clients/client-clouddirectory/commands/AttachObjectCommand.ts +++ b/clients/client-clouddirectory/commands/AttachObjectCommand.ts @@ -38,7 +38,6 @@ export class AttachObjectCommand extends $Command< AttachObjectCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AttachObjectCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/AttachPolicyCommand.ts b/clients/client-clouddirectory/commands/AttachPolicyCommand.ts index f2d9b6e5f2f2f..ae42a66f6db1b 100644 --- a/clients/client-clouddirectory/commands/AttachPolicyCommand.ts +++ b/clients/client-clouddirectory/commands/AttachPolicyCommand.ts @@ -29,7 +29,6 @@ export class AttachPolicyCommand extends $Command< AttachPolicyCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AttachPolicyCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/AttachToIndexCommand.ts b/clients/client-clouddirectory/commands/AttachToIndexCommand.ts index 6c64676dbe5f3..9ceaaadf5044d 100644 --- a/clients/client-clouddirectory/commands/AttachToIndexCommand.ts +++ b/clients/client-clouddirectory/commands/AttachToIndexCommand.ts @@ -28,7 +28,6 @@ export class AttachToIndexCommand extends $Command< AttachToIndexCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AttachToIndexCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts b/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts index 53173ab661746..9bc9008b10556 100644 --- a/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts +++ b/clients/client-clouddirectory/commands/AttachTypedLinkCommand.ts @@ -28,7 +28,6 @@ export class AttachTypedLinkCommand extends $Command< AttachTypedLinkCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AttachTypedLinkCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/BatchReadCommand.ts b/clients/client-clouddirectory/commands/BatchReadCommand.ts index f73ad5652bca4..93f1887f72977 100644 --- a/clients/client-clouddirectory/commands/BatchReadCommand.ts +++ b/clients/client-clouddirectory/commands/BatchReadCommand.ts @@ -28,7 +28,6 @@ export class BatchReadCommand extends $Command< BatchReadCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchReadCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/BatchWriteCommand.ts b/clients/client-clouddirectory/commands/BatchWriteCommand.ts index 2f115f3899470..413cc730bef1f 100644 --- a/clients/client-clouddirectory/commands/BatchWriteCommand.ts +++ b/clients/client-clouddirectory/commands/BatchWriteCommand.ts @@ -29,7 +29,6 @@ export class BatchWriteCommand extends $Command< BatchWriteCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BatchWriteCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts b/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts index fcb40c654b09d..8f1d72fd4a66c 100644 --- a/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/CreateDirectoryCommand.ts @@ -31,7 +31,6 @@ export class CreateDirectoryCommand extends $Command< CreateDirectoryCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDirectoryCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/CreateFacetCommand.ts b/clients/client-clouddirectory/commands/CreateFacetCommand.ts index b880994a5b396..3f159e628d3d5 100644 --- a/clients/client-clouddirectory/commands/CreateFacetCommand.ts +++ b/clients/client-clouddirectory/commands/CreateFacetCommand.ts @@ -29,7 +29,6 @@ export class CreateFacetCommand extends $Command< CreateFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/CreateIndexCommand.ts b/clients/client-clouddirectory/commands/CreateIndexCommand.ts index 1dac7e065ff20..e48f6bc313a67 100644 --- a/clients/client-clouddirectory/commands/CreateIndexCommand.ts +++ b/clients/client-clouddirectory/commands/CreateIndexCommand.ts @@ -28,7 +28,6 @@ export class CreateIndexCommand extends $Command< CreateIndexCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateIndexCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/CreateObjectCommand.ts b/clients/client-clouddirectory/commands/CreateObjectCommand.ts index 8ff6ebbca177e..201287f7f1bee 100644 --- a/clients/client-clouddirectory/commands/CreateObjectCommand.ts +++ b/clients/client-clouddirectory/commands/CreateObjectCommand.ts @@ -31,7 +31,6 @@ export class CreateObjectCommand extends $Command< CreateObjectCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateObjectCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/CreateSchemaCommand.ts b/clients/client-clouddirectory/commands/CreateSchemaCommand.ts index dabf9800da1b2..513b7d5850975 100644 --- a/clients/client-clouddirectory/commands/CreateSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/CreateSchemaCommand.ts @@ -48,7 +48,6 @@ export class CreateSchemaCommand extends $Command< CreateSchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateSchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts b/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts index 2f867ad3b802e..279c4c9cdd180 100644 --- a/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts +++ b/clients/client-clouddirectory/commands/CreateTypedLinkFacetCommand.ts @@ -28,7 +28,6 @@ export class CreateTypedLinkFacetCommand extends $Command< CreateTypedLinkFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTypedLinkFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts b/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts index 225a1797a8def..49bd174933038 100644 --- a/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteDirectoryCommand.ts @@ -30,7 +30,6 @@ export class DeleteDirectoryCommand extends $Command< DeleteDirectoryCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDirectoryCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DeleteFacetCommand.ts b/clients/client-clouddirectory/commands/DeleteFacetCommand.ts index 732649dcfff3b..0dbeac3e9e48c 100644 --- a/clients/client-clouddirectory/commands/DeleteFacetCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteFacetCommand.ts @@ -30,7 +30,6 @@ export class DeleteFacetCommand extends $Command< DeleteFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DeleteObjectCommand.ts b/clients/client-clouddirectory/commands/DeleteObjectCommand.ts index 449f60d0d7c80..613d25fd3fd36 100644 --- a/clients/client-clouddirectory/commands/DeleteObjectCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteObjectCommand.ts @@ -29,7 +29,6 @@ export class DeleteObjectCommand extends $Command< DeleteObjectCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteObjectCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts b/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts index d2a1710682b96..7b5307974894c 100644 --- a/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteSchemaCommand.ts @@ -28,7 +28,6 @@ export class DeleteSchemaCommand extends $Command< DeleteSchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts b/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts index 38a5d98ccf50c..f70515312bf66 100644 --- a/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts +++ b/clients/client-clouddirectory/commands/DeleteTypedLinkFacetCommand.ts @@ -28,7 +28,6 @@ export class DeleteTypedLinkFacetCommand extends $Command< DeleteTypedLinkFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTypedLinkFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts b/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts index 36edd4196953d..6cf1364f705cb 100644 --- a/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts +++ b/clients/client-clouddirectory/commands/DetachFromIndexCommand.ts @@ -28,7 +28,6 @@ export class DetachFromIndexCommand extends $Command< DetachFromIndexCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachFromIndexCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DetachObjectCommand.ts b/clients/client-clouddirectory/commands/DetachObjectCommand.ts index 3a8e53e426863..eadbf9749cc11 100644 --- a/clients/client-clouddirectory/commands/DetachObjectCommand.ts +++ b/clients/client-clouddirectory/commands/DetachObjectCommand.ts @@ -29,7 +29,6 @@ export class DetachObjectCommand extends $Command< DetachObjectCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DetachObjectCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DetachPolicyCommand.ts b/clients/client-clouddirectory/commands/DetachPolicyCommand.ts index c3ce7c45bf2b2..6209a12e37c7b 100644 --- a/clients/client-clouddirectory/commands/DetachPolicyCommand.ts +++ b/clients/client-clouddirectory/commands/DetachPolicyCommand.ts @@ -28,7 +28,6 @@ export class DetachPolicyCommand extends $Command< DetachPolicyCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachPolicyCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts b/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts index 738c0328f63ad..7ef8c739994f9 100644 --- a/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts +++ b/clients/client-clouddirectory/commands/DetachTypedLinkCommand.ts @@ -28,7 +28,6 @@ export class DetachTypedLinkCommand extends $Command< DetachTypedLinkCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachTypedLinkCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts b/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts index 5aca9093d528a..614e6d8bfea24 100644 --- a/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/DisableDirectoryCommand.ts @@ -29,7 +29,6 @@ export class DisableDirectoryCommand extends $Command< DisableDirectoryCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableDirectoryCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts b/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts index b94cf3576a066..a5f545ba64792 100644 --- a/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/EnableDirectoryCommand.ts @@ -29,7 +29,6 @@ export class EnableDirectoryCommand extends $Command< EnableDirectoryCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableDirectoryCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts b/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts index dc0bc2b29a38d..b3270fbb49e4d 100644 --- a/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts +++ b/clients/client-clouddirectory/commands/GetAppliedSchemaVersionCommand.ts @@ -28,7 +28,6 @@ export class GetAppliedSchemaVersionCommand extends $Command< GetAppliedSchemaVersionCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAppliedSchemaVersionCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetDirectoryCommand.ts b/clients/client-clouddirectory/commands/GetDirectoryCommand.ts index 90b819843d6cd..bf15f9f90caa4 100644 --- a/clients/client-clouddirectory/commands/GetDirectoryCommand.ts +++ b/clients/client-clouddirectory/commands/GetDirectoryCommand.ts @@ -28,7 +28,6 @@ export class GetDirectoryCommand extends $Command< GetDirectoryCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDirectoryCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetFacetCommand.ts b/clients/client-clouddirectory/commands/GetFacetCommand.ts index 8a46a599bd24b..b45a6a94fae77 100644 --- a/clients/client-clouddirectory/commands/GetFacetCommand.ts +++ b/clients/client-clouddirectory/commands/GetFacetCommand.ts @@ -29,7 +29,6 @@ export class GetFacetCommand extends $Command< GetFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts b/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts index 0cbe2df3133ec..12cabd7623059 100644 --- a/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/GetLinkAttributesCommand.ts @@ -28,7 +28,6 @@ export class GetLinkAttributesCommand extends $Command< GetLinkAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLinkAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts b/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts index 96e63130dabd3..bc6c2e3182ccd 100644 --- a/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/GetObjectAttributesCommand.ts @@ -28,7 +28,6 @@ export class GetObjectAttributesCommand extends $Command< GetObjectAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetObjectAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts b/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts index ceb99e3339ff0..20965423215f0 100644 --- a/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts +++ b/clients/client-clouddirectory/commands/GetObjectInformationCommand.ts @@ -28,7 +28,6 @@ export class GetObjectInformationCommand extends $Command< GetObjectInformationCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetObjectInformationCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts b/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts index 3bd901063116b..b4c44f7ce01e7 100644 --- a/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts +++ b/clients/client-clouddirectory/commands/GetSchemaAsJsonCommand.ts @@ -28,7 +28,6 @@ export class GetSchemaAsJsonCommand extends $Command< GetSchemaAsJsonCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSchemaAsJsonCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts b/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts index 13da82dd73b93..ce37d34684f0d 100644 --- a/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts +++ b/clients/client-clouddirectory/commands/GetTypedLinkFacetInformationCommand.ts @@ -28,7 +28,6 @@ export class GetTypedLinkFacetInformationCommand extends $Command< GetTypedLinkFacetInformationCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTypedLinkFacetInformationCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts index 12370ac9302a3..ceff9a8ebbd4e 100644 --- a/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListAppliedSchemaArnsCommand.ts @@ -28,7 +28,6 @@ export class ListAppliedSchemaArnsCommand extends $Command< ListAppliedSchemaArnsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAppliedSchemaArnsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts b/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts index 02bdc7860488d..f4feab55e6d91 100644 --- a/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts +++ b/clients/client-clouddirectory/commands/ListAttachedIndicesCommand.ts @@ -28,7 +28,6 @@ export class ListAttachedIndicesCommand extends $Command< ListAttachedIndicesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAttachedIndicesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts index 94f94693a687a..0bcfb8974d99b 100644 --- a/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListDevelopmentSchemaArnsCommand.ts @@ -29,7 +29,6 @@ export class ListDevelopmentSchemaArnsCommand extends $Command< ListDevelopmentSchemaArnsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDevelopmentSchemaArnsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts b/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts index 913e65bc9d362..d148578c0393b 100644 --- a/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts +++ b/clients/client-clouddirectory/commands/ListDirectoriesCommand.ts @@ -28,7 +28,6 @@ export class ListDirectoriesCommand extends $Command< ListDirectoriesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDirectoriesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts b/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts index ec522c0b00bd3..4e8ae5ada16b5 100644 --- a/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/ListFacetAttributesCommand.ts @@ -28,7 +28,6 @@ export class ListFacetAttributesCommand extends $Command< ListFacetAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFacetAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts b/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts index c758f95d5e7dd..675c075e3bc6f 100644 --- a/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts +++ b/clients/client-clouddirectory/commands/ListFacetNamesCommand.ts @@ -28,7 +28,6 @@ export class ListFacetNamesCommand extends $Command< ListFacetNamesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFacetNamesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts b/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts index 2e7ebaf2ec16a..39581f46d65f5 100644 --- a/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts +++ b/clients/client-clouddirectory/commands/ListIncomingTypedLinksCommand.ts @@ -30,7 +30,6 @@ export class ListIncomingTypedLinksCommand extends $Command< ListIncomingTypedLinksCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListIncomingTypedLinksCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListIndexCommand.ts b/clients/client-clouddirectory/commands/ListIndexCommand.ts index 8836efa244dfe..5eca11f70dd22 100644 --- a/clients/client-clouddirectory/commands/ListIndexCommand.ts +++ b/clients/client-clouddirectory/commands/ListIndexCommand.ts @@ -28,7 +28,6 @@ export class ListIndexCommand extends $Command< ListIndexCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIndexCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts index 24c5d740c1439..e38c0e66e2341 100644 --- a/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListManagedSchemaArnsCommand.ts @@ -28,7 +28,6 @@ export class ListManagedSchemaArnsCommand extends $Command< ListManagedSchemaArnsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListManagedSchemaArnsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts b/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts index 5475a48f4508c..369e1fc517039 100644 --- a/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectAttributesCommand.ts @@ -29,7 +29,6 @@ export class ListObjectAttributesCommand extends $Command< ListObjectAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListObjectAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts b/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts index 1f5458384453e..2fcdab6ab16b8 100644 --- a/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectChildrenCommand.ts @@ -29,7 +29,6 @@ export class ListObjectChildrenCommand extends $Command< ListObjectChildrenCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListObjectChildrenCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts b/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts index a25d3aa77b041..6a4ea353c59bf 100644 --- a/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectParentPathsCommand.ts @@ -35,7 +35,6 @@ export class ListObjectParentPathsCommand extends $Command< ListObjectParentPathsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListObjectParentPathsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts b/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts index 759ce12c6e54f..62c97760b6cb0 100644 --- a/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectParentsCommand.ts @@ -29,7 +29,6 @@ export class ListObjectParentsCommand extends $Command< ListObjectParentsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListObjectParentsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts b/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts index 1020cdc8e5e52..0e7d62c09406d 100644 --- a/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts +++ b/clients/client-clouddirectory/commands/ListObjectPoliciesCommand.ts @@ -28,7 +28,6 @@ export class ListObjectPoliciesCommand extends $Command< ListObjectPoliciesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListObjectPoliciesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts b/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts index c06190913c4fb..fd2eb998fe312 100644 --- a/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts +++ b/clients/client-clouddirectory/commands/ListOutgoingTypedLinksCommand.ts @@ -30,7 +30,6 @@ export class ListOutgoingTypedLinksCommand extends $Command< ListOutgoingTypedLinksCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListOutgoingTypedLinksCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts b/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts index 364b3b076f1c3..daef28c7dfcf0 100644 --- a/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts +++ b/clients/client-clouddirectory/commands/ListPolicyAttachmentsCommand.ts @@ -28,7 +28,6 @@ export class ListPolicyAttachmentsCommand extends $Command< ListPolicyAttachmentsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPolicyAttachmentsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts b/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts index a720d89e07927..7b7b651652ef5 100644 --- a/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts +++ b/clients/client-clouddirectory/commands/ListPublishedSchemaArnsCommand.ts @@ -28,7 +28,6 @@ export class ListPublishedSchemaArnsCommand extends $Command< ListPublishedSchemaArnsCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPublishedSchemaArnsCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts b/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts index 04e29608240db..bd0ea140c7432 100644 --- a/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts +++ b/clients/client-clouddirectory/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts b/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts index 9e33281ffb5d9..9548911b79696 100644 --- a/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/ListTypedLinkFacetAttributesCommand.ts @@ -28,7 +28,6 @@ export class ListTypedLinkFacetAttributesCommand extends $Command< ListTypedLinkFacetAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTypedLinkFacetAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts b/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts index 6c127c642fd4a..919ff8bbdb1de 100644 --- a/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts +++ b/clients/client-clouddirectory/commands/ListTypedLinkFacetNamesCommand.ts @@ -29,7 +29,6 @@ export class ListTypedLinkFacetNamesCommand extends $Command< ListTypedLinkFacetNamesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTypedLinkFacetNamesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/LookupPolicyCommand.ts b/clients/client-clouddirectory/commands/LookupPolicyCommand.ts index 2eff764f5a675..1fbcf15aa1ba4 100644 --- a/clients/client-clouddirectory/commands/LookupPolicyCommand.ts +++ b/clients/client-clouddirectory/commands/LookupPolicyCommand.ts @@ -33,7 +33,6 @@ export class LookupPolicyCommand extends $Command< LookupPolicyCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class LookupPolicyCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/PublishSchemaCommand.ts b/clients/client-clouddirectory/commands/PublishSchemaCommand.ts index 32c441c780696..ab339ea2cbdbc 100644 --- a/clients/client-clouddirectory/commands/PublishSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/PublishSchemaCommand.ts @@ -28,7 +28,6 @@ export class PublishSchemaCommand extends $Command< PublishSchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PublishSchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts b/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts index 5a17d6d17f7db..13feb593d107b 100644 --- a/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts +++ b/clients/client-clouddirectory/commands/PutSchemaFromJsonCommand.ts @@ -28,7 +28,6 @@ export class PutSchemaFromJsonCommand extends $Command< PutSchemaFromJsonCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutSchemaFromJsonCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts b/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts index 52f56383c4b5b..57e374f937d17 100644 --- a/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts +++ b/clients/client-clouddirectory/commands/RemoveFacetFromObjectCommand.ts @@ -28,7 +28,6 @@ export class RemoveFacetFromObjectCommand extends $Command< RemoveFacetFromObjectCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveFacetFromObjectCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/TagResourceCommand.ts b/clients/client-clouddirectory/commands/TagResourceCommand.ts index 3068debf19ec6..97ff1cdb94225 100644 --- a/clients/client-clouddirectory/commands/TagResourceCommand.ts +++ b/clients/client-clouddirectory/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UntagResourceCommand.ts b/clients/client-clouddirectory/commands/UntagResourceCommand.ts index 9a53facfec7e8..1e5ba1afcd824 100644 --- a/clients/client-clouddirectory/commands/UntagResourceCommand.ts +++ b/clients/client-clouddirectory/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpdateFacetCommand.ts b/clients/client-clouddirectory/commands/UpdateFacetCommand.ts index 4844de28b8896..d6bc6ffb4a3b5 100644 --- a/clients/client-clouddirectory/commands/UpdateFacetCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateFacetCommand.ts @@ -39,7 +39,6 @@ export class UpdateFacetCommand extends $Command< UpdateFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class UpdateFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts b/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts index f100abe80b59d..f02d9ca9ebcf4 100644 --- a/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateLinkAttributesCommand.ts @@ -28,7 +28,6 @@ export class UpdateLinkAttributesCommand extends $Command< UpdateLinkAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateLinkAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts b/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts index 45234f8be0a87..e2708f3adb72e 100644 --- a/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateObjectAttributesCommand.ts @@ -28,7 +28,6 @@ export class UpdateObjectAttributesCommand extends $Command< UpdateObjectAttributesCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateObjectAttributesCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts b/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts index 31582a1db8263..4f1ded2abc94a 100644 --- a/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateSchemaCommand.ts @@ -29,7 +29,6 @@ export class UpdateSchemaCommand extends $Command< UpdateSchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateSchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts b/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts index 30e65043bb731..5154684603d8f 100644 --- a/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts +++ b/clients/client-clouddirectory/commands/UpdateTypedLinkFacetCommand.ts @@ -28,7 +28,6 @@ export class UpdateTypedLinkFacetCommand extends $Command< UpdateTypedLinkFacetCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTypedLinkFacetCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts b/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts index 5b4c043a54218..f4ce2b03387e5 100644 --- a/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/UpgradeAppliedSchemaCommand.ts @@ -28,7 +28,6 @@ export class UpgradeAppliedSchemaCommand extends $Command< UpgradeAppliedSchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpgradeAppliedSchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts b/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts index 247b99706fc95..56d08e337d419 100644 --- a/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts +++ b/clients/client-clouddirectory/commands/UpgradePublishedSchemaCommand.ts @@ -28,7 +28,6 @@ export class UpgradePublishedSchemaCommand extends $Command< UpgradePublishedSchemaCommandOutput, CloudDirectoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpgradePublishedSchemaCommand extends $Command< configuration: CloudDirectoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts b/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts index dd310915fe85d..ee1b2ff1d39fd 100644 --- a/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts +++ b/clients/client-cloudformation/commands/CancelUpdateStackCommand.ts @@ -32,7 +32,6 @@ export class CancelUpdateStackCommand extends $Command< CancelUpdateStackCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CancelUpdateStackCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts b/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts index 6ef011dff51a5..bf91fcfa765b0 100644 --- a/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts +++ b/clients/client-cloudformation/commands/ContinueUpdateRollbackCommand.ts @@ -38,7 +38,6 @@ export class ContinueUpdateRollbackCommand extends $Command< ContinueUpdateRollbackCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ContinueUpdateRollbackCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/CreateChangeSetCommand.ts b/clients/client-cloudformation/commands/CreateChangeSetCommand.ts index 33ad1d34e785d..da3ab45f710f2 100644 --- a/clients/client-cloudformation/commands/CreateChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/CreateChangeSetCommand.ts @@ -48,7 +48,6 @@ export class CreateChangeSetCommand extends $Command< CreateChangeSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateChangeSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/CreateStackCommand.ts b/clients/client-cloudformation/commands/CreateStackCommand.ts index 4d9537a3e637d..cacdc73528458 100644 --- a/clients/client-cloudformation/commands/CreateStackCommand.ts +++ b/clients/client-cloudformation/commands/CreateStackCommand.ts @@ -26,7 +26,6 @@ export class CreateStackCommand extends $Command< CreateStackCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class CreateStackCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts b/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts index e2a9258a330bc..9faced1b13205 100644 --- a/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/CreateStackInstancesCommand.ts @@ -29,7 +29,6 @@ export class CreateStackInstancesCommand extends $Command< CreateStackInstancesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateStackInstancesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/CreateStackSetCommand.ts b/clients/client-cloudformation/commands/CreateStackSetCommand.ts index 054bde8c7993f..20caa0e0f6acf 100644 --- a/clients/client-cloudformation/commands/CreateStackSetCommand.ts +++ b/clients/client-cloudformation/commands/CreateStackSetCommand.ts @@ -28,7 +28,6 @@ export class CreateStackSetCommand extends $Command< CreateStackSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateStackSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts b/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts index bfaac76a2a25e..07be4a068e365 100644 --- a/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/DeleteChangeSetCommand.ts @@ -34,7 +34,6 @@ export class DeleteChangeSetCommand extends $Command< DeleteChangeSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteChangeSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DeleteStackCommand.ts b/clients/client-cloudformation/commands/DeleteStackCommand.ts index efd13059a6a31..192fb3f556f8b 100644 --- a/clients/client-cloudformation/commands/DeleteStackCommand.ts +++ b/clients/client-cloudformation/commands/DeleteStackCommand.ts @@ -27,7 +27,6 @@ export class DeleteStackCommand extends $Command< DeleteStackCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class DeleteStackCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts b/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts index 13daa3571c08e..2d50c81fff25c 100644 --- a/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/DeleteStackInstancesCommand.ts @@ -28,7 +28,6 @@ export class DeleteStackInstancesCommand extends $Command< DeleteStackInstancesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteStackInstancesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DeleteStackSetCommand.ts b/clients/client-cloudformation/commands/DeleteStackSetCommand.ts index acd24946e6aff..9382df1056f81 100644 --- a/clients/client-cloudformation/commands/DeleteStackSetCommand.ts +++ b/clients/client-cloudformation/commands/DeleteStackSetCommand.ts @@ -29,7 +29,6 @@ export class DeleteStackSetCommand extends $Command< DeleteStackSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteStackSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DeregisterTypeCommand.ts b/clients/client-cloudformation/commands/DeregisterTypeCommand.ts index 0755a041beaaf..1a90f4505b698 100644 --- a/clients/client-cloudformation/commands/DeregisterTypeCommand.ts +++ b/clients/client-cloudformation/commands/DeregisterTypeCommand.ts @@ -30,7 +30,6 @@ export class DeregisterTypeCommand extends $Command< DeregisterTypeCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeregisterTypeCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts b/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts index 784fc078979fb..73239e6578874 100644 --- a/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-cloudformation/commands/DescribeAccountLimitsCommand.ts @@ -31,7 +31,6 @@ export class DescribeAccountLimitsCommand extends $Command< DescribeAccountLimitsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeAccountLimitsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts b/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts index bca7e65c72b0e..699be51e8ea04 100644 --- a/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/DescribeChangeSetCommand.ts @@ -30,7 +30,6 @@ export class DescribeChangeSetCommand extends $Command< DescribeChangeSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeChangeSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts b/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts index 9a5109a3d9454..c6334d2f7258f 100644 --- a/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackDriftDetectionStatusCommand.ts @@ -40,7 +40,6 @@ export class DescribeStackDriftDetectionStatusCommand extends $Command< DescribeStackDriftDetectionStatusCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeStackDriftDetectionStatusCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts b/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts index ab138a333136e..64954399ba8d3 100644 --- a/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackEventsCommand.ts @@ -33,7 +33,6 @@ export class DescribeStackEventsCommand extends $Command< DescribeStackEventsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeStackEventsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts b/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts index 3bd0c7dbf8635..cd9172818e5cb 100644 --- a/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackInstanceCommand.ts @@ -31,7 +31,6 @@ export class DescribeStackInstanceCommand extends $Command< DescribeStackInstanceCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeStackInstanceCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts b/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts index 166a54014b358..dffd264dac03c 100644 --- a/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackResourceCommand.ts @@ -30,7 +30,6 @@ export class DescribeStackResourceCommand extends $Command< DescribeStackResourceCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeStackResourceCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts b/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts index 6ad255eddc182..f80a443755cd8 100644 --- a/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackResourceDriftsCommand.ts @@ -38,7 +38,6 @@ export class DescribeStackResourceDriftsCommand extends $Command< DescribeStackResourceDriftsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeStackResourceDriftsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts b/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts index b0a4309716f65..93fcb924a56fa 100644 --- a/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackResourcesCommand.ts @@ -47,7 +47,6 @@ export class DescribeStackResourcesCommand extends $Command< DescribeStackResourcesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeStackResourcesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackSetCommand.ts b/clients/client-cloudformation/commands/DescribeStackSetCommand.ts index 72ede89851f3e..f45ff02a74922 100644 --- a/clients/client-cloudformation/commands/DescribeStackSetCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackSetCommand.ts @@ -28,7 +28,6 @@ export class DescribeStackSetCommand extends $Command< DescribeStackSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStackSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts b/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts index 853a8c5a4cb92..538df776fc8db 100644 --- a/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStackSetOperationCommand.ts @@ -28,7 +28,6 @@ export class DescribeStackSetOperationCommand extends $Command< DescribeStackSetOperationCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStackSetOperationCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeStacksCommand.ts b/clients/client-cloudformation/commands/DescribeStacksCommand.ts index 9db747725f1b0..907c3a6e6cec7 100644 --- a/clients/client-cloudformation/commands/DescribeStacksCommand.ts +++ b/clients/client-cloudformation/commands/DescribeStacksCommand.ts @@ -33,7 +33,6 @@ export class DescribeStacksCommand extends $Command< DescribeStacksCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeStacksCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeTypeCommand.ts b/clients/client-cloudformation/commands/DescribeTypeCommand.ts index 7a2d9be126a6d..d025bf5c0bbae 100644 --- a/clients/client-cloudformation/commands/DescribeTypeCommand.ts +++ b/clients/client-cloudformation/commands/DescribeTypeCommand.ts @@ -26,7 +26,6 @@ export class DescribeTypeCommand extends $Command< DescribeTypeCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DescribeTypeCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts b/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts index e743fcbca24df..2b91305a7dfdf 100644 --- a/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts +++ b/clients/client-cloudformation/commands/DescribeTypeRegistrationCommand.ts @@ -36,7 +36,6 @@ export class DescribeTypeRegistrationCommand extends $Command< DescribeTypeRegistrationCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeTypeRegistrationCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DetectStackDriftCommand.ts b/clients/client-cloudformation/commands/DetectStackDriftCommand.ts index 7b5059cafdb78..46972197ab957 100644 --- a/clients/client-cloudformation/commands/DetectStackDriftCommand.ts +++ b/clients/client-cloudformation/commands/DetectStackDriftCommand.ts @@ -48,7 +48,6 @@ export class DetectStackDriftCommand extends $Command< DetectStackDriftCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DetectStackDriftCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts b/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts index a6f28940777ac..caa3d452a120d 100644 --- a/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts +++ b/clients/client-cloudformation/commands/DetectStackResourceDriftCommand.ts @@ -39,7 +39,6 @@ export class DetectStackResourceDriftCommand extends $Command< DetectStackResourceDriftCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DetectStackResourceDriftCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts b/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts index 5284ded017f4c..4a940488a89e0 100644 --- a/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts +++ b/clients/client-cloudformation/commands/DetectStackSetDriftCommand.ts @@ -72,7 +72,6 @@ export class DetectStackSetDriftCommand extends $Command< DetectStackSetDriftCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,10 +89,7 @@ export class DetectStackSetDriftCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts b/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts index eadbbe2724a66..b541191fb4192 100644 --- a/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts +++ b/clients/client-cloudformation/commands/EstimateTemplateCostCommand.ts @@ -30,7 +30,6 @@ export class EstimateTemplateCostCommand extends $Command< EstimateTemplateCostCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class EstimateTemplateCostCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts b/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts index 8874a1a5a1a81..ae7fce2718af2 100644 --- a/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts +++ b/clients/client-cloudformation/commands/ExecuteChangeSetCommand.ts @@ -38,7 +38,6 @@ export class ExecuteChangeSetCommand extends $Command< ExecuteChangeSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ExecuteChangeSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/GetStackPolicyCommand.ts b/clients/client-cloudformation/commands/GetStackPolicyCommand.ts index d680d9fb80d39..b0a791205891b 100644 --- a/clients/client-cloudformation/commands/GetStackPolicyCommand.ts +++ b/clients/client-cloudformation/commands/GetStackPolicyCommand.ts @@ -29,7 +29,6 @@ export class GetStackPolicyCommand extends $Command< GetStackPolicyCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetStackPolicyCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/GetTemplateCommand.ts b/clients/client-cloudformation/commands/GetTemplateCommand.ts index 5433b5ff292b5..bc75252f8c74f 100644 --- a/clients/client-cloudformation/commands/GetTemplateCommand.ts +++ b/clients/client-cloudformation/commands/GetTemplateCommand.ts @@ -32,7 +32,6 @@ export class GetTemplateCommand extends $Command< GetTemplateCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetTemplateCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts b/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts index ed669017a4da0..2131cc062df86 100644 --- a/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts +++ b/clients/client-cloudformation/commands/GetTemplateSummaryCommand.ts @@ -36,7 +36,6 @@ export class GetTemplateSummaryCommand extends $Command< GetTemplateSummaryCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetTemplateSummaryCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListChangeSetsCommand.ts b/clients/client-cloudformation/commands/ListChangeSetsCommand.ts index 6473e48476073..1e7179543568e 100644 --- a/clients/client-cloudformation/commands/ListChangeSetsCommand.ts +++ b/clients/client-cloudformation/commands/ListChangeSetsCommand.ts @@ -30,7 +30,6 @@ export class ListChangeSetsCommand extends $Command< ListChangeSetsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListChangeSetsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListExportsCommand.ts b/clients/client-cloudformation/commands/ListExportsCommand.ts index 2829352305a17..5d59245d68c82 100644 --- a/clients/client-cloudformation/commands/ListExportsCommand.ts +++ b/clients/client-cloudformation/commands/ListExportsCommand.ts @@ -31,7 +31,6 @@ export class ListExportsCommand extends $Command< ListExportsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListExportsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListImportsCommand.ts b/clients/client-cloudformation/commands/ListImportsCommand.ts index aafac7b03cbae..21b2879f5af46 100644 --- a/clients/client-cloudformation/commands/ListImportsCommand.ts +++ b/clients/client-cloudformation/commands/ListImportsCommand.ts @@ -30,7 +30,6 @@ export class ListImportsCommand extends $Command< ListImportsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListImportsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListStackInstancesCommand.ts b/clients/client-cloudformation/commands/ListStackInstancesCommand.ts index 9e18acac7894b..59b7d2415af8f 100644 --- a/clients/client-cloudformation/commands/ListStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/ListStackInstancesCommand.ts @@ -30,7 +30,6 @@ export class ListStackInstancesCommand extends $Command< ListStackInstancesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListStackInstancesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListStackResourcesCommand.ts b/clients/client-cloudformation/commands/ListStackResourcesCommand.ts index 77c66f5c45d1c..6d046a9f8f190 100644 --- a/clients/client-cloudformation/commands/ListStackResourcesCommand.ts +++ b/clients/client-cloudformation/commands/ListStackResourcesCommand.ts @@ -30,7 +30,6 @@ export class ListStackResourcesCommand extends $Command< ListStackResourcesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListStackResourcesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts b/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts index bac3dcaa0c572..4139763cd100e 100644 --- a/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts +++ b/clients/client-cloudformation/commands/ListStackSetOperationResultsCommand.ts @@ -28,7 +28,6 @@ export class ListStackSetOperationResultsCommand extends $Command< ListStackSetOperationResultsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListStackSetOperationResultsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts b/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts index 7007cf735b0d6..ee419bcb7f0e2 100644 --- a/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts +++ b/clients/client-cloudformation/commands/ListStackSetOperationsCommand.ts @@ -28,7 +28,6 @@ export class ListStackSetOperationsCommand extends $Command< ListStackSetOperationsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListStackSetOperationsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListStackSetsCommand.ts b/clients/client-cloudformation/commands/ListStackSetsCommand.ts index 8b204c723bc0e..c4f4fc5e62792 100644 --- a/clients/client-cloudformation/commands/ListStackSetsCommand.ts +++ b/clients/client-cloudformation/commands/ListStackSetsCommand.ts @@ -29,7 +29,6 @@ export class ListStackSetsCommand extends $Command< ListStackSetsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListStackSetsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListStacksCommand.ts b/clients/client-cloudformation/commands/ListStacksCommand.ts index 9b7c601ab0eec..4684b49857a76 100644 --- a/clients/client-cloudformation/commands/ListStacksCommand.ts +++ b/clients/client-cloudformation/commands/ListStacksCommand.ts @@ -29,7 +29,6 @@ export class ListStacksCommand extends $Command< ListStacksCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListStacksCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts b/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts index 0a070ea53f062..43e058c0c740e 100644 --- a/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts +++ b/clients/client-cloudformation/commands/ListTypeRegistrationsCommand.ts @@ -28,7 +28,6 @@ export class ListTypeRegistrationsCommand extends $Command< ListTypeRegistrationsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTypeRegistrationsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts b/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts index 767e37fec652b..28c2e25c1756c 100644 --- a/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts +++ b/clients/client-cloudformation/commands/ListTypeVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListTypeVersionsCommand extends $Command< ListTypeVersionsCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTypeVersionsCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ListTypesCommand.ts b/clients/client-cloudformation/commands/ListTypesCommand.ts index 8c656e0808ee9..98a78a4d20c2d 100644 --- a/clients/client-cloudformation/commands/ListTypesCommand.ts +++ b/clients/client-cloudformation/commands/ListTypesCommand.ts @@ -25,7 +25,6 @@ export class ListTypesCommand extends $Command< ListTypesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTypesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts b/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts index 9a3f3263ad6bc..bc99ba679fe45 100644 --- a/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts +++ b/clients/client-cloudformation/commands/RecordHandlerProgressCommand.ts @@ -29,7 +29,6 @@ export class RecordHandlerProgressCommand extends $Command< RecordHandlerProgressCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RecordHandlerProgressCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/RegisterTypeCommand.ts b/clients/client-cloudformation/commands/RegisterTypeCommand.ts index 222db726ed3fa..04be5455fe0b2 100644 --- a/clients/client-cloudformation/commands/RegisterTypeCommand.ts +++ b/clients/client-cloudformation/commands/RegisterTypeCommand.ts @@ -43,7 +43,6 @@ export class RegisterTypeCommand extends $Command< RegisterTypeCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class RegisterTypeCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/SetStackPolicyCommand.ts b/clients/client-cloudformation/commands/SetStackPolicyCommand.ts index 0f8aef7c39660..9256caff609fb 100644 --- a/clients/client-cloudformation/commands/SetStackPolicyCommand.ts +++ b/clients/client-cloudformation/commands/SetStackPolicyCommand.ts @@ -28,7 +28,6 @@ export class SetStackPolicyCommand extends $Command< SetStackPolicyCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SetStackPolicyCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts b/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts index 178f3b345db58..58e3c7fac39e9 100644 --- a/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts +++ b/clients/client-cloudformation/commands/SetTypeDefaultVersionCommand.ts @@ -28,7 +28,6 @@ export class SetTypeDefaultVersionCommand extends $Command< SetTypeDefaultVersionCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SetTypeDefaultVersionCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/SignalResourceCommand.ts b/clients/client-cloudformation/commands/SignalResourceCommand.ts index f5c8fa5bd814b..dfc522f259100 100644 --- a/clients/client-cloudformation/commands/SignalResourceCommand.ts +++ b/clients/client-cloudformation/commands/SignalResourceCommand.ts @@ -33,7 +33,6 @@ export class SignalResourceCommand extends $Command< SignalResourceCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SignalResourceCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts b/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts index 670bcceb9f57d..63d9bf6c9a26e 100644 --- a/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts +++ b/clients/client-cloudformation/commands/StopStackSetOperationCommand.ts @@ -28,7 +28,6 @@ export class StopStackSetOperationCommand extends $Command< StopStackSetOperationCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopStackSetOperationCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/UpdateStackCommand.ts b/clients/client-cloudformation/commands/UpdateStackCommand.ts index 2a4db08747ade..37c45f76f9eb8 100644 --- a/clients/client-cloudformation/commands/UpdateStackCommand.ts +++ b/clients/client-cloudformation/commands/UpdateStackCommand.ts @@ -30,7 +30,6 @@ export class UpdateStackCommand extends $Command< UpdateStackCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateStackCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts b/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts index cf8ddc0f123ab..6cdd6ef0f9c41 100644 --- a/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts +++ b/clients/client-cloudformation/commands/UpdateStackInstancesCommand.ts @@ -40,7 +40,6 @@ export class UpdateStackInstancesCommand extends $Command< UpdateStackInstancesCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateStackInstancesCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/UpdateStackSetCommand.ts b/clients/client-cloudformation/commands/UpdateStackSetCommand.ts index 23bc35cd6e87f..f274eae91779e 100644 --- a/clients/client-cloudformation/commands/UpdateStackSetCommand.ts +++ b/clients/client-cloudformation/commands/UpdateStackSetCommand.ts @@ -33,7 +33,6 @@ export class UpdateStackSetCommand extends $Command< UpdateStackSetCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateStackSetCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts b/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts index 4dfc246e84155..ab66d17b42112 100644 --- a/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts +++ b/clients/client-cloudformation/commands/UpdateTerminationProtectionCommand.ts @@ -34,7 +34,6 @@ export class UpdateTerminationProtectionCommand extends $Command< UpdateTerminationProtectionCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateTerminationProtectionCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudformation/commands/ValidateTemplateCommand.ts b/clients/client-cloudformation/commands/ValidateTemplateCommand.ts index 1a8c8cca40827..0152bbd07111c 100644 --- a/clients/client-cloudformation/commands/ValidateTemplateCommand.ts +++ b/clients/client-cloudformation/commands/ValidateTemplateCommand.ts @@ -30,7 +30,6 @@ export class ValidateTemplateCommand extends $Command< ValidateTemplateCommandOutput, CloudFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ValidateTemplateCommand extends $Command< configuration: CloudFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateCachePolicyCommand.ts b/clients/client-cloudfront/commands/CreateCachePolicyCommand.ts index b0b1bf6497d0f..611d69f30cdbc 100644 --- a/clients/client-cloudfront/commands/CreateCachePolicyCommand.ts +++ b/clients/client-cloudfront/commands/CreateCachePolicyCommand.ts @@ -48,7 +48,6 @@ export class CreateCachePolicyCommand extends $Command< CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateCachePolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts index b644e18fb480a..c72aba9b351e4 100644 --- a/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/CreateCloudFrontOriginAccessIdentityCommand.ts @@ -35,7 +35,6 @@ export class CreateCloudFrontOriginAccessIdentityCommand extends $Command< CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateCloudFrontOriginAccessIdentityCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateDistributionCommand.ts b/clients/client-cloudfront/commands/CreateDistributionCommand.ts index b693ecc05a076..9534bbc93fe31 100644 --- a/clients/client-cloudfront/commands/CreateDistributionCommand.ts +++ b/clients/client-cloudfront/commands/CreateDistributionCommand.ts @@ -40,7 +40,6 @@ export class CreateDistributionCommand extends $Command< CreateDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts b/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts index 59064bafbe085..a42f667205538 100644 --- a/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts +++ b/clients/client-cloudfront/commands/CreateDistributionWithTagsCommand.ts @@ -28,7 +28,6 @@ export class CreateDistributionWithTagsCommand extends $Command< CreateDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDistributionWithTagsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts index c4369cd971524..a1291ab7db336 100644 --- a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionConfigCommand.ts @@ -28,7 +28,6 @@ export class CreateFieldLevelEncryptionConfigCommand extends $Command< CreateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFieldLevelEncryptionConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts index a21f376ae0208..c242dcc2c2e8e 100644 --- a/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/CreateFieldLevelEncryptionProfileCommand.ts @@ -28,7 +28,6 @@ export class CreateFieldLevelEncryptionProfileCommand extends $Command< CreateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFieldLevelEncryptionProfileCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateInvalidationCommand.ts b/clients/client-cloudfront/commands/CreateInvalidationCommand.ts index db9a73da3b43d..af46a3d64696d 100644 --- a/clients/client-cloudfront/commands/CreateInvalidationCommand.ts +++ b/clients/client-cloudfront/commands/CreateInvalidationCommand.ts @@ -28,7 +28,6 @@ export class CreateInvalidationCommand extends $Command< CreateInvalidationCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateInvalidationCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateKeyGroupCommand.ts b/clients/client-cloudfront/commands/CreateKeyGroupCommand.ts index f9b7348edb75d..d771f6d72e173 100644 --- a/clients/client-cloudfront/commands/CreateKeyGroupCommand.ts +++ b/clients/client-cloudfront/commands/CreateKeyGroupCommand.ts @@ -35,7 +35,6 @@ export class CreateKeyGroupCommand extends $Command< CreateKeyGroupCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateKeyGroupCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateMonitoringSubscriptionCommand.ts b/clients/client-cloudfront/commands/CreateMonitoringSubscriptionCommand.ts index 3c0f893fc6377..00fcaa256fba0 100644 --- a/clients/client-cloudfront/commands/CreateMonitoringSubscriptionCommand.ts +++ b/clients/client-cloudfront/commands/CreateMonitoringSubscriptionCommand.ts @@ -31,7 +31,6 @@ export class CreateMonitoringSubscriptionCommand extends $Command< CreateMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateMonitoringSubscriptionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateOriginRequestPolicyCommand.ts b/clients/client-cloudfront/commands/CreateOriginRequestPolicyCommand.ts index 3bfb637d3dafa..7f6c429727b72 100644 --- a/clients/client-cloudfront/commands/CreateOriginRequestPolicyCommand.ts +++ b/clients/client-cloudfront/commands/CreateOriginRequestPolicyCommand.ts @@ -52,7 +52,6 @@ export class CreateOriginRequestPolicyCommand extends $Command< CreateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class CreateOriginRequestPolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts b/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts index 56f8f1dd4b3b0..5570984098399 100644 --- a/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/CreatePublicKeyCommand.ts @@ -28,7 +28,6 @@ export class CreatePublicKeyCommand extends $Command< CreatePublicKeyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePublicKeyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateRealtimeLogConfigCommand.ts b/clients/client-cloudfront/commands/CreateRealtimeLogConfigCommand.ts index 9adbea7e4158a..2d8fd1dc6c632 100644 --- a/clients/client-cloudfront/commands/CreateRealtimeLogConfigCommand.ts +++ b/clients/client-cloudfront/commands/CreateRealtimeLogConfigCommand.ts @@ -31,7 +31,6 @@ export class CreateRealtimeLogConfigCommand extends $Command< CreateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateRealtimeLogConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts index 5e9a5dbb91737..7307f2a2402eb 100644 --- a/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/CreateStreamingDistributionCommand.ts @@ -52,7 +52,6 @@ export class CreateStreamingDistributionCommand extends $Command< CreateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class CreateStreamingDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts b/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts index 47ef4186cb765..8448fcd7e5f1e 100644 --- a/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts +++ b/clients/client-cloudfront/commands/CreateStreamingDistributionWithTagsCommand.ts @@ -32,7 +32,6 @@ export class CreateStreamingDistributionWithTagsCommand extends $Command< CreateStreamingDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateStreamingDistributionWithTagsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteCachePolicyCommand.ts b/clients/client-cloudfront/commands/DeleteCachePolicyCommand.ts index 59047ff49252c..6cf8a14e1a753 100644 --- a/clients/client-cloudfront/commands/DeleteCachePolicyCommand.ts +++ b/clients/client-cloudfront/commands/DeleteCachePolicyCommand.ts @@ -34,7 +34,6 @@ export class DeleteCachePolicyCommand extends $Command< DeleteCachePolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteCachePolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts index 1d52c8d6db484..01ceac4c1a14d 100644 --- a/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts @@ -28,7 +28,6 @@ export class DeleteCloudFrontOriginAccessIdentityCommand extends $Command< DeleteCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCloudFrontOriginAccessIdentityCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteDistributionCommand.ts b/clients/client-cloudfront/commands/DeleteDistributionCommand.ts index c890771e52953..ff44733cd9ea8 100644 --- a/clients/client-cloudfront/commands/DeleteDistributionCommand.ts +++ b/clients/client-cloudfront/commands/DeleteDistributionCommand.ts @@ -28,7 +28,6 @@ export class DeleteDistributionCommand extends $Command< DeleteDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts index 97be7edb2b099..597f9798e0593 100644 --- a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteFieldLevelEncryptionConfigCommand extends $Command< DeleteFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFieldLevelEncryptionConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts index 4859992f2696e..fde2ebd6c2703 100644 --- a/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/DeleteFieldLevelEncryptionProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteFieldLevelEncryptionProfileCommand extends $Command< DeleteFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFieldLevelEncryptionProfileCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteKeyGroupCommand.ts b/clients/client-cloudfront/commands/DeleteKeyGroupCommand.ts index b31d9a8a988a8..dc41210b941e7 100644 --- a/clients/client-cloudfront/commands/DeleteKeyGroupCommand.ts +++ b/clients/client-cloudfront/commands/DeleteKeyGroupCommand.ts @@ -34,7 +34,6 @@ export class DeleteKeyGroupCommand extends $Command< DeleteKeyGroupCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteKeyGroupCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteMonitoringSubscriptionCommand.ts b/clients/client-cloudfront/commands/DeleteMonitoringSubscriptionCommand.ts index 7f459b4fe30ef..8048fe6d3e862 100644 --- a/clients/client-cloudfront/commands/DeleteMonitoringSubscriptionCommand.ts +++ b/clients/client-cloudfront/commands/DeleteMonitoringSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteMonitoringSubscriptionCommand extends $Command< DeleteMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMonitoringSubscriptionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteOriginRequestPolicyCommand.ts b/clients/client-cloudfront/commands/DeleteOriginRequestPolicyCommand.ts index 5c1e90122e094..1e53ec6c848d8 100644 --- a/clients/client-cloudfront/commands/DeleteOriginRequestPolicyCommand.ts +++ b/clients/client-cloudfront/commands/DeleteOriginRequestPolicyCommand.ts @@ -34,7 +34,6 @@ export class DeleteOriginRequestPolicyCommand extends $Command< DeleteOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteOriginRequestPolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts b/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts index 03c133f4749db..1cc1eadfed5df 100644 --- a/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/DeletePublicKeyCommand.ts @@ -28,7 +28,6 @@ export class DeletePublicKeyCommand extends $Command< DeletePublicKeyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePublicKeyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteRealtimeLogConfigCommand.ts b/clients/client-cloudfront/commands/DeleteRealtimeLogConfigCommand.ts index 14fa58ef0a3dc..805907363f7bf 100644 --- a/clients/client-cloudfront/commands/DeleteRealtimeLogConfigCommand.ts +++ b/clients/client-cloudfront/commands/DeleteRealtimeLogConfigCommand.ts @@ -34,7 +34,6 @@ export class DeleteRealtimeLogConfigCommand extends $Command< DeleteRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteRealtimeLogConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts index 798d69bad8d0c..127993627b863 100644 --- a/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/DeleteStreamingDistributionCommand.ts @@ -75,7 +75,6 @@ export class DeleteStreamingDistributionCommand extends $Command< DeleteStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class DeleteStreamingDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetCachePolicyCommand.ts b/clients/client-cloudfront/commands/GetCachePolicyCommand.ts index 116195f613a84..1c39f7e92fbc9 100644 --- a/clients/client-cloudfront/commands/GetCachePolicyCommand.ts +++ b/clients/client-cloudfront/commands/GetCachePolicyCommand.ts @@ -41,7 +41,6 @@ export class GetCachePolicyCommand extends $Command< GetCachePolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetCachePolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetCachePolicyConfigCommand.ts b/clients/client-cloudfront/commands/GetCachePolicyConfigCommand.ts index adcb018681271..d97a74d735e29 100644 --- a/clients/client-cloudfront/commands/GetCachePolicyConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetCachePolicyConfigCommand.ts @@ -33,7 +33,6 @@ export class GetCachePolicyConfigCommand extends $Command< GetCachePolicyConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetCachePolicyConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts index 8869d7da9fc3a..41974753f4e7c 100644 --- a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityCommand.ts @@ -28,7 +28,6 @@ export class GetCloudFrontOriginAccessIdentityCommand extends $Command< GetCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCloudFrontOriginAccessIdentityCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts index 3b2edb3835440..0fa7ddc8f9cb0 100644 --- a/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts @@ -32,7 +32,6 @@ export class GetCloudFrontOriginAccessIdentityConfigCommand extends $Command< GetCloudFrontOriginAccessIdentityConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetCloudFrontOriginAccessIdentityConfigCommand extends $Command< GetCloudFrontOriginAccessIdentityConfigCommandInput, GetCloudFrontOriginAccessIdentityConfigCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetDistributionCommand.ts b/clients/client-cloudfront/commands/GetDistributionCommand.ts index 9d8b6ec477843..24e44e85e3e8c 100644 --- a/clients/client-cloudfront/commands/GetDistributionCommand.ts +++ b/clients/client-cloudfront/commands/GetDistributionCommand.ts @@ -28,7 +28,6 @@ export class GetDistributionCommand extends $Command< GetDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts b/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts index ddfc9ad58c1e4..b9e40542f7043 100644 --- a/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetDistributionConfigCommand.ts @@ -28,7 +28,6 @@ export class GetDistributionConfigCommand extends $Command< GetDistributionConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDistributionConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts index d7791f75aec6e..dae12ddbf27fa 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionCommand.ts @@ -28,7 +28,6 @@ export class GetFieldLevelEncryptionCommand extends $Command< GetFieldLevelEncryptionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFieldLevelEncryptionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts index 3c16879acf80a..ab08ef78ccac5 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionConfigCommand.ts @@ -28,7 +28,6 @@ export class GetFieldLevelEncryptionConfigCommand extends $Command< GetFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFieldLevelEncryptionConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts index 33b65f38ec158..95b2df7bd7275 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileCommand.ts @@ -28,7 +28,6 @@ export class GetFieldLevelEncryptionProfileCommand extends $Command< GetFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFieldLevelEncryptionProfileCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts index 807a558c1dbbf..1dd5e59caa70b 100644 --- a/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetFieldLevelEncryptionProfileConfigCommand.ts @@ -32,7 +32,6 @@ export class GetFieldLevelEncryptionProfileConfigCommand extends $Command< GetFieldLevelEncryptionProfileConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetFieldLevelEncryptionProfileConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetInvalidationCommand.ts b/clients/client-cloudfront/commands/GetInvalidationCommand.ts index 182632a258a3f..129052fb74c35 100644 --- a/clients/client-cloudfront/commands/GetInvalidationCommand.ts +++ b/clients/client-cloudfront/commands/GetInvalidationCommand.ts @@ -28,7 +28,6 @@ export class GetInvalidationCommand extends $Command< GetInvalidationCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInvalidationCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetKeyGroupCommand.ts b/clients/client-cloudfront/commands/GetKeyGroupCommand.ts index bffdd6e17de40..5879ecc41dfe7 100644 --- a/clients/client-cloudfront/commands/GetKeyGroupCommand.ts +++ b/clients/client-cloudfront/commands/GetKeyGroupCommand.ts @@ -33,7 +33,6 @@ export class GetKeyGroupCommand extends $Command< GetKeyGroupCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetKeyGroupCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetKeyGroupConfigCommand.ts b/clients/client-cloudfront/commands/GetKeyGroupConfigCommand.ts index c286a38e0d9cf..508d040524af5 100644 --- a/clients/client-cloudfront/commands/GetKeyGroupConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetKeyGroupConfigCommand.ts @@ -33,7 +33,6 @@ export class GetKeyGroupConfigCommand extends $Command< GetKeyGroupConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetKeyGroupConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetMonitoringSubscriptionCommand.ts b/clients/client-cloudfront/commands/GetMonitoringSubscriptionCommand.ts index 10bab13126bd2..4ec1e419858cd 100644 --- a/clients/client-cloudfront/commands/GetMonitoringSubscriptionCommand.ts +++ b/clients/client-cloudfront/commands/GetMonitoringSubscriptionCommand.ts @@ -29,7 +29,6 @@ export class GetMonitoringSubscriptionCommand extends $Command< GetMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetMonitoringSubscriptionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetOriginRequestPolicyCommand.ts b/clients/client-cloudfront/commands/GetOriginRequestPolicyCommand.ts index 94087fff788bd..de351bd5eba8e 100644 --- a/clients/client-cloudfront/commands/GetOriginRequestPolicyCommand.ts +++ b/clients/client-cloudfront/commands/GetOriginRequestPolicyCommand.ts @@ -41,7 +41,6 @@ export class GetOriginRequestPolicyCommand extends $Command< GetOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetOriginRequestPolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetOriginRequestPolicyConfigCommand.ts b/clients/client-cloudfront/commands/GetOriginRequestPolicyConfigCommand.ts index ef7a84d3182fc..339dde19964f9 100644 --- a/clients/client-cloudfront/commands/GetOriginRequestPolicyConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetOriginRequestPolicyConfigCommand.ts @@ -34,7 +34,6 @@ export class GetOriginRequestPolicyConfigCommand extends $Command< GetOriginRequestPolicyConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetOriginRequestPolicyConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetPublicKeyCommand.ts b/clients/client-cloudfront/commands/GetPublicKeyCommand.ts index 1b44ce61b19e8..933d3a7a168d9 100644 --- a/clients/client-cloudfront/commands/GetPublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/GetPublicKeyCommand.ts @@ -28,7 +28,6 @@ export class GetPublicKeyCommand extends $Command< GetPublicKeyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPublicKeyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts b/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts index d5ad148d35cdf..1969894c093c1 100644 --- a/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetPublicKeyConfigCommand.ts @@ -28,7 +28,6 @@ export class GetPublicKeyConfigCommand extends $Command< GetPublicKeyConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPublicKeyConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetRealtimeLogConfigCommand.ts b/clients/client-cloudfront/commands/GetRealtimeLogConfigCommand.ts index c4893f1e7cfb9..6f06b1d40b95b 100644 --- a/clients/client-cloudfront/commands/GetRealtimeLogConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetRealtimeLogConfigCommand.ts @@ -32,7 +32,6 @@ export class GetRealtimeLogConfigCommand extends $Command< GetRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetRealtimeLogConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts index a82955ffc67b2..26db18583148e 100644 --- a/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/GetStreamingDistributionCommand.ts @@ -28,7 +28,6 @@ export class GetStreamingDistributionCommand extends $Command< GetStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStreamingDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts b/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts index b2764acf84b72..2b918ceafb08d 100644 --- a/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts +++ b/clients/client-cloudfront/commands/GetStreamingDistributionConfigCommand.ts @@ -28,7 +28,6 @@ export class GetStreamingDistributionConfigCommand extends $Command< GetStreamingDistributionConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStreamingDistributionConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListCachePoliciesCommand.ts b/clients/client-cloudfront/commands/ListCachePoliciesCommand.ts index cb79903d670bd..f930e4a4ae359 100644 --- a/clients/client-cloudfront/commands/ListCachePoliciesCommand.ts +++ b/clients/client-cloudfront/commands/ListCachePoliciesCommand.ts @@ -35,7 +35,6 @@ export class ListCachePoliciesCommand extends $Command< ListCachePoliciesCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListCachePoliciesCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts b/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts index f7de66c497619..b5ccbcbdd9912 100644 --- a/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts +++ b/clients/client-cloudfront/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts @@ -32,7 +32,6 @@ export class ListCloudFrontOriginAccessIdentitiesCommand extends $Command< ListCloudFrontOriginAccessIdentitiesCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListCloudFrontOriginAccessIdentitiesCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListDistributionsByCachePolicyIdCommand.ts b/clients/client-cloudfront/commands/ListDistributionsByCachePolicyIdCommand.ts index 3f7ffe0bc2764..666435f6d8ca2 100644 --- a/clients/client-cloudfront/commands/ListDistributionsByCachePolicyIdCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsByCachePolicyIdCommand.ts @@ -34,7 +34,6 @@ export class ListDistributionsByCachePolicyIdCommand extends $Command< ListDistributionsByCachePolicyIdCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListDistributionsByCachePolicyIdCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListDistributionsByKeyGroupCommand.ts b/clients/client-cloudfront/commands/ListDistributionsByKeyGroupCommand.ts index c8dbca483b272..c1296ad80aad3 100644 --- a/clients/client-cloudfront/commands/ListDistributionsByKeyGroupCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsByKeyGroupCommand.ts @@ -34,7 +34,6 @@ export class ListDistributionsByKeyGroupCommand extends $Command< ListDistributionsByKeyGroupCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListDistributionsByKeyGroupCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts b/clients/client-cloudfront/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts index eb9132b0cd682..499348bce9296 100644 --- a/clients/client-cloudfront/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts @@ -38,7 +38,6 @@ export class ListDistributionsByOriginRequestPolicyIdCommand extends $Command< ListDistributionsByOriginRequestPolicyIdCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ListDistributionsByOriginRequestPolicyIdCommand extends $Command< ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListDistributionsByRealtimeLogConfigCommand.ts b/clients/client-cloudfront/commands/ListDistributionsByRealtimeLogConfigCommand.ts index 1051091b72353..5240453c585a1 100644 --- a/clients/client-cloudfront/commands/ListDistributionsByRealtimeLogConfigCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsByRealtimeLogConfigCommand.ts @@ -41,7 +41,6 @@ export class ListDistributionsByRealtimeLogConfigCommand extends $Command< ListDistributionsByRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ListDistributionsByRealtimeLogConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts b/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts index 036ce7946020d..11b6b84488830 100644 --- a/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsByWebACLIdCommand.ts @@ -28,7 +28,6 @@ export class ListDistributionsByWebACLIdCommand extends $Command< ListDistributionsByWebACLIdCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDistributionsByWebACLIdCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListDistributionsCommand.ts b/clients/client-cloudfront/commands/ListDistributionsCommand.ts index bb5694371cb25..9dfd64f2ee280 100644 --- a/clients/client-cloudfront/commands/ListDistributionsCommand.ts +++ b/clients/client-cloudfront/commands/ListDistributionsCommand.ts @@ -28,7 +28,6 @@ export class ListDistributionsCommand extends $Command< ListDistributionsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDistributionsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts b/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts index 595b86b4015b1..93efd6006fe1f 100644 --- a/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts +++ b/clients/client-cloudfront/commands/ListFieldLevelEncryptionConfigsCommand.ts @@ -28,7 +28,6 @@ export class ListFieldLevelEncryptionConfigsCommand extends $Command< ListFieldLevelEncryptionConfigsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFieldLevelEncryptionConfigsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts b/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts index ac3ee3e9405da..d1d622016ff37 100644 --- a/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts +++ b/clients/client-cloudfront/commands/ListFieldLevelEncryptionProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListFieldLevelEncryptionProfilesCommand extends $Command< ListFieldLevelEncryptionProfilesCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFieldLevelEncryptionProfilesCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListInvalidationsCommand.ts b/clients/client-cloudfront/commands/ListInvalidationsCommand.ts index e890488bab881..b364014a2421c 100644 --- a/clients/client-cloudfront/commands/ListInvalidationsCommand.ts +++ b/clients/client-cloudfront/commands/ListInvalidationsCommand.ts @@ -28,7 +28,6 @@ export class ListInvalidationsCommand extends $Command< ListInvalidationsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInvalidationsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListKeyGroupsCommand.ts b/clients/client-cloudfront/commands/ListKeyGroupsCommand.ts index 31b582436658b..12f8a43703a50 100644 --- a/clients/client-cloudfront/commands/ListKeyGroupsCommand.ts +++ b/clients/client-cloudfront/commands/ListKeyGroupsCommand.ts @@ -33,7 +33,6 @@ export class ListKeyGroupsCommand extends $Command< ListKeyGroupsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListKeyGroupsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListOriginRequestPoliciesCommand.ts b/clients/client-cloudfront/commands/ListOriginRequestPoliciesCommand.ts index b1383103cb730..24e055143a27b 100644 --- a/clients/client-cloudfront/commands/ListOriginRequestPoliciesCommand.ts +++ b/clients/client-cloudfront/commands/ListOriginRequestPoliciesCommand.ts @@ -35,7 +35,6 @@ export class ListOriginRequestPoliciesCommand extends $Command< ListOriginRequestPoliciesCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListOriginRequestPoliciesCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListPublicKeysCommand.ts b/clients/client-cloudfront/commands/ListPublicKeysCommand.ts index 26e8130830627..68f6a6a7c1619 100644 --- a/clients/client-cloudfront/commands/ListPublicKeysCommand.ts +++ b/clients/client-cloudfront/commands/ListPublicKeysCommand.ts @@ -28,7 +28,6 @@ export class ListPublicKeysCommand extends $Command< ListPublicKeysCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPublicKeysCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListRealtimeLogConfigsCommand.ts b/clients/client-cloudfront/commands/ListRealtimeLogConfigsCommand.ts index 812fee9c4d670..4a9877249548a 100644 --- a/clients/client-cloudfront/commands/ListRealtimeLogConfigsCommand.ts +++ b/clients/client-cloudfront/commands/ListRealtimeLogConfigsCommand.ts @@ -33,7 +33,6 @@ export class ListRealtimeLogConfigsCommand extends $Command< ListRealtimeLogConfigsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListRealtimeLogConfigsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts b/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts index 682f9b6f99521..52f7317a60a0a 100644 --- a/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts +++ b/clients/client-cloudfront/commands/ListStreamingDistributionsCommand.ts @@ -28,7 +28,6 @@ export class ListStreamingDistributionsCommand extends $Command< ListStreamingDistributionsCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListStreamingDistributionsCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts b/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts index 3159e77d8f5a0..af65570684196 100644 --- a/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudfront/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/TagResourceCommand.ts b/clients/client-cloudfront/commands/TagResourceCommand.ts index eb01c651aef08..5e7d55e16cf08 100644 --- a/clients/client-cloudfront/commands/TagResourceCommand.ts +++ b/clients/client-cloudfront/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UntagResourceCommand.ts b/clients/client-cloudfront/commands/UntagResourceCommand.ts index 58f413a6232bc..645a81bc2ed27 100644 --- a/clients/client-cloudfront/commands/UntagResourceCommand.ts +++ b/clients/client-cloudfront/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateCachePolicyCommand.ts b/clients/client-cloudfront/commands/UpdateCachePolicyCommand.ts index 5c4c42c8dc20a..b5ec534273621 100644 --- a/clients/client-cloudfront/commands/UpdateCachePolicyCommand.ts +++ b/clients/client-cloudfront/commands/UpdateCachePolicyCommand.ts @@ -45,7 +45,6 @@ export class UpdateCachePolicyCommand extends $Command< UpdateCachePolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class UpdateCachePolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts b/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts index 3bf8d43037827..e9300beed974f 100644 --- a/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts +++ b/clients/client-cloudfront/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts @@ -32,7 +32,6 @@ export class UpdateCloudFrontOriginAccessIdentityCommand extends $Command< UpdateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateCloudFrontOriginAccessIdentityCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateDistributionCommand.ts b/clients/client-cloudfront/commands/UpdateDistributionCommand.ts index 684b5acb78a21..a7e51608cb764 100644 --- a/clients/client-cloudfront/commands/UpdateDistributionCommand.ts +++ b/clients/client-cloudfront/commands/UpdateDistributionCommand.ts @@ -106,7 +106,6 @@ export class UpdateDistributionCommand extends $Command< UpdateDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -124,10 +123,7 @@ export class UpdateDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts index 3f90605550c8b..50dbdf98c14d9 100644 --- a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts +++ b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionConfigCommand.ts @@ -28,7 +28,6 @@ export class UpdateFieldLevelEncryptionConfigCommand extends $Command< UpdateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFieldLevelEncryptionConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts index 2e32dbbf70c3b..f1f64fb843b90 100644 --- a/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts +++ b/clients/client-cloudfront/commands/UpdateFieldLevelEncryptionProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateFieldLevelEncryptionProfileCommand extends $Command< UpdateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFieldLevelEncryptionProfileCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateKeyGroupCommand.ts b/clients/client-cloudfront/commands/UpdateKeyGroupCommand.ts index 3988850ec211a..edb1388848fc6 100644 --- a/clients/client-cloudfront/commands/UpdateKeyGroupCommand.ts +++ b/clients/client-cloudfront/commands/UpdateKeyGroupCommand.ts @@ -45,7 +45,6 @@ export class UpdateKeyGroupCommand extends $Command< UpdateKeyGroupCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class UpdateKeyGroupCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateOriginRequestPolicyCommand.ts b/clients/client-cloudfront/commands/UpdateOriginRequestPolicyCommand.ts index 0a1937026a38b..466c59e6a75be 100644 --- a/clients/client-cloudfront/commands/UpdateOriginRequestPolicyCommand.ts +++ b/clients/client-cloudfront/commands/UpdateOriginRequestPolicyCommand.ts @@ -45,7 +45,6 @@ export class UpdateOriginRequestPolicyCommand extends $Command< UpdateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class UpdateOriginRequestPolicyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts b/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts index 0aa95bcc2ae73..996d255507699 100644 --- a/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts +++ b/clients/client-cloudfront/commands/UpdatePublicKeyCommand.ts @@ -28,7 +28,6 @@ export class UpdatePublicKeyCommand extends $Command< UpdatePublicKeyCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePublicKeyCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateRealtimeLogConfigCommand.ts b/clients/client-cloudfront/commands/UpdateRealtimeLogConfigCommand.ts index 70c61cb3e2b9b..a5e0b01bd6fcc 100644 --- a/clients/client-cloudfront/commands/UpdateRealtimeLogConfigCommand.ts +++ b/clients/client-cloudfront/commands/UpdateRealtimeLogConfigCommand.ts @@ -48,7 +48,6 @@ export class UpdateRealtimeLogConfigCommand extends $Command< UpdateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class UpdateRealtimeLogConfigCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts b/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts index 3d9bd3cc02965..e5281698af17c 100644 --- a/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts +++ b/clients/client-cloudfront/commands/UpdateStreamingDistributionCommand.ts @@ -28,7 +28,6 @@ export class UpdateStreamingDistributionCommand extends $Command< UpdateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateStreamingDistributionCommand extends $Command< configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts b/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts index 1f1d87ac9a1c2..baefd0a4e1afb 100644 --- a/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts +++ b/clients/client-cloudhsm-v2/commands/CopyBackupToRegionCommand.ts @@ -28,7 +28,6 @@ export class CopyBackupToRegionCommand extends $Command< CopyBackupToRegionCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CopyBackupToRegionCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts b/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts index a9d32b3dede78..3c699009594dc 100644 --- a/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/CreateClusterCommand.ts @@ -28,7 +28,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateClusterCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts b/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts index 989d1cd0113fe..5919ecd221cc8 100644 --- a/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts +++ b/clients/client-cloudhsm-v2/commands/CreateHsmCommand.ts @@ -26,7 +26,6 @@ export class CreateHsmCommand extends $Command< CreateHsmCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class CreateHsmCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts b/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts index 70ebb51c3c39f..813b25a27abad 100644 --- a/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DeleteBackupCommand.ts @@ -30,7 +30,6 @@ export class DeleteBackupCommand extends $Command< DeleteBackupCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteBackupCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts b/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts index ff855a5b37361..e11bad2bcebcf 100644 --- a/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DeleteClusterCommand.ts @@ -29,7 +29,6 @@ export class DeleteClusterCommand extends $Command< DeleteClusterCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteClusterCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts b/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts index 30f5a07d4a3a5..1d8f0c455bf8c 100644 --- a/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DeleteHsmCommand.ts @@ -27,7 +27,6 @@ export class DeleteHsmCommand extends $Command< DeleteHsmCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class DeleteHsmCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts b/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts index 1188ebfd90b51..2f6424b054bbd 100644 --- a/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DescribeBackupsCommand.ts @@ -33,7 +33,6 @@ export class DescribeBackupsCommand extends $Command< DescribeBackupsCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeBackupsCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts b/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts index 3946a25cb6263..c5663bb763db2 100644 --- a/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts +++ b/clients/client-cloudhsm-v2/commands/DescribeClustersCommand.ts @@ -33,7 +33,6 @@ export class DescribeClustersCommand extends $Command< DescribeClustersCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeClustersCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts b/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts index ebd2aebfbf3d1..ef05d66e6d744 100644 --- a/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/InitializeClusterCommand.ts @@ -31,7 +31,6 @@ export class InitializeClusterCommand extends $Command< InitializeClusterCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class InitializeClusterCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts b/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts index 958faf5031d9e..7dbd06d192ea1 100644 --- a/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts +++ b/clients/client-cloudhsm-v2/commands/ListTagsCommand.ts @@ -30,7 +30,6 @@ export class ListTagsCommand extends $Command< ListTagsCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/ModifyBackupAttributesCommand.ts b/clients/client-cloudhsm-v2/commands/ModifyBackupAttributesCommand.ts index 141fc0f764634..51c208e4134ab 100644 --- a/clients/client-cloudhsm-v2/commands/ModifyBackupAttributesCommand.ts +++ b/clients/client-cloudhsm-v2/commands/ModifyBackupAttributesCommand.ts @@ -28,7 +28,6 @@ export class ModifyBackupAttributesCommand extends $Command< ModifyBackupAttributesCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyBackupAttributesCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/ModifyClusterCommand.ts b/clients/client-cloudhsm-v2/commands/ModifyClusterCommand.ts index 5a1d60305026a..7a9edcbd3f4d2 100644 --- a/clients/client-cloudhsm-v2/commands/ModifyClusterCommand.ts +++ b/clients/client-cloudhsm-v2/commands/ModifyClusterCommand.ts @@ -28,7 +28,6 @@ export class ModifyClusterCommand extends $Command< ModifyClusterCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyClusterCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts b/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts index d8920133f9dc2..15cfe7ca6c541 100644 --- a/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts +++ b/clients/client-cloudhsm-v2/commands/RestoreBackupCommand.ts @@ -30,7 +30,6 @@ export class RestoreBackupCommand extends $Command< RestoreBackupCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RestoreBackupCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts b/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts index 7561363390176..b949b6648e086 100644 --- a/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts +++ b/clients/client-cloudhsm-v2/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts b/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts index fcfeb8f7e8811..2c4ad772bf356 100644 --- a/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts +++ b/clients/client-cloudhsm-v2/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CloudHSMV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CloudHSMV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts b/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts index 6238fcc7af8ed..e5e3c8a50feba 100644 --- a/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts +++ b/clients/client-cloudhsm/commands/AddTagsToResourceCommand.ts @@ -40,7 +40,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/CreateHapgCommand.ts b/clients/client-cloudhsm/commands/CreateHapgCommand.ts index 1cacd3476e510..19d5fb1067d00 100644 --- a/clients/client-cloudhsm/commands/CreateHapgCommand.ts +++ b/clients/client-cloudhsm/commands/CreateHapgCommand.ts @@ -39,7 +39,6 @@ export class CreateHapgCommand extends $Command< CreateHapgCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateHapgCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/CreateHsmCommand.ts b/clients/client-cloudhsm/commands/CreateHsmCommand.ts index 7f76686496400..b1e54118fdaab 100644 --- a/clients/client-cloudhsm/commands/CreateHsmCommand.ts +++ b/clients/client-cloudhsm/commands/CreateHsmCommand.ts @@ -44,7 +44,6 @@ export class CreateHsmCommand extends $Command< CreateHsmCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateHsmCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts b/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts index bd4c07772c7d6..1f7af5674602b 100644 --- a/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/CreateLunaClientCommand.ts @@ -38,7 +38,6 @@ export class CreateLunaClientCommand extends $Command< CreateLunaClientCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateLunaClientCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/DeleteHapgCommand.ts b/clients/client-cloudhsm/commands/DeleteHapgCommand.ts index 3fc7a62202007..326bf6a749601 100644 --- a/clients/client-cloudhsm/commands/DeleteHapgCommand.ts +++ b/clients/client-cloudhsm/commands/DeleteHapgCommand.ts @@ -38,7 +38,6 @@ export class DeleteHapgCommand extends $Command< DeleteHapgCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteHapgCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/DeleteHsmCommand.ts b/clients/client-cloudhsm/commands/DeleteHsmCommand.ts index 7a9200ba5959c..aa904558ec88d 100644 --- a/clients/client-cloudhsm/commands/DeleteHsmCommand.ts +++ b/clients/client-cloudhsm/commands/DeleteHsmCommand.ts @@ -36,7 +36,6 @@ export class DeleteHsmCommand extends $Command< DeleteHsmCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteHsmCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts b/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts index 2abb29a303075..adbac5c6bea0d 100644 --- a/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/DeleteLunaClientCommand.ts @@ -38,7 +38,6 @@ export class DeleteLunaClientCommand extends $Command< DeleteLunaClientCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteLunaClientCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/DescribeHapgCommand.ts b/clients/client-cloudhsm/commands/DescribeHapgCommand.ts index 910e45bbffb8e..039bca77dc8e4 100644 --- a/clients/client-cloudhsm/commands/DescribeHapgCommand.ts +++ b/clients/client-cloudhsm/commands/DescribeHapgCommand.ts @@ -38,7 +38,6 @@ export class DescribeHapgCommand extends $Command< DescribeHapgCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeHapgCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/DescribeHsmCommand.ts b/clients/client-cloudhsm/commands/DescribeHsmCommand.ts index fe89e73d61071..b0e1b800a44b8 100644 --- a/clients/client-cloudhsm/commands/DescribeHsmCommand.ts +++ b/clients/client-cloudhsm/commands/DescribeHsmCommand.ts @@ -39,7 +39,6 @@ export class DescribeHsmCommand extends $Command< DescribeHsmCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeHsmCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts b/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts index 4efcd05e3bb89..60951bcccbdf1 100644 --- a/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/DescribeLunaClientCommand.ts @@ -38,7 +38,6 @@ export class DescribeLunaClientCommand extends $Command< DescribeLunaClientCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeLunaClientCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/GetConfigCommand.ts b/clients/client-cloudhsm/commands/GetConfigCommand.ts index fbcf4f49f19eb..c59de235ef262 100644 --- a/clients/client-cloudhsm/commands/GetConfigCommand.ts +++ b/clients/client-cloudhsm/commands/GetConfigCommand.ts @@ -36,7 +36,6 @@ export class GetConfigCommand extends $Command< GetConfigCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetConfigCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts b/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts index 4081d1840bb57..a21aeb9bb9890 100644 --- a/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts +++ b/clients/client-cloudhsm/commands/ListAvailableZonesCommand.ts @@ -38,7 +38,6 @@ export class ListAvailableZonesCommand extends $Command< ListAvailableZonesCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListAvailableZonesCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ListHapgsCommand.ts b/clients/client-cloudhsm/commands/ListHapgsCommand.ts index c385f4a57e85f..030c34704881a 100644 --- a/clients/client-cloudhsm/commands/ListHapgsCommand.ts +++ b/clients/client-cloudhsm/commands/ListHapgsCommand.ts @@ -39,7 +39,6 @@ export class ListHapgsCommand extends $Command< ListHapgsCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ListHapgsCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ListHsmsCommand.ts b/clients/client-cloudhsm/commands/ListHsmsCommand.ts index 8215f844ce3ae..3d4fe5a333e12 100644 --- a/clients/client-cloudhsm/commands/ListHsmsCommand.ts +++ b/clients/client-cloudhsm/commands/ListHsmsCommand.ts @@ -40,7 +40,6 @@ export class ListHsmsCommand extends $Command< ListHsmsCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListHsmsCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts b/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts index b8f5370ad6430..2703fe06f7f18 100644 --- a/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts +++ b/clients/client-cloudhsm/commands/ListLunaClientsCommand.ts @@ -42,7 +42,6 @@ export class ListLunaClientsCommand extends $Command< ListLunaClientsCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListLunaClientsCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts b/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts index 9c74b63f97a93..97dfc7f49554e 100644 --- a/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudhsm/commands/ListTagsForResourceCommand.ts @@ -38,7 +38,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ModifyHapgCommand.ts b/clients/client-cloudhsm/commands/ModifyHapgCommand.ts index 56502cdbc601b..7311fc33d3343 100644 --- a/clients/client-cloudhsm/commands/ModifyHapgCommand.ts +++ b/clients/client-cloudhsm/commands/ModifyHapgCommand.ts @@ -38,7 +38,6 @@ export class ModifyHapgCommand extends $Command< ModifyHapgCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ModifyHapgCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ModifyHsmCommand.ts b/clients/client-cloudhsm/commands/ModifyHsmCommand.ts index 76dc33c3369b7..fb26c9d7d893b 100644 --- a/clients/client-cloudhsm/commands/ModifyHsmCommand.ts +++ b/clients/client-cloudhsm/commands/ModifyHsmCommand.ts @@ -41,7 +41,6 @@ export class ModifyHsmCommand extends $Command< ModifyHsmCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ModifyHsmCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts b/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts index c65fb628bbf26..eae7a9c4ff08e 100644 --- a/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts +++ b/clients/client-cloudhsm/commands/ModifyLunaClientCommand.ts @@ -40,7 +40,6 @@ export class ModifyLunaClientCommand extends $Command< ModifyLunaClientCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ModifyLunaClientCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts b/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts index 00274e849d0d1..2da4db55ba8ab 100644 --- a/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-cloudhsm/commands/RemoveTagsFromResourceCommand.ts @@ -40,7 +40,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, CloudHSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: CloudHSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch-domain/commands/SearchCommand.ts b/clients/client-cloudsearch-domain/commands/SearchCommand.ts index 4db65920ec1d8..4aecf766829b7 100644 --- a/clients/client-cloudsearch-domain/commands/SearchCommand.ts +++ b/clients/client-cloudsearch-domain/commands/SearchCommand.ts @@ -37,7 +37,6 @@ export class SearchCommand extends $Command< SearchCommandOutput, CloudSearchDomainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class SearchCommand extends $Command< configuration: CloudSearchDomainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch-domain/commands/SuggestCommand.ts b/clients/client-cloudsearch-domain/commands/SuggestCommand.ts index 59ca17eab2425..6a5d61d77feae 100644 --- a/clients/client-cloudsearch-domain/commands/SuggestCommand.ts +++ b/clients/client-cloudsearch-domain/commands/SuggestCommand.ts @@ -35,7 +35,6 @@ export class SuggestCommand extends $Command< SuggestCommandOutput, CloudSearchDomainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class SuggestCommand extends $Command< configuration: CloudSearchDomainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts b/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts index ee360d7dae212..f5e90e6a6817f 100644 --- a/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts +++ b/clients/client-cloudsearch-domain/commands/UploadDocumentsCommand.ts @@ -37,7 +37,6 @@ export class UploadDocumentsCommand extends $Command< UploadDocumentsCommandOutput, CloudSearchDomainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UploadDocumentsCommand extends $Command< configuration: CloudSearchDomainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts b/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts index 89ade6c1e772d..c6c3cc66ee55a 100644 --- a/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts +++ b/clients/client-cloudsearch/commands/BuildSuggestersCommand.ts @@ -28,7 +28,6 @@ export class BuildSuggestersCommand extends $Command< BuildSuggestersCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BuildSuggestersCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/CreateDomainCommand.ts b/clients/client-cloudsearch/commands/CreateDomainCommand.ts index 40fdf18118f71..8aed75779dacd 100644 --- a/clients/client-cloudsearch/commands/CreateDomainCommand.ts +++ b/clients/client-cloudsearch/commands/CreateDomainCommand.ts @@ -26,7 +26,6 @@ export class CreateDomainCommand extends $Command< CreateDomainCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class CreateDomainCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts b/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts index c709ae5117c80..13deed1c25ae8 100644 --- a/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts +++ b/clients/client-cloudsearch/commands/DefineAnalysisSchemeCommand.ts @@ -28,7 +28,6 @@ export class DefineAnalysisSchemeCommand extends $Command< DefineAnalysisSchemeCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DefineAnalysisSchemeCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DefineExpressionCommand.ts b/clients/client-cloudsearch/commands/DefineExpressionCommand.ts index 5f54073007567..316e8f8902997 100644 --- a/clients/client-cloudsearch/commands/DefineExpressionCommand.ts +++ b/clients/client-cloudsearch/commands/DefineExpressionCommand.ts @@ -28,7 +28,6 @@ export class DefineExpressionCommand extends $Command< DefineExpressionCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DefineExpressionCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts b/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts index 92a1a3c036a06..f1ae0ee3d8099 100644 --- a/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts +++ b/clients/client-cloudsearch/commands/DefineIndexFieldCommand.ts @@ -28,7 +28,6 @@ export class DefineIndexFieldCommand extends $Command< DefineIndexFieldCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DefineIndexFieldCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts b/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts index 08ceaaa67353b..74258fb45c1ff 100644 --- a/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts +++ b/clients/client-cloudsearch/commands/DefineSuggesterCommand.ts @@ -28,7 +28,6 @@ export class DefineSuggesterCommand extends $Command< DefineSuggesterCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DefineSuggesterCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts b/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts index 419acc701dfa7..ec88e0c9b6f33 100644 --- a/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteAnalysisSchemeCommand.ts @@ -28,7 +28,6 @@ export class DeleteAnalysisSchemeCommand extends $Command< DeleteAnalysisSchemeCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAnalysisSchemeCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DeleteDomainCommand.ts b/clients/client-cloudsearch/commands/DeleteDomainCommand.ts index f6e0ec527ece5..a7a8360a07268 100644 --- a/clients/client-cloudsearch/commands/DeleteDomainCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteDomainCommand.ts @@ -26,7 +26,6 @@ export class DeleteDomainCommand extends $Command< DeleteDomainCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DeleteDomainCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts b/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts index a7630b461ec7d..4ca34b9bfb5e3 100644 --- a/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteExpressionCommand.ts @@ -28,7 +28,6 @@ export class DeleteExpressionCommand extends $Command< DeleteExpressionCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteExpressionCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts b/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts index 18dca4b7115be..7c5f225f323d8 100644 --- a/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteIndexFieldCommand.ts @@ -28,7 +28,6 @@ export class DeleteIndexFieldCommand extends $Command< DeleteIndexFieldCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIndexFieldCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts b/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts index 467b070591988..8b0b77723f3dd 100644 --- a/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts +++ b/clients/client-cloudsearch/commands/DeleteSuggesterCommand.ts @@ -28,7 +28,6 @@ export class DeleteSuggesterCommand extends $Command< DeleteSuggesterCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSuggesterCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts b/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts index fe9972687e3c2..14142c8a798c0 100644 --- a/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeAnalysisSchemesCommand.ts @@ -28,7 +28,6 @@ export class DescribeAnalysisSchemesCommand extends $Command< DescribeAnalysisSchemesCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAnalysisSchemesCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts b/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts index 008001c714223..500e82a4e4989 100644 --- a/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeAvailabilityOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeAvailabilityOptionsCommand extends $Command< DescribeAvailabilityOptionsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAvailabilityOptionsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts b/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts index c325557c91df9..2ad2ca5bdbb12 100644 --- a/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeDomainEndpointOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDomainEndpointOptionsCommand extends $Command< DescribeDomainEndpointOptionsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDomainEndpointOptionsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts b/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts index f75a08dad6b0d..7cad42fee775f 100644 --- a/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeDomainsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDomainsCommand extends $Command< DescribeDomainsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDomainsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts b/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts index 824c0e5295fbd..bd9607e89d751 100644 --- a/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeExpressionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeExpressionsCommand extends $Command< DescribeExpressionsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeExpressionsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts b/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts index 8ae2c7487d687..97d98b4d92d46 100644 --- a/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeIndexFieldsCommand.ts @@ -30,7 +30,6 @@ export class DescribeIndexFieldsCommand extends $Command< DescribeIndexFieldsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeIndexFieldsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts b/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts index 5c6f98b8466a6..6b31533ebe5d2 100644 --- a/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeScalingParametersCommand.ts @@ -28,7 +28,6 @@ export class DescribeScalingParametersCommand extends $Command< DescribeScalingParametersCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScalingParametersCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts b/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts index 8f3306ba2dcc4..53d0da649846b 100644 --- a/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeServiceAccessPoliciesCommand.ts @@ -29,7 +29,6 @@ export class DescribeServiceAccessPoliciesCommand extends $Command< DescribeServiceAccessPoliciesCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeServiceAccessPoliciesCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts b/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts index b5b6c00aaf22b..11c3c07df944f 100644 --- a/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts +++ b/clients/client-cloudsearch/commands/DescribeSuggestersCommand.ts @@ -28,7 +28,6 @@ export class DescribeSuggestersCommand extends $Command< DescribeSuggestersCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSuggestersCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts b/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts index 32efd57beb1f1..67bc72349b174 100644 --- a/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts +++ b/clients/client-cloudsearch/commands/IndexDocumentsCommand.ts @@ -28,7 +28,6 @@ export class IndexDocumentsCommand extends $Command< IndexDocumentsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class IndexDocumentsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts b/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts index 8aed35e7b343f..b9d11bded3373 100644 --- a/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts +++ b/clients/client-cloudsearch/commands/ListDomainNamesCommand.ts @@ -28,7 +28,6 @@ export class ListDomainNamesCommand extends $Command< ListDomainNamesCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDomainNamesCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts b/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts index da5671b855b96..adbe7c138caa5 100644 --- a/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateAvailabilityOptionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateAvailabilityOptionsCommand extends $Command< UpdateAvailabilityOptionsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAvailabilityOptionsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts b/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts index de52fca971be7..0ed3ea9e32167 100644 --- a/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateDomainEndpointOptionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateDomainEndpointOptionsCommand extends $Command< UpdateDomainEndpointOptionsCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDomainEndpointOptionsCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts b/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts index f943ffbcb28af..c8af139df7102 100644 --- a/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateScalingParametersCommand.ts @@ -28,7 +28,6 @@ export class UpdateScalingParametersCommand extends $Command< UpdateScalingParametersCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateScalingParametersCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts b/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts index 0faab1202aeab..ca0c64d56aba7 100644 --- a/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts +++ b/clients/client-cloudsearch/commands/UpdateServiceAccessPoliciesCommand.ts @@ -30,7 +30,6 @@ export class UpdateServiceAccessPoliciesCommand extends $Command< UpdateServiceAccessPoliciesCommandOutput, CloudSearchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateServiceAccessPoliciesCommand extends $Command< configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/AddTagsCommand.ts b/clients/client-cloudtrail/commands/AddTagsCommand.ts index 5dc12f1fff647..a35b590e46203 100644 --- a/clients/client-cloudtrail/commands/AddTagsCommand.ts +++ b/clients/client-cloudtrail/commands/AddTagsCommand.ts @@ -28,7 +28,6 @@ export class AddTagsCommand extends $Command< AddTagsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddTagsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/CreateTrailCommand.ts b/clients/client-cloudtrail/commands/CreateTrailCommand.ts index 320bf7b4dcacc..d3ce81a655897 100644 --- a/clients/client-cloudtrail/commands/CreateTrailCommand.ts +++ b/clients/client-cloudtrail/commands/CreateTrailCommand.ts @@ -28,7 +28,6 @@ export class CreateTrailCommand extends $Command< CreateTrailCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTrailCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/DeleteTrailCommand.ts b/clients/client-cloudtrail/commands/DeleteTrailCommand.ts index 5ac0fd5d5edfc..b95eb47ce3f0c 100644 --- a/clients/client-cloudtrail/commands/DeleteTrailCommand.ts +++ b/clients/client-cloudtrail/commands/DeleteTrailCommand.ts @@ -30,7 +30,6 @@ export class DeleteTrailCommand extends $Command< DeleteTrailCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteTrailCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts b/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts index 2e469a3d53a89..45854af1f93d4 100644 --- a/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts +++ b/clients/client-cloudtrail/commands/DescribeTrailsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrailsCommand extends $Command< DescribeTrailsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrailsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts b/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts index 6c55c40a007ce..f6c92ac927d65 100644 --- a/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/GetEventSelectorsCommand.ts @@ -44,7 +44,6 @@ export class GetEventSelectorsCommand extends $Command< GetEventSelectorsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class GetEventSelectorsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts b/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts index ecc8247468d49..f3a81ec21babe 100644 --- a/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/GetInsightSelectorsCommand.ts @@ -34,7 +34,6 @@ export class GetInsightSelectorsCommand extends $Command< GetInsightSelectorsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetInsightSelectorsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/GetTrailCommand.ts b/clients/client-cloudtrail/commands/GetTrailCommand.ts index b3a1db82b1c53..5a8f2a47ee16e 100644 --- a/clients/client-cloudtrail/commands/GetTrailCommand.ts +++ b/clients/client-cloudtrail/commands/GetTrailCommand.ts @@ -25,7 +25,6 @@ export class GetTrailCommand extends $Command< GetTrailCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetTrailCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts b/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts index 14c107a4bcae5..36852fdfc725c 100644 --- a/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts +++ b/clients/client-cloudtrail/commands/GetTrailStatusCommand.ts @@ -28,7 +28,6 @@ export class GetTrailStatusCommand extends $Command< GetTrailStatusCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTrailStatusCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts b/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts index 958c06b1eed84..7637a9ca451df 100644 --- a/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts +++ b/clients/client-cloudtrail/commands/ListPublicKeysCommand.ts @@ -31,7 +31,6 @@ export class ListPublicKeysCommand extends $Command< ListPublicKeysCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListPublicKeysCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/ListTagsCommand.ts b/clients/client-cloudtrail/commands/ListTagsCommand.ts index 610ef8ae5ebc6..b614affdd339e 100644 --- a/clients/client-cloudtrail/commands/ListTagsCommand.ts +++ b/clients/client-cloudtrail/commands/ListTagsCommand.ts @@ -25,7 +25,6 @@ export class ListTagsCommand extends $Command< ListTagsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTagsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/ListTrailsCommand.ts b/clients/client-cloudtrail/commands/ListTrailsCommand.ts index 0faba1191fe01..84fe4c277c17c 100644 --- a/clients/client-cloudtrail/commands/ListTrailsCommand.ts +++ b/clients/client-cloudtrail/commands/ListTrailsCommand.ts @@ -28,7 +28,6 @@ export class ListTrailsCommand extends $Command< ListTrailsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTrailsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/LookupEventsCommand.ts b/clients/client-cloudtrail/commands/LookupEventsCommand.ts index a8fc57fc9f77a..977f607711b4c 100644 --- a/clients/client-cloudtrail/commands/LookupEventsCommand.ts +++ b/clients/client-cloudtrail/commands/LookupEventsCommand.ts @@ -75,7 +75,6 @@ export class LookupEventsCommand extends $Command< LookupEventsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class LookupEventsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts b/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts index 3821a5ee6ca7c..695e94d04ad1d 100644 --- a/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/PutEventSelectorsCommand.ts @@ -72,7 +72,6 @@ export class PutEventSelectorsCommand extends $Command< PutEventSelectorsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,10 +89,7 @@ export class PutEventSelectorsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts b/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts index c20c029263b15..c6d2c51b1cdbe 100644 --- a/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts +++ b/clients/client-cloudtrail/commands/PutInsightSelectorsCommand.ts @@ -31,7 +31,6 @@ export class PutInsightSelectorsCommand extends $Command< PutInsightSelectorsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutInsightSelectorsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/RemoveTagsCommand.ts b/clients/client-cloudtrail/commands/RemoveTagsCommand.ts index 308145e36b097..1a64e8ebc7da3 100644 --- a/clients/client-cloudtrail/commands/RemoveTagsCommand.ts +++ b/clients/client-cloudtrail/commands/RemoveTagsCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsCommand extends $Command< RemoveTagsCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/StartLoggingCommand.ts b/clients/client-cloudtrail/commands/StartLoggingCommand.ts index 2d4776d3d3589..a91d85ef14cf3 100644 --- a/clients/client-cloudtrail/commands/StartLoggingCommand.ts +++ b/clients/client-cloudtrail/commands/StartLoggingCommand.ts @@ -28,7 +28,6 @@ export class StartLoggingCommand extends $Command< StartLoggingCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartLoggingCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/StopLoggingCommand.ts b/clients/client-cloudtrail/commands/StopLoggingCommand.ts index fbdfe06af695f..167b0be89612b 100644 --- a/clients/client-cloudtrail/commands/StopLoggingCommand.ts +++ b/clients/client-cloudtrail/commands/StopLoggingCommand.ts @@ -34,7 +34,6 @@ export class StopLoggingCommand extends $Command< StopLoggingCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StopLoggingCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudtrail/commands/UpdateTrailCommand.ts b/clients/client-cloudtrail/commands/UpdateTrailCommand.ts index 2542ca710103a..120590ae39831 100644 --- a/clients/client-cloudtrail/commands/UpdateTrailCommand.ts +++ b/clients/client-cloudtrail/commands/UpdateTrailCommand.ts @@ -33,7 +33,6 @@ export class UpdateTrailCommand extends $Command< UpdateTrailCommandOutput, CloudTrailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateTrailCommand extends $Command< configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts index b13808e7deb68..605892d3c63ec 100644 --- a/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/ActivateEventSourceCommand.ts @@ -29,7 +29,6 @@ export class ActivateEventSourceCommand extends $Command< ActivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ActivateEventSourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/CancelReplayCommand.ts b/clients/client-cloudwatch-events/commands/CancelReplayCommand.ts index 386b9fbc3ad4b..1ea3d1ca23bf4 100644 --- a/clients/client-cloudwatch-events/commands/CancelReplayCommand.ts +++ b/clients/client-cloudwatch-events/commands/CancelReplayCommand.ts @@ -28,7 +28,6 @@ export class CancelReplayCommand extends $Command< CancelReplayCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelReplayCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/CreateArchiveCommand.ts b/clients/client-cloudwatch-events/commands/CreateArchiveCommand.ts index f89640f3ee521..05ae9f501d8ff 100644 --- a/clients/client-cloudwatch-events/commands/CreateArchiveCommand.ts +++ b/clients/client-cloudwatch-events/commands/CreateArchiveCommand.ts @@ -30,7 +30,6 @@ export class CreateArchiveCommand extends $Command< CreateArchiveCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateArchiveCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts b/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts index 2b3b1c1f59148..b46e9e7181f0b 100644 --- a/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts +++ b/clients/client-cloudwatch-events/commands/CreateEventBusCommand.ts @@ -30,7 +30,6 @@ export class CreateEventBusCommand extends $Command< CreateEventBusCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateEventBusCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts index cef1d67f5a8a2..c9d88e7921c2c 100644 --- a/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/CreatePartnerEventSourceCommand.ts @@ -51,7 +51,6 @@ export class CreatePartnerEventSourceCommand extends $Command< CreatePartnerEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class CreatePartnerEventSourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts index d40d98c4dc125..123d91cbbb6a8 100644 --- a/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeactivateEventSourceCommand.ts @@ -32,7 +32,6 @@ export class DeactivateEventSourceCommand extends $Command< DeactivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeactivateEventSourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DeleteArchiveCommand.ts b/clients/client-cloudwatch-events/commands/DeleteArchiveCommand.ts index dfdc84128251b..bddddaa26283c 100644 --- a/clients/client-cloudwatch-events/commands/DeleteArchiveCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeleteArchiveCommand.ts @@ -28,7 +28,6 @@ export class DeleteArchiveCommand extends $Command< DeleteArchiveCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteArchiveCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts b/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts index ddc03ac6f69a3..399b7a21c2a64 100644 --- a/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeleteEventBusCommand.ts @@ -30,7 +30,6 @@ export class DeleteEventBusCommand extends $Command< DeleteEventBusCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEventBusCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts index 7c915761bb054..b5321dcc2205e 100644 --- a/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeletePartnerEventSourceCommand.ts @@ -32,7 +32,6 @@ export class DeletePartnerEventSourceCommand extends $Command< DeletePartnerEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeletePartnerEventSourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts b/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts index c49495a2c4534..5419a257eac70 100644 --- a/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/DeleteRuleCommand.ts @@ -37,7 +37,6 @@ export class DeleteRuleCommand extends $Command< DeleteRuleCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteRuleCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DescribeArchiveCommand.ts b/clients/client-cloudwatch-events/commands/DescribeArchiveCommand.ts index ce34052db7ae7..b6a7739801d30 100644 --- a/clients/client-cloudwatch-events/commands/DescribeArchiveCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeArchiveCommand.ts @@ -28,7 +28,6 @@ export class DescribeArchiveCommand extends $Command< DescribeArchiveCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeArchiveCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts b/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts index b917ccae9dfb8..87e56c2cf1c53 100644 --- a/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeEventBusCommand.ts @@ -34,7 +34,6 @@ export class DescribeEventBusCommand extends $Command< DescribeEventBusCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeEventBusCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts index cf5ffcd0b3153..3464f9b3057e7 100644 --- a/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeEventSourceCommand.ts @@ -29,7 +29,6 @@ export class DescribeEventSourceCommand extends $Command< DescribeEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEventSourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts b/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts index 25fb7b58738b6..1b46a190fa50e 100644 --- a/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribePartnerEventSourceCommand.ts @@ -31,7 +31,6 @@ export class DescribePartnerEventSourceCommand extends $Command< DescribePartnerEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribePartnerEventSourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DescribeReplayCommand.ts b/clients/client-cloudwatch-events/commands/DescribeReplayCommand.ts index 26a661c733e3a..b97ebdf7b575f 100644 --- a/clients/client-cloudwatch-events/commands/DescribeReplayCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeReplayCommand.ts @@ -36,7 +36,6 @@ export class DescribeReplayCommand extends $Command< DescribeReplayCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeReplayCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts b/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts index 411c3a13725f0..d8004dd09ab60 100644 --- a/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/DescribeRuleCommand.ts @@ -30,7 +30,6 @@ export class DescribeRuleCommand extends $Command< DescribeRuleCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeRuleCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts b/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts index 7ea15fda4731b..1d14aac3c5193 100644 --- a/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/DisableRuleCommand.ts @@ -32,7 +32,6 @@ export class DisableRuleCommand extends $Command< DisableRuleCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisableRuleCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts b/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts index ec086f6a9b9c8..f307cb173a17d 100644 --- a/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/EnableRuleCommand.ts @@ -32,7 +32,6 @@ export class EnableRuleCommand extends $Command< EnableRuleCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class EnableRuleCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListArchivesCommand.ts b/clients/client-cloudwatch-events/commands/ListArchivesCommand.ts index c96d4005f4341..5d6b5f11fe4b8 100644 --- a/clients/client-cloudwatch-events/commands/ListArchivesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListArchivesCommand.ts @@ -29,7 +29,6 @@ export class ListArchivesCommand extends $Command< ListArchivesCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListArchivesCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts b/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts index b2a4570366b63..ae149c71da8ff 100644 --- a/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListEventBusesCommand.ts @@ -29,7 +29,6 @@ export class ListEventBusesCommand extends $Command< ListEventBusesCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventBusesCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts b/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts index 182997cc50baa..56890a776030d 100644 --- a/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListEventSourcesCommand.ts @@ -29,7 +29,6 @@ export class ListEventSourcesCommand extends $Command< ListEventSourcesCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventSourcesCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts b/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts index 29ec1bfdc99bc..86307d84be73d 100644 --- a/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListPartnerEventSourceAccountsCommand.ts @@ -30,7 +30,6 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< ListPartnerEventSourceAccountsCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts b/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts index 6f4090b1ed9cf..ba2d89ec31aaa 100644 --- a/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListPartnerEventSourcesCommand.ts @@ -29,7 +29,6 @@ export class ListPartnerEventSourcesCommand extends $Command< ListPartnerEventSourcesCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPartnerEventSourcesCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListReplaysCommand.ts b/clients/client-cloudwatch-events/commands/ListReplaysCommand.ts index d569fe4697c87..af00608673637 100644 --- a/clients/client-cloudwatch-events/commands/ListReplaysCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListReplaysCommand.ts @@ -29,7 +29,6 @@ export class ListReplaysCommand extends $Command< ListReplaysCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListReplaysCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts b/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts index 7f56e2c271b7f..36a28cd023fd0 100644 --- a/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListRuleNamesByTargetCommand.ts @@ -29,7 +29,6 @@ export class ListRuleNamesByTargetCommand extends $Command< ListRuleNamesByTargetCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRuleNamesByTargetCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListRulesCommand.ts b/clients/client-cloudwatch-events/commands/ListRulesCommand.ts index a944cad1b706c..0752f2f68c634 100644 --- a/clients/client-cloudwatch-events/commands/ListRulesCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListRulesCommand.ts @@ -29,7 +29,6 @@ export class ListRulesCommand extends $Command< ListRulesCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRulesCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts b/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts index 826d072e29d59..c8e11ad17c33e 100644 --- a/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts b/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts index 922d150c36492..00a64f155fe9e 100644 --- a/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/ListTargetsByRuleCommand.ts @@ -28,7 +28,6 @@ export class ListTargetsByRuleCommand extends $Command< ListTargetsByRuleCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTargetsByRuleCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/PutEventsCommand.ts b/clients/client-cloudwatch-events/commands/PutEventsCommand.ts index d6b95d026ed9a..bad1e7a080638 100644 --- a/clients/client-cloudwatch-events/commands/PutEventsCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutEventsCommand.ts @@ -26,7 +26,6 @@ export class PutEventsCommand extends $Command< PutEventsCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class PutEventsCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts b/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts index 23516992f83d8..895e8296388e5 100644 --- a/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutPartnerEventsCommand.ts @@ -29,7 +29,6 @@ export class PutPartnerEventsCommand extends $Command< PutPartnerEventsCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutPartnerEventsCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts b/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts index 289fde7a7f565..0f177a3227a18 100644 --- a/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutPermissionCommand.ts @@ -49,7 +49,6 @@ export class PutPermissionCommand extends $Command< PutPermissionCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class PutPermissionCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/PutRuleCommand.ts b/clients/client-cloudwatch-events/commands/PutRuleCommand.ts index bc4e04a3867d3..df06b58a53683 100644 --- a/clients/client-cloudwatch-events/commands/PutRuleCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutRuleCommand.ts @@ -74,7 +74,6 @@ export class PutRuleCommand extends $Command< PutRuleCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class PutRuleCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts b/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts index 3a5504701753c..4fadb99842d4b 100644 --- a/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts +++ b/clients/client-cloudwatch-events/commands/PutTargetsCommand.ts @@ -173,7 +173,6 @@ export class PutTargetsCommand extends $Command< PutTargetsCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -191,10 +190,7 @@ export class PutTargetsCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts b/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts index 68906c8025c27..f2c3102190448 100644 --- a/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts +++ b/clients/client-cloudwatch-events/commands/RemovePermissionCommand.ts @@ -31,7 +31,6 @@ export class RemovePermissionCommand extends $Command< RemovePermissionCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RemovePermissionCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts b/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts index c35d4ee066503..51f4e2a8963fc 100644 --- a/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts +++ b/clients/client-cloudwatch-events/commands/RemoveTargetsCommand.ts @@ -38,7 +38,6 @@ export class RemoveTargetsCommand extends $Command< RemoveTargetsCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class RemoveTargetsCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/StartReplayCommand.ts b/clients/client-cloudwatch-events/commands/StartReplayCommand.ts index 12a8ffcb0211a..5e56cb9c3b81f 100644 --- a/clients/client-cloudwatch-events/commands/StartReplayCommand.ts +++ b/clients/client-cloudwatch-events/commands/StartReplayCommand.ts @@ -36,7 +36,6 @@ export class StartReplayCommand extends $Command< StartReplayCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartReplayCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/TagResourceCommand.ts b/clients/client-cloudwatch-events/commands/TagResourceCommand.ts index db8eccf8d8fbb..d688b561997d3 100644 --- a/clients/client-cloudwatch-events/commands/TagResourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/TagResourceCommand.ts @@ -38,7 +38,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class TagResourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts b/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts index 26c558385a3bc..7d9fe36d0925e 100644 --- a/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts +++ b/clients/client-cloudwatch-events/commands/TestEventPatternCommand.ts @@ -32,7 +32,6 @@ export class TestEventPatternCommand extends $Command< TestEventPatternCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TestEventPatternCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts b/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts index 98488956da3f5..c470bf65c1f9f 100644 --- a/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts +++ b/clients/client-cloudwatch-events/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-events/commands/UpdateArchiveCommand.ts b/clients/client-cloudwatch-events/commands/UpdateArchiveCommand.ts index 2ba656e67c49a..a1fe0dcc42150 100644 --- a/clients/client-cloudwatch-events/commands/UpdateArchiveCommand.ts +++ b/clients/client-cloudwatch-events/commands/UpdateArchiveCommand.ts @@ -28,7 +28,6 @@ export class UpdateArchiveCommand extends $Command< UpdateArchiveCommandOutput, CloudWatchEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateArchiveCommand extends $Command< configuration: CloudWatchEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts b/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts index 68c571fc5a6c5..c10a4a5fa34a9 100644 --- a/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/AssociateKmsKeyCommand.ts @@ -40,7 +40,6 @@ export class AssociateKmsKeyCommand extends $Command< AssociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class AssociateKmsKeyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts b/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts index 30c99f539ef84..368f6ffbb7dd4 100644 --- a/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CancelExportTaskCommand.ts @@ -29,7 +29,6 @@ export class CancelExportTaskCommand extends $Command< CancelExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CancelExportTaskCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts b/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts index 2369cd7275892..e5e11545edd63 100644 --- a/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CreateExportTaskCommand.ts @@ -41,7 +41,6 @@ export class CreateExportTaskCommand extends $Command< CreateExportTaskCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateExportTaskCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts index fe65bb3ca2d32..6b0122e05a416 100644 --- a/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CreateLogGroupCommand.ts @@ -54,7 +54,6 @@ export class CreateLogGroupCommand extends $Command< CreateLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class CreateLogGroupCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts b/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts index efdd23bd7fb2b..f771f6c238b11 100644 --- a/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts +++ b/clients/client-cloudwatch-logs/commands/CreateLogStreamCommand.ts @@ -44,7 +44,6 @@ export class CreateLogStreamCommand extends $Command< CreateLogStreamCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateLogStreamCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts index 42f765efb8bfa..9b5b01250760a 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteDestinationCommand.ts @@ -30,7 +30,6 @@ export class DeleteDestinationCommand extends $Command< DeleteDestinationCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDestinationCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts index ae885f62d4eb5..8bb64ca33308c 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteLogGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteLogGroupCommand extends $Command< DeleteLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteLogGroupCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts index d993ed2d2265d..664b74bb65b16 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteLogStreamCommand.ts @@ -29,7 +29,6 @@ export class DeleteLogStreamCommand extends $Command< DeleteLogStreamCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteLogStreamCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts index 6b83cef409598..1f1c4ae25bbc6 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteMetricFilterCommand.ts @@ -28,7 +28,6 @@ export class DeleteMetricFilterCommand extends $Command< DeleteMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMetricFilterCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteQueryDefinitionCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteQueryDefinitionCommand.ts index 1b227a28b811f..02cb1425c1ddc 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteQueryDefinitionCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteQueryDefinitionCommand.ts @@ -32,7 +32,6 @@ export class DeleteQueryDefinitionCommand extends $Command< DeleteQueryDefinitionCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteQueryDefinitionCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts index a7e837f863718..1a50a19135486 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteResourcePolicyCommand.ts @@ -29,7 +29,6 @@ export class DeleteResourcePolicyCommand extends $Command< DeleteResourcePolicyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteResourcePolicyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts index ac3fa3aaba50e..c93f9f9f8cee7 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteRetentionPolicyCommand.ts @@ -29,7 +29,6 @@ export class DeleteRetentionPolicyCommand extends $Command< DeleteRetentionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteRetentionPolicyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts b/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts index d77cf2156f359..576f97c7a0ffe 100644 --- a/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DeleteSubscriptionFilterCommand.ts @@ -28,7 +28,6 @@ export class DeleteSubscriptionFilterCommand extends $Command< DeleteSubscriptionFilterCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSubscriptionFilterCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts index af10ef11b5893..487ae3137cfb7 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeDestinationsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDestinationsCommand extends $Command< DescribeDestinationsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDestinationsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts index e111a8b1aee38..fb3e5f325f305 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeExportTasksCommand.ts @@ -29,7 +29,6 @@ export class DescribeExportTasksCommand extends $Command< DescribeExportTasksCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeExportTasksCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts index 406b569b84344..e790ea84daee6 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeLogGroupsCommand.ts @@ -29,7 +29,6 @@ export class DescribeLogGroupsCommand extends $Command< DescribeLogGroupsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeLogGroupsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts index 5c841067911f2..007b80121b6bd 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeLogStreamsCommand.ts @@ -31,7 +31,6 @@ export class DescribeLogStreamsCommand extends $Command< DescribeLogStreamsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeLogStreamsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts index 07621e7358e34..7dee8988207bc 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeMetricFiltersCommand.ts @@ -30,7 +30,6 @@ export class DescribeMetricFiltersCommand extends $Command< DescribeMetricFiltersCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeMetricFiltersCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts index a5467dd105f35..78343259aad8b 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeQueriesCommand.ts @@ -30,7 +30,6 @@ export class DescribeQueriesCommand extends $Command< DescribeQueriesCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeQueriesCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeQueryDefinitionsCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeQueryDefinitionsCommand.ts index d77bda01f4168..d608684c6f79c 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeQueryDefinitionsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeQueryDefinitionsCommand.ts @@ -30,7 +30,6 @@ export class DescribeQueryDefinitionsCommand extends $Command< DescribeQueryDefinitionsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeQueryDefinitionsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts index d8eab2e936459..0ec5e80c60797 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeResourcePoliciesCommand.ts @@ -28,7 +28,6 @@ export class DescribeResourcePoliciesCommand extends $Command< DescribeResourcePoliciesCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeResourcePoliciesCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts b/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts index a647128133c3b..5a76bdb68426a 100644 --- a/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DescribeSubscriptionFiltersCommand.ts @@ -29,7 +29,6 @@ export class DescribeSubscriptionFiltersCommand extends $Command< DescribeSubscriptionFiltersCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSubscriptionFiltersCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts b/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts index e711ea85990bb..e44c407a45223 100644 --- a/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/DisassociateKmsKeyCommand.ts @@ -31,7 +31,6 @@ export class DisassociateKmsKeyCommand extends $Command< DisassociateKmsKeyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DisassociateKmsKeyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts b/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts index e92ba77a621d1..25a376cd903c8 100644 --- a/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/FilterLogEventsCommand.ts @@ -36,7 +36,6 @@ export class FilterLogEventsCommand extends $Command< FilterLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class FilterLogEventsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts b/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts index f3af6c545978a..41a1bbdde2d09 100644 --- a/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetLogEventsCommand.ts @@ -33,7 +33,6 @@ export class GetLogEventsCommand extends $Command< GetLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetLogEventsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts b/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts index 6649323c1c57f..e6e5148b42d8e 100644 --- a/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetLogGroupFieldsCommand.ts @@ -35,7 +35,6 @@ export class GetLogGroupFieldsCommand extends $Command< GetLogGroupFieldsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetLogGroupFieldsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts b/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts index e6b1644a242b1..5869221accd3f 100644 --- a/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetLogRecordCommand.ts @@ -31,7 +31,6 @@ export class GetLogRecordCommand extends $Command< GetLogRecordCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetLogRecordCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts b/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts index 8bbdcc2ff2821..0040a804a11f6 100644 --- a/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/GetQueryResultsCommand.ts @@ -38,7 +38,6 @@ export class GetQueryResultsCommand extends $Command< GetQueryResultsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetQueryResultsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts index 4b7327896ab01..f0c81c422eca6 100644 --- a/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/ListTagsLogGroupCommand.ts @@ -28,7 +28,6 @@ export class ListTagsLogGroupCommand extends $Command< ListTagsLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsLogGroupCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts b/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts index ea07aeeec81b0..324f53598df38 100644 --- a/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutDestinationCommand.ts @@ -37,7 +37,6 @@ export class PutDestinationCommand extends $Command< PutDestinationCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutDestinationCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts b/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts index 769bc8afa926a..ea9dbe2b45cf3 100644 --- a/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutDestinationPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutDestinationPolicyCommand extends $Command< PutDestinationPolicyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutDestinationPolicyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts b/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts index ea4eaa29e754d..4dd550ee0d44e 100644 --- a/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutLogEventsCommand.ts @@ -65,7 +65,6 @@ export class PutLogEventsCommand extends $Command< PutLogEventsCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class PutLogEventsCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts b/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts index 24ae2ff0f742f..2761a3c3fa790 100644 --- a/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutMetricFilterCommand.ts @@ -32,7 +32,6 @@ export class PutMetricFilterCommand extends $Command< PutMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutMetricFilterCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutQueryDefinitionCommand.ts b/clients/client-cloudwatch-logs/commands/PutQueryDefinitionCommand.ts index ad92a338f0557..da6da7827d71b 100644 --- a/clients/client-cloudwatch-logs/commands/PutQueryDefinitionCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutQueryDefinitionCommand.ts @@ -39,7 +39,6 @@ export class PutQueryDefinitionCommand extends $Command< PutQueryDefinitionCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class PutQueryDefinitionCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts b/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts index d7c2ffebaa3b7..7b7019f4821ac 100644 --- a/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutResourcePolicyCommand.ts @@ -30,7 +30,6 @@ export class PutResourcePolicyCommand extends $Command< PutResourcePolicyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutResourcePolicyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts b/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts index 06de5d145063d..6c90b43fb4606 100644 --- a/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutRetentionPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutRetentionPolicyCommand extends $Command< PutRetentionPolicyCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutRetentionPolicyCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts b/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts index 81db2c098e028..a0aafe732f65d 100644 --- a/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/PutSubscriptionFilterCommand.ts @@ -57,7 +57,6 @@ export class PutSubscriptionFilterCommand extends $Command< PutSubscriptionFilterCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class PutSubscriptionFilterCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts b/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts index 9ed333ee6623b..078aee595f389 100644 --- a/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts +++ b/clients/client-cloudwatch-logs/commands/StartQueryCommand.ts @@ -33,7 +33,6 @@ export class StartQueryCommand extends $Command< StartQueryCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartQueryCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts b/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts index f5fde0476f92b..a9060f7af3a04 100644 --- a/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts +++ b/clients/client-cloudwatch-logs/commands/StopQueryCommand.ts @@ -26,7 +26,6 @@ export class StopQueryCommand extends $Command< StopQueryCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class StopQueryCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts index dafb297ac1b74..9c295f881d193 100644 --- a/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/TagLogGroupCommand.ts @@ -32,7 +32,6 @@ export class TagLogGroupCommand extends $Command< TagLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TagLogGroupCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts b/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts index 04b96909f2248..4d90a0273537e 100644 --- a/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts +++ b/clients/client-cloudwatch-logs/commands/TestMetricFilterCommand.ts @@ -29,7 +29,6 @@ export class TestMetricFilterCommand extends $Command< TestMetricFilterCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TestMetricFilterCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts b/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts index 6864337e5e431..99cf0ee1b2f39 100644 --- a/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts +++ b/clients/client-cloudwatch-logs/commands/UntagLogGroupCommand.ts @@ -30,7 +30,6 @@ export class UntagLogGroupCommand extends $Command< UntagLogGroupCommandOutput, CloudWatchLogsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagLogGroupCommand extends $Command< configuration: CloudWatchLogsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts b/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts index 289c86810e19e..239fc991dbce9 100644 --- a/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteAlarmsCommand.ts @@ -40,7 +40,6 @@ export class DeleteAlarmsCommand extends $Command< DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteAlarmsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts b/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts index fd8bd4d71654c..e95046e11e3e8 100644 --- a/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteAnomalyDetectorCommand.ts @@ -28,7 +28,6 @@ export class DeleteAnomalyDetectorCommand extends $Command< DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAnomalyDetectorCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts b/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts index 727287f393fc7..cefd4ed4cb572 100644 --- a/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteDashboardsCommand.ts @@ -30,7 +30,6 @@ export class DeleteDashboardsCommand extends $Command< DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDashboardsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts b/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts index 28ba84cbc0ae6..59244897a329a 100644 --- a/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/DeleteInsightRulesCommand.ts @@ -31,7 +31,6 @@ export class DeleteInsightRulesCommand extends $Command< DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteInsightRulesCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts b/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts index 58f0626b0963b..1cd6173f7ed7b 100644 --- a/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAlarmHistoryCommand.ts @@ -30,7 +30,6 @@ export class DescribeAlarmHistoryCommand extends $Command< DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAlarmHistoryCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts b/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts index 3fa17b30a7d8d..19adeba183266 100644 --- a/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAlarmsCommand.ts @@ -29,7 +29,6 @@ export class DescribeAlarmsCommand extends $Command< DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAlarmsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts b/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts index 73e1beb0e819f..b8472e7e5fa19 100644 --- a/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAlarmsForMetricCommand.ts @@ -32,7 +32,6 @@ export class DescribeAlarmsForMetricCommand extends $Command< DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeAlarmsForMetricCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts b/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts index c224688c939a2..85926772e1f2a 100644 --- a/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeAnomalyDetectorsCommand.ts @@ -30,7 +30,6 @@ export class DescribeAnomalyDetectorsCommand extends $Command< DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAnomalyDetectorsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts b/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts index 0db7bb1084552..c2c0df3aadd03 100644 --- a/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/DescribeInsightRulesCommand.ts @@ -31,7 +31,6 @@ export class DescribeInsightRulesCommand extends $Command< DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeInsightRulesCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts b/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts index 5cb156a164a9d..07063694027bb 100644 --- a/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts +++ b/clients/client-cloudwatch/commands/DisableAlarmActionsCommand.ts @@ -29,7 +29,6 @@ export class DisableAlarmActionsCommand extends $Command< DisableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableAlarmActionsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts b/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts index 0d22753450f9d..729f520e36041 100644 --- a/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/DisableInsightRulesCommand.ts @@ -29,7 +29,6 @@ export class DisableInsightRulesCommand extends $Command< DisableInsightRulesCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableInsightRulesCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts b/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts index cb4fa236131c1..0d7e966b1a75a 100644 --- a/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts +++ b/clients/client-cloudwatch/commands/EnableAlarmActionsCommand.ts @@ -28,7 +28,6 @@ export class EnableAlarmActionsCommand extends $Command< EnableAlarmActionsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableAlarmActionsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts b/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts index aa9ba5a84b6e8..aafec7ef7dca0 100644 --- a/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts +++ b/clients/client-cloudwatch/commands/EnableInsightRulesCommand.ts @@ -28,7 +28,6 @@ export class EnableInsightRulesCommand extends $Command< EnableInsightRulesCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableInsightRulesCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/GetDashboardCommand.ts b/clients/client-cloudwatch/commands/GetDashboardCommand.ts index f0ddb8de693dc..7ad3ae1415749 100644 --- a/clients/client-cloudwatch/commands/GetDashboardCommand.ts +++ b/clients/client-cloudwatch/commands/GetDashboardCommand.ts @@ -28,7 +28,6 @@ export class GetDashboardCommand extends $Command< GetDashboardCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDashboardCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts b/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts index e7505bab95c74..fc8b649666da0 100644 --- a/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts +++ b/clients/client-cloudwatch/commands/GetInsightRuleReportCommand.ts @@ -64,7 +64,6 @@ export class GetInsightRuleReportCommand extends $Command< GetInsightRuleReportCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class GetInsightRuleReportCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/GetMetricDataCommand.ts b/clients/client-cloudwatch/commands/GetMetricDataCommand.ts index 976597b91a8c6..86854d3849a44 100644 --- a/clients/client-cloudwatch/commands/GetMetricDataCommand.ts +++ b/clients/client-cloudwatch/commands/GetMetricDataCommand.ts @@ -63,7 +63,6 @@ export class GetMetricDataCommand extends $Command< GetMetricDataCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class GetMetricDataCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts b/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts index 2d7eb2a79913e..91ff75a5b0203 100644 --- a/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts +++ b/clients/client-cloudwatch/commands/GetMetricStatisticsCommand.ts @@ -79,7 +79,6 @@ export class GetMetricStatisticsCommand extends $Command< GetMetricStatisticsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class GetMetricStatisticsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts b/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts index 9e0bca83c6b56..7d9d59455565c 100644 --- a/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts +++ b/clients/client-cloudwatch/commands/GetMetricWidgetImageCommand.ts @@ -45,7 +45,6 @@ export class GetMetricWidgetImageCommand extends $Command< GetMetricWidgetImageCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class GetMetricWidgetImageCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/ListDashboardsCommand.ts b/clients/client-cloudwatch/commands/ListDashboardsCommand.ts index 55c0fdffe6008..c586954589b97 100644 --- a/clients/client-cloudwatch/commands/ListDashboardsCommand.ts +++ b/clients/client-cloudwatch/commands/ListDashboardsCommand.ts @@ -36,7 +36,6 @@ export class ListDashboardsCommand extends $Command< ListDashboardsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListDashboardsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/ListMetricsCommand.ts b/clients/client-cloudwatch/commands/ListMetricsCommand.ts index 9b76160236789..a433e63bca83a 100644 --- a/clients/client-cloudwatch/commands/ListMetricsCommand.ts +++ b/clients/client-cloudwatch/commands/ListMetricsCommand.ts @@ -38,7 +38,6 @@ export class ListMetricsCommand extends $Command< ListMetricsCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListMetricsCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts b/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts index 77f84783b7e27..02256cc6f8c9f 100644 --- a/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cloudwatch/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts b/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts index c9b68f9ca904c..967885d32b7ed 100644 --- a/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts +++ b/clients/client-cloudwatch/commands/PutAnomalyDetectorCommand.ts @@ -30,7 +30,6 @@ export class PutAnomalyDetectorCommand extends $Command< PutAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutAnomalyDetectorCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/PutCompositeAlarmCommand.ts b/clients/client-cloudwatch/commands/PutCompositeAlarmCommand.ts index 0faf117d32950..8cda6c69e9d47 100644 --- a/clients/client-cloudwatch/commands/PutCompositeAlarmCommand.ts +++ b/clients/client-cloudwatch/commands/PutCompositeAlarmCommand.ts @@ -63,7 +63,6 @@ export class PutCompositeAlarmCommand extends $Command< PutCompositeAlarmCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class PutCompositeAlarmCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/PutDashboardCommand.ts b/clients/client-cloudwatch/commands/PutDashboardCommand.ts index d96da4750c4bd..4b15a3d5b37c1 100644 --- a/clients/client-cloudwatch/commands/PutDashboardCommand.ts +++ b/clients/client-cloudwatch/commands/PutDashboardCommand.ts @@ -38,7 +38,6 @@ export class PutDashboardCommand extends $Command< PutDashboardCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutDashboardCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts b/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts index efa36a9e8d709..eb8018341ff03 100644 --- a/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts +++ b/clients/client-cloudwatch/commands/PutInsightRuleCommand.ts @@ -32,7 +32,6 @@ export class PutInsightRuleCommand extends $Command< PutInsightRuleCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutInsightRuleCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts b/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts index 153a64cad3585..7503fbf75b188 100644 --- a/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts +++ b/clients/client-cloudwatch/commands/PutMetricAlarmCommand.ts @@ -61,7 +61,6 @@ export class PutMetricAlarmCommand extends $Command< PutMetricAlarmCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class PutMetricAlarmCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/PutMetricDataCommand.ts b/clients/client-cloudwatch/commands/PutMetricDataCommand.ts index f77f9f95223fa..5a3d323067273 100644 --- a/clients/client-cloudwatch/commands/PutMetricDataCommand.ts +++ b/clients/client-cloudwatch/commands/PutMetricDataCommand.ts @@ -72,7 +72,6 @@ export class PutMetricDataCommand extends $Command< PutMetricDataCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,10 +89,7 @@ export class PutMetricDataCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts b/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts index 0a987a0fb200f..7f5f4fe38a0c0 100644 --- a/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts +++ b/clients/client-cloudwatch/commands/SetAlarmStateCommand.ts @@ -43,7 +43,6 @@ export class SetAlarmStateCommand extends $Command< SetAlarmStateCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class SetAlarmStateCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/TagResourceCommand.ts b/clients/client-cloudwatch/commands/TagResourceCommand.ts index bc7ab963f0a4f..1120e32e1d249 100644 --- a/clients/client-cloudwatch/commands/TagResourceCommand.ts +++ b/clients/client-cloudwatch/commands/TagResourceCommand.ts @@ -35,7 +35,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class TagResourceCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cloudwatch/commands/UntagResourceCommand.ts b/clients/client-cloudwatch/commands/UntagResourceCommand.ts index b2bb1e956c0f4..b8312ee2f8333 100644 --- a/clients/client-cloudwatch/commands/UntagResourceCommand.ts +++ b/clients/client-cloudwatch/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CloudWatchClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/AssociateExternalConnectionCommand.ts b/clients/client-codeartifact/commands/AssociateExternalConnectionCommand.ts index 7c550479cbaa7..89fa566b26c87 100644 --- a/clients/client-codeartifact/commands/AssociateExternalConnectionCommand.ts +++ b/clients/client-codeartifact/commands/AssociateExternalConnectionCommand.ts @@ -32,7 +32,6 @@ export class AssociateExternalConnectionCommand extends $Command< AssociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateExternalConnectionCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/CopyPackageVersionsCommand.ts b/clients/client-codeartifact/commands/CopyPackageVersionsCommand.ts index b78a6b8c732c0..61b87afddb2ca 100644 --- a/clients/client-codeartifact/commands/CopyPackageVersionsCommand.ts +++ b/clients/client-codeartifact/commands/CopyPackageVersionsCommand.ts @@ -35,7 +35,6 @@ export class CopyPackageVersionsCommand extends $Command< CopyPackageVersionsCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CopyPackageVersionsCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/CreateDomainCommand.ts b/clients/client-codeartifact/commands/CreateDomainCommand.ts index e15d94a1da89e..cbc171d14a46c 100644 --- a/clients/client-codeartifact/commands/CreateDomainCommand.ts +++ b/clients/client-codeartifact/commands/CreateDomainCommand.ts @@ -38,7 +38,6 @@ export class CreateDomainCommand extends $Command< CreateDomainCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateDomainCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/CreateRepositoryCommand.ts b/clients/client-codeartifact/commands/CreateRepositoryCommand.ts index 1cc0140d08ddc..950033401bd13 100644 --- a/clients/client-codeartifact/commands/CreateRepositoryCommand.ts +++ b/clients/client-codeartifact/commands/CreateRepositoryCommand.ts @@ -30,7 +30,6 @@ export class CreateRepositoryCommand extends $Command< CreateRepositoryCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateRepositoryCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DeleteDomainCommand.ts b/clients/client-codeartifact/commands/DeleteDomainCommand.ts index 20190aeb606d3..f2204f51a2e7b 100644 --- a/clients/client-codeartifact/commands/DeleteDomainCommand.ts +++ b/clients/client-codeartifact/commands/DeleteDomainCommand.ts @@ -31,7 +31,6 @@ export class DeleteDomainCommand extends $Command< DeleteDomainCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDomainCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DeleteDomainPermissionsPolicyCommand.ts b/clients/client-codeartifact/commands/DeleteDomainPermissionsPolicyCommand.ts index c8cdf33a280e0..141f0a8759076 100644 --- a/clients/client-codeartifact/commands/DeleteDomainPermissionsPolicyCommand.ts +++ b/clients/client-codeartifact/commands/DeleteDomainPermissionsPolicyCommand.ts @@ -30,7 +30,6 @@ export class DeleteDomainPermissionsPolicyCommand extends $Command< DeleteDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDomainPermissionsPolicyCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DeletePackageVersionsCommand.ts b/clients/client-codeartifact/commands/DeletePackageVersionsCommand.ts index 42be3fa0c9591..4435550bf6636 100644 --- a/clients/client-codeartifact/commands/DeletePackageVersionsCommand.ts +++ b/clients/client-codeartifact/commands/DeletePackageVersionsCommand.ts @@ -36,7 +36,6 @@ export class DeletePackageVersionsCommand extends $Command< DeletePackageVersionsCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeletePackageVersionsCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DeleteRepositoryCommand.ts b/clients/client-codeartifact/commands/DeleteRepositoryCommand.ts index 0b3a91845baa7..eeade00930c2a 100644 --- a/clients/client-codeartifact/commands/DeleteRepositoryCommand.ts +++ b/clients/client-codeartifact/commands/DeleteRepositoryCommand.ts @@ -30,7 +30,6 @@ export class DeleteRepositoryCommand extends $Command< DeleteRepositoryCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteRepositoryCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DeleteRepositoryPermissionsPolicyCommand.ts b/clients/client-codeartifact/commands/DeleteRepositoryPermissionsPolicyCommand.ts index 90a59f7fa9c84..b80fd680d1b53 100644 --- a/clients/client-codeartifact/commands/DeleteRepositoryPermissionsPolicyCommand.ts +++ b/clients/client-codeartifact/commands/DeleteRepositoryPermissionsPolicyCommand.ts @@ -37,7 +37,6 @@ export class DeleteRepositoryPermissionsPolicyCommand extends $Command< DeleteRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteRepositoryPermissionsPolicyCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DescribeDomainCommand.ts b/clients/client-codeartifact/commands/DescribeDomainCommand.ts index a4de169f01849..5bd21e9f6f8d3 100644 --- a/clients/client-codeartifact/commands/DescribeDomainCommand.ts +++ b/clients/client-codeartifact/commands/DescribeDomainCommand.ts @@ -34,7 +34,6 @@ export class DescribeDomainCommand extends $Command< DescribeDomainCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeDomainCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DescribePackageVersionCommand.ts b/clients/client-codeartifact/commands/DescribePackageVersionCommand.ts index f9ab82b98a70e..25bcc8015d40c 100644 --- a/clients/client-codeartifact/commands/DescribePackageVersionCommand.ts +++ b/clients/client-codeartifact/commands/DescribePackageVersionCommand.ts @@ -34,7 +34,6 @@ export class DescribePackageVersionCommand extends $Command< DescribePackageVersionCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribePackageVersionCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DescribeRepositoryCommand.ts b/clients/client-codeartifact/commands/DescribeRepositoryCommand.ts index f4482031217b5..955b3ba589fb7 100644 --- a/clients/client-codeartifact/commands/DescribeRepositoryCommand.ts +++ b/clients/client-codeartifact/commands/DescribeRepositoryCommand.ts @@ -31,7 +31,6 @@ export class DescribeRepositoryCommand extends $Command< DescribeRepositoryCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeRepositoryCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DisassociateExternalConnectionCommand.ts b/clients/client-codeartifact/commands/DisassociateExternalConnectionCommand.ts index e6deedbb8a994..a4d98e65ffcd8 100644 --- a/clients/client-codeartifact/commands/DisassociateExternalConnectionCommand.ts +++ b/clients/client-codeartifact/commands/DisassociateExternalConnectionCommand.ts @@ -30,7 +30,6 @@ export class DisassociateExternalConnectionCommand extends $Command< DisassociateExternalConnectionCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociateExternalConnectionCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/DisposePackageVersionsCommand.ts b/clients/client-codeartifact/commands/DisposePackageVersionsCommand.ts index 84fefa70cc044..800b1fa0fccdc 100644 --- a/clients/client-codeartifact/commands/DisposePackageVersionsCommand.ts +++ b/clients/client-codeartifact/commands/DisposePackageVersionsCommand.ts @@ -47,7 +47,6 @@ export class DisposePackageVersionsCommand extends $Command< DisposePackageVersionsCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DisposePackageVersionsCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/GetAuthorizationTokenCommand.ts b/clients/client-codeartifact/commands/GetAuthorizationTokenCommand.ts index ba442e07f128d..55ce325459702 100644 --- a/clients/client-codeartifact/commands/GetAuthorizationTokenCommand.ts +++ b/clients/client-codeartifact/commands/GetAuthorizationTokenCommand.ts @@ -48,7 +48,6 @@ export class GetAuthorizationTokenCommand extends $Command< GetAuthorizationTokenCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class GetAuthorizationTokenCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/GetDomainPermissionsPolicyCommand.ts b/clients/client-codeartifact/commands/GetDomainPermissionsPolicyCommand.ts index 03ed6f775be1a..0578fb1c18362 100644 --- a/clients/client-codeartifact/commands/GetDomainPermissionsPolicyCommand.ts +++ b/clients/client-codeartifact/commands/GetDomainPermissionsPolicyCommand.ts @@ -37,7 +37,6 @@ export class GetDomainPermissionsPolicyCommand extends $Command< GetDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetDomainPermissionsPolicyCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/GetPackageVersionAssetCommand.ts b/clients/client-codeartifact/commands/GetPackageVersionAssetCommand.ts index 8924838039f89..db7e25c2cef2a 100644 --- a/clients/client-codeartifact/commands/GetPackageVersionAssetCommand.ts +++ b/clients/client-codeartifact/commands/GetPackageVersionAssetCommand.ts @@ -32,7 +32,6 @@ export class GetPackageVersionAssetCommand extends $Command< GetPackageVersionAssetCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetPackageVersionAssetCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/GetPackageVersionReadmeCommand.ts b/clients/client-codeartifact/commands/GetPackageVersionReadmeCommand.ts index 4d97c834a09d8..d8e38fd97b976 100644 --- a/clients/client-codeartifact/commands/GetPackageVersionReadmeCommand.ts +++ b/clients/client-codeartifact/commands/GetPackageVersionReadmeCommand.ts @@ -35,7 +35,6 @@ export class GetPackageVersionReadmeCommand extends $Command< GetPackageVersionReadmeCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetPackageVersionReadmeCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/GetRepositoryEndpointCommand.ts b/clients/client-codeartifact/commands/GetRepositoryEndpointCommand.ts index 963c77339a614..92a771cc18067 100644 --- a/clients/client-codeartifact/commands/GetRepositoryEndpointCommand.ts +++ b/clients/client-codeartifact/commands/GetRepositoryEndpointCommand.ts @@ -53,7 +53,6 @@ export class GetRepositoryEndpointCommand extends $Command< GetRepositoryEndpointCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class GetRepositoryEndpointCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/GetRepositoryPermissionsPolicyCommand.ts b/clients/client-codeartifact/commands/GetRepositoryPermissionsPolicyCommand.ts index 0e5b91b117acf..6452b41e0d0a5 100644 --- a/clients/client-codeartifact/commands/GetRepositoryPermissionsPolicyCommand.ts +++ b/clients/client-codeartifact/commands/GetRepositoryPermissionsPolicyCommand.ts @@ -30,7 +30,6 @@ export class GetRepositoryPermissionsPolicyCommand extends $Command< GetRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetRepositoryPermissionsPolicyCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListDomainsCommand.ts b/clients/client-codeartifact/commands/ListDomainsCommand.ts index 0dfe2267f8509..8f5ee2daa281c 100644 --- a/clients/client-codeartifact/commands/ListDomainsCommand.ts +++ b/clients/client-codeartifact/commands/ListDomainsCommand.ts @@ -32,7 +32,6 @@ export class ListDomainsCommand extends $Command< ListDomainsCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListDomainsCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListPackageVersionAssetsCommand.ts b/clients/client-codeartifact/commands/ListPackageVersionAssetsCommand.ts index 7c54c81703d40..056ac6eb10c22 100644 --- a/clients/client-codeartifact/commands/ListPackageVersionAssetsCommand.ts +++ b/clients/client-codeartifact/commands/ListPackageVersionAssetsCommand.ts @@ -34,7 +34,6 @@ export class ListPackageVersionAssetsCommand extends $Command< ListPackageVersionAssetsCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListPackageVersionAssetsCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListPackageVersionDependenciesCommand.ts b/clients/client-codeartifact/commands/ListPackageVersionDependenciesCommand.ts index 4be20e8b7e7db..79038b8e361fb 100644 --- a/clients/client-codeartifact/commands/ListPackageVersionDependenciesCommand.ts +++ b/clients/client-codeartifact/commands/ListPackageVersionDependenciesCommand.ts @@ -36,7 +36,6 @@ export class ListPackageVersionDependenciesCommand extends $Command< ListPackageVersionDependenciesCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListPackageVersionDependenciesCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListPackageVersionsCommand.ts b/clients/client-codeartifact/commands/ListPackageVersionsCommand.ts index 88d6b25fde319..d2fe769aef871 100644 --- a/clients/client-codeartifact/commands/ListPackageVersionsCommand.ts +++ b/clients/client-codeartifact/commands/ListPackageVersionsCommand.ts @@ -34,7 +34,6 @@ export class ListPackageVersionsCommand extends $Command< ListPackageVersionsCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListPackageVersionsCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListPackagesCommand.ts b/clients/client-codeartifact/commands/ListPackagesCommand.ts index 98dabc9cc69d5..c1e48a569cb7b 100644 --- a/clients/client-codeartifact/commands/ListPackagesCommand.ts +++ b/clients/client-codeartifact/commands/ListPackagesCommand.ts @@ -34,7 +34,6 @@ export class ListPackagesCommand extends $Command< ListPackagesCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListPackagesCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListRepositoriesCommand.ts b/clients/client-codeartifact/commands/ListRepositoriesCommand.ts index c025caac3d7e3..9ce501d4cfe30 100644 --- a/clients/client-codeartifact/commands/ListRepositoriesCommand.ts +++ b/clients/client-codeartifact/commands/ListRepositoriesCommand.ts @@ -35,7 +35,6 @@ export class ListRepositoriesCommand extends $Command< ListRepositoriesCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListRepositoriesCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListRepositoriesInDomainCommand.ts b/clients/client-codeartifact/commands/ListRepositoriesInDomainCommand.ts index 6511baa8290e5..0be81c015b3d8 100644 --- a/clients/client-codeartifact/commands/ListRepositoriesInDomainCommand.ts +++ b/clients/client-codeartifact/commands/ListRepositoriesInDomainCommand.ts @@ -35,7 +35,6 @@ export class ListRepositoriesInDomainCommand extends $Command< ListRepositoriesInDomainCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListRepositoriesInDomainCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/ListTagsForResourceCommand.ts b/clients/client-codeartifact/commands/ListTagsForResourceCommand.ts index 9ce0d94e8441d..2fc311b2435e7 100644 --- a/clients/client-codeartifact/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codeartifact/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/PutDomainPermissionsPolicyCommand.ts b/clients/client-codeartifact/commands/PutDomainPermissionsPolicyCommand.ts index 2e75a7516a4fa..10b5bb5296472 100644 --- a/clients/client-codeartifact/commands/PutDomainPermissionsPolicyCommand.ts +++ b/clients/client-codeartifact/commands/PutDomainPermissionsPolicyCommand.ts @@ -35,7 +35,6 @@ export class PutDomainPermissionsPolicyCommand extends $Command< PutDomainPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutDomainPermissionsPolicyCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/PutRepositoryPermissionsPolicyCommand.ts b/clients/client-codeartifact/commands/PutRepositoryPermissionsPolicyCommand.ts index 7adb5e3a8326a..0c354eda3365e 100644 --- a/clients/client-codeartifact/commands/PutRepositoryPermissionsPolicyCommand.ts +++ b/clients/client-codeartifact/commands/PutRepositoryPermissionsPolicyCommand.ts @@ -35,7 +35,6 @@ export class PutRepositoryPermissionsPolicyCommand extends $Command< PutRepositoryPermissionsPolicyCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutRepositoryPermissionsPolicyCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/TagResourceCommand.ts b/clients/client-codeartifact/commands/TagResourceCommand.ts index 65a5a0bf75cd3..621600393c6f8 100644 --- a/clients/client-codeartifact/commands/TagResourceCommand.ts +++ b/clients/client-codeartifact/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/UntagResourceCommand.ts b/clients/client-codeartifact/commands/UntagResourceCommand.ts index 1880a7bf4a02b..13ee3c973cbfd 100644 --- a/clients/client-codeartifact/commands/UntagResourceCommand.ts +++ b/clients/client-codeartifact/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/UpdatePackageVersionsStatusCommand.ts b/clients/client-codeartifact/commands/UpdatePackageVersionsStatusCommand.ts index e3e05c8ff0383..2daedaaf4b0a6 100644 --- a/clients/client-codeartifact/commands/UpdatePackageVersionsStatusCommand.ts +++ b/clients/client-codeartifact/commands/UpdatePackageVersionsStatusCommand.ts @@ -30,7 +30,6 @@ export class UpdatePackageVersionsStatusCommand extends $Command< UpdatePackageVersionsStatusCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdatePackageVersionsStatusCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeartifact/commands/UpdateRepositoryCommand.ts b/clients/client-codeartifact/commands/UpdateRepositoryCommand.ts index 4dd022ef5fc86..03680edecd15b 100644 --- a/clients/client-codeartifact/commands/UpdateRepositoryCommand.ts +++ b/clients/client-codeartifact/commands/UpdateRepositoryCommand.ts @@ -30,7 +30,6 @@ export class UpdateRepositoryCommand extends $Command< UpdateRepositoryCommandOutput, CodeartifactClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateRepositoryCommand extends $Command< configuration: CodeartifactClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts b/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts index 0c101aa7da14a..9e73d124646e0 100644 --- a/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts +++ b/clients/client-codebuild/commands/BatchDeleteBuildsCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteBuildsCommand extends $Command< BatchDeleteBuildsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteBuildsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/BatchGetBuildBatchesCommand.ts b/clients/client-codebuild/commands/BatchGetBuildBatchesCommand.ts index 51b52098d1190..7fedeeb9b4098 100644 --- a/clients/client-codebuild/commands/BatchGetBuildBatchesCommand.ts +++ b/clients/client-codebuild/commands/BatchGetBuildBatchesCommand.ts @@ -28,7 +28,6 @@ export class BatchGetBuildBatchesCommand extends $Command< BatchGetBuildBatchesCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetBuildBatchesCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/BatchGetBuildsCommand.ts b/clients/client-codebuild/commands/BatchGetBuildsCommand.ts index c5e5ffe3a9a3f..eb56eeb6962b5 100644 --- a/clients/client-codebuild/commands/BatchGetBuildsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetBuildsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetBuildsCommand extends $Command< BatchGetBuildsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetBuildsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/BatchGetProjectsCommand.ts b/clients/client-codebuild/commands/BatchGetProjectsCommand.ts index 168aebc24510f..3f166ff2f549e 100644 --- a/clients/client-codebuild/commands/BatchGetProjectsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetProjectsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetProjectsCommand extends $Command< BatchGetProjectsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetProjectsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts b/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts index fe8cfa2d7925f..d21e116cb28a2 100644 --- a/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetReportGroupsCommand.ts @@ -30,7 +30,6 @@ export class BatchGetReportGroupsCommand extends $Command< BatchGetReportGroupsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchGetReportGroupsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/BatchGetReportsCommand.ts b/clients/client-codebuild/commands/BatchGetReportsCommand.ts index bba5b9a4912cd..e9f8f920e157d 100644 --- a/clients/client-codebuild/commands/BatchGetReportsCommand.ts +++ b/clients/client-codebuild/commands/BatchGetReportsCommand.ts @@ -30,7 +30,6 @@ export class BatchGetReportsCommand extends $Command< BatchGetReportsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchGetReportsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/CreateProjectCommand.ts b/clients/client-codebuild/commands/CreateProjectCommand.ts index 87f2cc3962b46..48fcd4ea32dfb 100644 --- a/clients/client-codebuild/commands/CreateProjectCommand.ts +++ b/clients/client-codebuild/commands/CreateProjectCommand.ts @@ -28,7 +28,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProjectCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/CreateReportGroupCommand.ts b/clients/client-codebuild/commands/CreateReportGroupCommand.ts index 29ee91dbfb96e..8d194b459f117 100644 --- a/clients/client-codebuild/commands/CreateReportGroupCommand.ts +++ b/clients/client-codebuild/commands/CreateReportGroupCommand.ts @@ -30,7 +30,6 @@ export class CreateReportGroupCommand extends $Command< CreateReportGroupCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateReportGroupCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/CreateWebhookCommand.ts b/clients/client-codebuild/commands/CreateWebhookCommand.ts index 4c8ed6ee9e2d7..afff661c7f5d6 100644 --- a/clients/client-codebuild/commands/CreateWebhookCommand.ts +++ b/clients/client-codebuild/commands/CreateWebhookCommand.ts @@ -38,7 +38,6 @@ export class CreateWebhookCommand extends $Command< CreateWebhookCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateWebhookCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteBuildBatchCommand.ts b/clients/client-codebuild/commands/DeleteBuildBatchCommand.ts index b5daf5a25c0ac..ceefa61aff128 100644 --- a/clients/client-codebuild/commands/DeleteBuildBatchCommand.ts +++ b/clients/client-codebuild/commands/DeleteBuildBatchCommand.ts @@ -28,7 +28,6 @@ export class DeleteBuildBatchCommand extends $Command< DeleteBuildBatchCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBuildBatchCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteProjectCommand.ts b/clients/client-codebuild/commands/DeleteProjectCommand.ts index c1ff41c526692..e5821c0602e85 100644 --- a/clients/client-codebuild/commands/DeleteProjectCommand.ts +++ b/clients/client-codebuild/commands/DeleteProjectCommand.ts @@ -29,7 +29,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteProjectCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteReportCommand.ts b/clients/client-codebuild/commands/DeleteReportCommand.ts index 22606594ca3aa..6febeaef8e9e0 100644 --- a/clients/client-codebuild/commands/DeleteReportCommand.ts +++ b/clients/client-codebuild/commands/DeleteReportCommand.ts @@ -30,7 +30,6 @@ export class DeleteReportCommand extends $Command< DeleteReportCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteReportCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteReportGroupCommand.ts b/clients/client-codebuild/commands/DeleteReportGroupCommand.ts index ec41f4539e008..0ba334ba7c833 100644 --- a/clients/client-codebuild/commands/DeleteReportGroupCommand.ts +++ b/clients/client-codebuild/commands/DeleteReportGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteReportGroupCommand extends $Command< DeleteReportGroupCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteReportGroupCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts b/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts index 23d2f8db32ff7..d7926205c1a4a 100644 --- a/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-codebuild/commands/DeleteResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourcePolicyCommand extends $Command< DeleteResourcePolicyCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourcePolicyCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts b/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts index a389220eb4ef4..10f5154976feb 100644 --- a/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts +++ b/clients/client-codebuild/commands/DeleteSourceCredentialsCommand.ts @@ -28,7 +28,6 @@ export class DeleteSourceCredentialsCommand extends $Command< DeleteSourceCredentialsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSourceCredentialsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DeleteWebhookCommand.ts b/clients/client-codebuild/commands/DeleteWebhookCommand.ts index 033cc274efa36..388de441f1bbe 100644 --- a/clients/client-codebuild/commands/DeleteWebhookCommand.ts +++ b/clients/client-codebuild/commands/DeleteWebhookCommand.ts @@ -30,7 +30,6 @@ export class DeleteWebhookCommand extends $Command< DeleteWebhookCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteWebhookCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DescribeCodeCoveragesCommand.ts b/clients/client-codebuild/commands/DescribeCodeCoveragesCommand.ts index d6516b1c7a169..8c25494c5edba 100644 --- a/clients/client-codebuild/commands/DescribeCodeCoveragesCommand.ts +++ b/clients/client-codebuild/commands/DescribeCodeCoveragesCommand.ts @@ -28,7 +28,6 @@ export class DescribeCodeCoveragesCommand extends $Command< DescribeCodeCoveragesCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCodeCoveragesCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/DescribeTestCasesCommand.ts b/clients/client-codebuild/commands/DescribeTestCasesCommand.ts index d1b641f77aaed..9ad89396e7636 100644 --- a/clients/client-codebuild/commands/DescribeTestCasesCommand.ts +++ b/clients/client-codebuild/commands/DescribeTestCasesCommand.ts @@ -30,7 +30,6 @@ export class DescribeTestCasesCommand extends $Command< DescribeTestCasesCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeTestCasesCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/GetReportGroupTrendCommand.ts b/clients/client-codebuild/commands/GetReportGroupTrendCommand.ts index d51054d222ae4..5aa6c3966887d 100644 --- a/clients/client-codebuild/commands/GetReportGroupTrendCommand.ts +++ b/clients/client-codebuild/commands/GetReportGroupTrendCommand.ts @@ -25,7 +25,6 @@ export class GetReportGroupTrendCommand extends $Command< GetReportGroupTrendCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetReportGroupTrendCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/GetResourcePolicyCommand.ts b/clients/client-codebuild/commands/GetResourcePolicyCommand.ts index 69f17526cd24d..108d9234bac4c 100644 --- a/clients/client-codebuild/commands/GetResourcePolicyCommand.ts +++ b/clients/client-codebuild/commands/GetResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetResourcePolicyCommand extends $Command< GetResourcePolicyCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourcePolicyCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts b/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts index acf6fbdd4a79d..b4f770dcbc755 100644 --- a/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts +++ b/clients/client-codebuild/commands/ImportSourceCredentialsCommand.ts @@ -29,7 +29,6 @@ export class ImportSourceCredentialsCommand extends $Command< ImportSourceCredentialsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ImportSourceCredentialsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts b/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts index 8620ab06929c5..e0871bc77a7e0 100644 --- a/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts +++ b/clients/client-codebuild/commands/InvalidateProjectCacheCommand.ts @@ -28,7 +28,6 @@ export class InvalidateProjectCacheCommand extends $Command< InvalidateProjectCacheCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class InvalidateProjectCacheCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListBuildBatchesCommand.ts b/clients/client-codebuild/commands/ListBuildBatchesCommand.ts index 5f590cba5f668..1d650f88ecdd0 100644 --- a/clients/client-codebuild/commands/ListBuildBatchesCommand.ts +++ b/clients/client-codebuild/commands/ListBuildBatchesCommand.ts @@ -28,7 +28,6 @@ export class ListBuildBatchesCommand extends $Command< ListBuildBatchesCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBuildBatchesCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListBuildBatchesForProjectCommand.ts b/clients/client-codebuild/commands/ListBuildBatchesForProjectCommand.ts index 0da80ef571250..454cf1e10b3be 100644 --- a/clients/client-codebuild/commands/ListBuildBatchesForProjectCommand.ts +++ b/clients/client-codebuild/commands/ListBuildBatchesForProjectCommand.ts @@ -28,7 +28,6 @@ export class ListBuildBatchesForProjectCommand extends $Command< ListBuildBatchesForProjectCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBuildBatchesForProjectCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListBuildsCommand.ts b/clients/client-codebuild/commands/ListBuildsCommand.ts index 5c6387bdfa319..5fa3094842e54 100644 --- a/clients/client-codebuild/commands/ListBuildsCommand.ts +++ b/clients/client-codebuild/commands/ListBuildsCommand.ts @@ -28,7 +28,6 @@ export class ListBuildsCommand extends $Command< ListBuildsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBuildsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts b/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts index f32410654d5e1..c4446e2c26dcc 100644 --- a/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts +++ b/clients/client-codebuild/commands/ListBuildsForProjectCommand.ts @@ -29,7 +29,6 @@ export class ListBuildsForProjectCommand extends $Command< ListBuildsForProjectCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListBuildsForProjectCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts b/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts index cc392ca8fe4cd..4fa0944bd5910 100644 --- a/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts +++ b/clients/client-codebuild/commands/ListCuratedEnvironmentImagesCommand.ts @@ -28,7 +28,6 @@ export class ListCuratedEnvironmentImagesCommand extends $Command< ListCuratedEnvironmentImagesCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCuratedEnvironmentImagesCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListProjectsCommand.ts b/clients/client-codebuild/commands/ListProjectsCommand.ts index 3826d5b36c612..fb17975acfb8c 100644 --- a/clients/client-codebuild/commands/ListProjectsCommand.ts +++ b/clients/client-codebuild/commands/ListProjectsCommand.ts @@ -29,7 +29,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListProjectsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListReportGroupsCommand.ts b/clients/client-codebuild/commands/ListReportGroupsCommand.ts index 392957f446bdd..cf5d2799443d0 100644 --- a/clients/client-codebuild/commands/ListReportGroupsCommand.ts +++ b/clients/client-codebuild/commands/ListReportGroupsCommand.ts @@ -30,7 +30,6 @@ export class ListReportGroupsCommand extends $Command< ListReportGroupsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListReportGroupsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListReportsCommand.ts b/clients/client-codebuild/commands/ListReportsCommand.ts index 30237cefbf4f6..6e147f1b0d57d 100644 --- a/clients/client-codebuild/commands/ListReportsCommand.ts +++ b/clients/client-codebuild/commands/ListReportsCommand.ts @@ -30,7 +30,6 @@ export class ListReportsCommand extends $Command< ListReportsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListReportsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts b/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts index d5329f1272c34..e0173cd457ffb 100644 --- a/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts +++ b/clients/client-codebuild/commands/ListReportsForReportGroupCommand.ts @@ -30,7 +30,6 @@ export class ListReportsForReportGroupCommand extends $Command< ListReportsForReportGroupCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListReportsForReportGroupCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListSharedProjectsCommand.ts b/clients/client-codebuild/commands/ListSharedProjectsCommand.ts index 5afca17dc9b2a..90059ee7bda5b 100644 --- a/clients/client-codebuild/commands/ListSharedProjectsCommand.ts +++ b/clients/client-codebuild/commands/ListSharedProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListSharedProjectsCommand extends $Command< ListSharedProjectsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSharedProjectsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts b/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts index dc10c59052c9c..a6cdd7621de14 100644 --- a/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts +++ b/clients/client-codebuild/commands/ListSharedReportGroupsCommand.ts @@ -29,7 +29,6 @@ export class ListSharedReportGroupsCommand extends $Command< ListSharedReportGroupsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSharedReportGroupsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts b/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts index eb647a6ad90b0..80e2f993590f4 100644 --- a/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts +++ b/clients/client-codebuild/commands/ListSourceCredentialsCommand.ts @@ -28,7 +28,6 @@ export class ListSourceCredentialsCommand extends $Command< ListSourceCredentialsCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSourceCredentialsCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/PutResourcePolicyCommand.ts b/clients/client-codebuild/commands/PutResourcePolicyCommand.ts index e2928a4513052..66605199bf72b 100644 --- a/clients/client-codebuild/commands/PutResourcePolicyCommand.ts +++ b/clients/client-codebuild/commands/PutResourcePolicyCommand.ts @@ -29,7 +29,6 @@ export class PutResourcePolicyCommand extends $Command< PutResourcePolicyCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutResourcePolicyCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/RetryBuildBatchCommand.ts b/clients/client-codebuild/commands/RetryBuildBatchCommand.ts index c1d3613d2cde0..757d24e54b919 100644 --- a/clients/client-codebuild/commands/RetryBuildBatchCommand.ts +++ b/clients/client-codebuild/commands/RetryBuildBatchCommand.ts @@ -28,7 +28,6 @@ export class RetryBuildBatchCommand extends $Command< RetryBuildBatchCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RetryBuildBatchCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/RetryBuildCommand.ts b/clients/client-codebuild/commands/RetryBuildCommand.ts index 22b15c2da587f..a0c5e05b6e9e2 100644 --- a/clients/client-codebuild/commands/RetryBuildCommand.ts +++ b/clients/client-codebuild/commands/RetryBuildCommand.ts @@ -28,7 +28,6 @@ export class RetryBuildCommand extends $Command< RetryBuildCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RetryBuildCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/StartBuildBatchCommand.ts b/clients/client-codebuild/commands/StartBuildBatchCommand.ts index 60edb196d0f20..dc2e5c4b3910f 100644 --- a/clients/client-codebuild/commands/StartBuildBatchCommand.ts +++ b/clients/client-codebuild/commands/StartBuildBatchCommand.ts @@ -28,7 +28,6 @@ export class StartBuildBatchCommand extends $Command< StartBuildBatchCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartBuildBatchCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/StartBuildCommand.ts b/clients/client-codebuild/commands/StartBuildCommand.ts index 837ab2f6f7f2b..974002ab1190f 100644 --- a/clients/client-codebuild/commands/StartBuildCommand.ts +++ b/clients/client-codebuild/commands/StartBuildCommand.ts @@ -28,7 +28,6 @@ export class StartBuildCommand extends $Command< StartBuildCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartBuildCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/StopBuildBatchCommand.ts b/clients/client-codebuild/commands/StopBuildBatchCommand.ts index b8e0d0bb7a534..f420a4ce1103b 100644 --- a/clients/client-codebuild/commands/StopBuildBatchCommand.ts +++ b/clients/client-codebuild/commands/StopBuildBatchCommand.ts @@ -28,7 +28,6 @@ export class StopBuildBatchCommand extends $Command< StopBuildBatchCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopBuildBatchCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/StopBuildCommand.ts b/clients/client-codebuild/commands/StopBuildCommand.ts index 0a66cad99c012..84f54b3dec7c2 100644 --- a/clients/client-codebuild/commands/StopBuildCommand.ts +++ b/clients/client-codebuild/commands/StopBuildCommand.ts @@ -25,7 +25,6 @@ export class StopBuildCommand extends $Command< StopBuildCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class StopBuildCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/UpdateProjectCommand.ts b/clients/client-codebuild/commands/UpdateProjectCommand.ts index f22fd627b4832..b5000d8afd365 100644 --- a/clients/client-codebuild/commands/UpdateProjectCommand.ts +++ b/clients/client-codebuild/commands/UpdateProjectCommand.ts @@ -28,7 +28,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProjectCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/UpdateReportGroupCommand.ts b/clients/client-codebuild/commands/UpdateReportGroupCommand.ts index e31585b1e7aac..8f7ba830bf4bf 100644 --- a/clients/client-codebuild/commands/UpdateReportGroupCommand.ts +++ b/clients/client-codebuild/commands/UpdateReportGroupCommand.ts @@ -30,7 +30,6 @@ export class UpdateReportGroupCommand extends $Command< UpdateReportGroupCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateReportGroupCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codebuild/commands/UpdateWebhookCommand.ts b/clients/client-codebuild/commands/UpdateWebhookCommand.ts index 62bbbd363495c..669e489cf3965 100644 --- a/clients/client-codebuild/commands/UpdateWebhookCommand.ts +++ b/clients/client-codebuild/commands/UpdateWebhookCommand.ts @@ -32,7 +32,6 @@ export class UpdateWebhookCommand extends $Command< UpdateWebhookCommandOutput, CodeBuildClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateWebhookCommand extends $Command< configuration: CodeBuildClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts b/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts index aeafde55f45b1..c358c2eabb97f 100644 --- a/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts +++ b/clients/client-codecommit/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts @@ -34,7 +34,6 @@ export class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command AssociateApprovalRuleTemplateWithRepositoryCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts b/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts index 642bb9568b269..b7570fa4f201e 100644 --- a/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts @@ -32,7 +32,6 @@ export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $ BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $ BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts b/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts index e79e525afd380..4cd6ce623e3f9 100644 --- a/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts +++ b/clients/client-codecommit/commands/BatchDescribeMergeConflictsCommand.ts @@ -28,7 +28,6 @@ export class BatchDescribeMergeConflictsCommand extends $Command< BatchDescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDescribeMergeConflictsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts b/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts index 3a7de9b9c8663..d90e26cce1f4b 100644 --- a/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts @@ -32,7 +32,6 @@ export class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand extend BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand extend BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/BatchGetCommitsCommand.ts b/clients/client-codecommit/commands/BatchGetCommitsCommand.ts index 6bc6594c6c1d9..77f210306a64d 100644 --- a/clients/client-codecommit/commands/BatchGetCommitsCommand.ts +++ b/clients/client-codecommit/commands/BatchGetCommitsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetCommitsCommand extends $Command< BatchGetCommitsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetCommitsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts b/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts index 70a3093c88c48..3c9e9dbe43b94 100644 --- a/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/BatchGetRepositoriesCommand.ts @@ -35,7 +35,6 @@ export class BatchGetRepositoriesCommand extends $Command< BatchGetRepositoriesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchGetRepositoriesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts index 66def32af89ba..ebf816ba5e8ed 100644 --- a/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/CreateApprovalRuleTemplateCommand.ts @@ -32,7 +32,6 @@ export class CreateApprovalRuleTemplateCommand extends $Command< CreateApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApprovalRuleTemplateCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreateBranchCommand.ts b/clients/client-codecommit/commands/CreateBranchCommand.ts index bca6de6fbd367..33f6072c3bab9 100644 --- a/clients/client-codecommit/commands/CreateBranchCommand.ts +++ b/clients/client-codecommit/commands/CreateBranchCommand.ts @@ -31,7 +31,6 @@ export class CreateBranchCommand extends $Command< CreateBranchCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateBranchCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreateCommitCommand.ts b/clients/client-codecommit/commands/CreateCommitCommand.ts index 1f0fbac0a089f..2bc417bbfc0f4 100644 --- a/clients/client-codecommit/commands/CreateCommitCommand.ts +++ b/clients/client-codecommit/commands/CreateCommitCommand.ts @@ -28,7 +28,6 @@ export class CreateCommitCommand extends $Command< CreateCommitCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCommitCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts b/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts index 39afe572ad2c0..e834dae0dac4e 100644 --- a/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts +++ b/clients/client-codecommit/commands/CreatePullRequestApprovalRuleCommand.ts @@ -28,7 +28,6 @@ export class CreatePullRequestApprovalRuleCommand extends $Command< CreatePullRequestApprovalRuleCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePullRequestApprovalRuleCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreatePullRequestCommand.ts b/clients/client-codecommit/commands/CreatePullRequestCommand.ts index e3666e6a45681..183227e60243b 100644 --- a/clients/client-codecommit/commands/CreatePullRequestCommand.ts +++ b/clients/client-codecommit/commands/CreatePullRequestCommand.ts @@ -28,7 +28,6 @@ export class CreatePullRequestCommand extends $Command< CreatePullRequestCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePullRequestCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreateRepositoryCommand.ts b/clients/client-codecommit/commands/CreateRepositoryCommand.ts index 679e8e962a2f6..ac1af38edd212 100644 --- a/clients/client-codecommit/commands/CreateRepositoryCommand.ts +++ b/clients/client-codecommit/commands/CreateRepositoryCommand.ts @@ -28,7 +28,6 @@ export class CreateRepositoryCommand extends $Command< CreateRepositoryCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRepositoryCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts b/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts index ab593bc09ee11..78b861c8b2cf3 100644 --- a/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts +++ b/clients/client-codecommit/commands/CreateUnreferencedMergeCommitCommand.ts @@ -35,7 +35,6 @@ export class CreateUnreferencedMergeCommitCommand extends $Command< CreateUnreferencedMergeCommitCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateUnreferencedMergeCommitCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts index 56e007659ab68..7f6eb10c015f6 100644 --- a/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/DeleteApprovalRuleTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteApprovalRuleTemplateCommand extends $Command< DeleteApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApprovalRuleTemplateCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DeleteBranchCommand.ts b/clients/client-codecommit/commands/DeleteBranchCommand.ts index de05bb430fb71..61cb4815356a5 100644 --- a/clients/client-codecommit/commands/DeleteBranchCommand.ts +++ b/clients/client-codecommit/commands/DeleteBranchCommand.ts @@ -28,7 +28,6 @@ export class DeleteBranchCommand extends $Command< DeleteBranchCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBranchCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DeleteCommentContentCommand.ts b/clients/client-codecommit/commands/DeleteCommentContentCommand.ts index 8ea0d122fb2a4..0829d918c9ddb 100644 --- a/clients/client-codecommit/commands/DeleteCommentContentCommand.ts +++ b/clients/client-codecommit/commands/DeleteCommentContentCommand.ts @@ -28,7 +28,6 @@ export class DeleteCommentContentCommand extends $Command< DeleteCommentContentCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCommentContentCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DeleteFileCommand.ts b/clients/client-codecommit/commands/DeleteFileCommand.ts index fc560687f587b..9cddded12e5c0 100644 --- a/clients/client-codecommit/commands/DeleteFileCommand.ts +++ b/clients/client-codecommit/commands/DeleteFileCommand.ts @@ -30,7 +30,6 @@ export class DeleteFileCommand extends $Command< DeleteFileCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteFileCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts b/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts index edd51ee6215a5..e1430b959ad33 100644 --- a/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts +++ b/clients/client-codecommit/commands/DeletePullRequestApprovalRuleCommand.ts @@ -30,7 +30,6 @@ export class DeletePullRequestApprovalRuleCommand extends $Command< DeletePullRequestApprovalRuleCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeletePullRequestApprovalRuleCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DeleteRepositoryCommand.ts b/clients/client-codecommit/commands/DeleteRepositoryCommand.ts index 78bcf5c293c73..ac169b5af6c0a 100644 --- a/clients/client-codecommit/commands/DeleteRepositoryCommand.ts +++ b/clients/client-codecommit/commands/DeleteRepositoryCommand.ts @@ -33,7 +33,6 @@ export class DeleteRepositoryCommand extends $Command< DeleteRepositoryCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteRepositoryCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts b/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts index 21413052d8875..1d677cf1cc5df 100644 --- a/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts +++ b/clients/client-codecommit/commands/DescribeMergeConflictsCommand.ts @@ -30,7 +30,6 @@ export class DescribeMergeConflictsCommand extends $Command< DescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeMergeConflictsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts b/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts index 64040682bd2f2..d38f6dcfd112a 100644 --- a/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts +++ b/clients/client-codecommit/commands/DescribePullRequestEventsCommand.ts @@ -28,7 +28,6 @@ export class DescribePullRequestEventsCommand extends $Command< DescribePullRequestEventsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePullRequestEventsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts b/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts index d0d6434ea4fd5..d37a34115f6e8 100644 --- a/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts +++ b/clients/client-codecommit/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts @@ -31,7 +31,6 @@ export class DisassociateApprovalRuleTemplateFromRepositoryCommand extends $Comm DisassociateApprovalRuleTemplateFromRepositoryCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DisassociateApprovalRuleTemplateFromRepositoryCommand extends $Comm DisassociateApprovalRuleTemplateFromRepositoryCommandInput, DisassociateApprovalRuleTemplateFromRepositoryCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts b/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts index 5a25bb3708bc2..3489fcf1da7b0 100644 --- a/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts +++ b/clients/client-codecommit/commands/EvaluatePullRequestApprovalRulesCommand.ts @@ -28,7 +28,6 @@ export class EvaluatePullRequestApprovalRulesCommand extends $Command< EvaluatePullRequestApprovalRulesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EvaluatePullRequestApprovalRulesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts index 0831a8d804ec9..bc2de22f39978 100644 --- a/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/GetApprovalRuleTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetApprovalRuleTemplateCommand extends $Command< GetApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApprovalRuleTemplateCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetBlobCommand.ts b/clients/client-codecommit/commands/GetBlobCommand.ts index 9b2cf6807edd8..56b0c9c4c9406 100644 --- a/clients/client-codecommit/commands/GetBlobCommand.ts +++ b/clients/client-codecommit/commands/GetBlobCommand.ts @@ -25,7 +25,6 @@ export class GetBlobCommand extends $Command< GetBlobCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetBlobCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetBranchCommand.ts b/clients/client-codecommit/commands/GetBranchCommand.ts index 3d59fe05cebc8..dacbbc80a6a5b 100644 --- a/clients/client-codecommit/commands/GetBranchCommand.ts +++ b/clients/client-codecommit/commands/GetBranchCommand.ts @@ -25,7 +25,6 @@ export class GetBranchCommand extends $Command< GetBranchCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetBranchCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetCommentCommand.ts b/clients/client-codecommit/commands/GetCommentCommand.ts index a3273ede2e035..fc8779f39cffd 100644 --- a/clients/client-codecommit/commands/GetCommentCommand.ts +++ b/clients/client-codecommit/commands/GetCommentCommand.ts @@ -32,7 +32,6 @@ export class GetCommentCommand extends $Command< GetCommentCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCommentCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetCommentReactionsCommand.ts b/clients/client-codecommit/commands/GetCommentReactionsCommand.ts index e8ec90b0ba326..58cc60537cb7f 100644 --- a/clients/client-codecommit/commands/GetCommentReactionsCommand.ts +++ b/clients/client-codecommit/commands/GetCommentReactionsCommand.ts @@ -28,7 +28,6 @@ export class GetCommentReactionsCommand extends $Command< GetCommentReactionsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCommentReactionsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts b/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts index dda4436d194ff..f6ce2401057ef 100644 --- a/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts +++ b/clients/client-codecommit/commands/GetCommentsForComparedCommitCommand.ts @@ -32,7 +32,6 @@ export class GetCommentsForComparedCommitCommand extends $Command< GetCommentsForComparedCommitCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCommentsForComparedCommitCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts b/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts index 30937748c50a7..558bf726e8095 100644 --- a/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts +++ b/clients/client-codecommit/commands/GetCommentsForPullRequestCommand.ts @@ -32,7 +32,6 @@ export class GetCommentsForPullRequestCommand extends $Command< GetCommentsForPullRequestCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCommentsForPullRequestCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetCommitCommand.ts b/clients/client-codecommit/commands/GetCommitCommand.ts index 58cbdd8303b9c..a669b47a1c946 100644 --- a/clients/client-codecommit/commands/GetCommitCommand.ts +++ b/clients/client-codecommit/commands/GetCommitCommand.ts @@ -25,7 +25,6 @@ export class GetCommitCommand extends $Command< GetCommitCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetCommitCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetDifferencesCommand.ts b/clients/client-codecommit/commands/GetDifferencesCommand.ts index 36bc87db5f25b..cc4986554301d 100644 --- a/clients/client-codecommit/commands/GetDifferencesCommand.ts +++ b/clients/client-codecommit/commands/GetDifferencesCommand.ts @@ -30,7 +30,6 @@ export class GetDifferencesCommand extends $Command< GetDifferencesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDifferencesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetFileCommand.ts b/clients/client-codecommit/commands/GetFileCommand.ts index f2d56b3723783..caaf989d3c904 100644 --- a/clients/client-codecommit/commands/GetFileCommand.ts +++ b/clients/client-codecommit/commands/GetFileCommand.ts @@ -25,7 +25,6 @@ export class GetFileCommand extends $Command< GetFileCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetFileCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetFolderCommand.ts b/clients/client-codecommit/commands/GetFolderCommand.ts index 5118b41096b3c..d13c36896bad7 100644 --- a/clients/client-codecommit/commands/GetFolderCommand.ts +++ b/clients/client-codecommit/commands/GetFolderCommand.ts @@ -25,7 +25,6 @@ export class GetFolderCommand extends $Command< GetFolderCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetFolderCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetMergeCommitCommand.ts b/clients/client-codecommit/commands/GetMergeCommitCommand.ts index 04ddc24eaea59..6adf6d3102592 100644 --- a/clients/client-codecommit/commands/GetMergeCommitCommand.ts +++ b/clients/client-codecommit/commands/GetMergeCommitCommand.ts @@ -28,7 +28,6 @@ export class GetMergeCommitCommand extends $Command< GetMergeCommitCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMergeCommitCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetMergeConflictsCommand.ts b/clients/client-codecommit/commands/GetMergeConflictsCommand.ts index fc2ace2471ce6..f9277b40f1d12 100644 --- a/clients/client-codecommit/commands/GetMergeConflictsCommand.ts +++ b/clients/client-codecommit/commands/GetMergeConflictsCommand.ts @@ -28,7 +28,6 @@ export class GetMergeConflictsCommand extends $Command< GetMergeConflictsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMergeConflictsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetMergeOptionsCommand.ts b/clients/client-codecommit/commands/GetMergeOptionsCommand.ts index 8fbc554260bcf..43d263e9cf253 100644 --- a/clients/client-codecommit/commands/GetMergeOptionsCommand.ts +++ b/clients/client-codecommit/commands/GetMergeOptionsCommand.ts @@ -30,7 +30,6 @@ export class GetMergeOptionsCommand extends $Command< GetMergeOptionsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetMergeOptionsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts b/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts index 754e9647e7ee5..c747ef85b7cc3 100644 --- a/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts +++ b/clients/client-codecommit/commands/GetPullRequestApprovalStatesCommand.ts @@ -29,7 +29,6 @@ export class GetPullRequestApprovalStatesCommand extends $Command< GetPullRequestApprovalStatesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetPullRequestApprovalStatesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetPullRequestCommand.ts b/clients/client-codecommit/commands/GetPullRequestCommand.ts index d69e58422beaf..8f909e8710da7 100644 --- a/clients/client-codecommit/commands/GetPullRequestCommand.ts +++ b/clients/client-codecommit/commands/GetPullRequestCommand.ts @@ -28,7 +28,6 @@ export class GetPullRequestCommand extends $Command< GetPullRequestCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPullRequestCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts b/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts index 711555e593a8d..d0b40c7484398 100644 --- a/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts +++ b/clients/client-codecommit/commands/GetPullRequestOverrideStateCommand.ts @@ -29,7 +29,6 @@ export class GetPullRequestOverrideStateCommand extends $Command< GetPullRequestOverrideStateCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetPullRequestOverrideStateCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetRepositoryCommand.ts b/clients/client-codecommit/commands/GetRepositoryCommand.ts index 6587986518208..32a177a91336f 100644 --- a/clients/client-codecommit/commands/GetRepositoryCommand.ts +++ b/clients/client-codecommit/commands/GetRepositoryCommand.ts @@ -36,7 +36,6 @@ export class GetRepositoryCommand extends $Command< GetRepositoryCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetRepositoryCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts b/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts index ef9df7c5af234..ff72ccdf8e385 100644 --- a/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts +++ b/clients/client-codecommit/commands/GetRepositoryTriggersCommand.ts @@ -28,7 +28,6 @@ export class GetRepositoryTriggersCommand extends $Command< GetRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRepositoryTriggersCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts b/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts index 309126eaf2526..57081557b109e 100644 --- a/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts +++ b/clients/client-codecommit/commands/ListApprovalRuleTemplatesCommand.ts @@ -29,7 +29,6 @@ export class ListApprovalRuleTemplatesCommand extends $Command< ListApprovalRuleTemplatesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListApprovalRuleTemplatesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts b/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts index 551e5ca81106d..e47a0c62d09c9 100644 --- a/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts +++ b/clients/client-codecommit/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.ts @@ -32,7 +32,6 @@ export class ListAssociatedApprovalRuleTemplatesForRepositoryCommand extends $Co ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListAssociatedApprovalRuleTemplatesForRepositoryCommand extends $Co ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListBranchesCommand.ts b/clients/client-codecommit/commands/ListBranchesCommand.ts index 77333b676fcb8..821f0d8f9fc68 100644 --- a/clients/client-codecommit/commands/ListBranchesCommand.ts +++ b/clients/client-codecommit/commands/ListBranchesCommand.ts @@ -28,7 +28,6 @@ export class ListBranchesCommand extends $Command< ListBranchesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBranchesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListPullRequestsCommand.ts b/clients/client-codecommit/commands/ListPullRequestsCommand.ts index aa7c737fe5f4f..a75d7af344ad3 100644 --- a/clients/client-codecommit/commands/ListPullRequestsCommand.ts +++ b/clients/client-codecommit/commands/ListPullRequestsCommand.ts @@ -29,7 +29,6 @@ export class ListPullRequestsCommand extends $Command< ListPullRequestsCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPullRequestsCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListRepositoriesCommand.ts b/clients/client-codecommit/commands/ListRepositoriesCommand.ts index fd0735f3834bc..2316b32a26845 100644 --- a/clients/client-codecommit/commands/ListRepositoriesCommand.ts +++ b/clients/client-codecommit/commands/ListRepositoriesCommand.ts @@ -28,7 +28,6 @@ export class ListRepositoriesCommand extends $Command< ListRepositoriesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRepositoriesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts b/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts index 11936da4dd4f9..c2f1624e8e009 100644 --- a/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts +++ b/clients/client-codecommit/commands/ListRepositoriesForApprovalRuleTemplateCommand.ts @@ -32,7 +32,6 @@ export class ListRepositoriesForApprovalRuleTemplateCommand extends $Command< ListRepositoriesForApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListRepositoriesForApprovalRuleTemplateCommand extends $Command< ListRepositoriesForApprovalRuleTemplateCommandInput, ListRepositoriesForApprovalRuleTemplateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/ListTagsForResourceCommand.ts b/clients/client-codecommit/commands/ListTagsForResourceCommand.ts index ac950c04a1ecd..de9726da76370 100644 --- a/clients/client-codecommit/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codecommit/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts b/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts index c7ebfcbd57cbf..a03316a770dd0 100644 --- a/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts +++ b/clients/client-codecommit/commands/MergeBranchesByFastForwardCommand.ts @@ -28,7 +28,6 @@ export class MergeBranchesByFastForwardCommand extends $Command< MergeBranchesByFastForwardCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class MergeBranchesByFastForwardCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts b/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts index ae69ed190223c..29a8b08c7e22e 100644 --- a/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts +++ b/clients/client-codecommit/commands/MergeBranchesBySquashCommand.ts @@ -28,7 +28,6 @@ export class MergeBranchesBySquashCommand extends $Command< MergeBranchesBySquashCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class MergeBranchesBySquashCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts b/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts index 5e68846ebb84d..1e4b4e25730ed 100644 --- a/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts +++ b/clients/client-codecommit/commands/MergeBranchesByThreeWayCommand.ts @@ -28,7 +28,6 @@ export class MergeBranchesByThreeWayCommand extends $Command< MergeBranchesByThreeWayCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class MergeBranchesByThreeWayCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts b/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts index 635b5109ecb09..16f5bae10ee02 100644 --- a/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts +++ b/clients/client-codecommit/commands/MergePullRequestByFastForwardCommand.ts @@ -29,7 +29,6 @@ export class MergePullRequestByFastForwardCommand extends $Command< MergePullRequestByFastForwardCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class MergePullRequestByFastForwardCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts b/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts index 9777fd6d40d5b..737f2811ba3a0 100644 --- a/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts +++ b/clients/client-codecommit/commands/MergePullRequestBySquashCommand.ts @@ -29,7 +29,6 @@ export class MergePullRequestBySquashCommand extends $Command< MergePullRequestBySquashCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class MergePullRequestBySquashCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts b/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts index 66b169d7c6019..1c5adb9dcefe0 100644 --- a/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts +++ b/clients/client-codecommit/commands/MergePullRequestByThreeWayCommand.ts @@ -29,7 +29,6 @@ export class MergePullRequestByThreeWayCommand extends $Command< MergePullRequestByThreeWayCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class MergePullRequestByThreeWayCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts b/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts index a17065ea970f2..4144312c09a49 100644 --- a/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts +++ b/clients/client-codecommit/commands/OverridePullRequestApprovalRulesCommand.ts @@ -28,7 +28,6 @@ export class OverridePullRequestApprovalRulesCommand extends $Command< OverridePullRequestApprovalRulesCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class OverridePullRequestApprovalRulesCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts b/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts index 309850ace6d0c..30a9aafdb5441 100644 --- a/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts +++ b/clients/client-codecommit/commands/PostCommentForComparedCommitCommand.ts @@ -28,7 +28,6 @@ export class PostCommentForComparedCommitCommand extends $Command< PostCommentForComparedCommitCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PostCommentForComparedCommitCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts b/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts index 050bd79b9b34d..3c7f7af75c6ac 100644 --- a/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts +++ b/clients/client-codecommit/commands/PostCommentForPullRequestCommand.ts @@ -28,7 +28,6 @@ export class PostCommentForPullRequestCommand extends $Command< PostCommentForPullRequestCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PostCommentForPullRequestCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/PostCommentReplyCommand.ts b/clients/client-codecommit/commands/PostCommentReplyCommand.ts index 7611a3760db5c..1e08dbe33f749 100644 --- a/clients/client-codecommit/commands/PostCommentReplyCommand.ts +++ b/clients/client-codecommit/commands/PostCommentReplyCommand.ts @@ -28,7 +28,6 @@ export class PostCommentReplyCommand extends $Command< PostCommentReplyCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PostCommentReplyCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/PutCommentReactionCommand.ts b/clients/client-codecommit/commands/PutCommentReactionCommand.ts index b80ad34dc9f38..ca37e922a68dc 100644 --- a/clients/client-codecommit/commands/PutCommentReactionCommand.ts +++ b/clients/client-codecommit/commands/PutCommentReactionCommand.ts @@ -29,7 +29,6 @@ export class PutCommentReactionCommand extends $Command< PutCommentReactionCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutCommentReactionCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/PutFileCommand.ts b/clients/client-codecommit/commands/PutFileCommand.ts index cc90b92143b67..72cf06c2bbb1c 100644 --- a/clients/client-codecommit/commands/PutFileCommand.ts +++ b/clients/client-codecommit/commands/PutFileCommand.ts @@ -25,7 +25,6 @@ export class PutFileCommand extends $Command< PutFileCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class PutFileCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts b/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts index 7c6918a4c5729..26a9dee71ebc5 100644 --- a/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts +++ b/clients/client-codecommit/commands/PutRepositoryTriggersCommand.ts @@ -28,7 +28,6 @@ export class PutRepositoryTriggersCommand extends $Command< PutRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutRepositoryTriggersCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/TagResourceCommand.ts b/clients/client-codecommit/commands/TagResourceCommand.ts index 6647e36bb89d4..f600fc8aa4f7b 100644 --- a/clients/client-codecommit/commands/TagResourceCommand.ts +++ b/clients/client-codecommit/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts b/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts index 1c2bdda70cf93..51b89c380c191 100644 --- a/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts +++ b/clients/client-codecommit/commands/TestRepositoryTriggersCommand.ts @@ -30,7 +30,6 @@ export class TestRepositoryTriggersCommand extends $Command< TestRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TestRepositoryTriggersCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UntagResourceCommand.ts b/clients/client-codecommit/commands/UntagResourceCommand.ts index 267d6d2456050..1c30610ad8b80 100644 --- a/clients/client-codecommit/commands/UntagResourceCommand.ts +++ b/clients/client-codecommit/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts index 011c41b3aa166..cf402d1dc3954 100644 --- a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts +++ b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateContentCommand.ts @@ -30,7 +30,6 @@ export class UpdateApprovalRuleTemplateContentCommand extends $Command< UpdateApprovalRuleTemplateContentCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateApprovalRuleTemplateContentCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts index 9920a242cf664..ad71c21ba168f 100644 --- a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts +++ b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateDescriptionCommand.ts @@ -32,7 +32,6 @@ export class UpdateApprovalRuleTemplateDescriptionCommand extends $Command< UpdateApprovalRuleTemplateDescriptionCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApprovalRuleTemplateDescriptionCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts index eb4365ad770ff..4b6120a358712 100644 --- a/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts +++ b/clients/client-codecommit/commands/UpdateApprovalRuleTemplateNameCommand.ts @@ -28,7 +28,6 @@ export class UpdateApprovalRuleTemplateNameCommand extends $Command< UpdateApprovalRuleTemplateNameCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApprovalRuleTemplateNameCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateCommentCommand.ts b/clients/client-codecommit/commands/UpdateCommentCommand.ts index 5dc7ff4f5100d..0bace95f5e551 100644 --- a/clients/client-codecommit/commands/UpdateCommentCommand.ts +++ b/clients/client-codecommit/commands/UpdateCommentCommand.ts @@ -28,7 +28,6 @@ export class UpdateCommentCommand extends $Command< UpdateCommentCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCommentCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts b/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts index 3c37c4265a007..963e8c2f7b49a 100644 --- a/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts +++ b/clients/client-codecommit/commands/UpdateDefaultBranchCommand.ts @@ -31,7 +31,6 @@ export class UpdateDefaultBranchCommand extends $Command< UpdateDefaultBranchCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateDefaultBranchCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts index 7ba3f143c4357..b6a197fffffa3 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestApprovalRuleContentCommand.ts @@ -33,7 +33,6 @@ export class UpdatePullRequestApprovalRuleContentCommand extends $Command< UpdatePullRequestApprovalRuleContentCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdatePullRequestApprovalRuleContentCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts index 0115385508443..d9aab5870a7fd 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestApprovalStateCommand.ts @@ -28,7 +28,6 @@ export class UpdatePullRequestApprovalStateCommand extends $Command< UpdatePullRequestApprovalStateCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePullRequestApprovalStateCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts index 1313e2096e7d9..b40dcdd922c0a 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestDescriptionCommand.ts @@ -28,7 +28,6 @@ export class UpdatePullRequestDescriptionCommand extends $Command< UpdatePullRequestDescriptionCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePullRequestDescriptionCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts index 8addcdbf8e915..9d8982b4cf1e4 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestStatusCommand.ts @@ -28,7 +28,6 @@ export class UpdatePullRequestStatusCommand extends $Command< UpdatePullRequestStatusCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePullRequestStatusCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts b/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts index d9de661568490..c100978cdc225 100644 --- a/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts +++ b/clients/client-codecommit/commands/UpdatePullRequestTitleCommand.ts @@ -28,7 +28,6 @@ export class UpdatePullRequestTitleCommand extends $Command< UpdatePullRequestTitleCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePullRequestTitleCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts b/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts index 2089eb9c574bd..fb6cf1bb01f5d 100644 --- a/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts +++ b/clients/client-codecommit/commands/UpdateRepositoryDescriptionCommand.ts @@ -35,7 +35,6 @@ export class UpdateRepositoryDescriptionCommand extends $Command< UpdateRepositoryDescriptionCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateRepositoryDescriptionCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts b/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts index eb72e1d7877e8..4410651fe86a8 100644 --- a/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts +++ b/clients/client-codecommit/commands/UpdateRepositoryNameCommand.ts @@ -32,7 +32,6 @@ export class UpdateRepositoryNameCommand extends $Command< UpdateRepositoryNameCommandOutput, CodeCommitClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateRepositoryNameCommand extends $Command< configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts index 92124bfceb9e7..d4818f2b19629 100644 --- a/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/AddTagsToOnPremisesInstancesCommand.ts @@ -28,7 +28,6 @@ export class AddTagsToOnPremisesInstancesCommand extends $Command< AddTagsToOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddTagsToOnPremisesInstancesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts b/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts index 357f27ad5e446..d6548f10d32ac 100644 --- a/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetApplicationRevisionsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetApplicationRevisionsCommand extends $Command< BatchGetApplicationRevisionsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetApplicationRevisionsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts b/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts index e1375207f8ad1..db556b84711ff 100644 --- a/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetApplicationsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetApplicationsCommand extends $Command< BatchGetApplicationsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetApplicationsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts index 5eb7bee05e10a..26def7fedb3eb 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentGroupsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetDeploymentGroupsCommand extends $Command< BatchGetDeploymentGroupsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetDeploymentGroupsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts index b305b2cfa90f5..9d4798aeb8aa3 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentInstancesCommand.ts @@ -37,7 +37,6 @@ export class BatchGetDeploymentInstancesCommand extends $Command< BatchGetDeploymentInstancesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class BatchGetDeploymentInstancesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts index 5be8ab0c73792..37867c7c850bb 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentTargetsCommand.ts @@ -54,7 +54,6 @@ export class BatchGetDeploymentTargetsCommand extends $Command< BatchGetDeploymentTargetsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class BatchGetDeploymentTargetsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts b/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts index 41886ee405b4c..eeed5915188c3 100644 --- a/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetDeploymentsCommand extends $Command< BatchGetDeploymentsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetDeploymentsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts index a43f1736acbbd..90f9a2e45348d 100644 --- a/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/BatchGetOnPremisesInstancesCommand.ts @@ -28,7 +28,6 @@ export class BatchGetOnPremisesInstancesCommand extends $Command< BatchGetOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetOnPremisesInstancesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts b/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts index dba8e88b3842e..3a14da8a2b50c 100644 --- a/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/ContinueDeploymentCommand.ts @@ -32,7 +32,6 @@ export class ContinueDeploymentCommand extends $Command< ContinueDeploymentCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ContinueDeploymentCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/CreateApplicationCommand.ts b/clients/client-codedeploy/commands/CreateApplicationCommand.ts index 8f17912f26439..653af7158905a 100644 --- a/clients/client-codedeploy/commands/CreateApplicationCommand.ts +++ b/clients/client-codedeploy/commands/CreateApplicationCommand.ts @@ -28,7 +28,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateApplicationCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/CreateDeploymentCommand.ts b/clients/client-codedeploy/commands/CreateDeploymentCommand.ts index 2f19498aa2614..c4ee7851069af 100644 --- a/clients/client-codedeploy/commands/CreateDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/CreateDeploymentCommand.ts @@ -28,7 +28,6 @@ export class CreateDeploymentCommand extends $Command< CreateDeploymentCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeploymentCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts b/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts index 0e0dff43e1c37..4877b6c2130f5 100644 --- a/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/commands/CreateDeploymentConfigCommand.ts @@ -28,7 +28,6 @@ export class CreateDeploymentConfigCommand extends $Command< CreateDeploymentConfigCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeploymentConfigCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts index 36cd1eb570801..8da5f78d12096 100644 --- a/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/CreateDeploymentGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateDeploymentGroupCommand extends $Command< CreateDeploymentGroupCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeploymentGroupCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/DeleteApplicationCommand.ts b/clients/client-codedeploy/commands/DeleteApplicationCommand.ts index 357dfa6dec1fb..5fdafcab36e31 100644 --- a/clients/client-codedeploy/commands/DeleteApplicationCommand.ts +++ b/clients/client-codedeploy/commands/DeleteApplicationCommand.ts @@ -28,7 +28,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApplicationCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts b/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts index 7d732c4075ff2..d83cf4abf8946 100644 --- a/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/commands/DeleteDeploymentConfigCommand.ts @@ -32,7 +32,6 @@ export class DeleteDeploymentConfigCommand extends $Command< DeleteDeploymentConfigCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteDeploymentConfigCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts index b484761b98eed..d56d01e6dc8fc 100644 --- a/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/DeleteDeploymentGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteDeploymentGroupCommand extends $Command< DeleteDeploymentGroupCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDeploymentGroupCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts b/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts index d3381af99ffe6..eb0ac0a890db7 100644 --- a/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts +++ b/clients/client-codedeploy/commands/DeleteGitHubAccountTokenCommand.ts @@ -28,7 +28,6 @@ export class DeleteGitHubAccountTokenCommand extends $Command< DeleteGitHubAccountTokenCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGitHubAccountTokenCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/DeleteResourcesByExternalIdCommand.ts b/clients/client-codedeploy/commands/DeleteResourcesByExternalIdCommand.ts index aa18be298c569..4aa48b3439cd1 100644 --- a/clients/client-codedeploy/commands/DeleteResourcesByExternalIdCommand.ts +++ b/clients/client-codedeploy/commands/DeleteResourcesByExternalIdCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourcesByExternalIdCommand extends $Command< DeleteResourcesByExternalIdCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourcesByExternalIdCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts b/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts index 0d1adc13e60a9..80c859b91fe53 100644 --- a/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/commands/DeregisterOnPremisesInstanceCommand.ts @@ -28,7 +28,6 @@ export class DeregisterOnPremisesInstanceCommand extends $Command< DeregisterOnPremisesInstanceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterOnPremisesInstanceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetApplicationCommand.ts b/clients/client-codedeploy/commands/GetApplicationCommand.ts index 842378a8a51d0..d1e98d7eb960e 100644 --- a/clients/client-codedeploy/commands/GetApplicationCommand.ts +++ b/clients/client-codedeploy/commands/GetApplicationCommand.ts @@ -28,7 +28,6 @@ export class GetApplicationCommand extends $Command< GetApplicationCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApplicationCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts b/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts index cf47a3190364a..98ac86c7fbef3 100644 --- a/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts +++ b/clients/client-codedeploy/commands/GetApplicationRevisionCommand.ts @@ -28,7 +28,6 @@ export class GetApplicationRevisionCommand extends $Command< GetApplicationRevisionCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApplicationRevisionCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetDeploymentCommand.ts b/clients/client-codedeploy/commands/GetDeploymentCommand.ts index 564c049de7efe..af7b058459c8c 100644 --- a/clients/client-codedeploy/commands/GetDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentCommand.ts @@ -35,7 +35,6 @@ export class GetDeploymentCommand extends $Command< GetDeploymentCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetDeploymentCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts b/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts index 037ca10629ddc..143da0b5c4051 100644 --- a/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentConfigCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentConfigCommand extends $Command< GetDeploymentConfigCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentConfigCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts index 962e3446f6c76..ac8321f60575b 100644 --- a/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentGroupCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentGroupCommand extends $Command< GetDeploymentGroupCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentGroupCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts b/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts index e26a5dac1e8af..ec2468718322d 100644 --- a/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentInstanceCommand.ts @@ -30,7 +30,6 @@ export class GetDeploymentInstanceCommand extends $Command< GetDeploymentInstanceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDeploymentInstanceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts b/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts index 14251cb7ab237..d06c0bd4a8b65 100644 --- a/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts +++ b/clients/client-codedeploy/commands/GetDeploymentTargetCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentTargetCommand extends $Command< GetDeploymentTargetCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentTargetCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts b/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts index 811bc0cd746b3..20b18dd5bf9e2 100644 --- a/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/commands/GetOnPremisesInstanceCommand.ts @@ -28,7 +28,6 @@ export class GetOnPremisesInstanceCommand extends $Command< GetOnPremisesInstanceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOnPremisesInstanceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts b/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts index 189dcb6db85e9..94de6b9581a80 100644 --- a/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts +++ b/clients/client-codedeploy/commands/ListApplicationRevisionsCommand.ts @@ -28,7 +28,6 @@ export class ListApplicationRevisionsCommand extends $Command< ListApplicationRevisionsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListApplicationRevisionsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListApplicationsCommand.ts b/clients/client-codedeploy/commands/ListApplicationsCommand.ts index 2e582415bfea6..60cf743926350 100644 --- a/clients/client-codedeploy/commands/ListApplicationsCommand.ts +++ b/clients/client-codedeploy/commands/ListApplicationsCommand.ts @@ -28,7 +28,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListApplicationsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts index 4e66f3e051d91..f2cb557dfbe9d 100644 --- a/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentConfigsCommand.ts @@ -28,7 +28,6 @@ export class ListDeploymentConfigsCommand extends $Command< ListDeploymentConfigsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeploymentConfigsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts index d0bdd053b02e4..ba57175af7e1f 100644 --- a/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentGroupsCommand.ts @@ -29,7 +29,6 @@ export class ListDeploymentGroupsCommand extends $Command< ListDeploymentGroupsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDeploymentGroupsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts b/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts index c5bc54b3722f1..54a919359efe5 100644 --- a/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentInstancesCommand.ts @@ -36,7 +36,6 @@ export class ListDeploymentInstancesCommand extends $Command< ListDeploymentInstancesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListDeploymentInstancesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts index 924d513160a14..4dfb9c86781bc 100644 --- a/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentTargetsCommand.ts @@ -28,7 +28,6 @@ export class ListDeploymentTargetsCommand extends $Command< ListDeploymentTargetsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeploymentTargetsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListDeploymentsCommand.ts b/clients/client-codedeploy/commands/ListDeploymentsCommand.ts index c030ec1edbb55..6aece388e653f 100644 --- a/clients/client-codedeploy/commands/ListDeploymentsCommand.ts +++ b/clients/client-codedeploy/commands/ListDeploymentsCommand.ts @@ -29,7 +29,6 @@ export class ListDeploymentsCommand extends $Command< ListDeploymentsCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDeploymentsCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts b/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts index 1020f141df898..0821694d0aa9e 100644 --- a/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts +++ b/clients/client-codedeploy/commands/ListGitHubAccountTokenNamesCommand.ts @@ -28,7 +28,6 @@ export class ListGitHubAccountTokenNamesCommand extends $Command< ListGitHubAccountTokenNamesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGitHubAccountTokenNamesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts index 4a90e744d1db2..63cd80bfff1f7 100644 --- a/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/ListOnPremisesInstancesCommand.ts @@ -31,7 +31,6 @@ export class ListOnPremisesInstancesCommand extends $Command< ListOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListOnPremisesInstancesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts b/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts index 25a9ce6d6557f..b89dd5955aa9f 100644 --- a/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codedeploy/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts b/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts index d16fc9c6587b3..4f5ab792819c0 100644 --- a/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts +++ b/clients/client-codedeploy/commands/PutLifecycleEventHookExecutionStatusCommand.ts @@ -41,7 +41,6 @@ export class PutLifecycleEventHookExecutionStatusCommand extends $Command< PutLifecycleEventHookExecutionStatusCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class PutLifecycleEventHookExecutionStatusCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts b/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts index 150ade684dc64..935516a2d1d73 100644 --- a/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts +++ b/clients/client-codedeploy/commands/RegisterApplicationRevisionCommand.ts @@ -28,7 +28,6 @@ export class RegisterApplicationRevisionCommand extends $Command< RegisterApplicationRevisionCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterApplicationRevisionCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts b/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts index c169817a214d3..bfbd9e3dc7c89 100644 --- a/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts +++ b/clients/client-codedeploy/commands/RegisterOnPremisesInstanceCommand.ts @@ -32,7 +32,6 @@ export class RegisterOnPremisesInstanceCommand extends $Command< RegisterOnPremisesInstanceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RegisterOnPremisesInstanceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts b/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts index c53fa96a92886..1146102145bce 100644 --- a/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts +++ b/clients/client-codedeploy/commands/RemoveTagsFromOnPremisesInstancesCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsFromOnPremisesInstancesCommand extends $Command< RemoveTagsFromOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsFromOnPremisesInstancesCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts b/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts index 75e17c1d9a9c6..a1ee46188954d 100644 --- a/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts +++ b/clients/client-codedeploy/commands/SkipWaitTimeForInstanceTerminationCommand.ts @@ -31,7 +31,6 @@ export class SkipWaitTimeForInstanceTerminationCommand extends $Command< SkipWaitTimeForInstanceTerminationCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class SkipWaitTimeForInstanceTerminationCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/StopDeploymentCommand.ts b/clients/client-codedeploy/commands/StopDeploymentCommand.ts index 1e20ed26bd440..2dc14ec0252aa 100644 --- a/clients/client-codedeploy/commands/StopDeploymentCommand.ts +++ b/clients/client-codedeploy/commands/StopDeploymentCommand.ts @@ -28,7 +28,6 @@ export class StopDeploymentCommand extends $Command< StopDeploymentCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopDeploymentCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/TagResourceCommand.ts b/clients/client-codedeploy/commands/TagResourceCommand.ts index 681881e020010..7a4bc5c069c82 100644 --- a/clients/client-codedeploy/commands/TagResourceCommand.ts +++ b/clients/client-codedeploy/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/UntagResourceCommand.ts b/clients/client-codedeploy/commands/UntagResourceCommand.ts index d900419789927..43a9d1e7c7e2c 100644 --- a/clients/client-codedeploy/commands/UntagResourceCommand.ts +++ b/clients/client-codedeploy/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/UpdateApplicationCommand.ts b/clients/client-codedeploy/commands/UpdateApplicationCommand.ts index eecc59d17404c..ec872f203c95c 100644 --- a/clients/client-codedeploy/commands/UpdateApplicationCommand.ts +++ b/clients/client-codedeploy/commands/UpdateApplicationCommand.ts @@ -28,7 +28,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApplicationCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts b/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts index e7d0fdcffd91c..e2757afbcad36 100644 --- a/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts +++ b/clients/client-codedeploy/commands/UpdateDeploymentGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeploymentGroupCommand extends $Command< UpdateDeploymentGroupCommandOutput, CodeDeployClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeploymentGroupCommand extends $Command< configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts b/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts index 828bf4f716158..3ff025acd56eb 100644 --- a/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts +++ b/clients/client-codeguru-reviewer/commands/AssociateRepositoryCommand.ts @@ -52,7 +52,6 @@ export class AssociateRepositoryCommand extends $Command< AssociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class AssociateRepositoryCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/CreateCodeReviewCommand.ts b/clients/client-codeguru-reviewer/commands/CreateCodeReviewCommand.ts index 257f0d4382075..ed249b1056e27 100644 --- a/clients/client-codeguru-reviewer/commands/CreateCodeReviewCommand.ts +++ b/clients/client-codeguru-reviewer/commands/CreateCodeReviewCommand.ts @@ -34,7 +34,6 @@ export class CreateCodeReviewCommand extends $Command< CreateCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateCodeReviewCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/DescribeCodeReviewCommand.ts b/clients/client-codeguru-reviewer/commands/DescribeCodeReviewCommand.ts index 9f95712af5cd9..6f33bdd8bd99c 100644 --- a/clients/client-codeguru-reviewer/commands/DescribeCodeReviewCommand.ts +++ b/clients/client-codeguru-reviewer/commands/DescribeCodeReviewCommand.ts @@ -28,7 +28,6 @@ export class DescribeCodeReviewCommand extends $Command< DescribeCodeReviewCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCodeReviewCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/DescribeRecommendationFeedbackCommand.ts b/clients/client-codeguru-reviewer/commands/DescribeRecommendationFeedbackCommand.ts index 1e72e9a2527f9..5671e2d9f0b1f 100644 --- a/clients/client-codeguru-reviewer/commands/DescribeRecommendationFeedbackCommand.ts +++ b/clients/client-codeguru-reviewer/commands/DescribeRecommendationFeedbackCommand.ts @@ -30,7 +30,6 @@ export class DescribeRecommendationFeedbackCommand extends $Command< DescribeRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeRecommendationFeedbackCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts b/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts index 615e048f1d848..9391950692d5b 100644 --- a/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts +++ b/clients/client-codeguru-reviewer/commands/DescribeRepositoryAssociationCommand.ts @@ -33,7 +33,6 @@ export class DescribeRepositoryAssociationCommand extends $Command< DescribeRepositoryAssociationCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeRepositoryAssociationCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts b/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts index d0255f501ce6f..8c2d969866b91 100644 --- a/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts +++ b/clients/client-codeguru-reviewer/commands/DisassociateRepositoryCommand.ts @@ -28,7 +28,6 @@ export class DisassociateRepositoryCommand extends $Command< DisassociateRepositoryCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateRepositoryCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/ListCodeReviewsCommand.ts b/clients/client-codeguru-reviewer/commands/ListCodeReviewsCommand.ts index 4b0764943caa5..ffe80752dbedf 100644 --- a/clients/client-codeguru-reviewer/commands/ListCodeReviewsCommand.ts +++ b/clients/client-codeguru-reviewer/commands/ListCodeReviewsCommand.ts @@ -30,7 +30,6 @@ export class ListCodeReviewsCommand extends $Command< ListCodeReviewsCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListCodeReviewsCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/ListRecommendationFeedbackCommand.ts b/clients/client-codeguru-reviewer/commands/ListRecommendationFeedbackCommand.ts index b955757e5eeb7..e908236a92cae 100644 --- a/clients/client-codeguru-reviewer/commands/ListRecommendationFeedbackCommand.ts +++ b/clients/client-codeguru-reviewer/commands/ListRecommendationFeedbackCommand.ts @@ -34,7 +34,6 @@ export class ListRecommendationFeedbackCommand extends $Command< ListRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListRecommendationFeedbackCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/ListRecommendationsCommand.ts b/clients/client-codeguru-reviewer/commands/ListRecommendationsCommand.ts index 65a1fac08b12c..3623592831717 100644 --- a/clients/client-codeguru-reviewer/commands/ListRecommendationsCommand.ts +++ b/clients/client-codeguru-reviewer/commands/ListRecommendationsCommand.ts @@ -30,7 +30,6 @@ export class ListRecommendationsCommand extends $Command< ListRecommendationsCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListRecommendationsCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts b/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts index 04e4b4d01784d..ed5fcb3aa5a93 100644 --- a/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts +++ b/clients/client-codeguru-reviewer/commands/ListRepositoryAssociationsCommand.ts @@ -45,7 +45,6 @@ export class ListRepositoryAssociationsCommand extends $Command< ListRepositoryAssociationsCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class ListRepositoryAssociationsCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/ListTagsForResourceCommand.ts b/clients/client-codeguru-reviewer/commands/ListTagsForResourceCommand.ts index c229c5a451a18..0c3961b429380 100644 --- a/clients/client-codeguru-reviewer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codeguru-reviewer/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/PutRecommendationFeedbackCommand.ts b/clients/client-codeguru-reviewer/commands/PutRecommendationFeedbackCommand.ts index c29813bbe1e26..3e4611b1f7aeb 100644 --- a/clients/client-codeguru-reviewer/commands/PutRecommendationFeedbackCommand.ts +++ b/clients/client-codeguru-reviewer/commands/PutRecommendationFeedbackCommand.ts @@ -30,7 +30,6 @@ export class PutRecommendationFeedbackCommand extends $Command< PutRecommendationFeedbackCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutRecommendationFeedbackCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/TagResourceCommand.ts b/clients/client-codeguru-reviewer/commands/TagResourceCommand.ts index 06143f843e5ff..b4fc879f78797 100644 --- a/clients/client-codeguru-reviewer/commands/TagResourceCommand.ts +++ b/clients/client-codeguru-reviewer/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguru-reviewer/commands/UntagResourceCommand.ts b/clients/client-codeguru-reviewer/commands/UntagResourceCommand.ts index 641f5f84b84a8..4a1fed9a0aba3 100644 --- a/clients/client-codeguru-reviewer/commands/UntagResourceCommand.ts +++ b/clients/client-codeguru-reviewer/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodeGuruReviewerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CodeGuruReviewerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts b/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts index e1a6118204b00..e4f66eb9bce35 100644 --- a/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts +++ b/clients/client-codeguruprofiler/commands/ConfigureAgentCommand.ts @@ -28,7 +28,6 @@ export class ConfigureAgentCommand extends $Command< ConfigureAgentCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ConfigureAgentCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts index bc83261519973..96505f2a4c826 100644 --- a/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/CreateProfilingGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateProfilingGroupCommand extends $Command< CreateProfilingGroupCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProfilingGroupCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts index 4250c89e8d6b8..d3792471c8c2e 100644 --- a/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/DeleteProfilingGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteProfilingGroupCommand extends $Command< DeleteProfilingGroupCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProfilingGroupCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts index 00556a5ad8178..a747cd7b19ce9 100644 --- a/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/DescribeProfilingGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeProfilingGroupCommand extends $Command< DescribeProfilingGroupCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProfilingGroupCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/GetPolicyCommand.ts b/clients/client-codeguruprofiler/commands/GetPolicyCommand.ts index 3991faf66f2be..7f04046fac561 100644 --- a/clients/client-codeguruprofiler/commands/GetPolicyCommand.ts +++ b/clients/client-codeguruprofiler/commands/GetPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetPolicyCommand extends $Command< GetPolicyCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPolicyCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/GetProfileCommand.ts b/clients/client-codeguruprofiler/commands/GetProfileCommand.ts index 371fa3d383fd8..3219a09fcc9fe 100644 --- a/clients/client-codeguruprofiler/commands/GetProfileCommand.ts +++ b/clients/client-codeguruprofiler/commands/GetProfileCommand.ts @@ -38,7 +38,6 @@ export class GetProfileCommand extends $Command< GetProfileCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetProfileCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts b/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts index 351c633c2d050..f044996904a57 100644 --- a/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts +++ b/clients/client-codeguruprofiler/commands/ListProfileTimesCommand.ts @@ -29,7 +29,6 @@ export class ListProfileTimesCommand extends $Command< ListProfileTimesCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListProfileTimesCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts b/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts index d5a20e9736daf..f661969623258 100644 --- a/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts +++ b/clients/client-codeguruprofiler/commands/ListProfilingGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListProfilingGroupsCommand extends $Command< ListProfilingGroupsCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProfilingGroupsCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts b/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts index 20fdb68c14592..d60aecf48234d 100644 --- a/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts +++ b/clients/client-codeguruprofiler/commands/PostAgentProfileCommand.ts @@ -28,7 +28,6 @@ export class PostAgentProfileCommand extends $Command< PostAgentProfileCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PostAgentProfileCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/PutPermissionCommand.ts b/clients/client-codeguruprofiler/commands/PutPermissionCommand.ts index a4d206db7d963..5337c87614f9c 100644 --- a/clients/client-codeguruprofiler/commands/PutPermissionCommand.ts +++ b/clients/client-codeguruprofiler/commands/PutPermissionCommand.ts @@ -29,7 +29,6 @@ export class PutPermissionCommand extends $Command< PutPermissionCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutPermissionCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/RemovePermissionCommand.ts b/clients/client-codeguruprofiler/commands/RemovePermissionCommand.ts index 80240ada1c03e..6ff05f90a79c2 100644 --- a/clients/client-codeguruprofiler/commands/RemovePermissionCommand.ts +++ b/clients/client-codeguruprofiler/commands/RemovePermissionCommand.ts @@ -28,7 +28,6 @@ export class RemovePermissionCommand extends $Command< RemovePermissionCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemovePermissionCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/RetrieveTimeSeriesCommand.ts b/clients/client-codeguruprofiler/commands/RetrieveTimeSeriesCommand.ts index 4a2d047960127..b0e39e6b8881e 100644 --- a/clients/client-codeguruprofiler/commands/RetrieveTimeSeriesCommand.ts +++ b/clients/client-codeguruprofiler/commands/RetrieveTimeSeriesCommand.ts @@ -25,7 +25,6 @@ export class RetrieveTimeSeriesCommand extends $Command< RetrieveTimeSeriesCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class RetrieveTimeSeriesCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts b/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts index 645412ab0b904..4180bb5b140d2 100644 --- a/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts +++ b/clients/client-codeguruprofiler/commands/UpdateProfilingGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateProfilingGroupCommand extends $Command< UpdateProfilingGroupCommandOutput, CodeGuruProfilerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProfilingGroupCommand extends $Command< configuration: CodeGuruProfilerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts b/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts index 902938926025a..79aff5207bbde 100644 --- a/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts +++ b/clients/client-codepipeline/commands/AcknowledgeJobCommand.ts @@ -29,7 +29,6 @@ export class AcknowledgeJobCommand extends $Command< AcknowledgeJobCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AcknowledgeJobCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts b/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts index 533fffd34507d..64844ce94c80a 100644 --- a/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts +++ b/clients/client-codepipeline/commands/AcknowledgeThirdPartyJobCommand.ts @@ -29,7 +29,6 @@ export class AcknowledgeThirdPartyJobCommand extends $Command< AcknowledgeThirdPartyJobCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AcknowledgeThirdPartyJobCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts b/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts index 120d54bbca7dd..bc36584fd1fd0 100644 --- a/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts +++ b/clients/client-codepipeline/commands/CreateCustomActionTypeCommand.ts @@ -29,7 +29,6 @@ export class CreateCustomActionTypeCommand extends $Command< CreateCustomActionTypeCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateCustomActionTypeCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/CreatePipelineCommand.ts b/clients/client-codepipeline/commands/CreatePipelineCommand.ts index 16493bea7fc11..8f4c68fbf71a8 100644 --- a/clients/client-codepipeline/commands/CreatePipelineCommand.ts +++ b/clients/client-codepipeline/commands/CreatePipelineCommand.ts @@ -34,7 +34,6 @@ export class CreatePipelineCommand extends $Command< CreatePipelineCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreatePipelineCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts b/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts index ece76e9585712..42fc7d4a9f9e8 100644 --- a/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts +++ b/clients/client-codepipeline/commands/DeleteCustomActionTypeCommand.ts @@ -36,7 +36,6 @@ export class DeleteCustomActionTypeCommand extends $Command< DeleteCustomActionTypeCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteCustomActionTypeCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/DeletePipelineCommand.ts b/clients/client-codepipeline/commands/DeletePipelineCommand.ts index 915e219cbf798..939aa2923c7cb 100644 --- a/clients/client-codepipeline/commands/DeletePipelineCommand.ts +++ b/clients/client-codepipeline/commands/DeletePipelineCommand.ts @@ -28,7 +28,6 @@ export class DeletePipelineCommand extends $Command< DeletePipelineCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePipelineCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/DeleteWebhookCommand.ts b/clients/client-codepipeline/commands/DeleteWebhookCommand.ts index 5c5603313dc01..e8f3495351ed5 100644 --- a/clients/client-codepipeline/commands/DeleteWebhookCommand.ts +++ b/clients/client-codepipeline/commands/DeleteWebhookCommand.ts @@ -32,7 +32,6 @@ export class DeleteWebhookCommand extends $Command< DeleteWebhookCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteWebhookCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts b/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts index 93a1507718b5f..c8643aa70d070 100644 --- a/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts +++ b/clients/client-codepipeline/commands/DeregisterWebhookWithThirdPartyCommand.ts @@ -30,7 +30,6 @@ export class DeregisterWebhookWithThirdPartyCommand extends $Command< DeregisterWebhookWithThirdPartyCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeregisterWebhookWithThirdPartyCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts b/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts index 1a25d76dc1902..4df4daeffe0d1 100644 --- a/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts +++ b/clients/client-codepipeline/commands/DisableStageTransitionCommand.ts @@ -29,7 +29,6 @@ export class DisableStageTransitionCommand extends $Command< DisableStageTransitionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableStageTransitionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts b/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts index ba7f25e95c176..fc8082c035f0e 100644 --- a/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts +++ b/clients/client-codepipeline/commands/EnableStageTransitionCommand.ts @@ -28,7 +28,6 @@ export class EnableStageTransitionCommand extends $Command< EnableStageTransitionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableStageTransitionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/GetJobDetailsCommand.ts b/clients/client-codepipeline/commands/GetJobDetailsCommand.ts index 994ad4378a0f1..4d77fb6040402 100644 --- a/clients/client-codepipeline/commands/GetJobDetailsCommand.ts +++ b/clients/client-codepipeline/commands/GetJobDetailsCommand.ts @@ -34,7 +34,6 @@ export class GetJobDetailsCommand extends $Command< GetJobDetailsCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetJobDetailsCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/GetPipelineCommand.ts b/clients/client-codepipeline/commands/GetPipelineCommand.ts index 096b268d59d0a..5072227ee1719 100644 --- a/clients/client-codepipeline/commands/GetPipelineCommand.ts +++ b/clients/client-codepipeline/commands/GetPipelineCommand.ts @@ -30,7 +30,6 @@ export class GetPipelineCommand extends $Command< GetPipelineCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetPipelineCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts b/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts index a2acbd9d294a1..3570bf0d14b14 100644 --- a/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts +++ b/clients/client-codepipeline/commands/GetPipelineExecutionCommand.ts @@ -30,7 +30,6 @@ export class GetPipelineExecutionCommand extends $Command< GetPipelineExecutionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetPipelineExecutionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/GetPipelineStateCommand.ts b/clients/client-codepipeline/commands/GetPipelineStateCommand.ts index e03cb4ef807e1..b167a5a77cd02 100644 --- a/clients/client-codepipeline/commands/GetPipelineStateCommand.ts +++ b/clients/client-codepipeline/commands/GetPipelineStateCommand.ts @@ -34,7 +34,6 @@ export class GetPipelineStateCommand extends $Command< GetPipelineStateCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetPipelineStateCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts b/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts index d78d6857b5390..6a8a4789c22d9 100644 --- a/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts +++ b/clients/client-codepipeline/commands/GetThirdPartyJobDetailsCommand.ts @@ -35,7 +35,6 @@ export class GetThirdPartyJobDetailsCommand extends $Command< GetThirdPartyJobDetailsCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetThirdPartyJobDetailsCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts b/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts index c76f6d3b03eec..331d444543308 100644 --- a/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts +++ b/clients/client-codepipeline/commands/ListActionExecutionsCommand.ts @@ -28,7 +28,6 @@ export class ListActionExecutionsCommand extends $Command< ListActionExecutionsCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListActionExecutionsCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/ListActionTypesCommand.ts b/clients/client-codepipeline/commands/ListActionTypesCommand.ts index a557b597dff2a..43a9e52ae1018 100644 --- a/clients/client-codepipeline/commands/ListActionTypesCommand.ts +++ b/clients/client-codepipeline/commands/ListActionTypesCommand.ts @@ -29,7 +29,6 @@ export class ListActionTypesCommand extends $Command< ListActionTypesCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListActionTypesCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts b/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts index 4db5dd1a36b16..35817d24e0181 100644 --- a/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts +++ b/clients/client-codepipeline/commands/ListPipelineExecutionsCommand.ts @@ -28,7 +28,6 @@ export class ListPipelineExecutionsCommand extends $Command< ListPipelineExecutionsCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelineExecutionsCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/ListPipelinesCommand.ts b/clients/client-codepipeline/commands/ListPipelinesCommand.ts index dddc37c432cc9..3eb2c218ac426 100644 --- a/clients/client-codepipeline/commands/ListPipelinesCommand.ts +++ b/clients/client-codepipeline/commands/ListPipelinesCommand.ts @@ -28,7 +28,6 @@ export class ListPipelinesCommand extends $Command< ListPipelinesCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelinesCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts b/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts index e6d18ec954f8a..f68a49d7edd6a 100644 --- a/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codepipeline/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/ListWebhooksCommand.ts b/clients/client-codepipeline/commands/ListWebhooksCommand.ts index 0618b079c288c..86291b3ef8916 100644 --- a/clients/client-codepipeline/commands/ListWebhooksCommand.ts +++ b/clients/client-codepipeline/commands/ListWebhooksCommand.ts @@ -30,7 +30,6 @@ export class ListWebhooksCommand extends $Command< ListWebhooksCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListWebhooksCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PollForJobsCommand.ts b/clients/client-codepipeline/commands/PollForJobsCommand.ts index 6d2f532104fb5..c33488ac7af18 100644 --- a/clients/client-codepipeline/commands/PollForJobsCommand.ts +++ b/clients/client-codepipeline/commands/PollForJobsCommand.ts @@ -37,7 +37,6 @@ export class PollForJobsCommand extends $Command< PollForJobsCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PollForJobsCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts b/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts index 6de6434711ade..73dd1c1ad44c4 100644 --- a/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts +++ b/clients/client-codepipeline/commands/PollForThirdPartyJobsCommand.ts @@ -34,7 +34,6 @@ export class PollForThirdPartyJobsCommand extends $Command< PollForThirdPartyJobsCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PollForThirdPartyJobsCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutActionRevisionCommand.ts b/clients/client-codepipeline/commands/PutActionRevisionCommand.ts index d866c4337348e..2d428088e91a1 100644 --- a/clients/client-codepipeline/commands/PutActionRevisionCommand.ts +++ b/clients/client-codepipeline/commands/PutActionRevisionCommand.ts @@ -28,7 +28,6 @@ export class PutActionRevisionCommand extends $Command< PutActionRevisionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutActionRevisionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutApprovalResultCommand.ts b/clients/client-codepipeline/commands/PutApprovalResultCommand.ts index 7fbcd51e6d8f6..5a4f933440b6d 100644 --- a/clients/client-codepipeline/commands/PutApprovalResultCommand.ts +++ b/clients/client-codepipeline/commands/PutApprovalResultCommand.ts @@ -29,7 +29,6 @@ export class PutApprovalResultCommand extends $Command< PutApprovalResultCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutApprovalResultCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts b/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts index 7170fbf9aee21..75bfcd5703b15 100644 --- a/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts +++ b/clients/client-codepipeline/commands/PutJobFailureResultCommand.ts @@ -29,7 +29,6 @@ export class PutJobFailureResultCommand extends $Command< PutJobFailureResultCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutJobFailureResultCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts b/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts index 8f6a398e33f95..5b7a8396217ab 100644 --- a/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts +++ b/clients/client-codepipeline/commands/PutJobSuccessResultCommand.ts @@ -29,7 +29,6 @@ export class PutJobSuccessResultCommand extends $Command< PutJobSuccessResultCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutJobSuccessResultCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts b/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts index 96776bc2b89f9..11d13cdc6123c 100644 --- a/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts +++ b/clients/client-codepipeline/commands/PutThirdPartyJobFailureResultCommand.ts @@ -29,7 +29,6 @@ export class PutThirdPartyJobFailureResultCommand extends $Command< PutThirdPartyJobFailureResultCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutThirdPartyJobFailureResultCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts b/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts index b9771c62fcc3c..67a0beacb38cf 100644 --- a/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts +++ b/clients/client-codepipeline/commands/PutThirdPartyJobSuccessResultCommand.ts @@ -29,7 +29,6 @@ export class PutThirdPartyJobSuccessResultCommand extends $Command< PutThirdPartyJobSuccessResultCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutThirdPartyJobSuccessResultCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/PutWebhookCommand.ts b/clients/client-codepipeline/commands/PutWebhookCommand.ts index 7ff02e3d7da4b..1fdb56499277d 100644 --- a/clients/client-codepipeline/commands/PutWebhookCommand.ts +++ b/clients/client-codepipeline/commands/PutWebhookCommand.ts @@ -34,7 +34,6 @@ export class PutWebhookCommand extends $Command< PutWebhookCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutWebhookCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts b/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts index d9f75259cee24..b986c89357bde 100644 --- a/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts +++ b/clients/client-codepipeline/commands/RegisterWebhookWithThirdPartyCommand.ts @@ -29,7 +29,6 @@ export class RegisterWebhookWithThirdPartyCommand extends $Command< RegisterWebhookWithThirdPartyCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RegisterWebhookWithThirdPartyCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts b/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts index 04959cfe6238c..5586b963427fb 100644 --- a/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts +++ b/clients/client-codepipeline/commands/RetryStageExecutionCommand.ts @@ -31,7 +31,6 @@ export class RetryStageExecutionCommand extends $Command< RetryStageExecutionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RetryStageExecutionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts b/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts index b76c8d742a739..ae39e45b363b7 100644 --- a/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts +++ b/clients/client-codepipeline/commands/StartPipelineExecutionCommand.ts @@ -29,7 +29,6 @@ export class StartPipelineExecutionCommand extends $Command< StartPipelineExecutionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartPipelineExecutionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts b/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts index d98d4a4e8a50e..8752cd963a882 100644 --- a/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts +++ b/clients/client-codepipeline/commands/StopPipelineExecutionCommand.ts @@ -33,7 +33,6 @@ export class StopPipelineExecutionCommand extends $Command< StopPipelineExecutionCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopPipelineExecutionCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/TagResourceCommand.ts b/clients/client-codepipeline/commands/TagResourceCommand.ts index ce233aa5cff29..95f8ceecdd4eb 100644 --- a/clients/client-codepipeline/commands/TagResourceCommand.ts +++ b/clients/client-codepipeline/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/UntagResourceCommand.ts b/clients/client-codepipeline/commands/UntagResourceCommand.ts index 5e342b0c4f442..8ed6973da3eb9 100644 --- a/clients/client-codepipeline/commands/UntagResourceCommand.ts +++ b/clients/client-codepipeline/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codepipeline/commands/UpdatePipelineCommand.ts b/clients/client-codepipeline/commands/UpdatePipelineCommand.ts index e62897cc2692a..af68c16fc7a29 100644 --- a/clients/client-codepipeline/commands/UpdatePipelineCommand.ts +++ b/clients/client-codepipeline/commands/UpdatePipelineCommand.ts @@ -31,7 +31,6 @@ export class UpdatePipelineCommand extends $Command< UpdatePipelineCommandOutput, CodePipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdatePipelineCommand extends $Command< configuration: CodePipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/CreateConnectionCommand.ts b/clients/client-codestar-connections/commands/CreateConnectionCommand.ts index f098b4f0b0668..c730e12ae3fe2 100644 --- a/clients/client-codestar-connections/commands/CreateConnectionCommand.ts +++ b/clients/client-codestar-connections/commands/CreateConnectionCommand.ts @@ -34,7 +34,6 @@ export class CreateConnectionCommand extends $Command< CreateConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateConnectionCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/CreateHostCommand.ts b/clients/client-codestar-connections/commands/CreateHostCommand.ts index 17204e9867319..ce740096ce9ff 100644 --- a/clients/client-codestar-connections/commands/CreateHostCommand.ts +++ b/clients/client-codestar-connections/commands/CreateHostCommand.ts @@ -39,7 +39,6 @@ export class CreateHostCommand extends $Command< CreateHostCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateHostCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts b/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts index 13928c76efb0c..23e8226cb5258 100644 --- a/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts +++ b/clients/client-codestar-connections/commands/DeleteConnectionCommand.ts @@ -32,7 +32,6 @@ export class DeleteConnectionCommand extends $Command< DeleteConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteConnectionCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/DeleteHostCommand.ts b/clients/client-codestar-connections/commands/DeleteHostCommand.ts index 3dd734f3754af..f2d863867c491 100644 --- a/clients/client-codestar-connections/commands/DeleteHostCommand.ts +++ b/clients/client-codestar-connections/commands/DeleteHostCommand.ts @@ -35,7 +35,6 @@ export class DeleteHostCommand extends $Command< DeleteHostCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteHostCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/GetConnectionCommand.ts b/clients/client-codestar-connections/commands/GetConnectionCommand.ts index 406ed091d7022..20995d0a2c69f 100644 --- a/clients/client-codestar-connections/commands/GetConnectionCommand.ts +++ b/clients/client-codestar-connections/commands/GetConnectionCommand.ts @@ -32,7 +32,6 @@ export class GetConnectionCommand extends $Command< GetConnectionCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetConnectionCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/GetHostCommand.ts b/clients/client-codestar-connections/commands/GetHostCommand.ts index 2b0d224686bf9..845a848351f29 100644 --- a/clients/client-codestar-connections/commands/GetHostCommand.ts +++ b/clients/client-codestar-connections/commands/GetHostCommand.ts @@ -30,7 +30,6 @@ export class GetHostCommand extends $Command< GetHostCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetHostCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/ListConnectionsCommand.ts b/clients/client-codestar-connections/commands/ListConnectionsCommand.ts index ad135e35aeba8..42e4370f32f16 100644 --- a/clients/client-codestar-connections/commands/ListConnectionsCommand.ts +++ b/clients/client-codestar-connections/commands/ListConnectionsCommand.ts @@ -32,7 +32,6 @@ export class ListConnectionsCommand extends $Command< ListConnectionsCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListConnectionsCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/ListHostsCommand.ts b/clients/client-codestar-connections/commands/ListHostsCommand.ts index f5e3150125b1c..9a8bcf8ff8057 100644 --- a/clients/client-codestar-connections/commands/ListHostsCommand.ts +++ b/clients/client-codestar-connections/commands/ListHostsCommand.ts @@ -29,7 +29,6 @@ export class ListHostsCommand extends $Command< ListHostsCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListHostsCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/ListTagsForResourceCommand.ts b/clients/client-codestar-connections/commands/ListTagsForResourceCommand.ts index ed8bf469cbed1..32d5bbf3ac11a 100644 --- a/clients/client-codestar-connections/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codestar-connections/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/TagResourceCommand.ts b/clients/client-codestar-connections/commands/TagResourceCommand.ts index fcfde60f1974a..113c3a1ff5074 100644 --- a/clients/client-codestar-connections/commands/TagResourceCommand.ts +++ b/clients/client-codestar-connections/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/UntagResourceCommand.ts b/clients/client-codestar-connections/commands/UntagResourceCommand.ts index 2ce2acbe26f22..cac524b790d93 100644 --- a/clients/client-codestar-connections/commands/UntagResourceCommand.ts +++ b/clients/client-codestar-connections/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-connections/commands/UpdateHostCommand.ts b/clients/client-codestar-connections/commands/UpdateHostCommand.ts index 9e51af55a6a8b..e6a41b6ac7290 100644 --- a/clients/client-codestar-connections/commands/UpdateHostCommand.ts +++ b/clients/client-codestar-connections/commands/UpdateHostCommand.ts @@ -32,7 +32,6 @@ export class UpdateHostCommand extends $Command< UpdateHostCommandOutput, CodeStarConnectionsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateHostCommand extends $Command< configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts index 70a84c923ba58..6cc31f332938a 100644 --- a/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/CreateNotificationRuleCommand.ts @@ -34,7 +34,6 @@ export class CreateNotificationRuleCommand extends $Command< CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateNotificationRuleCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts index ea155062c5b66..e72f6b1310cfe 100644 --- a/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/DeleteNotificationRuleCommand.ts @@ -32,7 +32,6 @@ export class DeleteNotificationRuleCommand extends $Command< DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteNotificationRuleCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts b/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts index 88afc0139c020..d9ec9851cae4e 100644 --- a/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts +++ b/clients/client-codestar-notifications/commands/DeleteTargetCommand.ts @@ -32,7 +32,6 @@ export class DeleteTargetCommand extends $Command< DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteTargetCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts index f094fdbdab8b9..294deff67dc46 100644 --- a/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/DescribeNotificationRuleCommand.ts @@ -32,7 +32,6 @@ export class DescribeNotificationRuleCommand extends $Command< DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeNotificationRuleCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts b/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts index f7edd077db7d8..be897732b0fae 100644 --- a/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts +++ b/clients/client-codestar-notifications/commands/ListEventTypesCommand.ts @@ -32,7 +32,6 @@ export class ListEventTypesCommand extends $Command< ListEventTypesCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListEventTypesCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts b/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts index ad540bc2203a4..480821cf8300b 100644 --- a/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts +++ b/clients/client-codestar-notifications/commands/ListNotificationRulesCommand.ts @@ -32,7 +32,6 @@ export class ListNotificationRulesCommand extends $Command< ListNotificationRulesCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListNotificationRulesCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts b/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts index cc337e4c4cfd4..4ea1a8235ee91 100644 --- a/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts +++ b/clients/client-codestar-notifications/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/ListTargetsCommand.ts b/clients/client-codestar-notifications/commands/ListTargetsCommand.ts index 03c1d0f62d395..e67eb4f0f81b9 100644 --- a/clients/client-codestar-notifications/commands/ListTargetsCommand.ts +++ b/clients/client-codestar-notifications/commands/ListTargetsCommand.ts @@ -32,7 +32,6 @@ export class ListTargetsCommand extends $Command< ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTargetsCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/SubscribeCommand.ts b/clients/client-codestar-notifications/commands/SubscribeCommand.ts index a90ee624ba573..9e0750dc7e514 100644 --- a/clients/client-codestar-notifications/commands/SubscribeCommand.ts +++ b/clients/client-codestar-notifications/commands/SubscribeCommand.ts @@ -34,7 +34,6 @@ export class SubscribeCommand extends $Command< SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SubscribeCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/TagResourceCommand.ts b/clients/client-codestar-notifications/commands/TagResourceCommand.ts index a90ad1fbcaac0..537c4a403feff 100644 --- a/clients/client-codestar-notifications/commands/TagResourceCommand.ts +++ b/clients/client-codestar-notifications/commands/TagResourceCommand.ts @@ -32,7 +32,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TagResourceCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts b/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts index 043fdd4fdda70..c9451ebb64692 100644 --- a/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts +++ b/clients/client-codestar-notifications/commands/UnsubscribeCommand.ts @@ -34,7 +34,6 @@ export class UnsubscribeCommand extends $Command< UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UnsubscribeCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/UntagResourceCommand.ts b/clients/client-codestar-notifications/commands/UntagResourceCommand.ts index 5f4d27e509cf3..20ccdfc99401e 100644 --- a/clients/client-codestar-notifications/commands/UntagResourceCommand.ts +++ b/clients/client-codestar-notifications/commands/UntagResourceCommand.ts @@ -33,7 +33,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UntagResourceCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts b/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts index 93457dda19fcb..46c57fd50da75 100644 --- a/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts +++ b/clients/client-codestar-notifications/commands/UpdateNotificationRuleCommand.ts @@ -37,7 +37,6 @@ export class UpdateNotificationRuleCommand extends $Command< UpdateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateNotificationRuleCommand extends $Command< configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/AssociateTeamMemberCommand.ts b/clients/client-codestar/commands/AssociateTeamMemberCommand.ts index d31ad3aedec3e..e6e952bffebd9 100644 --- a/clients/client-codestar/commands/AssociateTeamMemberCommand.ts +++ b/clients/client-codestar/commands/AssociateTeamMemberCommand.ts @@ -28,7 +28,6 @@ export class AssociateTeamMemberCommand extends $Command< AssociateTeamMemberCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateTeamMemberCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/CreateProjectCommand.ts b/clients/client-codestar/commands/CreateProjectCommand.ts index 79e407b8c02a2..0a040ea055461 100644 --- a/clients/client-codestar/commands/CreateProjectCommand.ts +++ b/clients/client-codestar/commands/CreateProjectCommand.ts @@ -30,7 +30,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/CreateUserProfileCommand.ts b/clients/client-codestar/commands/CreateUserProfileCommand.ts index 86c809c32939a..394a551d7f489 100644 --- a/clients/client-codestar/commands/CreateUserProfileCommand.ts +++ b/clients/client-codestar/commands/CreateUserProfileCommand.ts @@ -31,7 +31,6 @@ export class CreateUserProfileCommand extends $Command< CreateUserProfileCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateUserProfileCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/DeleteProjectCommand.ts b/clients/client-codestar/commands/DeleteProjectCommand.ts index 71cee56f5d0bd..0beb30c19b69c 100644 --- a/clients/client-codestar/commands/DeleteProjectCommand.ts +++ b/clients/client-codestar/commands/DeleteProjectCommand.ts @@ -29,7 +29,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/DeleteUserProfileCommand.ts b/clients/client-codestar/commands/DeleteUserProfileCommand.ts index 89b351bb9ab1a..c60a3b96c9d3d 100644 --- a/clients/client-codestar/commands/DeleteUserProfileCommand.ts +++ b/clients/client-codestar/commands/DeleteUserProfileCommand.ts @@ -30,7 +30,6 @@ export class DeleteUserProfileCommand extends $Command< DeleteUserProfileCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteUserProfileCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/DescribeProjectCommand.ts b/clients/client-codestar/commands/DescribeProjectCommand.ts index 493425f7eb406..aad60c29084e7 100644 --- a/clients/client-codestar/commands/DescribeProjectCommand.ts +++ b/clients/client-codestar/commands/DescribeProjectCommand.ts @@ -28,7 +28,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/DescribeUserProfileCommand.ts b/clients/client-codestar/commands/DescribeUserProfileCommand.ts index 12a287ee3c725..6760f0c178585 100644 --- a/clients/client-codestar/commands/DescribeUserProfileCommand.ts +++ b/clients/client-codestar/commands/DescribeUserProfileCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserProfileCommand extends $Command< DescribeUserProfileCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserProfileCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts b/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts index 6307ceed98406..d8400e7d7003d 100644 --- a/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts +++ b/clients/client-codestar/commands/DisassociateTeamMemberCommand.ts @@ -31,7 +31,6 @@ export class DisassociateTeamMemberCommand extends $Command< DisassociateTeamMemberCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DisassociateTeamMemberCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/ListProjectsCommand.ts b/clients/client-codestar/commands/ListProjectsCommand.ts index 36a320d37fc32..daaa85b01d248 100644 --- a/clients/client-codestar/commands/ListProjectsCommand.ts +++ b/clients/client-codestar/commands/ListProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectsCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/ListResourcesCommand.ts b/clients/client-codestar/commands/ListResourcesCommand.ts index c8e74eec7664c..92ba3b4f5ac64 100644 --- a/clients/client-codestar/commands/ListResourcesCommand.ts +++ b/clients/client-codestar/commands/ListResourcesCommand.ts @@ -28,7 +28,6 @@ export class ListResourcesCommand extends $Command< ListResourcesCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourcesCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/ListTagsForProjectCommand.ts b/clients/client-codestar/commands/ListTagsForProjectCommand.ts index e04f46a9223e9..3eeeda09b7bf9 100644 --- a/clients/client-codestar/commands/ListTagsForProjectCommand.ts +++ b/clients/client-codestar/commands/ListTagsForProjectCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForProjectCommand extends $Command< ListTagsForProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/ListTeamMembersCommand.ts b/clients/client-codestar/commands/ListTeamMembersCommand.ts index b60d1f9595a31..0453b06bedd1c 100644 --- a/clients/client-codestar/commands/ListTeamMembersCommand.ts +++ b/clients/client-codestar/commands/ListTeamMembersCommand.ts @@ -28,7 +28,6 @@ export class ListTeamMembersCommand extends $Command< ListTeamMembersCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTeamMembersCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/ListUserProfilesCommand.ts b/clients/client-codestar/commands/ListUserProfilesCommand.ts index dc1e0aa589fe1..366b3ed6fa69e 100644 --- a/clients/client-codestar/commands/ListUserProfilesCommand.ts +++ b/clients/client-codestar/commands/ListUserProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListUserProfilesCommand extends $Command< ListUserProfilesCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListUserProfilesCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/TagProjectCommand.ts b/clients/client-codestar/commands/TagProjectCommand.ts index c11c0f84deb33..0429ea018b5e6 100644 --- a/clients/client-codestar/commands/TagProjectCommand.ts +++ b/clients/client-codestar/commands/TagProjectCommand.ts @@ -28,7 +28,6 @@ export class TagProjectCommand extends $Command< TagProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/UntagProjectCommand.ts b/clients/client-codestar/commands/UntagProjectCommand.ts index 1f6cb0cfe25b1..ee0f0607923f7 100644 --- a/clients/client-codestar/commands/UntagProjectCommand.ts +++ b/clients/client-codestar/commands/UntagProjectCommand.ts @@ -28,7 +28,6 @@ export class UntagProjectCommand extends $Command< UntagProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/UpdateProjectCommand.ts b/clients/client-codestar/commands/UpdateProjectCommand.ts index c3b4e86f3b869..b0aded940da0d 100644 --- a/clients/client-codestar/commands/UpdateProjectCommand.ts +++ b/clients/client-codestar/commands/UpdateProjectCommand.ts @@ -28,7 +28,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProjectCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/UpdateTeamMemberCommand.ts b/clients/client-codestar/commands/UpdateTeamMemberCommand.ts index 5af6745bf7e78..e180857d2e829 100644 --- a/clients/client-codestar/commands/UpdateTeamMemberCommand.ts +++ b/clients/client-codestar/commands/UpdateTeamMemberCommand.ts @@ -30,7 +30,6 @@ export class UpdateTeamMemberCommand extends $Command< UpdateTeamMemberCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateTeamMemberCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-codestar/commands/UpdateUserProfileCommand.ts b/clients/client-codestar/commands/UpdateUserProfileCommand.ts index 4535a853ee6af..47f8cc5c04aba 100644 --- a/clients/client-codestar/commands/UpdateUserProfileCommand.ts +++ b/clients/client-codestar/commands/UpdateUserProfileCommand.ts @@ -30,7 +30,6 @@ export class UpdateUserProfileCommand extends $Command< UpdateUserProfileCommandOutput, CodeStarClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateUserProfileCommand extends $Command< configuration: CodeStarClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts index 00cff2e3aaa21..af59d2c4dbe71 100644 --- a/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AddCustomAttributesCommand.ts @@ -33,7 +33,6 @@ export class AddCustomAttributesCommand extends $Command< AddCustomAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class AddCustomAttributesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts b/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts index 198e4bdb51be7..105434439bbba 100644 --- a/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminAddUserToGroupCommand.ts @@ -34,7 +34,6 @@ export class AdminAddUserToGroupCommand extends $Command< AdminAddUserToGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminAddUserToGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts b/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts index fbd1f4ede7eb7..0554e16428bfa 100644 --- a/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminConfirmSignUpCommand.ts @@ -35,7 +35,6 @@ export class AdminConfirmSignUpCommand extends $Command< AdminConfirmSignUpCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class AdminConfirmSignUpCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts index 1895dbbaaacfb..89b3121267368 100644 --- a/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminCreateUserCommand.ts @@ -44,7 +44,6 @@ export class AdminCreateUserCommand extends $Command< AdminCreateUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class AdminCreateUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts index 42652aad50ea3..093d2db1ce29a 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDeleteUserAttributesCommand.ts @@ -35,7 +35,6 @@ export class AdminDeleteUserAttributesCommand extends $Command< AdminDeleteUserAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class AdminDeleteUserAttributesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts index 9959129940263..f7244c91789ee 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDeleteUserCommand.ts @@ -34,7 +34,6 @@ export class AdminDeleteUserCommand extends $Command< AdminDeleteUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminDeleteUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts index 41246ee252a84..427318c046c18 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDisableProviderForUserCommand.ts @@ -60,7 +60,6 @@ export class AdminDisableProviderForUserCommand extends $Command< AdminDisableProviderForUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,11 +77,8 @@ export class AdminDisableProviderForUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts index 43f91397e13df..9d1e01a6bb500 100644 --- a/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminDisableUserCommand.ts @@ -34,7 +34,6 @@ export class AdminDisableUserCommand extends $Command< AdminDisableUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminDisableUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts index aea0956d33e2d..c2f89f6fa2f46 100644 --- a/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminEnableUserCommand.ts @@ -34,7 +34,6 @@ export class AdminEnableUserCommand extends $Command< AdminEnableUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminEnableUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts index 22bf993eb3101..f8ea5e36f129a 100644 --- a/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminForgetDeviceCommand.ts @@ -34,7 +34,6 @@ export class AdminForgetDeviceCommand extends $Command< AdminForgetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminForgetDeviceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts index 5d35f3e3ec1b7..a5060da7a97f6 100644 --- a/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminGetDeviceCommand.ts @@ -34,7 +34,6 @@ export class AdminGetDeviceCommand extends $Command< AdminGetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminGetDeviceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts index 9d59665d1b6e3..f15130d98fafc 100644 --- a/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminGetUserCommand.ts @@ -35,7 +35,6 @@ export class AdminGetUserCommand extends $Command< AdminGetUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class AdminGetUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts b/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts index 0391c8aabf7dc..82d40435150be 100644 --- a/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminInitiateAuthCommand.ts @@ -34,7 +34,6 @@ export class AdminInitiateAuthCommand extends $Command< AdminInitiateAuthCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminInitiateAuthCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts index 4d2b481348c00..13101fb113975 100644 --- a/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminLinkProviderForUserCommand.ts @@ -53,7 +53,6 @@ export class AdminLinkProviderForUserCommand extends $Command< AdminLinkProviderForUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,11 +70,8 @@ export class AdminLinkProviderForUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts index 8cd371b624b2b..32a0ffb088fdd 100644 --- a/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminListDevicesCommand.ts @@ -34,7 +34,6 @@ export class AdminListDevicesCommand extends $Command< AdminListDevicesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminListDevicesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts b/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts index b3ad1a5ab63c6..f6169dc155982 100644 --- a/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminListGroupsForUserCommand.ts @@ -34,7 +34,6 @@ export class AdminListGroupsForUserCommand extends $Command< AdminListGroupsForUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminListGroupsForUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts b/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts index 3789d90d3256e..1a055a14d5129 100644 --- a/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminListUserAuthEventsCommand.ts @@ -34,7 +34,6 @@ export class AdminListUserAuthEventsCommand extends $Command< AdminListUserAuthEventsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminListUserAuthEventsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts b/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts index a665f70fce1b4..8353bfc7e8b6e 100644 --- a/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminRemoveUserFromGroupCommand.ts @@ -34,7 +34,6 @@ export class AdminRemoveUserFromGroupCommand extends $Command< AdminRemoveUserFromGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminRemoveUserFromGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts index cf06e54429928..d8a7d760126c5 100644 --- a/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminResetUserPasswordCommand.ts @@ -43,7 +43,6 @@ export class AdminResetUserPasswordCommand extends $Command< AdminResetUserPasswordCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,11 +60,8 @@ export class AdminResetUserPasswordCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts b/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts index d2107d8067d62..37a7d02a90a3a 100644 --- a/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminRespondToAuthChallengeCommand.ts @@ -34,7 +34,6 @@ export class AdminRespondToAuthChallengeCommand extends $Command< AdminRespondToAuthChallengeCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminRespondToAuthChallengeCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts b/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts index 9b36c9d5a3b04..b7eed54ef1ba3 100644 --- a/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminSetUserMFAPreferenceCommand.ts @@ -37,7 +37,6 @@ export class AdminSetUserMFAPreferenceCommand extends $Command< AdminSetUserMFAPreferenceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class AdminSetUserMFAPreferenceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts index cac594ef6f7e6..180fb7047ee41 100644 --- a/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminSetUserPasswordCommand.ts @@ -42,7 +42,6 @@ export class AdminSetUserPasswordCommand extends $Command< AdminSetUserPasswordCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,11 +59,8 @@ export class AdminSetUserPasswordCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts b/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts index 5204082e39abb..9bf57714f4a8a 100644 --- a/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminSetUserSettingsCommand.ts @@ -36,7 +36,6 @@ export class AdminSetUserSettingsCommand extends $Command< AdminSetUserSettingsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,11 +53,8 @@ export class AdminSetUserSettingsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts index 943487fd5f3bc..3f417f7af9ba7 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateAuthEventFeedbackCommand.ts @@ -35,7 +35,6 @@ export class AdminUpdateAuthEventFeedbackCommand extends $Command< AdminUpdateAuthEventFeedbackCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class AdminUpdateAuthEventFeedbackCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts index c9a293dc6336a..800e250ebbe0d 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateDeviceStatusCommand.ts @@ -34,7 +34,6 @@ export class AdminUpdateDeviceStatusCommand extends $Command< AdminUpdateDeviceStatusCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AdminUpdateDeviceStatusCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts index 59f6c19605819..e9d4d588ca993 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUpdateUserAttributesCommand.ts @@ -39,7 +39,6 @@ export class AdminUpdateUserAttributesCommand extends $Command< AdminUpdateUserAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,11 +56,8 @@ export class AdminUpdateUserAttributesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts b/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts index 4355ca96fe701..52a2b8f525769 100644 --- a/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AdminUserGlobalSignOutCommand.ts @@ -36,7 +36,6 @@ export class AdminUserGlobalSignOutCommand extends $Command< AdminUserGlobalSignOutCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,11 +53,8 @@ export class AdminUserGlobalSignOutCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts b/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts index 298d805ab35fd..dbc96735ca391 100644 --- a/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts +++ b/clients/client-cognito-identity-provider/commands/AssociateSoftwareTokenCommand.ts @@ -34,7 +34,6 @@ export class AssociateSoftwareTokenCommand extends $Command< AssociateSoftwareTokenCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class AssociateSoftwareTokenCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts index 5c277c5b49d80..297e7a751a192 100644 --- a/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ChangePasswordCommand.ts @@ -32,7 +32,6 @@ export class ChangePasswordCommand extends $Command< ChangePasswordCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ChangePasswordCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts index ea25889e4e2ba..aa47edbd758f8 100644 --- a/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ConfirmDeviceCommand.ts @@ -34,7 +34,6 @@ export class ConfirmDeviceCommand extends $Command< ConfirmDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class ConfirmDeviceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts index 0a1c4e2a32a88..2186a927118a7 100644 --- a/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ConfirmForgotPasswordCommand.ts @@ -32,7 +32,6 @@ export class ConfirmForgotPasswordCommand extends $Command< ConfirmForgotPasswordCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ConfirmForgotPasswordCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts b/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts index 0b816bbc59354..09ce25752fca6 100644 --- a/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ConfirmSignUpCommand.ts @@ -33,7 +33,6 @@ export class ConfirmSignUpCommand extends $Command< ConfirmSignUpCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ConfirmSignUpCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts b/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts index c887b25d3a28c..08f0086629586 100644 --- a/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateGroupCommand.ts @@ -34,7 +34,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class CreateGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts index ae5960507b3dd..079f834bcb688 100644 --- a/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateIdentityProviderCommand.ts @@ -33,7 +33,6 @@ export class CreateIdentityProviderCommand extends $Command< CreateIdentityProviderCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class CreateIdentityProviderCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts index 6b3a94a96adf1..4924942bf27bd 100644 --- a/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateResourceServerCommand.ts @@ -33,7 +33,6 @@ export class CreateResourceServerCommand extends $Command< CreateResourceServerCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class CreateResourceServerCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts index 0062a47ebb8f1..487aa53a43ba4 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserImportJobCommand.ts @@ -33,7 +33,6 @@ export class CreateUserImportJobCommand extends $Command< CreateUserImportJobCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class CreateUserImportJobCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts index f86345e57104c..5353e5b893739 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolClientCommand.ts @@ -33,7 +33,6 @@ export class CreateUserPoolClientCommand extends $Command< CreateUserPoolClientCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class CreateUserPoolClientCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts index 9d177386e268e..6d9a76575e9fc 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolCommand.ts @@ -34,7 +34,6 @@ export class CreateUserPoolCommand extends $Command< CreateUserPoolCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class CreateUserPoolCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts index ece5292fd5415..8632b0e115fe2 100644 --- a/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/CreateUserPoolDomainCommand.ts @@ -33,7 +33,6 @@ export class CreateUserPoolDomainCommand extends $Command< CreateUserPoolDomainCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class CreateUserPoolDomainCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts index 1b191cf2284b0..651041d055767 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteGroupCommand.ts @@ -34,7 +34,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class DeleteGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts index e0a9f4a7fa040..ad9dd013c3455 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteIdentityProviderCommand.ts @@ -33,7 +33,6 @@ export class DeleteIdentityProviderCommand extends $Command< DeleteIdentityProviderCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DeleteIdentityProviderCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts index bab4214adffcc..d2619fbba303c 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteResourceServerCommand.ts @@ -33,7 +33,6 @@ export class DeleteResourceServerCommand extends $Command< DeleteResourceServerCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DeleteResourceServerCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts index 64896c2742f50..df0090823b6a9 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserAttributesCommand.ts @@ -32,7 +32,6 @@ export class DeleteUserAttributesCommand extends $Command< DeleteUserAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteUserAttributesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts index 03bd8bb1faf52..1535c21c69f69 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserCommand.ts @@ -32,7 +32,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts index c966a712f8453..3847224fdfd51 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserPoolClientCommand.ts @@ -33,7 +33,6 @@ export class DeleteUserPoolClientCommand extends $Command< DeleteUserPoolClientCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DeleteUserPoolClientCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts index 7ca044639eb9c..eb622b82a3f46 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserPoolCommand.ts @@ -33,7 +33,6 @@ export class DeleteUserPoolCommand extends $Command< DeleteUserPoolCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DeleteUserPoolCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts index aaec17aac58be..bfe7bbd560fdc 100644 --- a/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DeleteUserPoolDomainCommand.ts @@ -33,7 +33,6 @@ export class DeleteUserPoolDomainCommand extends $Command< DeleteUserPoolDomainCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DeleteUserPoolDomainCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts index d834ab4508e6e..ee8a3eb56cecd 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeIdentityProviderCommand.ts @@ -33,7 +33,6 @@ export class DescribeIdentityProviderCommand extends $Command< DescribeIdentityProviderCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DescribeIdentityProviderCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts index 1b19edeaeefe0..a4153968792e6 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeResourceServerCommand.ts @@ -33,7 +33,6 @@ export class DescribeResourceServerCommand extends $Command< DescribeResourceServerCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DescribeResourceServerCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts index ad35f4cdf4c1c..1ea0f542aa0df 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeRiskConfigurationCommand.ts @@ -33,7 +33,6 @@ export class DescribeRiskConfigurationCommand extends $Command< DescribeRiskConfigurationCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DescribeRiskConfigurationCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts index 8c2fce71eaa12..b439be6d7e968 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserImportJobCommand.ts @@ -33,7 +33,6 @@ export class DescribeUserImportJobCommand extends $Command< DescribeUserImportJobCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DescribeUserImportJobCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts index cd80bbebdb03d..d696cf20d703c 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserPoolClientCommand.ts @@ -34,7 +34,6 @@ export class DescribeUserPoolClientCommand extends $Command< DescribeUserPoolClientCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class DescribeUserPoolClientCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts index aa64e6fa19508..5fe8fed75b44b 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserPoolCommand.ts @@ -33,7 +33,6 @@ export class DescribeUserPoolCommand extends $Command< DescribeUserPoolCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DescribeUserPoolCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts index 461a7ad993000..9ff4f98cd8276 100644 --- a/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/DescribeUserPoolDomainCommand.ts @@ -33,7 +33,6 @@ export class DescribeUserPoolDomainCommand extends $Command< DescribeUserPoolDomainCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DescribeUserPoolDomainCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts index b5bfd07a055a2..ac89b63cc900f 100644 --- a/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ForgetDeviceCommand.ts @@ -33,7 +33,6 @@ export class ForgetDeviceCommand extends $Command< ForgetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ForgetDeviceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts b/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts index 7cd0f97533602..473e1e77cc94b 100644 --- a/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ForgotPasswordCommand.ts @@ -38,7 +38,6 @@ export class ForgotPasswordCommand extends $Command< ForgotPasswordCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ForgotPasswordCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts b/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts index 1f44a477a7c34..2971de0f88007 100644 --- a/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetCSVHeaderCommand.ts @@ -34,7 +34,6 @@ export class GetCSVHeaderCommand extends $Command< GetCSVHeaderCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class GetCSVHeaderCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts b/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts index 55dad437997b5..9be34f2297693 100644 --- a/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetDeviceCommand.ts @@ -30,7 +30,6 @@ export class GetDeviceCommand extends $Command< GetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class GetDeviceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts b/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts index 97e25adee7807..50e4843134d86 100644 --- a/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetGroupCommand.ts @@ -31,7 +31,6 @@ export class GetGroupCommand extends $Command< GetGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,11 +48,8 @@ export class GetGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts b/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts index e079c3d38287b..e9c829b5f8a76 100644 --- a/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetIdentityProviderByIdentifierCommand.ts @@ -33,7 +33,6 @@ export class GetIdentityProviderByIdentifierCommand extends $Command< GetIdentityProviderByIdentifierCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class GetIdentityProviderByIdentifierCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts b/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts index f5e21ac2a0109..f612729cd82c7 100644 --- a/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetSigningCertificateCommand.ts @@ -33,7 +33,6 @@ export class GetSigningCertificateCommand extends $Command< GetSigningCertificateCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class GetSigningCertificateCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts b/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts index 53e91596e5aaf..9b64cc933683a 100644 --- a/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUICustomizationCommand.ts @@ -36,7 +36,6 @@ export class GetUICustomizationCommand extends $Command< GetUICustomizationCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,11 +53,8 @@ export class GetUICustomizationCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts index bde49a16776f8..82822c19fda2a 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserAttributeVerificationCodeCommand.ts @@ -32,7 +32,6 @@ export class GetUserAttributeVerificationCodeCommand extends $Command< GetUserAttributeVerificationCodeCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetUserAttributeVerificationCodeCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetUserCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserCommand.ts index 984b5cc8702a7..bc55c43069b3b 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserCommand.ts @@ -29,7 +29,6 @@ export class GetUserCommand extends $Command< GetUserCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetUserCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts b/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts index d3e4991646207..9a92cbe532cb6 100644 --- a/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GetUserPoolMfaConfigCommand.ts @@ -33,7 +33,6 @@ export class GetUserPoolMfaConfigCommand extends $Command< GetUserPoolMfaConfigCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class GetUserPoolMfaConfigCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts b/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts index ebf051fdf49e8..91dfe32dae915 100644 --- a/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts +++ b/clients/client-cognito-identity-provider/commands/GlobalSignOutCommand.ts @@ -35,7 +35,6 @@ export class GlobalSignOutCommand extends $Command< GlobalSignOutCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class GlobalSignOutCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts b/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts index baf877b4bfa6a..0fe5dcea6c51a 100644 --- a/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts +++ b/clients/client-cognito-identity-provider/commands/InitiateAuthCommand.ts @@ -32,7 +32,6 @@ export class InitiateAuthCommand extends $Command< InitiateAuthCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class InitiateAuthCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts b/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts index 8ae83c2878217..347f978d62957 100644 --- a/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListDevicesCommand.ts @@ -33,7 +33,6 @@ export class ListDevicesCommand extends $Command< ListDevicesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListDevicesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts b/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts index 5f3b36cb9da44..2b518b4938b07 100644 --- a/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListGroupsCommand.ts @@ -34,7 +34,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class ListGroupsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts b/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts index a49fd081fc0b7..db6f53bb519e7 100644 --- a/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListIdentityProvidersCommand.ts @@ -33,7 +33,6 @@ export class ListIdentityProvidersCommand extends $Command< ListIdentityProvidersCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListIdentityProvidersCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts b/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts index 3059089ab21d4..a052a21318c55 100644 --- a/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListResourceServersCommand.ts @@ -33,7 +33,6 @@ export class ListResourceServersCommand extends $Command< ListResourceServersCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListResourceServersCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts b/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts index 97886cc1a0320..efd54d1004c33 100644 --- a/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListTagsForResourceCommand.ts @@ -36,7 +36,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,11 +53,8 @@ export class ListTagsForResourceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts index fd113a81157fc..c0108f0347e3d 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserImportJobsCommand.ts @@ -33,7 +33,6 @@ export class ListUserImportJobsCommand extends $Command< ListUserImportJobsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListUserImportJobsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts index fbe7d7bee21a0..29d6ba7a0af49 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserPoolClientsCommand.ts @@ -33,7 +33,6 @@ export class ListUserPoolClientsCommand extends $Command< ListUserPoolClientsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListUserPoolClientsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts b/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts index 155287a03c6c1..e052a2d783acd 100644 --- a/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUserPoolsCommand.ts @@ -33,7 +33,6 @@ export class ListUserPoolsCommand extends $Command< ListUserPoolsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListUserPoolsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts b/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts index 056c11cf433e9..18619f598d7b2 100644 --- a/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUsersCommand.ts @@ -30,7 +30,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class ListUsersCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts b/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts index 6192b38a4eec8..c4d9d6a16367e 100644 --- a/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ListUsersInGroupCommand.ts @@ -34,7 +34,6 @@ export class ListUsersInGroupCommand extends $Command< ListUsersInGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class ListUsersInGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts b/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts index a4252c3813178..36b44b6b315d0 100644 --- a/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/ResendConfirmationCodeCommand.ts @@ -33,7 +33,6 @@ export class ResendConfirmationCodeCommand extends $Command< ResendConfirmationCodeCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ResendConfirmationCodeCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts b/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts index 55fd9294482f6..76257da8f9ac7 100644 --- a/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/RespondToAuthChallengeCommand.ts @@ -32,7 +32,6 @@ export class RespondToAuthChallengeCommand extends $Command< RespondToAuthChallengeCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RespondToAuthChallengeCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts b/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts index 0c9a4beec856d..7f0970e28ed7c 100644 --- a/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetRiskConfigurationCommand.ts @@ -37,7 +37,6 @@ export class SetRiskConfigurationCommand extends $Command< SetRiskConfigurationCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class SetRiskConfigurationCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts b/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts index 5f71a6bf625fd..39b2ce736ec8f 100644 --- a/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUICustomizationCommand.ts @@ -44,7 +44,6 @@ export class SetUICustomizationCommand extends $Command< SetUICustomizationCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class SetUICustomizationCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts index d3b015ef51bc8..38cc5ee69a950 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserMFAPreferenceCommand.ts @@ -39,7 +39,6 @@ export class SetUserMFAPreferenceCommand extends $Command< SetUserMFAPreferenceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,11 +56,8 @@ export class SetUserMFAPreferenceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts index 02db43461ca59..051344fb2ad13 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserPoolMfaConfigCommand.ts @@ -33,7 +33,6 @@ export class SetUserPoolMfaConfigCommand extends $Command< SetUserPoolMfaConfigCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class SetUserPoolMfaConfigCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts b/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts index 3c000bf39fbe9..ba38dafab9554 100644 --- a/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SetUserSettingsCommand.ts @@ -35,7 +35,6 @@ export class SetUserSettingsCommand extends $Command< SetUserSettingsCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class SetUserSettingsCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/SignUpCommand.ts b/clients/client-cognito-identity-provider/commands/SignUpCommand.ts index 6ba687395ff7f..76a03c875705b 100644 --- a/clients/client-cognito-identity-provider/commands/SignUpCommand.ts +++ b/clients/client-cognito-identity-provider/commands/SignUpCommand.ts @@ -30,7 +30,6 @@ export class SignUpCommand extends $Command< SignUpCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SignUpCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts index 74121cb21eaaa..033bf314650bd 100644 --- a/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/StartUserImportJobCommand.ts @@ -33,7 +33,6 @@ export class StartUserImportJobCommand extends $Command< StartUserImportJobCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class StartUserImportJobCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts b/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts index d1b2dfb872668..ec3aacae2e27a 100644 --- a/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts +++ b/clients/client-cognito-identity-provider/commands/StopUserImportJobCommand.ts @@ -33,7 +33,6 @@ export class StopUserImportJobCommand extends $Command< StopUserImportJobCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class StopUserImportJobCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts b/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts index 35a64a59a804d..426b1daab7f90 100644 --- a/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/TagResourceCommand.ts @@ -46,7 +46,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,11 +63,8 @@ export class TagResourceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts b/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts index fe53635c0410d..8c57bcb4eba28 100644 --- a/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UntagResourceCommand.ts @@ -34,7 +34,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class UntagResourceCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts index 8a56e7c78f6bd..c812315fd0e90 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateAuthEventFeedbackCommand.ts @@ -35,7 +35,6 @@ export class UpdateAuthEventFeedbackCommand extends $Command< UpdateAuthEventFeedbackCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class UpdateAuthEventFeedbackCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts index 07f200c0fca1d..57b75b473a0ea 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateDeviceStatusCommand.ts @@ -33,7 +33,6 @@ export class UpdateDeviceStatusCommand extends $Command< UpdateDeviceStatusCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class UpdateDeviceStatusCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts index 9237f05869313..df739f3c246bb 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateGroupCommand.ts @@ -38,7 +38,6 @@ export class UpdateGroupCommand extends $Command< UpdateGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,11 +55,8 @@ export class UpdateGroupCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts index d3c549efcbd00..f49ce3a66fe5b 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateIdentityProviderCommand.ts @@ -33,7 +33,6 @@ export class UpdateIdentityProviderCommand extends $Command< UpdateIdentityProviderCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class UpdateIdentityProviderCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts index 53e5669df950e..45fd4bfdb7fcd 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateResourceServerCommand.ts @@ -37,7 +37,6 @@ export class UpdateResourceServerCommand extends $Command< UpdateResourceServerCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class UpdateResourceServerCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts index edcdda84e2282..d7e83030e98b4 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserAttributesCommand.ts @@ -32,7 +32,6 @@ export class UpdateUserAttributesCommand extends $Command< UpdateUserAttributesCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateUserAttributesCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts index a7880720a82e4..f31299723891f 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolClientCommand.ts @@ -38,7 +38,6 @@ export class UpdateUserPoolClientCommand extends $Command< UpdateUserPoolClientCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,11 +55,8 @@ export class UpdateUserPoolClientCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts index e74345f5fba95..b1c8ee0179aca 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolCommand.ts @@ -38,7 +38,6 @@ export class UpdateUserPoolCommand extends $Command< UpdateUserPoolCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,11 +55,8 @@ export class UpdateUserPoolCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts b/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts index 2fa20e89b96aa..7975032858d89 100644 --- a/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts +++ b/clients/client-cognito-identity-provider/commands/UpdateUserPoolDomainCommand.ts @@ -53,7 +53,6 @@ export class UpdateUserPoolDomainCommand extends $Command< UpdateUserPoolDomainCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,11 +70,8 @@ export class UpdateUserPoolDomainCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts b/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts index bbf5485cf8557..19399608e0183 100644 --- a/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts +++ b/clients/client-cognito-identity-provider/commands/VerifySoftwareTokenCommand.ts @@ -35,7 +35,6 @@ export class VerifySoftwareTokenCommand extends $Command< VerifySoftwareTokenCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class VerifySoftwareTokenCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts b/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts index 8dcafebee5106..7d96263e61c8e 100644 --- a/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts +++ b/clients/client-cognito-identity-provider/commands/VerifyUserAttributeCommand.ts @@ -32,7 +32,6 @@ export class VerifyUserAttributeCommand extends $Command< VerifyUserAttributeCommandOutput, CognitoIdentityProviderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class VerifyUserAttributeCommand extends $Command< configuration: CognitoIdentityProviderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts index 2b51094a05ee9..749dcaf0f7ec4 100644 --- a/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/CreateIdentityPoolCommand.ts @@ -55,7 +55,6 @@ export class CreateIdentityPoolCommand extends $Command< CreateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class CreateIdentityPoolCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts b/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts index 1de944ad47268..f2f776c4fdf8b 100644 --- a/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts +++ b/clients/client-cognito-identity/commands/DeleteIdentitiesCommand.ts @@ -31,7 +31,6 @@ export class DeleteIdentitiesCommand extends $Command< DeleteIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,11 +48,8 @@ export class DeleteIdentitiesCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts index 2d848a800c89b..044c3ee4013bf 100644 --- a/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/DeleteIdentityPoolCommand.ts @@ -31,7 +31,6 @@ export class DeleteIdentityPoolCommand extends $Command< DeleteIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,11 +48,8 @@ export class DeleteIdentityPoolCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts b/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts index a3d6b01a95690..89aa1b102a38e 100644 --- a/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/DescribeIdentityCommand.ts @@ -31,7 +31,6 @@ export class DescribeIdentityCommand extends $Command< DescribeIdentityCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,11 +48,8 @@ export class DescribeIdentityCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts index 2caab833ff163..fdb70cf6c0693 100644 --- a/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/DescribeIdentityPoolCommand.ts @@ -31,7 +31,6 @@ export class DescribeIdentityPoolCommand extends $Command< DescribeIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,11 +48,8 @@ export class DescribeIdentityPoolCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts b/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts index 35d16125975f2..6ff8e09bc8f21 100644 --- a/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/GetCredentialsForIdentityCommand.ts @@ -32,7 +32,6 @@ export class GetCredentialsForIdentityCommand extends $Command< GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCredentialsForIdentityCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/GetIdCommand.ts b/clients/client-cognito-identity/commands/GetIdCommand.ts index de44a9834c869..2206a42367838 100644 --- a/clients/client-cognito-identity/commands/GetIdCommand.ts +++ b/clients/client-cognito-identity/commands/GetIdCommand.ts @@ -23,7 +23,6 @@ export type GetIdCommandOutput = GetIdResponse & __MetadataBearer; *

This is a public API. You do not need any credentials to call this API.

*/ export class GetIdCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class GetIdCommand 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-cognito-identity/commands/GetIdentityPoolRolesCommand.ts b/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts index 4fda5b8440648..e329da8cdd029 100644 --- a/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts +++ b/clients/client-cognito-identity/commands/GetIdentityPoolRolesCommand.ts @@ -30,7 +30,6 @@ export class GetIdentityPoolRolesCommand extends $Command< GetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class GetIdentityPoolRolesCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts b/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts index 58426e15a9f02..221478c855c33 100644 --- a/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts +++ b/clients/client-cognito-identity/commands/GetOpenIdTokenCommand.ts @@ -32,7 +32,6 @@ export class GetOpenIdTokenCommand extends $Command< GetOpenIdTokenCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetOpenIdTokenCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts b/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts index 736cd1e3fcb01..5b190f1cdd52d 100644 --- a/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/GetOpenIdTokenForDeveloperIdentityCommand.ts @@ -45,7 +45,6 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command< GetOpenIdTokenForDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,11 +62,8 @@ export class GetOpenIdTokenForDeveloperIdentityCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts b/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts index 15b1648bac33d..984ba541414bf 100644 --- a/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts +++ b/clients/client-cognito-identity/commands/ListIdentitiesCommand.ts @@ -30,7 +30,6 @@ export class ListIdentitiesCommand extends $Command< ListIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class ListIdentitiesCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts b/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts index 516e9aa64410e..d0a7e8d8167c1 100644 --- a/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts +++ b/clients/client-cognito-identity/commands/ListIdentityPoolsCommand.ts @@ -30,7 +30,6 @@ export class ListIdentityPoolsCommand extends $Command< ListIdentityPoolsCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class ListIdentityPoolsCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts b/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts index b31b525d146b8..852cc1f23b7c7 100644 --- a/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts +++ b/clients/client-cognito-identity/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class ListTagsForResourceCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts b/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts index fc28e9727f78c..4ce9015079a1e 100644 --- a/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/LookupDeveloperIdentityCommand.ts @@ -45,7 +45,6 @@ export class LookupDeveloperIdentityCommand extends $Command< LookupDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,11 +62,8 @@ export class LookupDeveloperIdentityCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts b/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts index 678910deb8aa2..da30b63bd2059 100644 --- a/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts +++ b/clients/client-cognito-identity/commands/MergeDeveloperIdentitiesCommand.ts @@ -41,7 +41,6 @@ export class MergeDeveloperIdentitiesCommand extends $Command< MergeDeveloperIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,11 +58,8 @@ export class MergeDeveloperIdentitiesCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts b/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts index b7b97bf1b4f64..5fbd4921d0c74 100644 --- a/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts +++ b/clients/client-cognito-identity/commands/SetIdentityPoolRolesCommand.ts @@ -30,7 +30,6 @@ export class SetIdentityPoolRolesCommand extends $Command< SetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class SetIdentityPoolRolesCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/TagResourceCommand.ts b/clients/client-cognito-identity/commands/TagResourceCommand.ts index 8a6f1e39df457..217128423d50d 100644 --- a/clients/client-cognito-identity/commands/TagResourceCommand.ts +++ b/clients/client-cognito-identity/commands/TagResourceCommand.ts @@ -43,7 +43,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,11 +60,8 @@ export class TagResourceCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts b/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts index 9ad28b321ef34..1056b16911202 100644 --- a/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/UnlinkDeveloperIdentityCommand.ts @@ -33,7 +33,6 @@ export class UnlinkDeveloperIdentityCommand extends $Command< UnlinkDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class UnlinkDeveloperIdentityCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts b/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts index 612666f885b6c..68d4faa5341d4 100644 --- a/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts +++ b/clients/client-cognito-identity/commands/UnlinkIdentityCommand.ts @@ -31,7 +31,6 @@ export class UnlinkIdentityCommand extends $Command< UnlinkIdentityCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UnlinkIdentityCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/UntagResourceCommand.ts b/clients/client-cognito-identity/commands/UntagResourceCommand.ts index 33734b8ad613b..70e56882be124 100644 --- a/clients/client-cognito-identity/commands/UntagResourceCommand.ts +++ b/clients/client-cognito-identity/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class UntagResourceCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts b/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts index fb958aa50bf3b..798d899f428a0 100644 --- a/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts +++ b/clients/client-cognito-identity/commands/UpdateIdentityPoolCommand.ts @@ -30,7 +30,6 @@ export class UpdateIdentityPoolCommand extends $Command< UpdateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class UpdateIdentityPoolCommand extends $Command< configuration: CognitoIdentityClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/BulkPublishCommand.ts b/clients/client-cognito-sync/commands/BulkPublishCommand.ts index 4414ba18e90c8..60aaf3c4d0ce6 100644 --- a/clients/client-cognito-sync/commands/BulkPublishCommand.ts +++ b/clients/client-cognito-sync/commands/BulkPublishCommand.ts @@ -29,7 +29,6 @@ export class BulkPublishCommand extends $Command< BulkPublishCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BulkPublishCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts b/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts index a495b6482749b..90c888539a3c7 100644 --- a/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/DeleteDatasetCommand.ts @@ -29,7 +29,6 @@ export class DeleteDatasetCommand extends $Command< DeleteDatasetCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDatasetCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts b/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts index 0aa57a324c6fb..8b24ade1eb523 100644 --- a/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/DescribeDatasetCommand.ts @@ -29,7 +29,6 @@ export class DescribeDatasetCommand extends $Command< DescribeDatasetCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDatasetCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts b/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts index 6469a13b1585d..4c20d50311c0c 100644 --- a/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts +++ b/clients/client-cognito-sync/commands/DescribeIdentityPoolUsageCommand.ts @@ -29,7 +29,6 @@ export class DescribeIdentityPoolUsageCommand extends $Command< DescribeIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeIdentityPoolUsageCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts b/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts index 65455f81b2696..551ba62739f41 100644 --- a/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts +++ b/clients/client-cognito-sync/commands/DescribeIdentityUsageCommand.ts @@ -29,7 +29,6 @@ export class DescribeIdentityUsageCommand extends $Command< DescribeIdentityUsageCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeIdentityUsageCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts b/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts index 0af7e2f875065..e8341989bd59b 100644 --- a/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts +++ b/clients/client-cognito-sync/commands/GetBulkPublishDetailsCommand.ts @@ -29,7 +29,6 @@ export class GetBulkPublishDetailsCommand extends $Command< GetBulkPublishDetailsCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetBulkPublishDetailsCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts b/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts index b096d0b3ac923..d408d5679a31e 100644 --- a/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts +++ b/clients/client-cognito-sync/commands/GetCognitoEventsCommand.ts @@ -29,7 +29,6 @@ export class GetCognitoEventsCommand extends $Command< GetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetCognitoEventsCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts b/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts index ac76aae1476dc..c7c84731074af 100644 --- a/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts +++ b/clients/client-cognito-sync/commands/GetIdentityPoolConfigurationCommand.ts @@ -29,7 +29,6 @@ export class GetIdentityPoolConfigurationCommand extends $Command< GetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetIdentityPoolConfigurationCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/ListDatasetsCommand.ts b/clients/client-cognito-sync/commands/ListDatasetsCommand.ts index 996960a2b4f67..76875ff9e4b47 100644 --- a/clients/client-cognito-sync/commands/ListDatasetsCommand.ts +++ b/clients/client-cognito-sync/commands/ListDatasetsCommand.ts @@ -29,7 +29,6 @@ export class ListDatasetsCommand extends $Command< ListDatasetsCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDatasetsCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts b/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts index 7802897c722bd..9f79009feefd3 100644 --- a/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts +++ b/clients/client-cognito-sync/commands/ListIdentityPoolUsageCommand.ts @@ -29,7 +29,6 @@ export class ListIdentityPoolUsageCommand extends $Command< ListIdentityPoolUsageCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListIdentityPoolUsageCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/ListRecordsCommand.ts b/clients/client-cognito-sync/commands/ListRecordsCommand.ts index 2d8d877895376..079b13debe269 100644 --- a/clients/client-cognito-sync/commands/ListRecordsCommand.ts +++ b/clients/client-cognito-sync/commands/ListRecordsCommand.ts @@ -29,7 +29,6 @@ export class ListRecordsCommand extends $Command< ListRecordsCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRecordsCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts b/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts index 4ef9385d05f46..3ee5351dd5ff5 100644 --- a/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts +++ b/clients/client-cognito-sync/commands/RegisterDeviceCommand.ts @@ -29,7 +29,6 @@ export class RegisterDeviceCommand extends $Command< RegisterDeviceCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RegisterDeviceCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts b/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts index aded734262383..826af7bd2d563 100644 --- a/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts +++ b/clients/client-cognito-sync/commands/SetCognitoEventsCommand.ts @@ -29,7 +29,6 @@ export class SetCognitoEventsCommand extends $Command< SetCognitoEventsCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SetCognitoEventsCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts b/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts index 9207f7b1b5fde..d4232d0c54adf 100644 --- a/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts +++ b/clients/client-cognito-sync/commands/SetIdentityPoolConfigurationCommand.ts @@ -29,7 +29,6 @@ export class SetIdentityPoolConfigurationCommand extends $Command< SetIdentityPoolConfigurationCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SetIdentityPoolConfigurationCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts b/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts index f480cc2517b61..070c7ab056aff 100644 --- a/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/SubscribeToDatasetCommand.ts @@ -29,7 +29,6 @@ export class SubscribeToDatasetCommand extends $Command< SubscribeToDatasetCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SubscribeToDatasetCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts b/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts index 4e1ec2f413092..1ff4f17ef3e49 100644 --- a/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts +++ b/clients/client-cognito-sync/commands/UnsubscribeFromDatasetCommand.ts @@ -29,7 +29,6 @@ export class UnsubscribeFromDatasetCommand extends $Command< UnsubscribeFromDatasetCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UnsubscribeFromDatasetCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts b/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts index 7c86b7dda4c74..a3b7886aec25b 100644 --- a/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts +++ b/clients/client-cognito-sync/commands/UpdateRecordsCommand.ts @@ -31,7 +31,6 @@ export class UpdateRecordsCommand extends $Command< UpdateRecordsCommandOutput, CognitoSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateRecordsCommand extends $Command< configuration: CognitoSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts b/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts index a4b485d3112c9..64b4b038c0676 100644 --- a/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectDominantLanguageCommand.ts @@ -30,7 +30,6 @@ export class BatchDetectDominantLanguageCommand extends $Command< BatchDetectDominantLanguageCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchDetectDominantLanguageCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts b/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts index 50a6c7296765a..3f806adcc3ccf 100644 --- a/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectEntitiesCommand.ts @@ -30,7 +30,6 @@ export class BatchDetectEntitiesCommand extends $Command< BatchDetectEntitiesCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchDetectEntitiesCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts b/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts index 94245b40e6908..0e275ace15c91 100644 --- a/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectKeyPhrasesCommand.ts @@ -28,7 +28,6 @@ export class BatchDetectKeyPhrasesCommand extends $Command< BatchDetectKeyPhrasesCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDetectKeyPhrasesCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts b/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts index 5fae865b28090..68089a5e0aebc 100644 --- a/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectSentimentCommand.ts @@ -30,7 +30,6 @@ export class BatchDetectSentimentCommand extends $Command< BatchDetectSentimentCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchDetectSentimentCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts b/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts index 9f00e45b5c504..cce7cf3313d83 100644 --- a/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts +++ b/clients/client-comprehend/commands/BatchDetectSyntaxCommand.ts @@ -29,7 +29,6 @@ export class BatchDetectSyntaxCommand extends $Command< BatchDetectSyntaxCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BatchDetectSyntaxCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ClassifyDocumentCommand.ts b/clients/client-comprehend/commands/ClassifyDocumentCommand.ts index c6db7bc8ce6d1..3f438508a3ff2 100644 --- a/clients/client-comprehend/commands/ClassifyDocumentCommand.ts +++ b/clients/client-comprehend/commands/ClassifyDocumentCommand.ts @@ -29,7 +29,6 @@ export class ClassifyDocumentCommand extends $Command< ClassifyDocumentCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ClassifyDocumentCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts b/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts index 14e60b7465509..e0791af0da300 100644 --- a/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/CreateDocumentClassifierCommand.ts @@ -31,7 +31,6 @@ export class CreateDocumentClassifierCommand extends $Command< CreateDocumentClassifierCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDocumentClassifierCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/CreateEndpointCommand.ts b/clients/client-comprehend/commands/CreateEndpointCommand.ts index 827fc5b59f0df..df247051edae6 100644 --- a/clients/client-comprehend/commands/CreateEndpointCommand.ts +++ b/clients/client-comprehend/commands/CreateEndpointCommand.ts @@ -30,7 +30,6 @@ export class CreateEndpointCommand extends $Command< CreateEndpointCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateEndpointCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts b/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts index 4ce114210bace..4209f65dcaccd 100644 --- a/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/CreateEntityRecognizerCommand.ts @@ -30,7 +30,6 @@ export class CreateEntityRecognizerCommand extends $Command< CreateEntityRecognizerCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateEntityRecognizerCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts b/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts index 0e640b499a472..850112a2d1690 100644 --- a/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/DeleteDocumentClassifierCommand.ts @@ -34,7 +34,6 @@ export class DeleteDocumentClassifierCommand extends $Command< DeleteDocumentClassifierCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteDocumentClassifierCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DeleteEndpointCommand.ts b/clients/client-comprehend/commands/DeleteEndpointCommand.ts index 4eeabe651ffe2..2607d182b1ded 100644 --- a/clients/client-comprehend/commands/DeleteEndpointCommand.ts +++ b/clients/client-comprehend/commands/DeleteEndpointCommand.ts @@ -29,7 +29,6 @@ export class DeleteEndpointCommand extends $Command< DeleteEndpointCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteEndpointCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts b/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts index 28e78e92f87c2..63a56deca3a90 100644 --- a/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/DeleteEntityRecognizerCommand.ts @@ -34,7 +34,6 @@ export class DeleteEntityRecognizerCommand extends $Command< DeleteEntityRecognizerCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteEntityRecognizerCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts b/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts index 09ef498f98890..8ba43873ef2f0 100644 --- a/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeDocumentClassificationJobCommand.ts @@ -33,7 +33,6 @@ export class DescribeDocumentClassificationJobCommand extends $Command< DescribeDocumentClassificationJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeDocumentClassificationJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts b/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts index 5c1759fbdc3cb..6dff4fcad99da 100644 --- a/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/DescribeDocumentClassifierCommand.ts @@ -28,7 +28,6 @@ export class DescribeDocumentClassifierCommand extends $Command< DescribeDocumentClassifierCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDocumentClassifierCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts index acd1f56b77278..794f5811ff59a 100644 --- a/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeDominantLanguageDetectionJobCommand.ts @@ -33,7 +33,6 @@ export class DescribeDominantLanguageDetectionJobCommand extends $Command< DescribeDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeDominantLanguageDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeEndpointCommand.ts b/clients/client-comprehend/commands/DescribeEndpointCommand.ts index 7b9b5ef8c583d..d7e820239bcb2 100644 --- a/clients/client-comprehend/commands/DescribeEndpointCommand.ts +++ b/clients/client-comprehend/commands/DescribeEndpointCommand.ts @@ -29,7 +29,6 @@ export class DescribeEndpointCommand extends $Command< DescribeEndpointCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEndpointCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts index f1845585fc698..3207676476422 100644 --- a/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeEntitiesDetectionJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeEntitiesDetectionJobCommand extends $Command< DescribeEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEntitiesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts b/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts index 2cf15d33cc352..e6153c537181a 100644 --- a/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/DescribeEntityRecognizerCommand.ts @@ -29,7 +29,6 @@ export class DescribeEntityRecognizerCommand extends $Command< DescribeEntityRecognizerCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEntityRecognizerCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeEventsDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeEventsDetectionJobCommand.ts index 2703d1a710b4e..6667820a0ae98 100644 --- a/clients/client-comprehend/commands/DescribeEventsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeEventsDetectionJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeEventsDetectionJobCommand extends $Command< DescribeEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEventsDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts index e4b5440dc9458..8e9504730cace 100644 --- a/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeKeyPhrasesDetectionJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeKeyPhrasesDetectionJobCommand extends $Command< DescribeKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeKeyPhrasesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribePiiEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribePiiEntitiesDetectionJobCommand.ts index f499ba0cd7b84..292d32c12c4df 100644 --- a/clients/client-comprehend/commands/DescribePiiEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribePiiEntitiesDetectionJobCommand.ts @@ -29,7 +29,6 @@ export class DescribePiiEntitiesDetectionJobCommand extends $Command< DescribePiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePiiEntitiesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts index 75f5f17f68564..c8a2acb4e715d 100644 --- a/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeSentimentDetectionJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeSentimentDetectionJobCommand extends $Command< DescribeSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSentimentDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts b/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts index 9f698b1841a4b..0d5fe6b2a7c39 100644 --- a/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/DescribeTopicsDetectionJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeTopicsDetectionJobCommand extends $Command< DescribeTopicsDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTopicsDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts b/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts index 33e00435352f6..ed830335c0002 100644 --- a/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts +++ b/clients/client-comprehend/commands/DetectDominantLanguageCommand.ts @@ -29,7 +29,6 @@ export class DetectDominantLanguageCommand extends $Command< DetectDominantLanguageCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DetectDominantLanguageCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DetectEntitiesCommand.ts b/clients/client-comprehend/commands/DetectEntitiesCommand.ts index 4cab239262ec5..b8e3b0537d6be 100644 --- a/clients/client-comprehend/commands/DetectEntitiesCommand.ts +++ b/clients/client-comprehend/commands/DetectEntitiesCommand.ts @@ -29,7 +29,6 @@ export class DetectEntitiesCommand extends $Command< DetectEntitiesCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DetectEntitiesCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts b/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts index b70821e61b554..bc1bd17c1faaa 100644 --- a/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts +++ b/clients/client-comprehend/commands/DetectKeyPhrasesCommand.ts @@ -28,7 +28,6 @@ export class DetectKeyPhrasesCommand extends $Command< DetectKeyPhrasesCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetectKeyPhrasesCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DetectPiiEntitiesCommand.ts b/clients/client-comprehend/commands/DetectPiiEntitiesCommand.ts index 2c921fe670017..43482136a6be7 100644 --- a/clients/client-comprehend/commands/DetectPiiEntitiesCommand.ts +++ b/clients/client-comprehend/commands/DetectPiiEntitiesCommand.ts @@ -29,7 +29,6 @@ export class DetectPiiEntitiesCommand extends $Command< DetectPiiEntitiesCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DetectPiiEntitiesCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DetectSentimentCommand.ts b/clients/client-comprehend/commands/DetectSentimentCommand.ts index 019029ca09125..2a4bc0657d5bc 100644 --- a/clients/client-comprehend/commands/DetectSentimentCommand.ts +++ b/clients/client-comprehend/commands/DetectSentimentCommand.ts @@ -29,7 +29,6 @@ export class DetectSentimentCommand extends $Command< DetectSentimentCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DetectSentimentCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/DetectSyntaxCommand.ts b/clients/client-comprehend/commands/DetectSyntaxCommand.ts index 43a3430f8570b..8ea516136348d 100644 --- a/clients/client-comprehend/commands/DetectSyntaxCommand.ts +++ b/clients/client-comprehend/commands/DetectSyntaxCommand.ts @@ -29,7 +29,6 @@ export class DetectSyntaxCommand extends $Command< DetectSyntaxCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DetectSyntaxCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts b/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts index 4f22384a38601..ef6231cd79af9 100644 --- a/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts +++ b/clients/client-comprehend/commands/ListDocumentClassificationJobsCommand.ts @@ -28,7 +28,6 @@ export class ListDocumentClassificationJobsCommand extends $Command< ListDocumentClassificationJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDocumentClassificationJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts b/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts index af0530be48f58..67d705ac0cbf7 100644 --- a/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts +++ b/clients/client-comprehend/commands/ListDocumentClassifiersCommand.ts @@ -28,7 +28,6 @@ export class ListDocumentClassifiersCommand extends $Command< ListDocumentClassifiersCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDocumentClassifiersCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts index 764b587dec97c..8bad9eadfd312 100644 --- a/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListDominantLanguageDetectionJobsCommand.ts @@ -32,7 +32,6 @@ export class ListDominantLanguageDetectionJobsCommand extends $Command< ListDominantLanguageDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListDominantLanguageDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListEndpointsCommand.ts b/clients/client-comprehend/commands/ListEndpointsCommand.ts index eba1fa09f3c04..6711a122425af 100644 --- a/clients/client-comprehend/commands/ListEndpointsCommand.ts +++ b/clients/client-comprehend/commands/ListEndpointsCommand.ts @@ -28,7 +28,6 @@ export class ListEndpointsCommand extends $Command< ListEndpointsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEndpointsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts index 31257974e2c34..efe9d458072f2 100644 --- a/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListEntitiesDetectionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListEntitiesDetectionJobsCommand extends $Command< ListEntitiesDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEntitiesDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts b/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts index 6b484721924ae..b005c636bea82 100644 --- a/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts +++ b/clients/client-comprehend/commands/ListEntityRecognizersCommand.ts @@ -33,7 +33,6 @@ export class ListEntityRecognizersCommand extends $Command< ListEntityRecognizersCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListEntityRecognizersCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListEventsDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListEventsDetectionJobsCommand.ts index 9a7664a66ceb4..259ac2edbf255 100644 --- a/clients/client-comprehend/commands/ListEventsDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListEventsDetectionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListEventsDetectionJobsCommand extends $Command< ListEventsDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEventsDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts index f6acf6d8aacd3..bf1d22524d9ec 100644 --- a/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListKeyPhrasesDetectionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListKeyPhrasesDetectionJobsCommand extends $Command< ListKeyPhrasesDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListKeyPhrasesDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListPiiEntitiesDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListPiiEntitiesDetectionJobsCommand.ts index c485e23c29d60..af0ea23f3e3ba 100644 --- a/clients/client-comprehend/commands/ListPiiEntitiesDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListPiiEntitiesDetectionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListPiiEntitiesDetectionJobsCommand extends $Command< ListPiiEntitiesDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPiiEntitiesDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts index c0b5b35e2813a..0cc8e0d764a4f 100644 --- a/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListSentimentDetectionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListSentimentDetectionJobsCommand extends $Command< ListSentimentDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSentimentDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListTagsForResourceCommand.ts b/clients/client-comprehend/commands/ListTagsForResourceCommand.ts index 6004028f9c989..f2e7068feb4d4 100644 --- a/clients/client-comprehend/commands/ListTagsForResourceCommand.ts +++ b/clients/client-comprehend/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts b/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts index d380acb9b4a43..5b22b669e1cd5 100644 --- a/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts +++ b/clients/client-comprehend/commands/ListTopicsDetectionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListTopicsDetectionJobsCommand extends $Command< ListTopicsDetectionJobsCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTopicsDetectionJobsCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts b/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts index b97ef12798d65..2c5d63be794ac 100644 --- a/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts +++ b/clients/client-comprehend/commands/StartDocumentClassificationJobCommand.ts @@ -29,7 +29,6 @@ export class StartDocumentClassificationJobCommand extends $Command< StartDocumentClassificationJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartDocumentClassificationJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts b/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts index d8a24b3bfe06a..95f95e7a6eca7 100644 --- a/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartDominantLanguageDetectionJobCommand.ts @@ -34,7 +34,6 @@ export class StartDominantLanguageDetectionJobCommand extends $Command< StartDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StartDominantLanguageDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts index 44ba2a4b91177..acbaa6c482a98 100644 --- a/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartEntitiesDetectionJobCommand.ts @@ -32,7 +32,6 @@ export class StartEntitiesDetectionJobCommand extends $Command< StartEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartEntitiesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartEventsDetectionJobCommand.ts b/clients/client-comprehend/commands/StartEventsDetectionJobCommand.ts index a860dac0dbfa2..0cf49dd011e0c 100644 --- a/clients/client-comprehend/commands/StartEventsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartEventsDetectionJobCommand.ts @@ -28,7 +28,6 @@ export class StartEventsDetectionJobCommand extends $Command< StartEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartEventsDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts b/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts index 5469584202010..2e01249fbb10c 100644 --- a/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartKeyPhrasesDetectionJobCommand.ts @@ -30,7 +30,6 @@ export class StartKeyPhrasesDetectionJobCommand extends $Command< StartKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartKeyPhrasesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartPiiEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/StartPiiEntitiesDetectionJobCommand.ts index 4b4984c91d494..97e119418ffcb 100644 --- a/clients/client-comprehend/commands/StartPiiEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartPiiEntitiesDetectionJobCommand.ts @@ -28,7 +28,6 @@ export class StartPiiEntitiesDetectionJobCommand extends $Command< StartPiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartPiiEntitiesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts b/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts index 168b272bdcb69..9bd1300c10902 100644 --- a/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartSentimentDetectionJobCommand.ts @@ -30,7 +30,6 @@ export class StartSentimentDetectionJobCommand extends $Command< StartSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartSentimentDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts b/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts index 947ec76eb2fa6..b155859357674 100644 --- a/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StartTopicsDetectionJobCommand.ts @@ -29,7 +29,6 @@ export class StartTopicsDetectionJobCommand extends $Command< StartTopicsDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartTopicsDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts b/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts index fa849d8fe3223..afa0dba737160 100644 --- a/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopDominantLanguageDetectionJobCommand.ts @@ -37,7 +37,6 @@ export class StopDominantLanguageDetectionJobCommand extends $Command< StopDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StopDominantLanguageDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts index 2d125cd508ac7..19ece653ae414 100644 --- a/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopEntitiesDetectionJobCommand.ts @@ -37,7 +37,6 @@ export class StopEntitiesDetectionJobCommand extends $Command< StopEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StopEntitiesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopEventsDetectionJobCommand.ts b/clients/client-comprehend/commands/StopEventsDetectionJobCommand.ts index cb067e9c1f0c1..3a9229ae1fb32 100644 --- a/clients/client-comprehend/commands/StopEventsDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopEventsDetectionJobCommand.ts @@ -28,7 +28,6 @@ export class StopEventsDetectionJobCommand extends $Command< StopEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopEventsDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts b/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts index 637a415379426..831a0ce7bac4c 100644 --- a/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopKeyPhrasesDetectionJobCommand.ts @@ -37,7 +37,6 @@ export class StopKeyPhrasesDetectionJobCommand extends $Command< StopKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StopKeyPhrasesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopPiiEntitiesDetectionJobCommand.ts b/clients/client-comprehend/commands/StopPiiEntitiesDetectionJobCommand.ts index bfdca5d4880e1..0f12be0677fde 100644 --- a/clients/client-comprehend/commands/StopPiiEntitiesDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopPiiEntitiesDetectionJobCommand.ts @@ -28,7 +28,6 @@ export class StopPiiEntitiesDetectionJobCommand extends $Command< StopPiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopPiiEntitiesDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts b/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts index 19b54b2350950..cfccefbfd7f97 100644 --- a/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts +++ b/clients/client-comprehend/commands/StopSentimentDetectionJobCommand.ts @@ -37,7 +37,6 @@ export class StopSentimentDetectionJobCommand extends $Command< StopSentimentDetectionJobCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StopSentimentDetectionJobCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts b/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts index f220e2fe2c414..cd5588c80ae95 100644 --- a/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts +++ b/clients/client-comprehend/commands/StopTrainingDocumentClassifierCommand.ts @@ -33,7 +33,6 @@ export class StopTrainingDocumentClassifierCommand extends $Command< StopTrainingDocumentClassifierCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopTrainingDocumentClassifierCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts b/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts index 85c069f48f652..32b4394387e3d 100644 --- a/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts +++ b/clients/client-comprehend/commands/StopTrainingEntityRecognizerCommand.ts @@ -33,7 +33,6 @@ export class StopTrainingEntityRecognizerCommand extends $Command< StopTrainingEntityRecognizerCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopTrainingEntityRecognizerCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/TagResourceCommand.ts b/clients/client-comprehend/commands/TagResourceCommand.ts index 3825f14768cea..c7ada78896996 100644 --- a/clients/client-comprehend/commands/TagResourceCommand.ts +++ b/clients/client-comprehend/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/UntagResourceCommand.ts b/clients/client-comprehend/commands/UntagResourceCommand.ts index 4e3eee0b05171..2adef2715cbd8 100644 --- a/clients/client-comprehend/commands/UntagResourceCommand.ts +++ b/clients/client-comprehend/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehend/commands/UpdateEndpointCommand.ts b/clients/client-comprehend/commands/UpdateEndpointCommand.ts index 9b76d428d59cb..0f2c35885f4d6 100644 --- a/clients/client-comprehend/commands/UpdateEndpointCommand.ts +++ b/clients/client-comprehend/commands/UpdateEndpointCommand.ts @@ -28,7 +28,6 @@ export class UpdateEndpointCommand extends $Command< UpdateEndpointCommandOutput, ComprehendClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEndpointCommand extends $Command< configuration: ComprehendClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts b/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts index 10a65a97600f1..6b02d56be69a6 100644 --- a/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts +++ b/clients/client-comprehendmedical/commands/DescribeEntitiesDetectionV2JobCommand.ts @@ -33,7 +33,6 @@ export class DescribeEntitiesDetectionV2JobCommand extends $Command< DescribeEntitiesDetectionV2JobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEntitiesDetectionV2JobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DescribeICD10CMInferenceJobCommand.ts b/clients/client-comprehendmedical/commands/DescribeICD10CMInferenceJobCommand.ts index 315566d1abb44..ccdb7b5c0bc1f 100644 --- a/clients/client-comprehendmedical/commands/DescribeICD10CMInferenceJobCommand.ts +++ b/clients/client-comprehendmedical/commands/DescribeICD10CMInferenceJobCommand.ts @@ -33,7 +33,6 @@ export class DescribeICD10CMInferenceJobCommand extends $Command< DescribeICD10CMInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeICD10CMInferenceJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts b/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts index 4db40829ca066..218dd5a838081 100644 --- a/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts +++ b/clients/client-comprehendmedical/commands/DescribePHIDetectionJobCommand.ts @@ -33,7 +33,6 @@ export class DescribePHIDetectionJobCommand extends $Command< DescribePHIDetectionJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribePHIDetectionJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DescribeRxNormInferenceJobCommand.ts b/clients/client-comprehendmedical/commands/DescribeRxNormInferenceJobCommand.ts index 7892b02dc7b1d..d7d699375fca1 100644 --- a/clients/client-comprehendmedical/commands/DescribeRxNormInferenceJobCommand.ts +++ b/clients/client-comprehendmedical/commands/DescribeRxNormInferenceJobCommand.ts @@ -33,7 +33,6 @@ export class DescribeRxNormInferenceJobCommand extends $Command< DescribeRxNormInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeRxNormInferenceJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts b/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts index f01c0faae99f8..8609ebce765e9 100644 --- a/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts +++ b/clients/client-comprehendmedical/commands/DetectEntitiesCommand.ts @@ -37,7 +37,6 @@ export class DetectEntitiesCommand extends $Command< DetectEntitiesCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DetectEntitiesCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts b/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts index 6cf685cbda57b..5f1f26ea553b2 100644 --- a/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts +++ b/clients/client-comprehendmedical/commands/DetectEntitiesV2Command.ts @@ -41,7 +41,6 @@ export class DetectEntitiesV2Command extends $Command< DetectEntitiesV2CommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DetectEntitiesV2Command extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/DetectPHICommand.ts b/clients/client-comprehendmedical/commands/DetectPHICommand.ts index 6fa0aa8a724a3..37792203d7b0e 100644 --- a/clients/client-comprehendmedical/commands/DetectPHICommand.ts +++ b/clients/client-comprehendmedical/commands/DetectPHICommand.ts @@ -31,7 +31,6 @@ export class DetectPHICommand extends $Command< DetectPHICommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DetectPHICommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts b/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts index f549428279db6..0bf61e2308635 100644 --- a/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts +++ b/clients/client-comprehendmedical/commands/InferICD10CMCommand.ts @@ -35,7 +35,6 @@ export class InferICD10CMCommand extends $Command< InferICD10CMCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class InferICD10CMCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/InferRxNormCommand.ts b/clients/client-comprehendmedical/commands/InferRxNormCommand.ts index 19cc788d2109a..2d0071850e093 100644 --- a/clients/client-comprehendmedical/commands/InferRxNormCommand.ts +++ b/clients/client-comprehendmedical/commands/InferRxNormCommand.ts @@ -34,7 +34,6 @@ export class InferRxNormCommand extends $Command< InferRxNormCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class InferRxNormCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts b/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts index b1989d788a8ca..7c9ba4ff8d360 100644 --- a/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts +++ b/clients/client-comprehendmedical/commands/ListEntitiesDetectionV2JobsCommand.ts @@ -32,7 +32,6 @@ export class ListEntitiesDetectionV2JobsCommand extends $Command< ListEntitiesDetectionV2JobsCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListEntitiesDetectionV2JobsCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/ListICD10CMInferenceJobsCommand.ts b/clients/client-comprehendmedical/commands/ListICD10CMInferenceJobsCommand.ts index 143f86b4ed4bf..25e34d4d3d3c2 100644 --- a/clients/client-comprehendmedical/commands/ListICD10CMInferenceJobsCommand.ts +++ b/clients/client-comprehendmedical/commands/ListICD10CMInferenceJobsCommand.ts @@ -33,7 +33,6 @@ export class ListICD10CMInferenceJobsCommand extends $Command< ListICD10CMInferenceJobsCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListICD10CMInferenceJobsCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts b/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts index 1135d820c0b0d..5db24cb194bd8 100644 --- a/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts +++ b/clients/client-comprehendmedical/commands/ListPHIDetectionJobsCommand.ts @@ -33,7 +33,6 @@ export class ListPHIDetectionJobsCommand extends $Command< ListPHIDetectionJobsCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListPHIDetectionJobsCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/ListRxNormInferenceJobsCommand.ts b/clients/client-comprehendmedical/commands/ListRxNormInferenceJobsCommand.ts index 0bc35b2133337..c248d64cd8d30 100644 --- a/clients/client-comprehendmedical/commands/ListRxNormInferenceJobsCommand.ts +++ b/clients/client-comprehendmedical/commands/ListRxNormInferenceJobsCommand.ts @@ -33,7 +33,6 @@ export class ListRxNormInferenceJobsCommand extends $Command< ListRxNormInferenceJobsCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListRxNormInferenceJobsCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts b/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts index cc1dea18ce907..f813b449b2690 100644 --- a/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts +++ b/clients/client-comprehendmedical/commands/StartEntitiesDetectionV2JobCommand.ts @@ -33,7 +33,6 @@ export class StartEntitiesDetectionV2JobCommand extends $Command< StartEntitiesDetectionV2JobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartEntitiesDetectionV2JobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StartICD10CMInferenceJobCommand.ts b/clients/client-comprehendmedical/commands/StartICD10CMInferenceJobCommand.ts index f5accbe87c985..61f622ba85850 100644 --- a/clients/client-comprehendmedical/commands/StartICD10CMInferenceJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StartICD10CMInferenceJobCommand.ts @@ -33,7 +33,6 @@ export class StartICD10CMInferenceJobCommand extends $Command< StartICD10CMInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartICD10CMInferenceJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts b/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts index beb41787674a0..59884dfdfbb4a 100644 --- a/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StartPHIDetectionJobCommand.ts @@ -33,7 +33,6 @@ export class StartPHIDetectionJobCommand extends $Command< StartPHIDetectionJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartPHIDetectionJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StartRxNormInferenceJobCommand.ts b/clients/client-comprehendmedical/commands/StartRxNormInferenceJobCommand.ts index a57e5d5185c28..18a7fe202e0b2 100644 --- a/clients/client-comprehendmedical/commands/StartRxNormInferenceJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StartRxNormInferenceJobCommand.ts @@ -33,7 +33,6 @@ export class StartRxNormInferenceJobCommand extends $Command< StartRxNormInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartRxNormInferenceJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts b/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts index 7e7d0c893818b..d2b84197b95ee 100644 --- a/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts +++ b/clients/client-comprehendmedical/commands/StopEntitiesDetectionV2JobCommand.ts @@ -32,7 +32,6 @@ export class StopEntitiesDetectionV2JobCommand extends $Command< StopEntitiesDetectionV2JobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopEntitiesDetectionV2JobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StopICD10CMInferenceJobCommand.ts b/clients/client-comprehendmedical/commands/StopICD10CMInferenceJobCommand.ts index fb4a13f92ab72..ddb33e0b6960c 100644 --- a/clients/client-comprehendmedical/commands/StopICD10CMInferenceJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StopICD10CMInferenceJobCommand.ts @@ -32,7 +32,6 @@ export class StopICD10CMInferenceJobCommand extends $Command< StopICD10CMInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopICD10CMInferenceJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts b/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts index 54c37fd4bc6b0..c815adf1573cc 100644 --- a/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StopPHIDetectionJobCommand.ts @@ -32,7 +32,6 @@ export class StopPHIDetectionJobCommand extends $Command< StopPHIDetectionJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopPHIDetectionJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-comprehendmedical/commands/StopRxNormInferenceJobCommand.ts b/clients/client-comprehendmedical/commands/StopRxNormInferenceJobCommand.ts index 4ac04c1cceb47..970c76ffb612f 100644 --- a/clients/client-comprehendmedical/commands/StopRxNormInferenceJobCommand.ts +++ b/clients/client-comprehendmedical/commands/StopRxNormInferenceJobCommand.ts @@ -32,7 +32,6 @@ export class StopRxNormInferenceJobCommand extends $Command< StopRxNormInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopRxNormInferenceJobCommand extends $Command< configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/DescribeRecommendationExportJobsCommand.ts b/clients/client-compute-optimizer/commands/DescribeRecommendationExportJobsCommand.ts index 3bbaf7907da15..d4e479debba65 100644 --- a/clients/client-compute-optimizer/commands/DescribeRecommendationExportJobsCommand.ts +++ b/clients/client-compute-optimizer/commands/DescribeRecommendationExportJobsCommand.ts @@ -33,7 +33,6 @@ export class DescribeRecommendationExportJobsCommand extends $Command< DescribeRecommendationExportJobsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeRecommendationExportJobsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/ExportAutoScalingGroupRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/ExportAutoScalingGroupRecommendationsCommand.ts index ca5e281703d2d..814c3d27a0564 100644 --- a/clients/client-compute-optimizer/commands/ExportAutoScalingGroupRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/ExportAutoScalingGroupRecommendationsCommand.ts @@ -39,7 +39,6 @@ export class ExportAutoScalingGroupRecommendationsCommand extends $Command< ExportAutoScalingGroupRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ExportAutoScalingGroupRecommendationsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/ExportEC2InstanceRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/ExportEC2InstanceRecommendationsCommand.ts index 50dad64350d24..507831718eec1 100644 --- a/clients/client-compute-optimizer/commands/ExportEC2InstanceRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/ExportEC2InstanceRecommendationsCommand.ts @@ -35,7 +35,6 @@ export class ExportEC2InstanceRecommendationsCommand extends $Command< ExportEC2InstanceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ExportEC2InstanceRecommendationsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts index ad61dec17c8e0..09f884465e732 100644 --- a/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetAutoScalingGroupRecommendationsCommand.ts @@ -36,7 +36,6 @@ export class GetAutoScalingGroupRecommendationsCommand extends $Command< GetAutoScalingGroupRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetAutoScalingGroupRecommendationsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/GetEBSVolumeRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/GetEBSVolumeRecommendationsCommand.ts index a1c6eb9c8f867..c0203c9b21730 100644 --- a/clients/client-compute-optimizer/commands/GetEBSVolumeRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEBSVolumeRecommendationsCommand.ts @@ -32,7 +32,6 @@ export class GetEBSVolumeRecommendationsCommand extends $Command< GetEBSVolumeRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetEBSVolumeRecommendationsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts b/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts index 736c134f58fef..bac989649bd85 100644 --- a/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEC2InstanceRecommendationsCommand.ts @@ -32,7 +32,6 @@ export class GetEC2InstanceRecommendationsCommand extends $Command< GetEC2InstanceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetEC2InstanceRecommendationsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts b/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts index 0dd813e772370..98b064b561283 100644 --- a/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEC2RecommendationProjectedMetricsCommand.ts @@ -40,7 +40,6 @@ export class GetEC2RecommendationProjectedMetricsCommand extends $Command< GetEC2RecommendationProjectedMetricsCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetEC2RecommendationProjectedMetricsCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts b/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts index 0f6b7ba7376c5..0e3f4952123f6 100644 --- a/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts +++ b/clients/client-compute-optimizer/commands/GetEnrollmentStatusCommand.ts @@ -30,7 +30,6 @@ export class GetEnrollmentStatusCommand extends $Command< GetEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEnrollmentStatusCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts b/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts index ad602ccb2e086..614f7cfa1e5d4 100644 --- a/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts +++ b/clients/client-compute-optimizer/commands/GetRecommendationSummariesCommand.ts @@ -31,7 +31,6 @@ export class GetRecommendationSummariesCommand extends $Command< GetRecommendationSummariesCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRecommendationSummariesCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts b/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts index b49f9c4da5fdf..29c86df99fadc 100644 --- a/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts +++ b/clients/client-compute-optimizer/commands/UpdateEnrollmentStatusCommand.ts @@ -30,7 +30,6 @@ export class UpdateEnrollmentStatusCommand extends $Command< UpdateEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateEnrollmentStatusCommand extends $Command< configuration: ComputeOptimizerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts b/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts index a998519cf85b1..4e1d9e6e6237e 100644 --- a/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts +++ b/clients/client-config-service/commands/BatchGetAggregateResourceConfigCommand.ts @@ -40,7 +40,6 @@ export class BatchGetAggregateResourceConfigCommand extends $Command< BatchGetAggregateResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class BatchGetAggregateResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts b/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts index b97860ef68f7c..a1f784cb29763 100644 --- a/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts +++ b/clients/client-config-service/commands/BatchGetResourceConfigCommand.ts @@ -46,7 +46,6 @@ export class BatchGetResourceConfigCommand extends $Command< BatchGetResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class BatchGetResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts b/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts index 28f09b55fb1b6..5a57a5dffdf35 100644 --- a/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts +++ b/clients/client-config-service/commands/DeleteAggregationAuthorizationCommand.ts @@ -29,7 +29,6 @@ export class DeleteAggregationAuthorizationCommand extends $Command< DeleteAggregationAuthorizationCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAggregationAuthorizationCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteConfigRuleCommand.ts b/clients/client-config-service/commands/DeleteConfigRuleCommand.ts index af1cde98874a8..6758b818be244 100644 --- a/clients/client-config-service/commands/DeleteConfigRuleCommand.ts +++ b/clients/client-config-service/commands/DeleteConfigRuleCommand.ts @@ -36,7 +36,6 @@ export class DeleteConfigRuleCommand extends $Command< DeleteConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts b/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts index 26ea554177d8f..65b646c030c59 100644 --- a/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts +++ b/clients/client-config-service/commands/DeleteConfigurationAggregatorCommand.ts @@ -29,7 +29,6 @@ export class DeleteConfigurationAggregatorCommand extends $Command< DeleteConfigurationAggregatorCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteConfigurationAggregatorCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts b/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts index 94c4e6316969d..c57070ee155d7 100644 --- a/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/DeleteConfigurationRecorderCommand.ts @@ -37,7 +37,6 @@ export class DeleteConfigurationRecorderCommand extends $Command< DeleteConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteConfigurationRecorderCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteConformancePackCommand.ts b/clients/client-config-service/commands/DeleteConformancePackCommand.ts index e6c299843dc0d..3431d3873086b 100644 --- a/clients/client-config-service/commands/DeleteConformancePackCommand.ts +++ b/clients/client-config-service/commands/DeleteConformancePackCommand.ts @@ -31,7 +31,6 @@ export class DeleteConformancePackCommand extends $Command< DeleteConformancePackCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteConformancePackCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts b/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts index 19d108ab1296e..3b2bde9b45bc3 100644 --- a/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts +++ b/clients/client-config-service/commands/DeleteDeliveryChannelCommand.ts @@ -30,7 +30,6 @@ export class DeleteDeliveryChannelCommand extends $Command< DeleteDeliveryChannelCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDeliveryChannelCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts b/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts index 4a107cc378fb8..aa0cae7525dc1 100644 --- a/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts +++ b/clients/client-config-service/commands/DeleteEvaluationResultsCommand.ts @@ -31,7 +31,6 @@ export class DeleteEvaluationResultsCommand extends $Command< DeleteEvaluationResultsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteEvaluationResultsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts b/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts index 9a4d4a24ccf4d..7e398e3c81e49 100644 --- a/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts +++ b/clients/client-config-service/commands/DeleteOrganizationConfigRuleCommand.ts @@ -33,7 +33,6 @@ export class DeleteOrganizationConfigRuleCommand extends $Command< DeleteOrganizationConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteOrganizationConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts b/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts index 111a548eb4701..2478dd5bace09 100644 --- a/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts +++ b/clients/client-config-service/commands/DeleteOrganizationConformancePackCommand.ts @@ -34,7 +34,6 @@ export class DeleteOrganizationConformancePackCommand extends $Command< DeleteOrganizationConformancePackCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteOrganizationConformancePackCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts b/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts index edcbcc4a7e44b..e9d40438e3329 100644 --- a/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts +++ b/clients/client-config-service/commands/DeletePendingAggregationRequestCommand.ts @@ -29,7 +29,6 @@ export class DeletePendingAggregationRequestCommand extends $Command< DeletePendingAggregationRequestCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeletePendingAggregationRequestCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts b/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts index a748fbe5d6523..b25b0a6e8f2ab 100644 --- a/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts +++ b/clients/client-config-service/commands/DeleteRemediationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteRemediationConfigurationCommand extends $Command< DeleteRemediationConfigurationCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRemediationConfigurationCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts b/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts index 4c13e1ae3f908..deb1769ddf21b 100644 --- a/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts +++ b/clients/client-config-service/commands/DeleteRemediationExceptionsCommand.ts @@ -32,7 +32,6 @@ export class DeleteRemediationExceptionsCommand extends $Command< DeleteRemediationExceptionsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteRemediationExceptionsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteResourceConfigCommand.ts b/clients/client-config-service/commands/DeleteResourceConfigCommand.ts index 4b373dbb4b5ae..1bd476dcd4b82 100644 --- a/clients/client-config-service/commands/DeleteResourceConfigCommand.ts +++ b/clients/client-config-service/commands/DeleteResourceConfigCommand.ts @@ -29,7 +29,6 @@ export class DeleteResourceConfigCommand extends $Command< DeleteResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts b/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts index 46d3d759f4cfe..58ce494f9cf5a 100644 --- a/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts +++ b/clients/client-config-service/commands/DeleteRetentionConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteRetentionConfigurationCommand extends $Command< DeleteRetentionConfigurationCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRetentionConfigurationCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts b/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts index 71e1abd2edf90..3c2096b90a507 100644 --- a/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts +++ b/clients/client-config-service/commands/DeliverConfigSnapshotCommand.ts @@ -44,7 +44,6 @@ export class DeliverConfigSnapshotCommand extends $Command< DeliverConfigSnapshotCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DeliverConfigSnapshotCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts b/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts index ff5fe5e2452cd..40679c07bbb33 100644 --- a/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts +++ b/clients/client-config-service/commands/DescribeAggregateComplianceByConfigRulesCommand.ts @@ -39,7 +39,6 @@ export class DescribeAggregateComplianceByConfigRulesCommand extends $Command< DescribeAggregateComplianceByConfigRulesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeAggregateComplianceByConfigRulesCommand extends $Command< DescribeAggregateComplianceByConfigRulesCommandInput, DescribeAggregateComplianceByConfigRulesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts b/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts index 941054a36668d..e4c93f0eb818e 100644 --- a/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts +++ b/clients/client-config-service/commands/DescribeAggregationAuthorizationsCommand.ts @@ -33,7 +33,6 @@ export class DescribeAggregationAuthorizationsCommand extends $Command< DescribeAggregationAuthorizationsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeAggregationAuthorizationsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts b/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts index a15cd2d4b0a14..70cc42b094b5c 100644 --- a/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/DescribeComplianceByConfigRuleCommand.ts @@ -60,7 +60,6 @@ export class DescribeComplianceByConfigRuleCommand extends $Command< DescribeComplianceByConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class DescribeComplianceByConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts b/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts index a062b1b02014d..04acf978aaa1f 100644 --- a/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts +++ b/clients/client-config-service/commands/DescribeComplianceByResourceCommand.ts @@ -61,7 +61,6 @@ export class DescribeComplianceByResourceCommand extends $Command< DescribeComplianceByResourceCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class DescribeComplianceByResourceCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts b/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts index 22e74b442783f..3e888f1b005f5 100644 --- a/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigRuleEvaluationStatusCommand.ts @@ -35,7 +35,6 @@ export class DescribeConfigRuleEvaluationStatusCommand extends $Command< DescribeConfigRuleEvaluationStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeConfigRuleEvaluationStatusCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConfigRulesCommand.ts b/clients/client-config-service/commands/DescribeConfigRulesCommand.ts index 4994b3ec4f37d..2466a9df9003f 100644 --- a/clients/client-config-service/commands/DescribeConfigRulesCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigRulesCommand.ts @@ -28,7 +28,6 @@ export class DescribeConfigRulesCommand extends $Command< DescribeConfigRulesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConfigRulesCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts b/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts index 2a72f611fbe7b..7c63610de7cf2 100644 --- a/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationAggregatorSourcesStatusCommand.ts @@ -33,7 +33,6 @@ export class DescribeConfigurationAggregatorSourcesStatusCommand extends $Comman DescribeConfigurationAggregatorSourcesStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeConfigurationAggregatorSourcesStatusCommand extends $Comman DescribeConfigurationAggregatorSourcesStatusCommandInput, DescribeConfigurationAggregatorSourcesStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts b/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts index a1a62f6bd6517..4e158490fab02 100644 --- a/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationAggregatorsCommand.ts @@ -31,7 +31,6 @@ export class DescribeConfigurationAggregatorsCommand extends $Command< DescribeConfigurationAggregatorsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeConfigurationAggregatorsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts b/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts index 7b9b3b1cf856e..5d11ca0bd5133 100644 --- a/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationRecorderStatusCommand.ts @@ -39,7 +39,6 @@ export class DescribeConfigurationRecorderStatusCommand extends $Command< DescribeConfigurationRecorderStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeConfigurationRecorderStatusCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts b/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts index 8aa8a166f27b9..c0dc2c4fdb954 100644 --- a/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts +++ b/clients/client-config-service/commands/DescribeConfigurationRecordersCommand.ts @@ -35,7 +35,6 @@ export class DescribeConfigurationRecordersCommand extends $Command< DescribeConfigurationRecordersCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeConfigurationRecordersCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts b/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts index b160652c874db..56fc9db24fa10 100644 --- a/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts +++ b/clients/client-config-service/commands/DescribeConformancePackComplianceCommand.ts @@ -35,7 +35,6 @@ export class DescribeConformancePackComplianceCommand extends $Command< DescribeConformancePackComplianceCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeConformancePackComplianceCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts b/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts index 06e1cf01dca9d..ae98bf445e0c5 100644 --- a/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeConformancePackStatusCommand.ts @@ -31,7 +31,6 @@ export class DescribeConformancePackStatusCommand extends $Command< DescribeConformancePackStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeConformancePackStatusCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeConformancePacksCommand.ts b/clients/client-config-service/commands/DescribeConformancePacksCommand.ts index a5e6145bf0355..f7389078bd24b 100644 --- a/clients/client-config-service/commands/DescribeConformancePacksCommand.ts +++ b/clients/client-config-service/commands/DescribeConformancePacksCommand.ts @@ -28,7 +28,6 @@ export class DescribeConformancePacksCommand extends $Command< DescribeConformancePacksCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConformancePacksCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts b/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts index 524f4d1e5f65d..ee72d971e2c22 100644 --- a/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeDeliveryChannelStatusCommand.ts @@ -35,7 +35,6 @@ export class DescribeDeliveryChannelStatusCommand extends $Command< DescribeDeliveryChannelStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDeliveryChannelStatusCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts b/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts index 14f59efd240fe..d86280bc416bc 100644 --- a/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts +++ b/clients/client-config-service/commands/DescribeDeliveryChannelsCommand.ts @@ -34,7 +34,6 @@ export class DescribeDeliveryChannelsCommand extends $Command< DescribeDeliveryChannelsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeDeliveryChannelsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts index ac00ca570c589..af938aa5b1edb 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConfigRuleStatusesCommand.ts @@ -42,7 +42,6 @@ export class DescribeOrganizationConfigRuleStatusesCommand extends $Command< DescribeOrganizationConfigRuleStatusesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeOrganizationConfigRuleStatusesCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts index bc9ca886fe0ee..99a4f2cdb5b48 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConfigRulesCommand.ts @@ -36,7 +36,6 @@ export class DescribeOrganizationConfigRulesCommand extends $Command< DescribeOrganizationConfigRulesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeOrganizationConfigRulesCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts index 9d97122e2172d..a5a48b7470a73 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConformancePackStatusesCommand.ts @@ -42,7 +42,6 @@ export class DescribeOrganizationConformancePackStatusesCommand extends $Command DescribeOrganizationConformancePackStatusesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DescribeOrganizationConformancePackStatusesCommand extends $Command DescribeOrganizationConformancePackStatusesCommandInput, DescribeOrganizationConformancePackStatusesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts b/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts index bc2d18814d7be..99d8cfa097356 100644 --- a/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts +++ b/clients/client-config-service/commands/DescribeOrganizationConformancePacksCommand.ts @@ -40,7 +40,6 @@ export class DescribeOrganizationConformancePacksCommand extends $Command< DescribeOrganizationConformancePacksCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeOrganizationConformancePacksCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts b/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts index d1ba10d6721fb..3b94ecd72f7f5 100644 --- a/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts +++ b/clients/client-config-service/commands/DescribePendingAggregationRequestsCommand.ts @@ -32,7 +32,6 @@ export class DescribePendingAggregationRequestsCommand extends $Command< DescribePendingAggregationRequestsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribePendingAggregationRequestsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts b/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts index cdf4191c270a4..232c2db767dee 100644 --- a/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts +++ b/clients/client-config-service/commands/DescribeRemediationConfigurationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeRemediationConfigurationsCommand extends $Command< DescribeRemediationConfigurationsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeRemediationConfigurationsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts b/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts index 4c11ab693d28c..33da5ebbbfa04 100644 --- a/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts +++ b/clients/client-config-service/commands/DescribeRemediationExceptionsCommand.ts @@ -35,7 +35,6 @@ export class DescribeRemediationExceptionsCommand extends $Command< DescribeRemediationExceptionsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeRemediationExceptionsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts b/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts index 2e17d573cc83c..1ccb70087fea9 100644 --- a/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts +++ b/clients/client-config-service/commands/DescribeRemediationExecutionStatusCommand.ts @@ -33,7 +33,6 @@ export class DescribeRemediationExecutionStatusCommand extends $Command< DescribeRemediationExecutionStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeRemediationExecutionStatusCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts b/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts index fafb7d90a49d3..629a459b2b6c9 100644 --- a/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts +++ b/clients/client-config-service/commands/DescribeRetentionConfigurationsCommand.ts @@ -35,7 +35,6 @@ export class DescribeRetentionConfigurationsCommand extends $Command< DescribeRetentionConfigurationsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeRetentionConfigurationsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts b/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts index 6f1085aa1fbe5..2c0cec9acecf6 100644 --- a/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/GetAggregateComplianceDetailsByConfigRuleCommand.ts @@ -40,7 +40,6 @@ export class GetAggregateComplianceDetailsByConfigRuleCommand extends $Command< GetAggregateComplianceDetailsByConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class GetAggregateComplianceDetailsByConfigRuleCommand extends $Command< GetAggregateComplianceDetailsByConfigRuleCommandInput, GetAggregateComplianceDetailsByConfigRuleCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts b/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts index a83523c5a8bbb..689e217b0038a 100644 --- a/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts +++ b/clients/client-config-service/commands/GetAggregateConfigRuleComplianceSummaryCommand.ts @@ -38,7 +38,6 @@ export class GetAggregateConfigRuleComplianceSummaryCommand extends $Command< GetAggregateConfigRuleComplianceSummaryCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetAggregateConfigRuleComplianceSummaryCommand extends $Command< GetAggregateConfigRuleComplianceSummaryCommandInput, GetAggregateConfigRuleComplianceSummaryCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts b/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts index d4ee292369f8c..99a3c41bf8ec0 100644 --- a/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts +++ b/clients/client-config-service/commands/GetAggregateDiscoveredResourceCountsCommand.ts @@ -34,7 +34,6 @@ export class GetAggregateDiscoveredResourceCountsCommand extends $Command< GetAggregateDiscoveredResourceCountsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetAggregateDiscoveredResourceCountsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts b/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts index 366760fb73e7b..8135ed810271b 100644 --- a/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts +++ b/clients/client-config-service/commands/GetAggregateResourceConfigCommand.ts @@ -28,7 +28,6 @@ export class GetAggregateResourceConfigCommand extends $Command< GetAggregateResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAggregateResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts b/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts index bdcf8dcb0913d..06ff926c35a6e 100644 --- a/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/GetComplianceDetailsByConfigRuleCommand.ts @@ -31,7 +31,6 @@ export class GetComplianceDetailsByConfigRuleCommand extends $Command< GetComplianceDetailsByConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetComplianceDetailsByConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts b/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts index 00187875975f1..599725a5fa657 100644 --- a/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts +++ b/clients/client-config-service/commands/GetComplianceDetailsByResourceCommand.ts @@ -31,7 +31,6 @@ export class GetComplianceDetailsByResourceCommand extends $Command< GetComplianceDetailsByResourceCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetComplianceDetailsByResourceCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts b/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts index 86442ae74e707..157f8f8902201 100644 --- a/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts +++ b/clients/client-config-service/commands/GetComplianceSummaryByConfigRuleCommand.ts @@ -29,7 +29,6 @@ export class GetComplianceSummaryByConfigRuleCommand extends $Command< GetComplianceSummaryByConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetComplianceSummaryByConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts b/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts index 3dcc31f99414b..0af061c826733 100644 --- a/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts +++ b/clients/client-config-service/commands/GetComplianceSummaryByResourceTypeCommand.ts @@ -35,7 +35,6 @@ export class GetComplianceSummaryByResourceTypeCommand extends $Command< GetComplianceSummaryByResourceTypeCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetComplianceSummaryByResourceTypeCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts b/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts index 5427ea70760c6..93362e04a238d 100644 --- a/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts +++ b/clients/client-config-service/commands/GetConformancePackComplianceDetailsCommand.ts @@ -32,7 +32,6 @@ export class GetConformancePackComplianceDetailsCommand extends $Command< GetConformancePackComplianceDetailsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetConformancePackComplianceDetailsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts b/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts index 1e3ebd848318f..0e6c259107ce3 100644 --- a/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts +++ b/clients/client-config-service/commands/GetConformancePackComplianceSummaryCommand.ts @@ -32,7 +32,6 @@ export class GetConformancePackComplianceSummaryCommand extends $Command< GetConformancePackComplianceSummaryCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetConformancePackComplianceSummaryCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts b/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts index cd385064bc6f0..de3a866565912 100644 --- a/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts +++ b/clients/client-config-service/commands/GetDiscoveredResourceCountsCommand.ts @@ -91,7 +91,6 @@ export class GetDiscoveredResourceCountsCommand extends $Command< GetDiscoveredResourceCountsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class GetDiscoveredResourceCountsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts b/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts index da58fd1ea49d0..0dd4e4cda1895 100644 --- a/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts +++ b/clients/client-config-service/commands/GetOrganizationConfigRuleDetailedStatusCommand.ts @@ -35,7 +35,6 @@ export class GetOrganizationConfigRuleDetailedStatusCommand extends $Command< GetOrganizationConfigRuleDetailedStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetOrganizationConfigRuleDetailedStatusCommand extends $Command< GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationConfigRuleDetailedStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts b/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts index 3534b5689c03b..90b3ac1def24d 100644 --- a/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts +++ b/clients/client-config-service/commands/GetOrganizationConformancePackDetailedStatusCommand.ts @@ -35,7 +35,6 @@ export class GetOrganizationConformancePackDetailedStatusCommand extends $Comman GetOrganizationConformancePackDetailedStatusCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetOrganizationConformancePackDetailedStatusCommand extends $Comman GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts b/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts index 58b044b599689..d818a492d6017 100644 --- a/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts +++ b/clients/client-config-service/commands/GetResourceConfigHistoryCommand.ts @@ -47,7 +47,6 @@ export class GetResourceConfigHistoryCommand extends $Command< GetResourceConfigHistoryCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class GetResourceConfigHistoryCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts b/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts index 02434caba5da1..994caa930a1f7 100644 --- a/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts +++ b/clients/client-config-service/commands/ListAggregateDiscoveredResourcesCommand.ts @@ -31,7 +31,6 @@ export class ListAggregateDiscoveredResourcesCommand extends $Command< ListAggregateDiscoveredResourcesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListAggregateDiscoveredResourcesCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts b/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts index cd20005f4a323..0e1c12dac3519 100644 --- a/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts +++ b/clients/client-config-service/commands/ListDiscoveredResourcesCommand.ts @@ -44,7 +44,6 @@ export class ListDiscoveredResourcesCommand extends $Command< ListDiscoveredResourcesCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class ListDiscoveredResourcesCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/ListTagsForResourceCommand.ts b/clients/client-config-service/commands/ListTagsForResourceCommand.ts index a8d2869f26f97..d61a551240ed9 100644 --- a/clients/client-config-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-config-service/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts b/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts index 49b6e18aa6b2a..c0820b0aa1ae8 100644 --- a/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts +++ b/clients/client-config-service/commands/PutAggregationAuthorizationCommand.ts @@ -29,7 +29,6 @@ export class PutAggregationAuthorizationCommand extends $Command< PutAggregationAuthorizationCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutAggregationAuthorizationCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutConfigRuleCommand.ts b/clients/client-config-service/commands/PutConfigRuleCommand.ts index 6da1eb746020b..02c4135de51e5 100644 --- a/clients/client-config-service/commands/PutConfigRuleCommand.ts +++ b/clients/client-config-service/commands/PutConfigRuleCommand.ts @@ -63,7 +63,6 @@ export class PutConfigRuleCommand extends $Command< PutConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class PutConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts b/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts index 768cb0bb242cd..49117a371c0cf 100644 --- a/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts +++ b/clients/client-config-service/commands/PutConfigurationAggregatorCommand.ts @@ -39,7 +39,6 @@ export class PutConfigurationAggregatorCommand extends $Command< PutConfigurationAggregatorCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class PutConfigurationAggregatorCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts b/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts index f1c655e1f3ba3..7259964ad6bc0 100644 --- a/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/PutConfigurationRecorderCommand.ts @@ -41,7 +41,6 @@ export class PutConfigurationRecorderCommand extends $Command< PutConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class PutConfigurationRecorderCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutConformancePackCommand.ts b/clients/client-config-service/commands/PutConformancePackCommand.ts index 14d626974e47b..b686cd6d99aa6 100644 --- a/clients/client-config-service/commands/PutConformancePackCommand.ts +++ b/clients/client-config-service/commands/PutConformancePackCommand.ts @@ -34,7 +34,6 @@ export class PutConformancePackCommand extends $Command< PutConformancePackCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutConformancePackCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutDeliveryChannelCommand.ts b/clients/client-config-service/commands/PutDeliveryChannelCommand.ts index 1d7e6cb85dae9..61048d24b21b3 100644 --- a/clients/client-config-service/commands/PutDeliveryChannelCommand.ts +++ b/clients/client-config-service/commands/PutDeliveryChannelCommand.ts @@ -44,7 +44,6 @@ export class PutDeliveryChannelCommand extends $Command< PutDeliveryChannelCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class PutDeliveryChannelCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutEvaluationsCommand.ts b/clients/client-config-service/commands/PutEvaluationsCommand.ts index 52ff2bbc80e91..020e7f96bc55f 100644 --- a/clients/client-config-service/commands/PutEvaluationsCommand.ts +++ b/clients/client-config-service/commands/PutEvaluationsCommand.ts @@ -30,7 +30,6 @@ export class PutEvaluationsCommand extends $Command< PutEvaluationsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutEvaluationsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts b/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts index 7a56e8956cf83..00208602ca3d5 100644 --- a/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts +++ b/clients/client-config-service/commands/PutOrganizationConfigRuleCommand.ts @@ -49,7 +49,6 @@ export class PutOrganizationConfigRuleCommand extends $Command< PutOrganizationConfigRuleCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class PutOrganizationConfigRuleCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts b/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts index 1572038c0570b..9094cd8ccea1e 100644 --- a/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts +++ b/clients/client-config-service/commands/PutOrganizationConformancePackCommand.ts @@ -48,7 +48,6 @@ export class PutOrganizationConformancePackCommand extends $Command< PutOrganizationConformancePackCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class PutOrganizationConformancePackCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts b/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts index e1eb7018bbc07..fc784a97047c1 100644 --- a/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts +++ b/clients/client-config-service/commands/PutRemediationConfigurationsCommand.ts @@ -36,7 +36,6 @@ export class PutRemediationConfigurationsCommand extends $Command< PutRemediationConfigurationsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PutRemediationConfigurationsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts b/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts index d1a3d3013b7bb..22bd6926332e7 100644 --- a/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts +++ b/clients/client-config-service/commands/PutRemediationExceptionsCommand.ts @@ -33,7 +33,6 @@ export class PutRemediationExceptionsCommand extends $Command< PutRemediationExceptionsCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutRemediationExceptionsCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutResourceConfigCommand.ts b/clients/client-config-service/commands/PutResourceConfigCommand.ts index 1a11ab6761de7..a175b5199b797 100644 --- a/clients/client-config-service/commands/PutResourceConfigCommand.ts +++ b/clients/client-config-service/commands/PutResourceConfigCommand.ts @@ -37,7 +37,6 @@ export class PutResourceConfigCommand extends $Command< PutResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts b/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts index f9f8712c4c4a9..e9ffd1daa3002 100644 --- a/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts +++ b/clients/client-config-service/commands/PutRetentionConfigurationCommand.ts @@ -38,7 +38,6 @@ export class PutRetentionConfigurationCommand extends $Command< PutRetentionConfigurationCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutRetentionConfigurationCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/SelectAggregateResourceConfigCommand.ts b/clients/client-config-service/commands/SelectAggregateResourceConfigCommand.ts index a62aa66966ac8..36e0623449297 100644 --- a/clients/client-config-service/commands/SelectAggregateResourceConfigCommand.ts +++ b/clients/client-config-service/commands/SelectAggregateResourceConfigCommand.ts @@ -33,7 +33,6 @@ export class SelectAggregateResourceConfigCommand extends $Command< SelectAggregateResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SelectAggregateResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/SelectResourceConfigCommand.ts b/clients/client-config-service/commands/SelectResourceConfigCommand.ts index d59371a7ef347..459c1db30b986 100644 --- a/clients/client-config-service/commands/SelectResourceConfigCommand.ts +++ b/clients/client-config-service/commands/SelectResourceConfigCommand.ts @@ -32,7 +32,6 @@ export class SelectResourceConfigCommand extends $Command< SelectResourceConfigCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SelectResourceConfigCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts b/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts index d826cfbe94949..6548e1a52a24d 100644 --- a/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts +++ b/clients/client-config-service/commands/StartConfigRulesEvaluationCommand.ts @@ -75,7 +75,6 @@ export class StartConfigRulesEvaluationCommand extends $Command< StartConfigRulesEvaluationCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class StartConfigRulesEvaluationCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts b/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts index 8ab2ccac1d96d..7429016c2c7af 100644 --- a/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/StartConfigurationRecorderCommand.ts @@ -31,7 +31,6 @@ export class StartConfigurationRecorderCommand extends $Command< StartConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartConfigurationRecorderCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/StartRemediationExecutionCommand.ts b/clients/client-config-service/commands/StartRemediationExecutionCommand.ts index 79bed483547da..5d5d58c78eebd 100644 --- a/clients/client-config-service/commands/StartRemediationExecutionCommand.ts +++ b/clients/client-config-service/commands/StartRemediationExecutionCommand.ts @@ -29,7 +29,6 @@ export class StartRemediationExecutionCommand extends $Command< StartRemediationExecutionCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartRemediationExecutionCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts b/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts index c98179a56e115..11160eac8ceda 100644 --- a/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts +++ b/clients/client-config-service/commands/StopConfigurationRecorderCommand.ts @@ -28,7 +28,6 @@ export class StopConfigurationRecorderCommand extends $Command< StopConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopConfigurationRecorderCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/TagResourceCommand.ts b/clients/client-config-service/commands/TagResourceCommand.ts index 367eace097209..11b3aeee32f3d 100644 --- a/clients/client-config-service/commands/TagResourceCommand.ts +++ b/clients/client-config-service/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-config-service/commands/UntagResourceCommand.ts b/clients/client-config-service/commands/UntagResourceCommand.ts index 06f3fff34fbaf..ed2a0ab04e1d8 100644 --- a/clients/client-config-service/commands/UntagResourceCommand.ts +++ b/clients/client-config-service/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ConfigServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ConfigServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect-contact-lens/commands/ListRealtimeContactAnalysisSegmentsCommand.ts b/clients/client-connect-contact-lens/commands/ListRealtimeContactAnalysisSegmentsCommand.ts index d9b78a0076b68..1c519f4e0d073 100644 --- a/clients/client-connect-contact-lens/commands/ListRealtimeContactAnalysisSegmentsCommand.ts +++ b/clients/client-connect-contact-lens/commands/ListRealtimeContactAnalysisSegmentsCommand.ts @@ -36,7 +36,6 @@ export class ListRealtimeContactAnalysisSegmentsCommand extends $Command< ListRealtimeContactAnalysisSegmentsCommandOutput, ConnectContactLensClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRealtimeContactAnalysisSegmentsCommand extends $Command< configuration: ConnectContactLensClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/AssociateApprovedOriginCommand.ts b/clients/client-connect/commands/AssociateApprovedOriginCommand.ts index 209f949810e71..fffe21a45e83e 100644 --- a/clients/client-connect/commands/AssociateApprovedOriginCommand.ts +++ b/clients/client-connect/commands/AssociateApprovedOriginCommand.ts @@ -28,7 +28,6 @@ export class AssociateApprovedOriginCommand extends $Command< AssociateApprovedOriginCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateApprovedOriginCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/AssociateInstanceStorageConfigCommand.ts b/clients/client-connect/commands/AssociateInstanceStorageConfigCommand.ts index e4eab86592058..14e9d6d12be94 100644 --- a/clients/client-connect/commands/AssociateInstanceStorageConfigCommand.ts +++ b/clients/client-connect/commands/AssociateInstanceStorageConfigCommand.ts @@ -33,7 +33,6 @@ export class AssociateInstanceStorageConfigCommand extends $Command< AssociateInstanceStorageConfigCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AssociateInstanceStorageConfigCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/AssociateLambdaFunctionCommand.ts b/clients/client-connect/commands/AssociateLambdaFunctionCommand.ts index 480bf03d7c298..be5827fdf113a 100644 --- a/clients/client-connect/commands/AssociateLambdaFunctionCommand.ts +++ b/clients/client-connect/commands/AssociateLambdaFunctionCommand.ts @@ -28,7 +28,6 @@ export class AssociateLambdaFunctionCommand extends $Command< AssociateLambdaFunctionCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateLambdaFunctionCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/AssociateLexBotCommand.ts b/clients/client-connect/commands/AssociateLexBotCommand.ts index 5add0baf9cc37..e7398fd8d811a 100644 --- a/clients/client-connect/commands/AssociateLexBotCommand.ts +++ b/clients/client-connect/commands/AssociateLexBotCommand.ts @@ -28,7 +28,6 @@ export class AssociateLexBotCommand extends $Command< AssociateLexBotCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateLexBotCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/AssociateRoutingProfileQueuesCommand.ts b/clients/client-connect/commands/AssociateRoutingProfileQueuesCommand.ts index 72c9e59f4fb06..87751d0fa2808 100644 --- a/clients/client-connect/commands/AssociateRoutingProfileQueuesCommand.ts +++ b/clients/client-connect/commands/AssociateRoutingProfileQueuesCommand.ts @@ -28,7 +28,6 @@ export class AssociateRoutingProfileQueuesCommand extends $Command< AssociateRoutingProfileQueuesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateRoutingProfileQueuesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/AssociateSecurityKeyCommand.ts b/clients/client-connect/commands/AssociateSecurityKeyCommand.ts index 282f094e2b269..fd247268345cb 100644 --- a/clients/client-connect/commands/AssociateSecurityKeyCommand.ts +++ b/clients/client-connect/commands/AssociateSecurityKeyCommand.ts @@ -28,7 +28,6 @@ export class AssociateSecurityKeyCommand extends $Command< AssociateSecurityKeyCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateSecurityKeyCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateContactFlowCommand.ts b/clients/client-connect/commands/CreateContactFlowCommand.ts index 2156fc06f485b..6b39518a6e130 100644 --- a/clients/client-connect/commands/CreateContactFlowCommand.ts +++ b/clients/client-connect/commands/CreateContactFlowCommand.ts @@ -30,7 +30,6 @@ export class CreateContactFlowCommand extends $Command< CreateContactFlowCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateContactFlowCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateInstanceCommand.ts b/clients/client-connect/commands/CreateInstanceCommand.ts index def591d6624c0..2cab768697a58 100644 --- a/clients/client-connect/commands/CreateInstanceCommand.ts +++ b/clients/client-connect/commands/CreateInstanceCommand.ts @@ -31,7 +31,6 @@ export class CreateInstanceCommand extends $Command< CreateInstanceCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateInstanceCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateIntegrationAssociationCommand.ts b/clients/client-connect/commands/CreateIntegrationAssociationCommand.ts index 70e881157ebd2..9f8a517e536b1 100644 --- a/clients/client-connect/commands/CreateIntegrationAssociationCommand.ts +++ b/clients/client-connect/commands/CreateIntegrationAssociationCommand.ts @@ -29,7 +29,6 @@ export class CreateIntegrationAssociationCommand extends $Command< CreateIntegrationAssociationCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateIntegrationAssociationCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateRoutingProfileCommand.ts b/clients/client-connect/commands/CreateRoutingProfileCommand.ts index 82195e70a1e84..c42e21fefb895 100644 --- a/clients/client-connect/commands/CreateRoutingProfileCommand.ts +++ b/clients/client-connect/commands/CreateRoutingProfileCommand.ts @@ -28,7 +28,6 @@ export class CreateRoutingProfileCommand extends $Command< CreateRoutingProfileCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRoutingProfileCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateUseCaseCommand.ts b/clients/client-connect/commands/CreateUseCaseCommand.ts index 8f66f3daf744f..c3775abfc873b 100644 --- a/clients/client-connect/commands/CreateUseCaseCommand.ts +++ b/clients/client-connect/commands/CreateUseCaseCommand.ts @@ -29,7 +29,6 @@ export class CreateUseCaseCommand extends $Command< CreateUseCaseCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateUseCaseCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateUserCommand.ts b/clients/client-connect/commands/CreateUserCommand.ts index 0ddf23e4d1aae..0a6a85d372000 100644 --- a/clients/client-connect/commands/CreateUserCommand.ts +++ b/clients/client-connect/commands/CreateUserCommand.ts @@ -30,7 +30,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateUserCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/CreateUserHierarchyGroupCommand.ts b/clients/client-connect/commands/CreateUserHierarchyGroupCommand.ts index 25cdbef1c8fe2..2fc306cc6168b 100644 --- a/clients/client-connect/commands/CreateUserHierarchyGroupCommand.ts +++ b/clients/client-connect/commands/CreateUserHierarchyGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateUserHierarchyGroupCommand extends $Command< CreateUserHierarchyGroupCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUserHierarchyGroupCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DeleteInstanceCommand.ts b/clients/client-connect/commands/DeleteInstanceCommand.ts index cf8e3a242333b..63b3f0a707090 100644 --- a/clients/client-connect/commands/DeleteInstanceCommand.ts +++ b/clients/client-connect/commands/DeleteInstanceCommand.ts @@ -29,7 +29,6 @@ export class DeleteInstanceCommand extends $Command< DeleteInstanceCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteInstanceCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DeleteIntegrationAssociationCommand.ts b/clients/client-connect/commands/DeleteIntegrationAssociationCommand.ts index a6081680b6119..680751c91c450 100644 --- a/clients/client-connect/commands/DeleteIntegrationAssociationCommand.ts +++ b/clients/client-connect/commands/DeleteIntegrationAssociationCommand.ts @@ -30,7 +30,6 @@ export class DeleteIntegrationAssociationCommand extends $Command< DeleteIntegrationAssociationCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteIntegrationAssociationCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DeleteUseCaseCommand.ts b/clients/client-connect/commands/DeleteUseCaseCommand.ts index 4a6d23a860612..236745f96b9fe 100644 --- a/clients/client-connect/commands/DeleteUseCaseCommand.ts +++ b/clients/client-connect/commands/DeleteUseCaseCommand.ts @@ -29,7 +29,6 @@ export class DeleteUseCaseCommand extends $Command< DeleteUseCaseCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteUseCaseCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DeleteUserCommand.ts b/clients/client-connect/commands/DeleteUserCommand.ts index e8157f15b5e0f..2653c22db7aab 100644 --- a/clients/client-connect/commands/DeleteUserCommand.ts +++ b/clients/client-connect/commands/DeleteUserCommand.ts @@ -31,7 +31,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteUserCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DeleteUserHierarchyGroupCommand.ts b/clients/client-connect/commands/DeleteUserHierarchyGroupCommand.ts index 165aa7cf97c25..b4b19dc5c7f1c 100644 --- a/clients/client-connect/commands/DeleteUserHierarchyGroupCommand.ts +++ b/clients/client-connect/commands/DeleteUserHierarchyGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteUserHierarchyGroupCommand extends $Command< DeleteUserHierarchyGroupCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteUserHierarchyGroupCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeContactFlowCommand.ts b/clients/client-connect/commands/DescribeContactFlowCommand.ts index 1bdaad99993f9..999d5b731b7e3 100644 --- a/clients/client-connect/commands/DescribeContactFlowCommand.ts +++ b/clients/client-connect/commands/DescribeContactFlowCommand.ts @@ -30,7 +30,6 @@ export class DescribeContactFlowCommand extends $Command< DescribeContactFlowCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeContactFlowCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeInstanceAttributeCommand.ts b/clients/client-connect/commands/DescribeInstanceAttributeCommand.ts index 449aee02caf03..75829360a7361 100644 --- a/clients/client-connect/commands/DescribeInstanceAttributeCommand.ts +++ b/clients/client-connect/commands/DescribeInstanceAttributeCommand.ts @@ -28,7 +28,6 @@ export class DescribeInstanceAttributeCommand extends $Command< DescribeInstanceAttributeCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInstanceAttributeCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeInstanceCommand.ts b/clients/client-connect/commands/DescribeInstanceCommand.ts index 448c56a82f879..9aaf4a4203170 100644 --- a/clients/client-connect/commands/DescribeInstanceCommand.ts +++ b/clients/client-connect/commands/DescribeInstanceCommand.ts @@ -32,7 +32,6 @@ export class DescribeInstanceCommand extends $Command< DescribeInstanceCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeInstanceCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeInstanceStorageConfigCommand.ts b/clients/client-connect/commands/DescribeInstanceStorageConfigCommand.ts index c85318aec57be..431b2ace2e4f7 100644 --- a/clients/client-connect/commands/DescribeInstanceStorageConfigCommand.ts +++ b/clients/client-connect/commands/DescribeInstanceStorageConfigCommand.ts @@ -29,7 +29,6 @@ export class DescribeInstanceStorageConfigCommand extends $Command< DescribeInstanceStorageConfigCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeInstanceStorageConfigCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeRoutingProfileCommand.ts b/clients/client-connect/commands/DescribeRoutingProfileCommand.ts index 1a8b70c42ffbe..f7967265f56b8 100644 --- a/clients/client-connect/commands/DescribeRoutingProfileCommand.ts +++ b/clients/client-connect/commands/DescribeRoutingProfileCommand.ts @@ -28,7 +28,6 @@ export class DescribeRoutingProfileCommand extends $Command< DescribeRoutingProfileCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRoutingProfileCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeUserCommand.ts b/clients/client-connect/commands/DescribeUserCommand.ts index 4d86636fdb9d2..4ceb3a255d5fa 100644 --- a/clients/client-connect/commands/DescribeUserCommand.ts +++ b/clients/client-connect/commands/DescribeUserCommand.ts @@ -30,7 +30,6 @@ export class DescribeUserCommand extends $Command< DescribeUserCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeUserCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts b/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts index f785ef4453e04..f0878ed435f52 100644 --- a/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts +++ b/clients/client-connect/commands/DescribeUserHierarchyGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserHierarchyGroupCommand extends $Command< DescribeUserHierarchyGroupCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserHierarchyGroupCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts b/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts index 2893e7ace7b28..f91edab8eff42 100644 --- a/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts +++ b/clients/client-connect/commands/DescribeUserHierarchyStructureCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserHierarchyStructureCommand extends $Command< DescribeUserHierarchyStructureCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserHierarchyStructureCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DisassociateApprovedOriginCommand.ts b/clients/client-connect/commands/DisassociateApprovedOriginCommand.ts index 983cc768396a8..80cdc4fa46e88 100644 --- a/clients/client-connect/commands/DisassociateApprovedOriginCommand.ts +++ b/clients/client-connect/commands/DisassociateApprovedOriginCommand.ts @@ -28,7 +28,6 @@ export class DisassociateApprovedOriginCommand extends $Command< DisassociateApprovedOriginCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateApprovedOriginCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DisassociateInstanceStorageConfigCommand.ts b/clients/client-connect/commands/DisassociateInstanceStorageConfigCommand.ts index 956214b38d0a5..a85afff323a17 100644 --- a/clients/client-connect/commands/DisassociateInstanceStorageConfigCommand.ts +++ b/clients/client-connect/commands/DisassociateInstanceStorageConfigCommand.ts @@ -29,7 +29,6 @@ export class DisassociateInstanceStorageConfigCommand extends $Command< DisassociateInstanceStorageConfigCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateInstanceStorageConfigCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DisassociateLambdaFunctionCommand.ts b/clients/client-connect/commands/DisassociateLambdaFunctionCommand.ts index a6e583ab1f91f..b44dc077367cf 100644 --- a/clients/client-connect/commands/DisassociateLambdaFunctionCommand.ts +++ b/clients/client-connect/commands/DisassociateLambdaFunctionCommand.ts @@ -29,7 +29,6 @@ export class DisassociateLambdaFunctionCommand extends $Command< DisassociateLambdaFunctionCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateLambdaFunctionCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DisassociateLexBotCommand.ts b/clients/client-connect/commands/DisassociateLexBotCommand.ts index d1ef7012e994c..95348b719fab0 100644 --- a/clients/client-connect/commands/DisassociateLexBotCommand.ts +++ b/clients/client-connect/commands/DisassociateLexBotCommand.ts @@ -28,7 +28,6 @@ export class DisassociateLexBotCommand extends $Command< DisassociateLexBotCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateLexBotCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DisassociateRoutingProfileQueuesCommand.ts b/clients/client-connect/commands/DisassociateRoutingProfileQueuesCommand.ts index dd54b3073add3..c633ef23240d0 100644 --- a/clients/client-connect/commands/DisassociateRoutingProfileQueuesCommand.ts +++ b/clients/client-connect/commands/DisassociateRoutingProfileQueuesCommand.ts @@ -28,7 +28,6 @@ export class DisassociateRoutingProfileQueuesCommand extends $Command< DisassociateRoutingProfileQueuesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateRoutingProfileQueuesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/DisassociateSecurityKeyCommand.ts b/clients/client-connect/commands/DisassociateSecurityKeyCommand.ts index 1079d9bebe6db..3b17723c92c86 100644 --- a/clients/client-connect/commands/DisassociateSecurityKeyCommand.ts +++ b/clients/client-connect/commands/DisassociateSecurityKeyCommand.ts @@ -28,7 +28,6 @@ export class DisassociateSecurityKeyCommand extends $Command< DisassociateSecurityKeyCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateSecurityKeyCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/GetContactAttributesCommand.ts b/clients/client-connect/commands/GetContactAttributesCommand.ts index 106b273b32fed..3802609242a3a 100644 --- a/clients/client-connect/commands/GetContactAttributesCommand.ts +++ b/clients/client-connect/commands/GetContactAttributesCommand.ts @@ -28,7 +28,6 @@ export class GetContactAttributesCommand extends $Command< GetContactAttributesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetContactAttributesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/GetCurrentMetricDataCommand.ts b/clients/client-connect/commands/GetCurrentMetricDataCommand.ts index c1ae275633f1c..89f9669290cae 100644 --- a/clients/client-connect/commands/GetCurrentMetricDataCommand.ts +++ b/clients/client-connect/commands/GetCurrentMetricDataCommand.ts @@ -30,7 +30,6 @@ export class GetCurrentMetricDataCommand extends $Command< GetCurrentMetricDataCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetCurrentMetricDataCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/GetFederationTokenCommand.ts b/clients/client-connect/commands/GetFederationTokenCommand.ts index 2c2501aa1cf8b..29a7ddf1b7c9c 100644 --- a/clients/client-connect/commands/GetFederationTokenCommand.ts +++ b/clients/client-connect/commands/GetFederationTokenCommand.ts @@ -28,7 +28,6 @@ export class GetFederationTokenCommand extends $Command< GetFederationTokenCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFederationTokenCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/GetMetricDataCommand.ts b/clients/client-connect/commands/GetMetricDataCommand.ts index b78160bb94eef..1b56fcbad1e85 100644 --- a/clients/client-connect/commands/GetMetricDataCommand.ts +++ b/clients/client-connect/commands/GetMetricDataCommand.ts @@ -30,7 +30,6 @@ export class GetMetricDataCommand extends $Command< GetMetricDataCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetMetricDataCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListApprovedOriginsCommand.ts b/clients/client-connect/commands/ListApprovedOriginsCommand.ts index 04502208f88ee..3c1161f990e7c 100644 --- a/clients/client-connect/commands/ListApprovedOriginsCommand.ts +++ b/clients/client-connect/commands/ListApprovedOriginsCommand.ts @@ -28,7 +28,6 @@ export class ListApprovedOriginsCommand extends $Command< ListApprovedOriginsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListApprovedOriginsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListContactFlowsCommand.ts b/clients/client-connect/commands/ListContactFlowsCommand.ts index d38e13a80cf40..b06df286bf390 100644 --- a/clients/client-connect/commands/ListContactFlowsCommand.ts +++ b/clients/client-connect/commands/ListContactFlowsCommand.ts @@ -32,7 +32,6 @@ export class ListContactFlowsCommand extends $Command< ListContactFlowsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListContactFlowsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListHoursOfOperationsCommand.ts b/clients/client-connect/commands/ListHoursOfOperationsCommand.ts index 136528fc23d7a..e1370a2419129 100644 --- a/clients/client-connect/commands/ListHoursOfOperationsCommand.ts +++ b/clients/client-connect/commands/ListHoursOfOperationsCommand.ts @@ -30,7 +30,6 @@ export class ListHoursOfOperationsCommand extends $Command< ListHoursOfOperationsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListHoursOfOperationsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListInstanceAttributesCommand.ts b/clients/client-connect/commands/ListInstanceAttributesCommand.ts index c3d25f649b7f8..9c864a5b69a4a 100644 --- a/clients/client-connect/commands/ListInstanceAttributesCommand.ts +++ b/clients/client-connect/commands/ListInstanceAttributesCommand.ts @@ -29,7 +29,6 @@ export class ListInstanceAttributesCommand extends $Command< ListInstanceAttributesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListInstanceAttributesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListInstanceStorageConfigsCommand.ts b/clients/client-connect/commands/ListInstanceStorageConfigsCommand.ts index 479cf2bba97b2..7f3515f854c73 100644 --- a/clients/client-connect/commands/ListInstanceStorageConfigsCommand.ts +++ b/clients/client-connect/commands/ListInstanceStorageConfigsCommand.ts @@ -31,7 +31,6 @@ export class ListInstanceStorageConfigsCommand extends $Command< ListInstanceStorageConfigsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListInstanceStorageConfigsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListInstancesCommand.ts b/clients/client-connect/commands/ListInstancesCommand.ts index 4d36c5ee696c3..8f72aa55a6656 100644 --- a/clients/client-connect/commands/ListInstancesCommand.ts +++ b/clients/client-connect/commands/ListInstancesCommand.ts @@ -31,7 +31,6 @@ export class ListInstancesCommand extends $Command< ListInstancesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListInstancesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListIntegrationAssociationsCommand.ts b/clients/client-connect/commands/ListIntegrationAssociationsCommand.ts index b2b1d86e707dd..5670f64cb37f1 100644 --- a/clients/client-connect/commands/ListIntegrationAssociationsCommand.ts +++ b/clients/client-connect/commands/ListIntegrationAssociationsCommand.ts @@ -30,7 +30,6 @@ export class ListIntegrationAssociationsCommand extends $Command< ListIntegrationAssociationsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListIntegrationAssociationsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListLambdaFunctionsCommand.ts b/clients/client-connect/commands/ListLambdaFunctionsCommand.ts index 2220a9f864c8f..aa24cc3a946cd 100644 --- a/clients/client-connect/commands/ListLambdaFunctionsCommand.ts +++ b/clients/client-connect/commands/ListLambdaFunctionsCommand.ts @@ -29,7 +29,6 @@ export class ListLambdaFunctionsCommand extends $Command< ListLambdaFunctionsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListLambdaFunctionsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListLexBotsCommand.ts b/clients/client-connect/commands/ListLexBotsCommand.ts index 49a06ecd5f83f..01e585cf86a42 100644 --- a/clients/client-connect/commands/ListLexBotsCommand.ts +++ b/clients/client-connect/commands/ListLexBotsCommand.ts @@ -29,7 +29,6 @@ export class ListLexBotsCommand extends $Command< ListLexBotsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListLexBotsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListPhoneNumbersCommand.ts b/clients/client-connect/commands/ListPhoneNumbersCommand.ts index e0520a065ae78..15a5259616077 100644 --- a/clients/client-connect/commands/ListPhoneNumbersCommand.ts +++ b/clients/client-connect/commands/ListPhoneNumbersCommand.ts @@ -30,7 +30,6 @@ export class ListPhoneNumbersCommand extends $Command< ListPhoneNumbersCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListPhoneNumbersCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListPromptsCommand.ts b/clients/client-connect/commands/ListPromptsCommand.ts index a006dbb5f0ff3..64e7f57d883f6 100644 --- a/clients/client-connect/commands/ListPromptsCommand.ts +++ b/clients/client-connect/commands/ListPromptsCommand.ts @@ -28,7 +28,6 @@ export class ListPromptsCommand extends $Command< ListPromptsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPromptsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListQueuesCommand.ts b/clients/client-connect/commands/ListQueuesCommand.ts index ee4a74c2dc0f7..c30e8e1e4db29 100644 --- a/clients/client-connect/commands/ListQueuesCommand.ts +++ b/clients/client-connect/commands/ListQueuesCommand.ts @@ -30,7 +30,6 @@ export class ListQueuesCommand extends $Command< ListQueuesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListQueuesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListRoutingProfileQueuesCommand.ts b/clients/client-connect/commands/ListRoutingProfileQueuesCommand.ts index 1ff7d06b14127..fbbf32cad3295 100644 --- a/clients/client-connect/commands/ListRoutingProfileQueuesCommand.ts +++ b/clients/client-connect/commands/ListRoutingProfileQueuesCommand.ts @@ -28,7 +28,6 @@ export class ListRoutingProfileQueuesCommand extends $Command< ListRoutingProfileQueuesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRoutingProfileQueuesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListRoutingProfilesCommand.ts b/clients/client-connect/commands/ListRoutingProfilesCommand.ts index d41cf4be32a99..6b4551889a76a 100644 --- a/clients/client-connect/commands/ListRoutingProfilesCommand.ts +++ b/clients/client-connect/commands/ListRoutingProfilesCommand.ts @@ -31,7 +31,6 @@ export class ListRoutingProfilesCommand extends $Command< ListRoutingProfilesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListRoutingProfilesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListSecurityKeysCommand.ts b/clients/client-connect/commands/ListSecurityKeysCommand.ts index c929d14c174c5..8d7e943d53077 100644 --- a/clients/client-connect/commands/ListSecurityKeysCommand.ts +++ b/clients/client-connect/commands/ListSecurityKeysCommand.ts @@ -28,7 +28,6 @@ export class ListSecurityKeysCommand extends $Command< ListSecurityKeysCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSecurityKeysCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListSecurityProfilesCommand.ts b/clients/client-connect/commands/ListSecurityProfilesCommand.ts index 43913005fb577..aff002ca86619 100644 --- a/clients/client-connect/commands/ListSecurityProfilesCommand.ts +++ b/clients/client-connect/commands/ListSecurityProfilesCommand.ts @@ -31,7 +31,6 @@ export class ListSecurityProfilesCommand extends $Command< ListSecurityProfilesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListSecurityProfilesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListTagsForResourceCommand.ts b/clients/client-connect/commands/ListTagsForResourceCommand.ts index 08459fed7c1b4..da3387e015aea 100644 --- a/clients/client-connect/commands/ListTagsForResourceCommand.ts +++ b/clients/client-connect/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListUseCasesCommand.ts b/clients/client-connect/commands/ListUseCasesCommand.ts index 2fcdefd4cb3e9..716cc76fdbafd 100644 --- a/clients/client-connect/commands/ListUseCasesCommand.ts +++ b/clients/client-connect/commands/ListUseCasesCommand.ts @@ -29,7 +29,6 @@ export class ListUseCasesCommand extends $Command< ListUseCasesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListUseCasesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts b/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts index 3947b46744089..ef881bef3ee08 100644 --- a/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts +++ b/clients/client-connect/commands/ListUserHierarchyGroupsCommand.ts @@ -31,7 +31,6 @@ export class ListUserHierarchyGroupsCommand extends $Command< ListUserHierarchyGroupsCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListUserHierarchyGroupsCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ListUsersCommand.ts b/clients/client-connect/commands/ListUsersCommand.ts index c368fe99ae384..ffd09e75bd9c3 100644 --- a/clients/client-connect/commands/ListUsersCommand.ts +++ b/clients/client-connect/commands/ListUsersCommand.ts @@ -28,7 +28,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListUsersCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/ResumeContactRecordingCommand.ts b/clients/client-connect/commands/ResumeContactRecordingCommand.ts index d9c8f1830ad93..871b716a697bd 100644 --- a/clients/client-connect/commands/ResumeContactRecordingCommand.ts +++ b/clients/client-connect/commands/ResumeContactRecordingCommand.ts @@ -31,7 +31,6 @@ export class ResumeContactRecordingCommand extends $Command< ResumeContactRecordingCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ResumeContactRecordingCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/StartChatContactCommand.ts b/clients/client-connect/commands/StartChatContactCommand.ts index ae453390889a0..23d1cd965da82 100644 --- a/clients/client-connect/commands/StartChatContactCommand.ts +++ b/clients/client-connect/commands/StartChatContactCommand.ts @@ -49,7 +49,6 @@ export class StartChatContactCommand extends $Command< StartChatContactCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class StartChatContactCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/StartContactRecordingCommand.ts b/clients/client-connect/commands/StartContactRecordingCommand.ts index 5a0575ce1d18a..6ebee00da36b3 100644 --- a/clients/client-connect/commands/StartContactRecordingCommand.ts +++ b/clients/client-connect/commands/StartContactRecordingCommand.ts @@ -35,7 +35,6 @@ export class StartContactRecordingCommand extends $Command< StartContactRecordingCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartContactRecordingCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts b/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts index 04edac72f7a18..7089f01bf6302 100644 --- a/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts +++ b/clients/client-connect/commands/StartOutboundVoiceContactCommand.ts @@ -41,7 +41,6 @@ export class StartOutboundVoiceContactCommand extends $Command< StartOutboundVoiceContactCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class StartOutboundVoiceContactCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/StartTaskContactCommand.ts b/clients/client-connect/commands/StartTaskContactCommand.ts index 8bd55e22984a7..75adc0b5db5bf 100644 --- a/clients/client-connect/commands/StartTaskContactCommand.ts +++ b/clients/client-connect/commands/StartTaskContactCommand.ts @@ -28,7 +28,6 @@ export class StartTaskContactCommand extends $Command< StartTaskContactCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartTaskContactCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/StopContactCommand.ts b/clients/client-connect/commands/StopContactCommand.ts index 53b8b739f32aa..c37b9133021f2 100644 --- a/clients/client-connect/commands/StopContactCommand.ts +++ b/clients/client-connect/commands/StopContactCommand.ts @@ -28,7 +28,6 @@ export class StopContactCommand extends $Command< StopContactCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopContactCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/StopContactRecordingCommand.ts b/clients/client-connect/commands/StopContactRecordingCommand.ts index 24f894547db7a..83f7aa4fc1ee1 100644 --- a/clients/client-connect/commands/StopContactRecordingCommand.ts +++ b/clients/client-connect/commands/StopContactRecordingCommand.ts @@ -34,7 +34,6 @@ export class StopContactRecordingCommand extends $Command< StopContactRecordingCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StopContactRecordingCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/SuspendContactRecordingCommand.ts b/clients/client-connect/commands/SuspendContactRecordingCommand.ts index 42ad3f2c934b2..e9cd69407068d 100644 --- a/clients/client-connect/commands/SuspendContactRecordingCommand.ts +++ b/clients/client-connect/commands/SuspendContactRecordingCommand.ts @@ -33,7 +33,6 @@ export class SuspendContactRecordingCommand extends $Command< SuspendContactRecordingCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SuspendContactRecordingCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/TagResourceCommand.ts b/clients/client-connect/commands/TagResourceCommand.ts index 1fd4a55846d4e..eb8eafaa2ddab 100644 --- a/clients/client-connect/commands/TagResourceCommand.ts +++ b/clients/client-connect/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UntagResourceCommand.ts b/clients/client-connect/commands/UntagResourceCommand.ts index 081a9917657dc..54e825885b1c6 100644 --- a/clients/client-connect/commands/UntagResourceCommand.ts +++ b/clients/client-connect/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateContactAttributesCommand.ts b/clients/client-connect/commands/UpdateContactAttributesCommand.ts index ad408d8df6720..47729e51d7db8 100644 --- a/clients/client-connect/commands/UpdateContactAttributesCommand.ts +++ b/clients/client-connect/commands/UpdateContactAttributesCommand.ts @@ -43,7 +43,6 @@ export class UpdateContactAttributesCommand extends $Command< UpdateContactAttributesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class UpdateContactAttributesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateContactFlowContentCommand.ts b/clients/client-connect/commands/UpdateContactFlowContentCommand.ts index b37618d874ec1..db1e53ec6a362 100644 --- a/clients/client-connect/commands/UpdateContactFlowContentCommand.ts +++ b/clients/client-connect/commands/UpdateContactFlowContentCommand.ts @@ -30,7 +30,6 @@ export class UpdateContactFlowContentCommand extends $Command< UpdateContactFlowContentCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateContactFlowContentCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateContactFlowNameCommand.ts b/clients/client-connect/commands/UpdateContactFlowNameCommand.ts index 60c51c75a76a7..b450e0ee5bfb8 100644 --- a/clients/client-connect/commands/UpdateContactFlowNameCommand.ts +++ b/clients/client-connect/commands/UpdateContactFlowNameCommand.ts @@ -30,7 +30,6 @@ export class UpdateContactFlowNameCommand extends $Command< UpdateContactFlowNameCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateContactFlowNameCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateInstanceAttributeCommand.ts b/clients/client-connect/commands/UpdateInstanceAttributeCommand.ts index b46783d06b007..645a9adfb34bd 100644 --- a/clients/client-connect/commands/UpdateInstanceAttributeCommand.ts +++ b/clients/client-connect/commands/UpdateInstanceAttributeCommand.ts @@ -29,7 +29,6 @@ export class UpdateInstanceAttributeCommand extends $Command< UpdateInstanceAttributeCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateInstanceAttributeCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateInstanceStorageConfigCommand.ts b/clients/client-connect/commands/UpdateInstanceStorageConfigCommand.ts index 52029268a43ad..4e37cc190eba6 100644 --- a/clients/client-connect/commands/UpdateInstanceStorageConfigCommand.ts +++ b/clients/client-connect/commands/UpdateInstanceStorageConfigCommand.ts @@ -29,7 +29,6 @@ export class UpdateInstanceStorageConfigCommand extends $Command< UpdateInstanceStorageConfigCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateInstanceStorageConfigCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateRoutingProfileConcurrencyCommand.ts b/clients/client-connect/commands/UpdateRoutingProfileConcurrencyCommand.ts index 3855264df5725..c793ee897c0fa 100644 --- a/clients/client-connect/commands/UpdateRoutingProfileConcurrencyCommand.ts +++ b/clients/client-connect/commands/UpdateRoutingProfileConcurrencyCommand.ts @@ -29,7 +29,6 @@ export class UpdateRoutingProfileConcurrencyCommand extends $Command< UpdateRoutingProfileConcurrencyCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateRoutingProfileConcurrencyCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.ts b/clients/client-connect/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.ts index 37046ae6acf59..8ca3a5665667e 100644 --- a/clients/client-connect/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.ts +++ b/clients/client-connect/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.ts @@ -28,7 +28,6 @@ export class UpdateRoutingProfileDefaultOutboundQueueCommand extends $Command< UpdateRoutingProfileDefaultOutboundQueueCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateRoutingProfileDefaultOutboundQueueCommand extends $Command< UpdateRoutingProfileDefaultOutboundQueueCommandInput, UpdateRoutingProfileDefaultOutboundQueueCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateRoutingProfileNameCommand.ts b/clients/client-connect/commands/UpdateRoutingProfileNameCommand.ts index 4bce8c648a646..7a20c0542d730 100644 --- a/clients/client-connect/commands/UpdateRoutingProfileNameCommand.ts +++ b/clients/client-connect/commands/UpdateRoutingProfileNameCommand.ts @@ -30,7 +30,6 @@ export class UpdateRoutingProfileNameCommand extends $Command< UpdateRoutingProfileNameCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateRoutingProfileNameCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateRoutingProfileQueuesCommand.ts b/clients/client-connect/commands/UpdateRoutingProfileQueuesCommand.ts index 18eb72c5f5ddb..bba949049e539 100644 --- a/clients/client-connect/commands/UpdateRoutingProfileQueuesCommand.ts +++ b/clients/client-connect/commands/UpdateRoutingProfileQueuesCommand.ts @@ -28,7 +28,6 @@ export class UpdateRoutingProfileQueuesCommand extends $Command< UpdateRoutingProfileQueuesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRoutingProfileQueuesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserHierarchyCommand.ts b/clients/client-connect/commands/UpdateUserHierarchyCommand.ts index 8341f32fab206..d7197d827cf69 100644 --- a/clients/client-connect/commands/UpdateUserHierarchyCommand.ts +++ b/clients/client-connect/commands/UpdateUserHierarchyCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserHierarchyCommand extends $Command< UpdateUserHierarchyCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserHierarchyCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserHierarchyGroupNameCommand.ts b/clients/client-connect/commands/UpdateUserHierarchyGroupNameCommand.ts index 3034a99df9170..7688a3fbcf8a3 100644 --- a/clients/client-connect/commands/UpdateUserHierarchyGroupNameCommand.ts +++ b/clients/client-connect/commands/UpdateUserHierarchyGroupNameCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserHierarchyGroupNameCommand extends $Command< UpdateUserHierarchyGroupNameCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserHierarchyGroupNameCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserHierarchyStructureCommand.ts b/clients/client-connect/commands/UpdateUserHierarchyStructureCommand.ts index fdeee07a00c56..dbad18975748f 100644 --- a/clients/client-connect/commands/UpdateUserHierarchyStructureCommand.ts +++ b/clients/client-connect/commands/UpdateUserHierarchyStructureCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserHierarchyStructureCommand extends $Command< UpdateUserHierarchyStructureCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserHierarchyStructureCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts b/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts index 59de60ba861f2..c099b0f3ed4e1 100644 --- a/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts +++ b/clients/client-connect/commands/UpdateUserIdentityInfoCommand.ts @@ -37,7 +37,6 @@ export class UpdateUserIdentityInfoCommand extends $Command< UpdateUserIdentityInfoCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateUserIdentityInfoCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts b/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts index 3c39a10b5db88..6f9b544af8952 100644 --- a/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts +++ b/clients/client-connect/commands/UpdateUserPhoneConfigCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserPhoneConfigCommand extends $Command< UpdateUserPhoneConfigCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserPhoneConfigCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts b/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts index 12238081efad9..9367db9c0e8e0 100644 --- a/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts +++ b/clients/client-connect/commands/UpdateUserRoutingProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserRoutingProfileCommand extends $Command< UpdateUserRoutingProfileCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserRoutingProfileCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts b/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts index c68a689f63408..4c4d8c99633f5 100644 --- a/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts +++ b/clients/client-connect/commands/UpdateUserSecurityProfilesCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserSecurityProfilesCommand extends $Command< UpdateUserSecurityProfilesCommandOutput, ConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserSecurityProfilesCommand extends $Command< configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts b/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts index 200758a964efc..ce5085b606992 100644 --- a/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts +++ b/clients/client-connectparticipant/commands/CreateParticipantConnectionCommand.ts @@ -48,7 +48,6 @@ export class CreateParticipantConnectionCommand extends $Command< CreateParticipantConnectionCommandOutput, ConnectParticipantClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateParticipantConnectionCommand extends $Command< configuration: ConnectParticipantClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts b/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts index 26df45643a69d..362ddfd1043ea 100644 --- a/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts +++ b/clients/client-connectparticipant/commands/DisconnectParticipantCommand.ts @@ -33,7 +33,6 @@ export class DisconnectParticipantCommand extends $Command< DisconnectParticipantCommandOutput, ConnectParticipantClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DisconnectParticipantCommand extends $Command< configuration: ConnectParticipantClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connectparticipant/commands/GetTranscriptCommand.ts b/clients/client-connectparticipant/commands/GetTranscriptCommand.ts index cf93570b7dd38..fd4695e56a7c0 100644 --- a/clients/client-connectparticipant/commands/GetTranscriptCommand.ts +++ b/clients/client-connectparticipant/commands/GetTranscriptCommand.ts @@ -33,7 +33,6 @@ export class GetTranscriptCommand extends $Command< GetTranscriptCommandOutput, ConnectParticipantClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetTranscriptCommand extends $Command< configuration: ConnectParticipantClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connectparticipant/commands/SendEventCommand.ts b/clients/client-connectparticipant/commands/SendEventCommand.ts index b1e7e24af6c62..e8d01544801c0 100644 --- a/clients/client-connectparticipant/commands/SendEventCommand.ts +++ b/clients/client-connectparticipant/commands/SendEventCommand.ts @@ -33,7 +33,6 @@ export class SendEventCommand extends $Command< SendEventCommandOutput, ConnectParticipantClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SendEventCommand extends $Command< configuration: ConnectParticipantClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-connectparticipant/commands/SendMessageCommand.ts b/clients/client-connectparticipant/commands/SendMessageCommand.ts index 4708c75899ecd..9e9e35441e537 100644 --- a/clients/client-connectparticipant/commands/SendMessageCommand.ts +++ b/clients/client-connectparticipant/commands/SendMessageCommand.ts @@ -33,7 +33,6 @@ export class SendMessageCommand extends $Command< SendMessageCommandOutput, ConnectParticipantClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SendMessageCommand extends $Command< configuration: ConnectParticipantClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts b/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts index fbd17514aa13b..d163ea70614ee 100644 --- a/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/DeleteReportDefinitionCommand.ts @@ -32,7 +32,6 @@ export class DeleteReportDefinitionCommand extends $Command< DeleteReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteReportDefinitionCommand extends $Command< configuration: CostAndUsageReportServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts b/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts index be19eb9d61c6e..e9f4be423947f 100644 --- a/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/DescribeReportDefinitionsCommand.ts @@ -32,7 +32,6 @@ export class DescribeReportDefinitionsCommand extends $Command< DescribeReportDefinitionsCommandOutput, CostAndUsageReportServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeReportDefinitionsCommand extends $Command< configuration: CostAndUsageReportServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts b/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts index 068ed2a1ad2ae..625bd65e1bce5 100644 --- a/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/ModifyReportDefinitionCommand.ts @@ -32,7 +32,6 @@ export class ModifyReportDefinitionCommand extends $Command< ModifyReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyReportDefinitionCommand extends $Command< configuration: CostAndUsageReportServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts b/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts index 034c280ec10ab..1096da917261a 100644 --- a/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts +++ b/clients/client-cost-and-usage-report-service/commands/PutReportDefinitionCommand.ts @@ -32,7 +32,6 @@ export class PutReportDefinitionCommand extends $Command< PutReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutReportDefinitionCommand extends $Command< configuration: CostAndUsageReportServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/CreateAnomalyMonitorCommand.ts b/clients/client-cost-explorer/commands/CreateAnomalyMonitorCommand.ts index 2d9c74fb14dc7..4f4543b644c53 100644 --- a/clients/client-cost-explorer/commands/CreateAnomalyMonitorCommand.ts +++ b/clients/client-cost-explorer/commands/CreateAnomalyMonitorCommand.ts @@ -29,7 +29,6 @@ export class CreateAnomalyMonitorCommand extends $Command< CreateAnomalyMonitorCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAnomalyMonitorCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/CreateAnomalySubscriptionCommand.ts b/clients/client-cost-explorer/commands/CreateAnomalySubscriptionCommand.ts index 88aa33017bba9..526eb3e045a91 100644 --- a/clients/client-cost-explorer/commands/CreateAnomalySubscriptionCommand.ts +++ b/clients/client-cost-explorer/commands/CreateAnomalySubscriptionCommand.ts @@ -30,7 +30,6 @@ export class CreateAnomalySubscriptionCommand extends $Command< CreateAnomalySubscriptionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAnomalySubscriptionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts index 581243ca2a0eb..b4d9c77d7e71b 100644 --- a/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/CreateCostCategoryDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateCostCategoryDefinitionCommand extends $Command< CreateCostCategoryDefinitionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCostCategoryDefinitionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/DeleteAnomalyMonitorCommand.ts b/clients/client-cost-explorer/commands/DeleteAnomalyMonitorCommand.ts index f28a06e447f11..6a2f03555e218 100644 --- a/clients/client-cost-explorer/commands/DeleteAnomalyMonitorCommand.ts +++ b/clients/client-cost-explorer/commands/DeleteAnomalyMonitorCommand.ts @@ -28,7 +28,6 @@ export class DeleteAnomalyMonitorCommand extends $Command< DeleteAnomalyMonitorCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAnomalyMonitorCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/DeleteAnomalySubscriptionCommand.ts b/clients/client-cost-explorer/commands/DeleteAnomalySubscriptionCommand.ts index 8a8db8eed80e2..cb74e2ec408d1 100644 --- a/clients/client-cost-explorer/commands/DeleteAnomalySubscriptionCommand.ts +++ b/clients/client-cost-explorer/commands/DeleteAnomalySubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteAnomalySubscriptionCommand extends $Command< DeleteAnomalySubscriptionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAnomalySubscriptionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts index a9be16fe5d2df..1e3cb0609a06c 100644 --- a/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/DeleteCostCategoryDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteCostCategoryDefinitionCommand extends $Command< DeleteCostCategoryDefinitionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCostCategoryDefinitionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts index df31fa23134b7..c280f65667022 100644 --- a/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/DescribeCostCategoryDefinitionCommand.ts @@ -29,7 +29,6 @@ export class DescribeCostCategoryDefinitionCommand extends $Command< DescribeCostCategoryDefinitionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCostCategoryDefinitionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetAnomaliesCommand.ts b/clients/client-cost-explorer/commands/GetAnomaliesCommand.ts index 799678740bfc5..dca623c080603 100644 --- a/clients/client-cost-explorer/commands/GetAnomaliesCommand.ts +++ b/clients/client-cost-explorer/commands/GetAnomaliesCommand.ts @@ -29,7 +29,6 @@ export class GetAnomaliesCommand extends $Command< GetAnomaliesCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAnomaliesCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetAnomalyMonitorsCommand.ts b/clients/client-cost-explorer/commands/GetAnomalyMonitorsCommand.ts index 291bb656da37c..a9ee409810c76 100644 --- a/clients/client-cost-explorer/commands/GetAnomalyMonitorsCommand.ts +++ b/clients/client-cost-explorer/commands/GetAnomalyMonitorsCommand.ts @@ -29,7 +29,6 @@ export class GetAnomalyMonitorsCommand extends $Command< GetAnomalyMonitorsCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAnomalyMonitorsCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetAnomalySubscriptionsCommand.ts b/clients/client-cost-explorer/commands/GetAnomalySubscriptionsCommand.ts index fb5e4ab060311..3cb09ecccc6d2 100644 --- a/clients/client-cost-explorer/commands/GetAnomalySubscriptionsCommand.ts +++ b/clients/client-cost-explorer/commands/GetAnomalySubscriptionsCommand.ts @@ -29,7 +29,6 @@ export class GetAnomalySubscriptionsCommand extends $Command< GetAnomalySubscriptionsCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAnomalySubscriptionsCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts b/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts index cbc02f33f8fcd..5142f7263611a 100644 --- a/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts +++ b/clients/client-cost-explorer/commands/GetCostAndUsageCommand.ts @@ -34,7 +34,6 @@ export class GetCostAndUsageCommand extends $Command< GetCostAndUsageCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetCostAndUsageCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts b/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts index e3a2af382ad96..ee0dc052f05c9 100644 --- a/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts +++ b/clients/client-cost-explorer/commands/GetCostAndUsageWithResourcesCommand.ts @@ -36,7 +36,6 @@ export class GetCostAndUsageWithResourcesCommand extends $Command< GetCostAndUsageWithResourcesCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetCostAndUsageWithResourcesCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetCostForecastCommand.ts b/clients/client-cost-explorer/commands/GetCostForecastCommand.ts index 1fa4c6eca1b4f..14f23c62917fc 100644 --- a/clients/client-cost-explorer/commands/GetCostForecastCommand.ts +++ b/clients/client-cost-explorer/commands/GetCostForecastCommand.ts @@ -28,7 +28,6 @@ export class GetCostForecastCommand extends $Command< GetCostForecastCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCostForecastCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts b/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts index e7ed4f5485ee5..76c7f6b70885f 100644 --- a/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts +++ b/clients/client-cost-explorer/commands/GetDimensionValuesCommand.ts @@ -28,7 +28,6 @@ export class GetDimensionValuesCommand extends $Command< GetDimensionValuesCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDimensionValuesCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts b/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts index a27ed356e6b1c..71570e2ff4b30 100644 --- a/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts +++ b/clients/client-cost-explorer/commands/GetReservationCoverageCommand.ts @@ -69,7 +69,6 @@ export class GetReservationCoverageCommand extends $Command< GetReservationCoverageCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class GetReservationCoverageCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts b/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts index 7f9b350ebb699..748709b88f23d 100644 --- a/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts +++ b/clients/client-cost-explorer/commands/GetReservationPurchaseRecommendationCommand.ts @@ -41,7 +41,6 @@ export class GetReservationPurchaseRecommendationCommand extends $Command< GetReservationPurchaseRecommendationCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetReservationPurchaseRecommendationCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts b/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts index f0ea7fe9e1fc9..e8faab45a9568 100644 --- a/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts +++ b/clients/client-cost-explorer/commands/GetReservationUtilizationCommand.ts @@ -30,7 +30,6 @@ export class GetReservationUtilizationCommand extends $Command< GetReservationUtilizationCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetReservationUtilizationCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts b/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts index 08333f970b298..81a931390ae74 100644 --- a/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts +++ b/clients/client-cost-explorer/commands/GetRightsizingRecommendationCommand.ts @@ -37,7 +37,6 @@ export class GetRightsizingRecommendationCommand extends $Command< GetRightsizingRecommendationCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetRightsizingRecommendationCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts index c144b00387307..ba8dda582d198 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansCoverageCommand.ts @@ -51,7 +51,6 @@ export class GetSavingsPlansCoverageCommand extends $Command< GetSavingsPlansCoverageCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class GetSavingsPlansCoverageCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts index fe2f3e0212821..36ea1fa2ba1ca 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansPurchaseRecommendationCommand.ts @@ -32,7 +32,6 @@ export class GetSavingsPlansPurchaseRecommendationCommand extends $Command< GetSavingsPlansPurchaseRecommendationCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetSavingsPlansPurchaseRecommendationCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts index d903d6908d4da..3857095f1d7f0 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationCommand.ts @@ -31,7 +31,6 @@ export class GetSavingsPlansUtilizationCommand extends $Command< GetSavingsPlansUtilizationCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetSavingsPlansUtilizationCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts index c2963ed852c64..9295177318c87 100644 --- a/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts +++ b/clients/client-cost-explorer/commands/GetSavingsPlansUtilizationDetailsCommand.ts @@ -36,7 +36,6 @@ export class GetSavingsPlansUtilizationDetailsCommand extends $Command< GetSavingsPlansUtilizationDetailsCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSavingsPlansUtilizationDetailsCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetTagsCommand.ts b/clients/client-cost-explorer/commands/GetTagsCommand.ts index 9fdaf53854f71..666e8a8dc27b6 100644 --- a/clients/client-cost-explorer/commands/GetTagsCommand.ts +++ b/clients/client-cost-explorer/commands/GetTagsCommand.ts @@ -25,7 +25,6 @@ export class GetTagsCommand extends $Command< GetTagsCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetTagsCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts b/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts index 06e5c063d4d14..703a0a2cc2ff9 100644 --- a/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts +++ b/clients/client-cost-explorer/commands/GetUsageForecastCommand.ts @@ -28,7 +28,6 @@ export class GetUsageForecastCommand extends $Command< GetUsageForecastCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsageForecastCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts b/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts index c9537e4ebc149..00144cea21094 100644 --- a/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts +++ b/clients/client-cost-explorer/commands/ListCostCategoryDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListCostCategoryDefinitionsCommand extends $Command< ListCostCategoryDefinitionsCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCostCategoryDefinitionsCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/ProvideAnomalyFeedbackCommand.ts b/clients/client-cost-explorer/commands/ProvideAnomalyFeedbackCommand.ts index 7f4eb9b242b50..c01e33999f599 100644 --- a/clients/client-cost-explorer/commands/ProvideAnomalyFeedbackCommand.ts +++ b/clients/client-cost-explorer/commands/ProvideAnomalyFeedbackCommand.ts @@ -28,7 +28,6 @@ export class ProvideAnomalyFeedbackCommand extends $Command< ProvideAnomalyFeedbackCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ProvideAnomalyFeedbackCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/UpdateAnomalyMonitorCommand.ts b/clients/client-cost-explorer/commands/UpdateAnomalyMonitorCommand.ts index 39cba0305cc11..c0ea3d8f3d926 100644 --- a/clients/client-cost-explorer/commands/UpdateAnomalyMonitorCommand.ts +++ b/clients/client-cost-explorer/commands/UpdateAnomalyMonitorCommand.ts @@ -29,7 +29,6 @@ export class UpdateAnomalyMonitorCommand extends $Command< UpdateAnomalyMonitorCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateAnomalyMonitorCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/UpdateAnomalySubscriptionCommand.ts b/clients/client-cost-explorer/commands/UpdateAnomalySubscriptionCommand.ts index 2c86707709056..d90d9ad739d39 100644 --- a/clients/client-cost-explorer/commands/UpdateAnomalySubscriptionCommand.ts +++ b/clients/client-cost-explorer/commands/UpdateAnomalySubscriptionCommand.ts @@ -28,7 +28,6 @@ export class UpdateAnomalySubscriptionCommand extends $Command< UpdateAnomalySubscriptionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAnomalySubscriptionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts b/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts index ae4d25118dee6..2682ed95bde50 100644 --- a/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts +++ b/clients/client-cost-explorer/commands/UpdateCostCategoryDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateCostCategoryDefinitionCommand extends $Command< UpdateCostCategoryDefinitionCommandOutput, CostExplorerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCostCategoryDefinitionCommand extends $Command< configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/AddProfileKeyCommand.ts b/clients/client-customer-profiles/commands/AddProfileKeyCommand.ts index 61d09585d8df8..c5c0e86bd2ed6 100644 --- a/clients/client-customer-profiles/commands/AddProfileKeyCommand.ts +++ b/clients/client-customer-profiles/commands/AddProfileKeyCommand.ts @@ -31,7 +31,6 @@ export class AddProfileKeyCommand extends $Command< AddProfileKeyCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AddProfileKeyCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/CreateDomainCommand.ts b/clients/client-customer-profiles/commands/CreateDomainCommand.ts index b7ad2f35c0419..6ca0904420ac2 100644 --- a/clients/client-customer-profiles/commands/CreateDomainCommand.ts +++ b/clients/client-customer-profiles/commands/CreateDomainCommand.ts @@ -32,7 +32,6 @@ export class CreateDomainCommand extends $Command< CreateDomainCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateDomainCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/CreateProfileCommand.ts b/clients/client-customer-profiles/commands/CreateProfileCommand.ts index a419f8e01dcaf..9a3c09fd70622 100644 --- a/clients/client-customer-profiles/commands/CreateProfileCommand.ts +++ b/clients/client-customer-profiles/commands/CreateProfileCommand.ts @@ -30,7 +30,6 @@ export class CreateProfileCommand extends $Command< CreateProfileCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateProfileCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/DeleteDomainCommand.ts b/clients/client-customer-profiles/commands/DeleteDomainCommand.ts index 9f0a8b4ed8c22..04cd97271c65a 100644 --- a/clients/client-customer-profiles/commands/DeleteDomainCommand.ts +++ b/clients/client-customer-profiles/commands/DeleteDomainCommand.ts @@ -29,7 +29,6 @@ export class DeleteDomainCommand extends $Command< DeleteDomainCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDomainCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/DeleteIntegrationCommand.ts b/clients/client-customer-profiles/commands/DeleteIntegrationCommand.ts index d2c3ae5e64256..635797d498908 100644 --- a/clients/client-customer-profiles/commands/DeleteIntegrationCommand.ts +++ b/clients/client-customer-profiles/commands/DeleteIntegrationCommand.ts @@ -28,7 +28,6 @@ export class DeleteIntegrationCommand extends $Command< DeleteIntegrationCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIntegrationCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/DeleteProfileCommand.ts b/clients/client-customer-profiles/commands/DeleteProfileCommand.ts index 96d865b37d130..ec8f4cbf3bea2 100644 --- a/clients/client-customer-profiles/commands/DeleteProfileCommand.ts +++ b/clients/client-customer-profiles/commands/DeleteProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteProfileCommand extends $Command< DeleteProfileCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProfileCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/DeleteProfileKeyCommand.ts b/clients/client-customer-profiles/commands/DeleteProfileKeyCommand.ts index d7913ab181ba4..8cba137f28e75 100644 --- a/clients/client-customer-profiles/commands/DeleteProfileKeyCommand.ts +++ b/clients/client-customer-profiles/commands/DeleteProfileKeyCommand.ts @@ -28,7 +28,6 @@ export class DeleteProfileKeyCommand extends $Command< DeleteProfileKeyCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProfileKeyCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/DeleteProfileObjectCommand.ts b/clients/client-customer-profiles/commands/DeleteProfileObjectCommand.ts index 1287bb8fc7eb2..bc3f3427f1e55 100644 --- a/clients/client-customer-profiles/commands/DeleteProfileObjectCommand.ts +++ b/clients/client-customer-profiles/commands/DeleteProfileObjectCommand.ts @@ -28,7 +28,6 @@ export class DeleteProfileObjectCommand extends $Command< DeleteProfileObjectCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProfileObjectCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/DeleteProfileObjectTypeCommand.ts b/clients/client-customer-profiles/commands/DeleteProfileObjectTypeCommand.ts index 4bc0a9b03f417..9b043199167f0 100644 --- a/clients/client-customer-profiles/commands/DeleteProfileObjectTypeCommand.ts +++ b/clients/client-customer-profiles/commands/DeleteProfileObjectTypeCommand.ts @@ -31,7 +31,6 @@ export class DeleteProfileObjectTypeCommand extends $Command< DeleteProfileObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteProfileObjectTypeCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/GetDomainCommand.ts b/clients/client-customer-profiles/commands/GetDomainCommand.ts index 47c7d857240e4..f06298503e8f8 100644 --- a/clients/client-customer-profiles/commands/GetDomainCommand.ts +++ b/clients/client-customer-profiles/commands/GetDomainCommand.ts @@ -28,7 +28,6 @@ export class GetDomainCommand extends $Command< GetDomainCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/GetIntegrationCommand.ts b/clients/client-customer-profiles/commands/GetIntegrationCommand.ts index 8ce175425dede..72ee9fb12b51f 100644 --- a/clients/client-customer-profiles/commands/GetIntegrationCommand.ts +++ b/clients/client-customer-profiles/commands/GetIntegrationCommand.ts @@ -28,7 +28,6 @@ export class GetIntegrationCommand extends $Command< GetIntegrationCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIntegrationCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/GetProfileObjectTypeCommand.ts b/clients/client-customer-profiles/commands/GetProfileObjectTypeCommand.ts index 824e2983c0f02..0e0691e61ab03 100644 --- a/clients/client-customer-profiles/commands/GetProfileObjectTypeCommand.ts +++ b/clients/client-customer-profiles/commands/GetProfileObjectTypeCommand.ts @@ -28,7 +28,6 @@ export class GetProfileObjectTypeCommand extends $Command< GetProfileObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProfileObjectTypeCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/GetProfileObjectTypeTemplateCommand.ts b/clients/client-customer-profiles/commands/GetProfileObjectTypeTemplateCommand.ts index cdf0b9bb7e914..1111b3c2d0945 100644 --- a/clients/client-customer-profiles/commands/GetProfileObjectTypeTemplateCommand.ts +++ b/clients/client-customer-profiles/commands/GetProfileObjectTypeTemplateCommand.ts @@ -32,7 +32,6 @@ export class GetProfileObjectTypeTemplateCommand extends $Command< GetProfileObjectTypeTemplateCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetProfileObjectTypeTemplateCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListAccountIntegrationsCommand.ts b/clients/client-customer-profiles/commands/ListAccountIntegrationsCommand.ts index 3c2f9f7e736a7..fb310f826c0c1 100644 --- a/clients/client-customer-profiles/commands/ListAccountIntegrationsCommand.ts +++ b/clients/client-customer-profiles/commands/ListAccountIntegrationsCommand.ts @@ -28,7 +28,6 @@ export class ListAccountIntegrationsCommand extends $Command< ListAccountIntegrationsCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAccountIntegrationsCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListDomainsCommand.ts b/clients/client-customer-profiles/commands/ListDomainsCommand.ts index bd33d9d42913a..f30eed31b0c1f 100644 --- a/clients/client-customer-profiles/commands/ListDomainsCommand.ts +++ b/clients/client-customer-profiles/commands/ListDomainsCommand.ts @@ -28,7 +28,6 @@ export class ListDomainsCommand extends $Command< ListDomainsCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDomainsCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListIntegrationsCommand.ts b/clients/client-customer-profiles/commands/ListIntegrationsCommand.ts index e62cba04a9876..cd76bdd11d58a 100644 --- a/clients/client-customer-profiles/commands/ListIntegrationsCommand.ts +++ b/clients/client-customer-profiles/commands/ListIntegrationsCommand.ts @@ -28,7 +28,6 @@ export class ListIntegrationsCommand extends $Command< ListIntegrationsCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIntegrationsCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListProfileObjectTypeTemplatesCommand.ts b/clients/client-customer-profiles/commands/ListProfileObjectTypeTemplatesCommand.ts index 44952ac2c29b3..6e9871bf094e2 100644 --- a/clients/client-customer-profiles/commands/ListProfileObjectTypeTemplatesCommand.ts +++ b/clients/client-customer-profiles/commands/ListProfileObjectTypeTemplatesCommand.ts @@ -28,7 +28,6 @@ export class ListProfileObjectTypeTemplatesCommand extends $Command< ListProfileObjectTypeTemplatesCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProfileObjectTypeTemplatesCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListProfileObjectTypesCommand.ts b/clients/client-customer-profiles/commands/ListProfileObjectTypesCommand.ts index bffd475d2d670..34123cd3ce33b 100644 --- a/clients/client-customer-profiles/commands/ListProfileObjectTypesCommand.ts +++ b/clients/client-customer-profiles/commands/ListProfileObjectTypesCommand.ts @@ -28,7 +28,6 @@ export class ListProfileObjectTypesCommand extends $Command< ListProfileObjectTypesCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProfileObjectTypesCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListProfileObjectsCommand.ts b/clients/client-customer-profiles/commands/ListProfileObjectsCommand.ts index 77cc056ac1d24..c7bea81de8255 100644 --- a/clients/client-customer-profiles/commands/ListProfileObjectsCommand.ts +++ b/clients/client-customer-profiles/commands/ListProfileObjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProfileObjectsCommand extends $Command< ListProfileObjectsCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProfileObjectsCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/ListTagsForResourceCommand.ts b/clients/client-customer-profiles/commands/ListTagsForResourceCommand.ts index 154fc6c73a9b6..024f6a82acaba 100644 --- a/clients/client-customer-profiles/commands/ListTagsForResourceCommand.ts +++ b/clients/client-customer-profiles/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/PutIntegrationCommand.ts b/clients/client-customer-profiles/commands/PutIntegrationCommand.ts index 17cd96b11dfd8..c8e7deafc8833 100644 --- a/clients/client-customer-profiles/commands/PutIntegrationCommand.ts +++ b/clients/client-customer-profiles/commands/PutIntegrationCommand.ts @@ -30,7 +30,6 @@ export class PutIntegrationCommand extends $Command< PutIntegrationCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutIntegrationCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/PutProfileObjectCommand.ts b/clients/client-customer-profiles/commands/PutProfileObjectCommand.ts index 1347ddc68135b..d66d77cc5c861 100644 --- a/clients/client-customer-profiles/commands/PutProfileObjectCommand.ts +++ b/clients/client-customer-profiles/commands/PutProfileObjectCommand.ts @@ -37,7 +37,6 @@ export class PutProfileObjectCommand extends $Command< PutProfileObjectCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutProfileObjectCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/PutProfileObjectTypeCommand.ts b/clients/client-customer-profiles/commands/PutProfileObjectTypeCommand.ts index 546176bcf948d..cb793a13951d5 100644 --- a/clients/client-customer-profiles/commands/PutProfileObjectTypeCommand.ts +++ b/clients/client-customer-profiles/commands/PutProfileObjectTypeCommand.ts @@ -28,7 +28,6 @@ export class PutProfileObjectTypeCommand extends $Command< PutProfileObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutProfileObjectTypeCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/SearchProfilesCommand.ts b/clients/client-customer-profiles/commands/SearchProfilesCommand.ts index 7822cdcb4012c..0c2d6770be4d6 100644 --- a/clients/client-customer-profiles/commands/SearchProfilesCommand.ts +++ b/clients/client-customer-profiles/commands/SearchProfilesCommand.ts @@ -29,7 +29,6 @@ export class SearchProfilesCommand extends $Command< SearchProfilesCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchProfilesCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/TagResourceCommand.ts b/clients/client-customer-profiles/commands/TagResourceCommand.ts index 18bdd5e083f40..6cdd1ecb65941 100644 --- a/clients/client-customer-profiles/commands/TagResourceCommand.ts +++ b/clients/client-customer-profiles/commands/TagResourceCommand.ts @@ -39,7 +39,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class TagResourceCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/UntagResourceCommand.ts b/clients/client-customer-profiles/commands/UntagResourceCommand.ts index d9e0dc248560f..6f4039ec8e088 100644 --- a/clients/client-customer-profiles/commands/UntagResourceCommand.ts +++ b/clients/client-customer-profiles/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/UpdateDomainCommand.ts b/clients/client-customer-profiles/commands/UpdateDomainCommand.ts index 7c5bccbbb8283..8946ff4f6694c 100644 --- a/clients/client-customer-profiles/commands/UpdateDomainCommand.ts +++ b/clients/client-customer-profiles/commands/UpdateDomainCommand.ts @@ -30,7 +30,6 @@ export class UpdateDomainCommand extends $Command< UpdateDomainCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateDomainCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-customer-profiles/commands/UpdateProfileCommand.ts b/clients/client-customer-profiles/commands/UpdateProfileCommand.ts index 1b1aa9edd819e..0eacdaeb4ef41 100644 --- a/clients/client-customer-profiles/commands/UpdateProfileCommand.ts +++ b/clients/client-customer-profiles/commands/UpdateProfileCommand.ts @@ -32,7 +32,6 @@ export class UpdateProfileCommand extends $Command< UpdateProfileCommandOutput, CustomerProfilesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateProfileCommand extends $Command< configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts b/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts index 032675d74ff28..7b1590176b0ef 100644 --- a/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/ActivatePipelineCommand.ts @@ -32,7 +32,6 @@ export class ActivatePipelineCommand extends $Command< ActivatePipelineCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ActivatePipelineCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/AddTagsCommand.ts b/clients/client-data-pipeline/commands/AddTagsCommand.ts index 14a42b25a4b5f..b68aeeae8ca56 100644 --- a/clients/client-data-pipeline/commands/AddTagsCommand.ts +++ b/clients/client-data-pipeline/commands/AddTagsCommand.ts @@ -25,7 +25,6 @@ export class AddTagsCommand extends $Command< AddTagsCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class AddTagsCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/CreatePipelineCommand.ts b/clients/client-data-pipeline/commands/CreatePipelineCommand.ts index 7e8595fd05545..a9db751098c37 100644 --- a/clients/client-data-pipeline/commands/CreatePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/CreatePipelineCommand.ts @@ -28,7 +28,6 @@ export class CreatePipelineCommand extends $Command< CreatePipelineCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePipelineCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts b/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts index d2bcc3d151338..8238bea0ce717 100644 --- a/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/DeactivatePipelineCommand.ts @@ -31,7 +31,6 @@ export class DeactivatePipelineCommand extends $Command< DeactivatePipelineCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeactivatePipelineCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/DeletePipelineCommand.ts b/clients/client-data-pipeline/commands/DeletePipelineCommand.ts index f332bd8b4655f..3e012aabae461 100644 --- a/clients/client-data-pipeline/commands/DeletePipelineCommand.ts +++ b/clients/client-data-pipeline/commands/DeletePipelineCommand.ts @@ -31,7 +31,6 @@ export class DeletePipelineCommand extends $Command< DeletePipelineCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeletePipelineCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts b/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts index 15e4d22315440..11674481a3ca1 100644 --- a/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts +++ b/clients/client-data-pipeline/commands/DescribeObjectsCommand.ts @@ -28,7 +28,6 @@ export class DescribeObjectsCommand extends $Command< DescribeObjectsCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeObjectsCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts b/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts index 5579f32782cb7..1083fba5f7120 100644 --- a/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts +++ b/clients/client-data-pipeline/commands/DescribePipelinesCommand.ts @@ -29,7 +29,6 @@ export class DescribePipelinesCommand extends $Command< DescribePipelinesCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePipelinesCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts b/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts index 8e9ae8621fa83..f745ac889698d 100644 --- a/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts +++ b/clients/client-data-pipeline/commands/EvaluateExpressionCommand.ts @@ -29,7 +29,6 @@ export class EvaluateExpressionCommand extends $Command< EvaluateExpressionCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EvaluateExpressionCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts b/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts index f5869b18d2607..416b4bb2a6217 100644 --- a/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts +++ b/clients/client-data-pipeline/commands/GetPipelineDefinitionCommand.ts @@ -29,7 +29,6 @@ export class GetPipelineDefinitionCommand extends $Command< GetPipelineDefinitionCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetPipelineDefinitionCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/ListPipelinesCommand.ts b/clients/client-data-pipeline/commands/ListPipelinesCommand.ts index 707f159db6a99..d48f287ef1597 100644 --- a/clients/client-data-pipeline/commands/ListPipelinesCommand.ts +++ b/clients/client-data-pipeline/commands/ListPipelinesCommand.ts @@ -28,7 +28,6 @@ export class ListPipelinesCommand extends $Command< ListPipelinesCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelinesCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/PollForTaskCommand.ts b/clients/client-data-pipeline/commands/PollForTaskCommand.ts index f7215c5ffda6f..6e7ebf1bea8c2 100644 --- a/clients/client-data-pipeline/commands/PollForTaskCommand.ts +++ b/clients/client-data-pipeline/commands/PollForTaskCommand.ts @@ -36,7 +36,6 @@ export class PollForTaskCommand extends $Command< PollForTaskCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PollForTaskCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts b/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts index a1f61a4184a77..aa75c44de6e70 100644 --- a/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts +++ b/clients/client-data-pipeline/commands/PutPipelineDefinitionCommand.ts @@ -49,7 +49,6 @@ export class PutPipelineDefinitionCommand extends $Command< PutPipelineDefinitionCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class PutPipelineDefinitionCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/QueryObjectsCommand.ts b/clients/client-data-pipeline/commands/QueryObjectsCommand.ts index dce083be8a856..79a5a1ade7cd5 100644 --- a/clients/client-data-pipeline/commands/QueryObjectsCommand.ts +++ b/clients/client-data-pipeline/commands/QueryObjectsCommand.ts @@ -28,7 +28,6 @@ export class QueryObjectsCommand extends $Command< QueryObjectsCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class QueryObjectsCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/RemoveTagsCommand.ts b/clients/client-data-pipeline/commands/RemoveTagsCommand.ts index 48de995372a72..22bb1f59eeb7f 100644 --- a/clients/client-data-pipeline/commands/RemoveTagsCommand.ts +++ b/clients/client-data-pipeline/commands/RemoveTagsCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsCommand extends $Command< RemoveTagsCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts b/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts index 8902d66f96d11..0ee7734698109 100644 --- a/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts +++ b/clients/client-data-pipeline/commands/ReportTaskProgressCommand.ts @@ -31,7 +31,6 @@ export class ReportTaskProgressCommand extends $Command< ReportTaskProgressCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ReportTaskProgressCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts b/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts index 013743e677da7..dec1c84cd369f 100644 --- a/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts +++ b/clients/client-data-pipeline/commands/ReportTaskRunnerHeartbeatCommand.ts @@ -30,7 +30,6 @@ export class ReportTaskRunnerHeartbeatCommand extends $Command< ReportTaskRunnerHeartbeatCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ReportTaskRunnerHeartbeatCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/SetStatusCommand.ts b/clients/client-data-pipeline/commands/SetStatusCommand.ts index 57e989243353f..d01e076ebd255 100644 --- a/clients/client-data-pipeline/commands/SetStatusCommand.ts +++ b/clients/client-data-pipeline/commands/SetStatusCommand.ts @@ -27,7 +27,6 @@ export class SetStatusCommand extends $Command< SetStatusCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class SetStatusCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts b/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts index 75f9237438647..61352dea9fb6b 100644 --- a/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts +++ b/clients/client-data-pipeline/commands/SetTaskStatusCommand.ts @@ -30,7 +30,6 @@ export class SetTaskStatusCommand extends $Command< SetTaskStatusCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetTaskStatusCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts b/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts index 54c259c831897..c7f73aaf701a6 100644 --- a/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts +++ b/clients/client-data-pipeline/commands/ValidatePipelineDefinitionCommand.ts @@ -28,7 +28,6 @@ export class ValidatePipelineDefinitionCommand extends $Command< ValidatePipelineDefinitionCommandOutput, DataPipelineClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ValidatePipelineDefinitionCommand extends $Command< configuration: DataPipelineClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts b/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts index 6924bf1c51d6c..c9554c7e79426 100644 --- a/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts +++ b/clients/client-database-migration-service/commands/AddTagsToResourceCommand.ts @@ -37,7 +37,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts index 8558b84d9bb41..5b6064de46ada 100644 --- a/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-database-migration-service/commands/ApplyPendingMaintenanceActionCommand.ts @@ -32,7 +32,6 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< ApplyPendingMaintenanceActionCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/CancelReplicationTaskAssessmentRunCommand.ts b/clients/client-database-migration-service/commands/CancelReplicationTaskAssessmentRunCommand.ts index e0b08f274ba5e..8249839371a90 100644 --- a/clients/client-database-migration-service/commands/CancelReplicationTaskAssessmentRunCommand.ts +++ b/clients/client-database-migration-service/commands/CancelReplicationTaskAssessmentRunCommand.ts @@ -39,7 +39,6 @@ export class CancelReplicationTaskAssessmentRunCommand extends $Command< CancelReplicationTaskAssessmentRunCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CancelReplicationTaskAssessmentRunCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/CreateEndpointCommand.ts b/clients/client-database-migration-service/commands/CreateEndpointCommand.ts index 4bba8533c57a0..203f4f04866f1 100644 --- a/clients/client-database-migration-service/commands/CreateEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/CreateEndpointCommand.ts @@ -32,7 +32,6 @@ export class CreateEndpointCommand extends $Command< CreateEndpointCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateEndpointCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts index 722c7bc4a3280..c567e2731c1f1 100644 --- a/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/CreateEventSubscriptionCommand.ts @@ -47,7 +47,6 @@ export class CreateEventSubscriptionCommand extends $Command< CreateEventSubscriptionCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateEventSubscriptionCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts index 051ad6f0e9976..38ca327b90526 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationInstanceCommand.ts @@ -37,7 +37,6 @@ export class CreateReplicationInstanceCommand extends $Command< CreateReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateReplicationInstanceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts index 0f85def20b4c1..15bf19472dd3e 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationSubnetGroupCommand.ts @@ -32,7 +32,6 @@ export class CreateReplicationSubnetGroupCommand extends $Command< CreateReplicationSubnetGroupCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateReplicationSubnetGroupCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts index a8a3acb8d63e9..a54600f17de1a 100644 --- a/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/CreateReplicationTaskCommand.ts @@ -32,7 +32,6 @@ export class CreateReplicationTaskCommand extends $Command< CreateReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateReplicationTaskCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts b/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts index 646ba4f11d085..64533806fbeac 100644 --- a/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteCertificateCommand.ts @@ -32,7 +32,6 @@ export class DeleteCertificateCommand extends $Command< DeleteCertificateCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteCertificateCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts b/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts index 61afc48c0a2ed..92458d8cc8da2 100644 --- a/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteConnectionCommand.ts @@ -32,7 +32,6 @@ export class DeleteConnectionCommand extends $Command< DeleteConnectionCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteConnectionCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts b/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts index c8bcdb698d964..f5a92b85fafe7 100644 --- a/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteEndpointCommand.ts @@ -37,7 +37,6 @@ export class DeleteEndpointCommand extends $Command< DeleteEndpointCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteEndpointCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts index e5c23feda5af8..8479c17506f4f 100644 --- a/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteEventSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class DeleteEventSubscriptionCommand extends $Command< DeleteEventSubscriptionCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteEventSubscriptionCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts index 40630ddcc1986..8fa565380a9cc 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationInstanceCommand.ts @@ -37,7 +37,6 @@ export class DeleteReplicationInstanceCommand extends $Command< DeleteReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteReplicationInstanceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts index 92ec1516fdf8e..c95317a35b55b 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationSubnetGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteReplicationSubnetGroupCommand extends $Command< DeleteReplicationSubnetGroupCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteReplicationSubnetGroupCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts index c8b7d8864a0b8..6c86620806169 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationTaskAssessmentRunCommand.ts @@ -39,7 +39,6 @@ export class DeleteReplicationTaskAssessmentRunCommand extends $Command< DeleteReplicationTaskAssessmentRunCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteReplicationTaskAssessmentRunCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts index b5737132a72b7..0da022240e0af 100644 --- a/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/DeleteReplicationTaskCommand.ts @@ -32,7 +32,6 @@ export class DeleteReplicationTaskCommand extends $Command< DeleteReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteReplicationTaskCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts b/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts index cd57d53af8361..82d6308f7590f 100644 --- a/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeAccountAttributesCommand.ts @@ -38,7 +38,6 @@ export class DescribeAccountAttributesCommand extends $Command< DescribeAccountAttributesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeAccountAttributesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeApplicableIndividualAssessmentsCommand.ts b/clients/client-database-migration-service/commands/DescribeApplicableIndividualAssessmentsCommand.ts index 040c7bb72865c..992fa01b7546c 100644 --- a/clients/client-database-migration-service/commands/DescribeApplicableIndividualAssessmentsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeApplicableIndividualAssessmentsCommand.ts @@ -50,7 +50,6 @@ export class DescribeApplicableIndividualAssessmentsCommand extends $Command< DescribeApplicableIndividualAssessmentsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class DescribeApplicableIndividualAssessmentsCommand extends $Command< DescribeApplicableIndividualAssessmentsCommandInput, DescribeApplicableIndividualAssessmentsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts b/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts index eb5f5a2e32424..4528ac71422a1 100644 --- a/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeCertificatesCommand.ts @@ -32,7 +32,6 @@ export class DescribeCertificatesCommand extends $Command< DescribeCertificatesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeCertificatesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts b/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts index a67803fe5db65..39b6e84bd6dd2 100644 --- a/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeConnectionsCommand.ts @@ -33,7 +33,6 @@ export class DescribeConnectionsCommand extends $Command< DescribeConnectionsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeConnectionsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts b/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts index f7366846b621b..392d0871b631c 100644 --- a/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEndpointTypesCommand.ts @@ -32,7 +32,6 @@ export class DescribeEndpointTypesCommand extends $Command< DescribeEndpointTypesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEndpointTypesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts b/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts index b120d06ba9659..c8f8be2ea6c00 100644 --- a/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEndpointsCommand.ts @@ -32,7 +32,6 @@ export class DescribeEndpointsCommand extends $Command< DescribeEndpointsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEndpointsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts b/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts index e4c98beb913da..150f72f3684c0 100644 --- a/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventCategoriesCommand.ts @@ -36,7 +36,6 @@ export class DescribeEventCategoriesCommand extends $Command< DescribeEventCategoriesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeEventCategoriesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts index c362a059d97da..046282f0a76b5 100644 --- a/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventSubscriptionsCommand.ts @@ -37,7 +37,6 @@ export class DescribeEventSubscriptionsCommand extends $Command< DescribeEventSubscriptionsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeEventSubscriptionsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeEventsCommand.ts b/clients/client-database-migration-service/commands/DescribeEventsCommand.ts index 01243cea806be..f1d831df7a36f 100644 --- a/clients/client-database-migration-service/commands/DescribeEventsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeEventsCommand.ts @@ -36,7 +36,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeEventsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts b/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts index edd2041c380f2..eef87d7dffd75 100644 --- a/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeOrderableReplicationInstancesCommand.ts @@ -37,7 +37,6 @@ export class DescribeOrderableReplicationInstancesCommand extends $Command< DescribeOrderableReplicationInstancesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeOrderableReplicationInstancesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts index 08cdc01a92d33..580ca276f7ca9 100644 --- a/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribePendingMaintenanceActionsCommand.ts @@ -36,7 +36,6 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< DescribePendingMaintenanceActionsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts b/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts index f5652aa32c7c6..5ca6b75e68260 100644 --- a/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeRefreshSchemasStatusCommand.ts @@ -32,7 +32,6 @@ export class DescribeRefreshSchemasStatusCommand extends $Command< DescribeRefreshSchemasStatusCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeRefreshSchemasStatusCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts index 25cb67b784d60..cb44536cfa66f 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationInstanceTaskLogsCommand.ts @@ -36,7 +36,6 @@ export class DescribeReplicationInstanceTaskLogsCommand extends $Command< DescribeReplicationInstanceTaskLogsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeReplicationInstanceTaskLogsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts index d22cc9855d77d..4102642be23b0 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationInstancesCommand.ts @@ -33,7 +33,6 @@ export class DescribeReplicationInstancesCommand extends $Command< DescribeReplicationInstancesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeReplicationInstancesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts index ea7e95a76f931..8a203f605533d 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationSubnetGroupsCommand.ts @@ -32,7 +32,6 @@ export class DescribeReplicationSubnetGroupsCommand extends $Command< DescribeReplicationSubnetGroupsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeReplicationSubnetGroupsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts index 41e8e8c8f80a6..35e227d88721c 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentResultsCommand.ts @@ -37,7 +37,6 @@ export class DescribeReplicationTaskAssessmentResultsCommand extends $Command< DescribeReplicationTaskAssessmentResultsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeReplicationTaskAssessmentResultsCommand extends $Command< DescribeReplicationTaskAssessmentResultsCommandInput, DescribeReplicationTaskAssessmentResultsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentRunsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentRunsCommand.ts index 00ba077b45511..b3ac04254dacf 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentRunsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTaskAssessmentRunsCommand.ts @@ -44,7 +44,6 @@ export class DescribeReplicationTaskAssessmentRunsCommand extends $Command< DescribeReplicationTaskAssessmentRunsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DescribeReplicationTaskAssessmentRunsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTaskIndividualAssessmentsCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTaskIndividualAssessmentsCommand.ts index ba579d2dcd553..7cb35aafe36c2 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTaskIndividualAssessmentsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTaskIndividualAssessmentsCommand.ts @@ -38,7 +38,6 @@ export class DescribeReplicationTaskIndividualAssessmentsCommand extends $Comman DescribeReplicationTaskIndividualAssessmentsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DescribeReplicationTaskIndividualAssessmentsCommand extends $Comman DescribeReplicationTaskIndividualAssessmentsCommandInput, DescribeReplicationTaskIndividualAssessmentsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts b/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts index f26f33b0e522c..1a863b9b1608f 100644 --- a/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeReplicationTasksCommand.ts @@ -33,7 +33,6 @@ export class DescribeReplicationTasksCommand extends $Command< DescribeReplicationTasksCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeReplicationTasksCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts b/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts index c9cfe0c6c700b..e8be176ad3587 100644 --- a/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeSchemasCommand.ts @@ -34,7 +34,6 @@ export class DescribeSchemasCommand extends $Command< DescribeSchemasCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeSchemasCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts b/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts index 814714924eb98..7530a76c5ca4f 100644 --- a/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts +++ b/clients/client-database-migration-service/commands/DescribeTableStatisticsCommand.ts @@ -36,7 +36,6 @@ export class DescribeTableStatisticsCommand extends $Command< DescribeTableStatisticsCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeTableStatisticsCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ImportCertificateCommand.ts b/clients/client-database-migration-service/commands/ImportCertificateCommand.ts index 7f8d0593ae790..74854126867e7 100644 --- a/clients/client-database-migration-service/commands/ImportCertificateCommand.ts +++ b/clients/client-database-migration-service/commands/ImportCertificateCommand.ts @@ -32,7 +32,6 @@ export class ImportCertificateCommand extends $Command< ImportCertificateCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ImportCertificateCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts b/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts index 01e780270c922..99dae69cf6132 100644 --- a/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-database-migration-service/commands/ListTagsForResourceCommand.ts @@ -36,7 +36,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts b/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts index 069c2abc0ac3f..958f7363f7169 100644 --- a/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyEndpointCommand.ts @@ -32,7 +32,6 @@ export class ModifyEndpointCommand extends $Command< ModifyEndpointCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyEndpointCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts b/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts index 7dafac52012d4..a6e7d468a37f2 100644 --- a/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyEventSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class ModifyEventSubscriptionCommand extends $Command< ModifyEventSubscriptionCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyEventSubscriptionCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts index 079181627c0b4..7c0d4f666fbc9 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationInstanceCommand.ts @@ -36,7 +36,6 @@ export class ModifyReplicationInstanceCommand extends $Command< ModifyReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ModifyReplicationInstanceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts index e8c15341f2d16..d00367316d368 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationSubnetGroupCommand.ts @@ -32,7 +32,6 @@ export class ModifyReplicationSubnetGroupCommand extends $Command< ModifyReplicationSubnetGroupCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyReplicationSubnetGroupCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts index 983860a406e46..1a077bfaa755d 100644 --- a/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/ModifyReplicationTaskCommand.ts @@ -35,7 +35,6 @@ export class ModifyReplicationTaskCommand extends $Command< ModifyReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ModifyReplicationTaskCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts index d0145e3e71913..5d0165950abdf 100644 --- a/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/MoveReplicationTaskCommand.ts @@ -35,7 +35,6 @@ export class MoveReplicationTaskCommand extends $Command< MoveReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class MoveReplicationTaskCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts b/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts index 48c4af8e704c8..df0939ef9e723 100644 --- a/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts +++ b/clients/client-database-migration-service/commands/RebootReplicationInstanceCommand.ts @@ -33,7 +33,6 @@ export class RebootReplicationInstanceCommand extends $Command< RebootReplicationInstanceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RebootReplicationInstanceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts b/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts index 80a0aa9df7890..a70b73be9c605 100644 --- a/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts +++ b/clients/client-database-migration-service/commands/RefreshSchemasCommand.ts @@ -34,7 +34,6 @@ export class RefreshSchemasCommand extends $Command< RefreshSchemasCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RefreshSchemasCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/ReloadTablesCommand.ts b/clients/client-database-migration-service/commands/ReloadTablesCommand.ts index 2955a3ad57b2a..0f679a8caa314 100644 --- a/clients/client-database-migration-service/commands/ReloadTablesCommand.ts +++ b/clients/client-database-migration-service/commands/ReloadTablesCommand.ts @@ -32,7 +32,6 @@ export class ReloadTablesCommand extends $Command< ReloadTablesCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReloadTablesCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts b/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts index c1e78c751f47e..2142dce66e223 100644 --- a/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-database-migration-service/commands/RemoveTagsFromResourceCommand.ts @@ -37,7 +37,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts b/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts index d0177df87556e..9816fcd75527d 100644 --- a/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts +++ b/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentCommand.ts @@ -33,7 +33,6 @@ export class StartReplicationTaskAssessmentCommand extends $Command< StartReplicationTaskAssessmentCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartReplicationTaskAssessmentCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentRunCommand.ts b/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentRunCommand.ts index e2372f6002ca5..5ff17b76fedd0 100644 --- a/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentRunCommand.ts +++ b/clients/client-database-migration-service/commands/StartReplicationTaskAssessmentRunCommand.ts @@ -42,7 +42,6 @@ export class StartReplicationTaskAssessmentRunCommand extends $Command< StartReplicationTaskAssessmentRunCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class StartReplicationTaskAssessmentRunCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts index 869bfa05195f3..d92b455c268f4 100644 --- a/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/StartReplicationTaskCommand.ts @@ -35,7 +35,6 @@ export class StartReplicationTaskCommand extends $Command< StartReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartReplicationTaskCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts b/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts index 031099f4cc20f..7bc6c4e157df3 100644 --- a/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts +++ b/clients/client-database-migration-service/commands/StopReplicationTaskCommand.ts @@ -32,7 +32,6 @@ export class StopReplicationTaskCommand extends $Command< StopReplicationTaskCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopReplicationTaskCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-database-migration-service/commands/TestConnectionCommand.ts b/clients/client-database-migration-service/commands/TestConnectionCommand.ts index 215db62a205c9..d530e6c75ba26 100644 --- a/clients/client-database-migration-service/commands/TestConnectionCommand.ts +++ b/clients/client-database-migration-service/commands/TestConnectionCommand.ts @@ -32,7 +32,6 @@ export class TestConnectionCommand extends $Command< TestConnectionCommandOutput, DatabaseMigrationServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TestConnectionCommand extends $Command< configuration: DatabaseMigrationServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts b/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts index 76fc58120bdc2..c12c1031b04e9 100644 --- a/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts +++ b/clients/client-databrew/commands/BatchDeleteRecipeVersionCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteRecipeVersionCommand extends $Command< BatchDeleteRecipeVersionCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteRecipeVersionCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/CreateDatasetCommand.ts b/clients/client-databrew/commands/CreateDatasetCommand.ts index 449ea8d51d7e0..f791bffb71524 100644 --- a/clients/client-databrew/commands/CreateDatasetCommand.ts +++ b/clients/client-databrew/commands/CreateDatasetCommand.ts @@ -28,7 +28,6 @@ export class CreateDatasetCommand extends $Command< CreateDatasetCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDatasetCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/CreateProfileJobCommand.ts b/clients/client-databrew/commands/CreateProfileJobCommand.ts index 25b4ddcf68d00..9845dcd2e594e 100644 --- a/clients/client-databrew/commands/CreateProfileJobCommand.ts +++ b/clients/client-databrew/commands/CreateProfileJobCommand.ts @@ -29,7 +29,6 @@ export class CreateProfileJobCommand extends $Command< CreateProfileJobCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateProfileJobCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/CreateProjectCommand.ts b/clients/client-databrew/commands/CreateProjectCommand.ts index 408e91acdc7c3..fe3b480ac139d 100644 --- a/clients/client-databrew/commands/CreateProjectCommand.ts +++ b/clients/client-databrew/commands/CreateProjectCommand.ts @@ -28,7 +28,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProjectCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/CreateRecipeCommand.ts b/clients/client-databrew/commands/CreateRecipeCommand.ts index fa7022b6389c8..d5b7740a34abd 100644 --- a/clients/client-databrew/commands/CreateRecipeCommand.ts +++ b/clients/client-databrew/commands/CreateRecipeCommand.ts @@ -28,7 +28,6 @@ export class CreateRecipeCommand extends $Command< CreateRecipeCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRecipeCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/CreateRecipeJobCommand.ts b/clients/client-databrew/commands/CreateRecipeJobCommand.ts index 2800480365ed5..c3b1720459996 100644 --- a/clients/client-databrew/commands/CreateRecipeJobCommand.ts +++ b/clients/client-databrew/commands/CreateRecipeJobCommand.ts @@ -30,7 +30,6 @@ export class CreateRecipeJobCommand extends $Command< CreateRecipeJobCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateRecipeJobCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/CreateScheduleCommand.ts b/clients/client-databrew/commands/CreateScheduleCommand.ts index 5176f03c41308..1c029ec8f5d5c 100644 --- a/clients/client-databrew/commands/CreateScheduleCommand.ts +++ b/clients/client-databrew/commands/CreateScheduleCommand.ts @@ -29,7 +29,6 @@ export class CreateScheduleCommand extends $Command< CreateScheduleCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateScheduleCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DeleteDatasetCommand.ts b/clients/client-databrew/commands/DeleteDatasetCommand.ts index 0d3420e9d4270..2d815b896b788 100644 --- a/clients/client-databrew/commands/DeleteDatasetCommand.ts +++ b/clients/client-databrew/commands/DeleteDatasetCommand.ts @@ -28,7 +28,6 @@ export class DeleteDatasetCommand extends $Command< DeleteDatasetCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDatasetCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DeleteJobCommand.ts b/clients/client-databrew/commands/DeleteJobCommand.ts index 0b8567cf47ad4..baa13fde800cf 100644 --- a/clients/client-databrew/commands/DeleteJobCommand.ts +++ b/clients/client-databrew/commands/DeleteJobCommand.ts @@ -29,7 +29,6 @@ export class DeleteJobCommand extends $Command< DeleteJobCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteJobCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DeleteProjectCommand.ts b/clients/client-databrew/commands/DeleteProjectCommand.ts index 8b5cad26266e0..e352ac31b7bb1 100644 --- a/clients/client-databrew/commands/DeleteProjectCommand.ts +++ b/clients/client-databrew/commands/DeleteProjectCommand.ts @@ -28,7 +28,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProjectCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts b/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts index 3e4a466b4f766..d0eb486c6fc94 100644 --- a/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts +++ b/clients/client-databrew/commands/DeleteRecipeVersionCommand.ts @@ -28,7 +28,6 @@ export class DeleteRecipeVersionCommand extends $Command< DeleteRecipeVersionCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRecipeVersionCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DeleteScheduleCommand.ts b/clients/client-databrew/commands/DeleteScheduleCommand.ts index bd1ca2c2c309a..12bd090232f52 100644 --- a/clients/client-databrew/commands/DeleteScheduleCommand.ts +++ b/clients/client-databrew/commands/DeleteScheduleCommand.ts @@ -28,7 +28,6 @@ export class DeleteScheduleCommand extends $Command< DeleteScheduleCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteScheduleCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DescribeDatasetCommand.ts b/clients/client-databrew/commands/DescribeDatasetCommand.ts index 48cab3577be45..220b974bf6490 100644 --- a/clients/client-databrew/commands/DescribeDatasetCommand.ts +++ b/clients/client-databrew/commands/DescribeDatasetCommand.ts @@ -29,7 +29,6 @@ export class DescribeDatasetCommand extends $Command< DescribeDatasetCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDatasetCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DescribeJobCommand.ts b/clients/client-databrew/commands/DescribeJobCommand.ts index 6c3892dc47438..c14123430e883 100644 --- a/clients/client-databrew/commands/DescribeJobCommand.ts +++ b/clients/client-databrew/commands/DescribeJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeJobCommand extends $Command< DescribeJobCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeJobCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DescribeProjectCommand.ts b/clients/client-databrew/commands/DescribeProjectCommand.ts index 489cd912022e5..c513312c47a6c 100644 --- a/clients/client-databrew/commands/DescribeProjectCommand.ts +++ b/clients/client-databrew/commands/DescribeProjectCommand.ts @@ -29,7 +29,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeProjectCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DescribeRecipeCommand.ts b/clients/client-databrew/commands/DescribeRecipeCommand.ts index 7024b300eb0b7..12cebccc85f9c 100644 --- a/clients/client-databrew/commands/DescribeRecipeCommand.ts +++ b/clients/client-databrew/commands/DescribeRecipeCommand.ts @@ -29,7 +29,6 @@ export class DescribeRecipeCommand extends $Command< DescribeRecipeCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeRecipeCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/DescribeScheduleCommand.ts b/clients/client-databrew/commands/DescribeScheduleCommand.ts index 5f6ba6f192a32..5909843bd448a 100644 --- a/clients/client-databrew/commands/DescribeScheduleCommand.ts +++ b/clients/client-databrew/commands/DescribeScheduleCommand.ts @@ -29,7 +29,6 @@ export class DescribeScheduleCommand extends $Command< DescribeScheduleCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeScheduleCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListDatasetsCommand.ts b/clients/client-databrew/commands/ListDatasetsCommand.ts index fb30b5a371860..038e6d67b0006 100644 --- a/clients/client-databrew/commands/ListDatasetsCommand.ts +++ b/clients/client-databrew/commands/ListDatasetsCommand.ts @@ -28,7 +28,6 @@ export class ListDatasetsCommand extends $Command< ListDatasetsCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDatasetsCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListJobRunsCommand.ts b/clients/client-databrew/commands/ListJobRunsCommand.ts index 5ff9be7376cdb..be82ee1ccef84 100644 --- a/clients/client-databrew/commands/ListJobRunsCommand.ts +++ b/clients/client-databrew/commands/ListJobRunsCommand.ts @@ -29,7 +29,6 @@ export class ListJobRunsCommand extends $Command< ListJobRunsCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListJobRunsCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListJobsCommand.ts b/clients/client-databrew/commands/ListJobsCommand.ts index 3e98cb8275b9b..2e424859141d7 100644 --- a/clients/client-databrew/commands/ListJobsCommand.ts +++ b/clients/client-databrew/commands/ListJobsCommand.ts @@ -28,7 +28,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobsCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListProjectsCommand.ts b/clients/client-databrew/commands/ListProjectsCommand.ts index cab64167ab204..489567d76594e 100644 --- a/clients/client-databrew/commands/ListProjectsCommand.ts +++ b/clients/client-databrew/commands/ListProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectsCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListRecipeVersionsCommand.ts b/clients/client-databrew/commands/ListRecipeVersionsCommand.ts index dd6614ac260c8..560184c0a396e 100644 --- a/clients/client-databrew/commands/ListRecipeVersionsCommand.ts +++ b/clients/client-databrew/commands/ListRecipeVersionsCommand.ts @@ -29,7 +29,6 @@ export class ListRecipeVersionsCommand extends $Command< ListRecipeVersionsCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRecipeVersionsCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListRecipesCommand.ts b/clients/client-databrew/commands/ListRecipesCommand.ts index 36bfe545d7e61..9866aa6ad82e3 100644 --- a/clients/client-databrew/commands/ListRecipesCommand.ts +++ b/clients/client-databrew/commands/ListRecipesCommand.ts @@ -28,7 +28,6 @@ export class ListRecipesCommand extends $Command< ListRecipesCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRecipesCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListSchedulesCommand.ts b/clients/client-databrew/commands/ListSchedulesCommand.ts index 034e2b0a823a1..1d2084df430fb 100644 --- a/clients/client-databrew/commands/ListSchedulesCommand.ts +++ b/clients/client-databrew/commands/ListSchedulesCommand.ts @@ -28,7 +28,6 @@ export class ListSchedulesCommand extends $Command< ListSchedulesCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSchedulesCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/ListTagsForResourceCommand.ts b/clients/client-databrew/commands/ListTagsForResourceCommand.ts index c4a09f57c6612..46a2ef52919c1 100644 --- a/clients/client-databrew/commands/ListTagsForResourceCommand.ts +++ b/clients/client-databrew/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/PublishRecipeCommand.ts b/clients/client-databrew/commands/PublishRecipeCommand.ts index 2636c03a46128..92ab00805c3c7 100644 --- a/clients/client-databrew/commands/PublishRecipeCommand.ts +++ b/clients/client-databrew/commands/PublishRecipeCommand.ts @@ -29,7 +29,6 @@ export class PublishRecipeCommand extends $Command< PublishRecipeCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PublishRecipeCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/SendProjectSessionActionCommand.ts b/clients/client-databrew/commands/SendProjectSessionActionCommand.ts index db1190cef333c..fea3a5aba8a71 100644 --- a/clients/client-databrew/commands/SendProjectSessionActionCommand.ts +++ b/clients/client-databrew/commands/SendProjectSessionActionCommand.ts @@ -29,7 +29,6 @@ export class SendProjectSessionActionCommand extends $Command< SendProjectSessionActionCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SendProjectSessionActionCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/StartJobRunCommand.ts b/clients/client-databrew/commands/StartJobRunCommand.ts index 177ed5a30db97..730c530c03145 100644 --- a/clients/client-databrew/commands/StartJobRunCommand.ts +++ b/clients/client-databrew/commands/StartJobRunCommand.ts @@ -28,7 +28,6 @@ export class StartJobRunCommand extends $Command< StartJobRunCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartJobRunCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/StartProjectSessionCommand.ts b/clients/client-databrew/commands/StartProjectSessionCommand.ts index ab3b88194cef9..0b39c78585c31 100644 --- a/clients/client-databrew/commands/StartProjectSessionCommand.ts +++ b/clients/client-databrew/commands/StartProjectSessionCommand.ts @@ -29,7 +29,6 @@ export class StartProjectSessionCommand extends $Command< StartProjectSessionCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartProjectSessionCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/StopJobRunCommand.ts b/clients/client-databrew/commands/StopJobRunCommand.ts index bf8a8aee30e0a..f6dea6b914366 100644 --- a/clients/client-databrew/commands/StopJobRunCommand.ts +++ b/clients/client-databrew/commands/StopJobRunCommand.ts @@ -28,7 +28,6 @@ export class StopJobRunCommand extends $Command< StopJobRunCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopJobRunCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/TagResourceCommand.ts b/clients/client-databrew/commands/TagResourceCommand.ts index 70167daf6328c..194119406081b 100644 --- a/clients/client-databrew/commands/TagResourceCommand.ts +++ b/clients/client-databrew/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UntagResourceCommand.ts b/clients/client-databrew/commands/UntagResourceCommand.ts index 5152728bd90a6..7395b86c2e912 100644 --- a/clients/client-databrew/commands/UntagResourceCommand.ts +++ b/clients/client-databrew/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UpdateDatasetCommand.ts b/clients/client-databrew/commands/UpdateDatasetCommand.ts index a9a6eebf576f3..6d50d0b466681 100644 --- a/clients/client-databrew/commands/UpdateDatasetCommand.ts +++ b/clients/client-databrew/commands/UpdateDatasetCommand.ts @@ -29,7 +29,6 @@ export class UpdateDatasetCommand extends $Command< UpdateDatasetCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDatasetCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UpdateProfileJobCommand.ts b/clients/client-databrew/commands/UpdateProfileJobCommand.ts index 99b390285e52a..8f6f9dbcee682 100644 --- a/clients/client-databrew/commands/UpdateProfileJobCommand.ts +++ b/clients/client-databrew/commands/UpdateProfileJobCommand.ts @@ -29,7 +29,6 @@ export class UpdateProfileJobCommand extends $Command< UpdateProfileJobCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateProfileJobCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UpdateProjectCommand.ts b/clients/client-databrew/commands/UpdateProjectCommand.ts index 3eded4e72b843..094b8953db35f 100644 --- a/clients/client-databrew/commands/UpdateProjectCommand.ts +++ b/clients/client-databrew/commands/UpdateProjectCommand.ts @@ -29,7 +29,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateProjectCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UpdateRecipeCommand.ts b/clients/client-databrew/commands/UpdateRecipeCommand.ts index 2730a0bde9c1c..a612d7befcb9c 100644 --- a/clients/client-databrew/commands/UpdateRecipeCommand.ts +++ b/clients/client-databrew/commands/UpdateRecipeCommand.ts @@ -29,7 +29,6 @@ export class UpdateRecipeCommand extends $Command< UpdateRecipeCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateRecipeCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UpdateRecipeJobCommand.ts b/clients/client-databrew/commands/UpdateRecipeJobCommand.ts index 22bfb9c81c752..f9b7bef3d150e 100644 --- a/clients/client-databrew/commands/UpdateRecipeJobCommand.ts +++ b/clients/client-databrew/commands/UpdateRecipeJobCommand.ts @@ -29,7 +29,6 @@ export class UpdateRecipeJobCommand extends $Command< UpdateRecipeJobCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateRecipeJobCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-databrew/commands/UpdateScheduleCommand.ts b/clients/client-databrew/commands/UpdateScheduleCommand.ts index 59003f39bbae8..01413eced2a75 100644 --- a/clients/client-databrew/commands/UpdateScheduleCommand.ts +++ b/clients/client-databrew/commands/UpdateScheduleCommand.ts @@ -29,7 +29,6 @@ export class UpdateScheduleCommand extends $Command< UpdateScheduleCommandOutput, DataBrewClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateScheduleCommand extends $Command< configuration: DataBrewClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/CancelJobCommand.ts b/clients/client-dataexchange/commands/CancelJobCommand.ts index 23813c1db688e..69ceb50590da6 100644 --- a/clients/client-dataexchange/commands/CancelJobCommand.ts +++ b/clients/client-dataexchange/commands/CancelJobCommand.ts @@ -28,7 +28,6 @@ export class CancelJobCommand extends $Command< CancelJobCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelJobCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/CreateDataSetCommand.ts b/clients/client-dataexchange/commands/CreateDataSetCommand.ts index f3865db9ced91..c1e558990d321 100644 --- a/clients/client-dataexchange/commands/CreateDataSetCommand.ts +++ b/clients/client-dataexchange/commands/CreateDataSetCommand.ts @@ -28,7 +28,6 @@ export class CreateDataSetCommand extends $Command< CreateDataSetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDataSetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/CreateJobCommand.ts b/clients/client-dataexchange/commands/CreateJobCommand.ts index a1d393daa03c8..fd51b111e3378 100644 --- a/clients/client-dataexchange/commands/CreateJobCommand.ts +++ b/clients/client-dataexchange/commands/CreateJobCommand.ts @@ -28,7 +28,6 @@ export class CreateJobCommand extends $Command< CreateJobCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateJobCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/CreateRevisionCommand.ts b/clients/client-dataexchange/commands/CreateRevisionCommand.ts index 0b840cc918e79..aa674c7e8e9a6 100644 --- a/clients/client-dataexchange/commands/CreateRevisionCommand.ts +++ b/clients/client-dataexchange/commands/CreateRevisionCommand.ts @@ -28,7 +28,6 @@ export class CreateRevisionCommand extends $Command< CreateRevisionCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRevisionCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/DeleteAssetCommand.ts b/clients/client-dataexchange/commands/DeleteAssetCommand.ts index 6c11109cca5ab..e82dbe9dcfaa5 100644 --- a/clients/client-dataexchange/commands/DeleteAssetCommand.ts +++ b/clients/client-dataexchange/commands/DeleteAssetCommand.ts @@ -28,7 +28,6 @@ export class DeleteAssetCommand extends $Command< DeleteAssetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAssetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/DeleteDataSetCommand.ts b/clients/client-dataexchange/commands/DeleteDataSetCommand.ts index a0601a6bab8c4..a8a85c8629fc3 100644 --- a/clients/client-dataexchange/commands/DeleteDataSetCommand.ts +++ b/clients/client-dataexchange/commands/DeleteDataSetCommand.ts @@ -28,7 +28,6 @@ export class DeleteDataSetCommand extends $Command< DeleteDataSetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDataSetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/DeleteRevisionCommand.ts b/clients/client-dataexchange/commands/DeleteRevisionCommand.ts index f581a68cb8111..888050f829281 100644 --- a/clients/client-dataexchange/commands/DeleteRevisionCommand.ts +++ b/clients/client-dataexchange/commands/DeleteRevisionCommand.ts @@ -28,7 +28,6 @@ export class DeleteRevisionCommand extends $Command< DeleteRevisionCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRevisionCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/GetAssetCommand.ts b/clients/client-dataexchange/commands/GetAssetCommand.ts index cedbdfe32947d..d44c04b4e325e 100644 --- a/clients/client-dataexchange/commands/GetAssetCommand.ts +++ b/clients/client-dataexchange/commands/GetAssetCommand.ts @@ -28,7 +28,6 @@ export class GetAssetCommand extends $Command< GetAssetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAssetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/GetDataSetCommand.ts b/clients/client-dataexchange/commands/GetDataSetCommand.ts index bdfd473eeb00f..b552b19565120 100644 --- a/clients/client-dataexchange/commands/GetDataSetCommand.ts +++ b/clients/client-dataexchange/commands/GetDataSetCommand.ts @@ -28,7 +28,6 @@ export class GetDataSetCommand extends $Command< GetDataSetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataSetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/GetJobCommand.ts b/clients/client-dataexchange/commands/GetJobCommand.ts index 0799be9623c1f..d4ab3b37e82cc 100644 --- a/clients/client-dataexchange/commands/GetJobCommand.ts +++ b/clients/client-dataexchange/commands/GetJobCommand.ts @@ -21,7 +21,6 @@ export type GetJobCommandOutput = GetJobResponse & __MetadataBearer; *

This operation returns information about a job.

*/ 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-dataexchange/commands/GetRevisionCommand.ts b/clients/client-dataexchange/commands/GetRevisionCommand.ts index 8278717cf4843..1cb1454f2c20a 100644 --- a/clients/client-dataexchange/commands/GetRevisionCommand.ts +++ b/clients/client-dataexchange/commands/GetRevisionCommand.ts @@ -28,7 +28,6 @@ export class GetRevisionCommand extends $Command< GetRevisionCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRevisionCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts b/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts index 215383dc1b469..d20d3b796a9fc 100644 --- a/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts +++ b/clients/client-dataexchange/commands/ListDataSetRevisionsCommand.ts @@ -28,7 +28,6 @@ export class ListDataSetRevisionsCommand extends $Command< ListDataSetRevisionsCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataSetRevisionsCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/ListDataSetsCommand.ts b/clients/client-dataexchange/commands/ListDataSetsCommand.ts index 8a08652ddf228..8ea57ad775408 100644 --- a/clients/client-dataexchange/commands/ListDataSetsCommand.ts +++ b/clients/client-dataexchange/commands/ListDataSetsCommand.ts @@ -28,7 +28,6 @@ export class ListDataSetsCommand extends $Command< ListDataSetsCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataSetsCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/ListJobsCommand.ts b/clients/client-dataexchange/commands/ListJobsCommand.ts index 871724fb4208a..fb6621e429799 100644 --- a/clients/client-dataexchange/commands/ListJobsCommand.ts +++ b/clients/client-dataexchange/commands/ListJobsCommand.ts @@ -28,7 +28,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobsCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts b/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts index baf40afcd5754..9a1237bb62c62 100644 --- a/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts +++ b/clients/client-dataexchange/commands/ListRevisionAssetsCommand.ts @@ -28,7 +28,6 @@ export class ListRevisionAssetsCommand extends $Command< ListRevisionAssetsCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRevisionAssetsCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts b/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts index 07b69a79f91cd..8f9b4eb2f51e3 100644 --- a/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts +++ b/clients/client-dataexchange/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/StartJobCommand.ts b/clients/client-dataexchange/commands/StartJobCommand.ts index 2e38b27230592..69f12ad586f7a 100644 --- a/clients/client-dataexchange/commands/StartJobCommand.ts +++ b/clients/client-dataexchange/commands/StartJobCommand.ts @@ -28,7 +28,6 @@ export class StartJobCommand extends $Command< StartJobCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartJobCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/TagResourceCommand.ts b/clients/client-dataexchange/commands/TagResourceCommand.ts index 88ce839b0663d..9ba7cfbf54bf6 100644 --- a/clients/client-dataexchange/commands/TagResourceCommand.ts +++ b/clients/client-dataexchange/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/UntagResourceCommand.ts b/clients/client-dataexchange/commands/UntagResourceCommand.ts index 567af996d606f..defc61b8c641a 100644 --- a/clients/client-dataexchange/commands/UntagResourceCommand.ts +++ b/clients/client-dataexchange/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/UpdateAssetCommand.ts b/clients/client-dataexchange/commands/UpdateAssetCommand.ts index a45506816ebd2..a29ff709de337 100644 --- a/clients/client-dataexchange/commands/UpdateAssetCommand.ts +++ b/clients/client-dataexchange/commands/UpdateAssetCommand.ts @@ -28,7 +28,6 @@ export class UpdateAssetCommand extends $Command< UpdateAssetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAssetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/UpdateDataSetCommand.ts b/clients/client-dataexchange/commands/UpdateDataSetCommand.ts index 536cea0ddc38c..f2bcd33c08758 100644 --- a/clients/client-dataexchange/commands/UpdateDataSetCommand.ts +++ b/clients/client-dataexchange/commands/UpdateDataSetCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataSetCommand extends $Command< UpdateDataSetCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataSetCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dataexchange/commands/UpdateRevisionCommand.ts b/clients/client-dataexchange/commands/UpdateRevisionCommand.ts index aedb28b8a32cc..70de5fabbcd79 100644 --- a/clients/client-dataexchange/commands/UpdateRevisionCommand.ts +++ b/clients/client-dataexchange/commands/UpdateRevisionCommand.ts @@ -28,7 +28,6 @@ export class UpdateRevisionCommand extends $Command< UpdateRevisionCommandOutput, DataExchangeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRevisionCommand extends $Command< configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CancelTaskExecutionCommand.ts b/clients/client-datasync/commands/CancelTaskExecutionCommand.ts index 3628c6eb43d7b..0135f223a1d01 100644 --- a/clients/client-datasync/commands/CancelTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/CancelTaskExecutionCommand.ts @@ -35,7 +35,6 @@ export class CancelTaskExecutionCommand extends $Command< CancelTaskExecutionCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CancelTaskExecutionCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateAgentCommand.ts b/clients/client-datasync/commands/CreateAgentCommand.ts index 560f7f31f61ae..955fdceecc1fd 100644 --- a/clients/client-datasync/commands/CreateAgentCommand.ts +++ b/clients/client-datasync/commands/CreateAgentCommand.ts @@ -42,7 +42,6 @@ export class CreateAgentCommand extends $Command< CreateAgentCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateAgentCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateLocationEfsCommand.ts b/clients/client-datasync/commands/CreateLocationEfsCommand.ts index f4d1de5798301..ceadd81fe6e02 100644 --- a/clients/client-datasync/commands/CreateLocationEfsCommand.ts +++ b/clients/client-datasync/commands/CreateLocationEfsCommand.ts @@ -28,7 +28,6 @@ export class CreateLocationEfsCommand extends $Command< CreateLocationEfsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLocationEfsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateLocationFsxWindowsCommand.ts b/clients/client-datasync/commands/CreateLocationFsxWindowsCommand.ts index dd4ad235cdf25..0dfb6acfee396 100644 --- a/clients/client-datasync/commands/CreateLocationFsxWindowsCommand.ts +++ b/clients/client-datasync/commands/CreateLocationFsxWindowsCommand.ts @@ -28,7 +28,6 @@ export class CreateLocationFsxWindowsCommand extends $Command< CreateLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLocationFsxWindowsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateLocationNfsCommand.ts b/clients/client-datasync/commands/CreateLocationNfsCommand.ts index 26f9f40b2dc85..4d94bd164f9d3 100644 --- a/clients/client-datasync/commands/CreateLocationNfsCommand.ts +++ b/clients/client-datasync/commands/CreateLocationNfsCommand.ts @@ -29,7 +29,6 @@ export class CreateLocationNfsCommand extends $Command< CreateLocationNfsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateLocationNfsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateLocationObjectStorageCommand.ts b/clients/client-datasync/commands/CreateLocationObjectStorageCommand.ts index 73b90b56e6194..a28848e35badb 100644 --- a/clients/client-datasync/commands/CreateLocationObjectStorageCommand.ts +++ b/clients/client-datasync/commands/CreateLocationObjectStorageCommand.ts @@ -29,7 +29,6 @@ export class CreateLocationObjectStorageCommand extends $Command< CreateLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateLocationObjectStorageCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateLocationS3Command.ts b/clients/client-datasync/commands/CreateLocationS3Command.ts index 346587a02168d..1b201bf8c3bd3 100644 --- a/clients/client-datasync/commands/CreateLocationS3Command.ts +++ b/clients/client-datasync/commands/CreateLocationS3Command.ts @@ -34,7 +34,6 @@ export class CreateLocationS3Command extends $Command< CreateLocationS3CommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateLocationS3Command extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateLocationSmbCommand.ts b/clients/client-datasync/commands/CreateLocationSmbCommand.ts index 4267ea43bfbfa..deebbe7208888 100644 --- a/clients/client-datasync/commands/CreateLocationSmbCommand.ts +++ b/clients/client-datasync/commands/CreateLocationSmbCommand.ts @@ -29,7 +29,6 @@ export class CreateLocationSmbCommand extends $Command< CreateLocationSmbCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateLocationSmbCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/CreateTaskCommand.ts b/clients/client-datasync/commands/CreateTaskCommand.ts index 44a7c55155211..483a50e8fa169 100644 --- a/clients/client-datasync/commands/CreateTaskCommand.ts +++ b/clients/client-datasync/commands/CreateTaskCommand.ts @@ -39,7 +39,6 @@ export class CreateTaskCommand extends $Command< CreateTaskCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateTaskCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DeleteAgentCommand.ts b/clients/client-datasync/commands/DeleteAgentCommand.ts index b218d7ccb23ab..ae541733044c8 100644 --- a/clients/client-datasync/commands/DeleteAgentCommand.ts +++ b/clients/client-datasync/commands/DeleteAgentCommand.ts @@ -31,7 +31,6 @@ export class DeleteAgentCommand extends $Command< DeleteAgentCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteAgentCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DeleteLocationCommand.ts b/clients/client-datasync/commands/DeleteLocationCommand.ts index 96515b4066cf1..6da86f9ae5862 100644 --- a/clients/client-datasync/commands/DeleteLocationCommand.ts +++ b/clients/client-datasync/commands/DeleteLocationCommand.ts @@ -28,7 +28,6 @@ export class DeleteLocationCommand extends $Command< DeleteLocationCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLocationCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DeleteTaskCommand.ts b/clients/client-datasync/commands/DeleteTaskCommand.ts index 5b1bb1b09f4ef..b6bce86d85453 100644 --- a/clients/client-datasync/commands/DeleteTaskCommand.ts +++ b/clients/client-datasync/commands/DeleteTaskCommand.ts @@ -28,7 +28,6 @@ export class DeleteTaskCommand extends $Command< DeleteTaskCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTaskCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeAgentCommand.ts b/clients/client-datasync/commands/DescribeAgentCommand.ts index 15076670ed98f..071ea6561a2ab 100644 --- a/clients/client-datasync/commands/DescribeAgentCommand.ts +++ b/clients/client-datasync/commands/DescribeAgentCommand.ts @@ -30,7 +30,6 @@ export class DescribeAgentCommand extends $Command< DescribeAgentCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAgentCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeLocationEfsCommand.ts b/clients/client-datasync/commands/DescribeLocationEfsCommand.ts index 9b686c6fb4948..a311fae827665 100644 --- a/clients/client-datasync/commands/DescribeLocationEfsCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationEfsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLocationEfsCommand extends $Command< DescribeLocationEfsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLocationEfsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeLocationFsxWindowsCommand.ts b/clients/client-datasync/commands/DescribeLocationFsxWindowsCommand.ts index 92bf42b003f64..588c649a54e38 100644 --- a/clients/client-datasync/commands/DescribeLocationFsxWindowsCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationFsxWindowsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLocationFsxWindowsCommand extends $Command< DescribeLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLocationFsxWindowsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeLocationNfsCommand.ts b/clients/client-datasync/commands/DescribeLocationNfsCommand.ts index 60d9f0b717336..c9555e306fdef 100644 --- a/clients/client-datasync/commands/DescribeLocationNfsCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationNfsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLocationNfsCommand extends $Command< DescribeLocationNfsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLocationNfsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeLocationObjectStorageCommand.ts b/clients/client-datasync/commands/DescribeLocationObjectStorageCommand.ts index 930a1be8e26dd..d03279a098d11 100644 --- a/clients/client-datasync/commands/DescribeLocationObjectStorageCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationObjectStorageCommand.ts @@ -29,7 +29,6 @@ export class DescribeLocationObjectStorageCommand extends $Command< DescribeLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeLocationObjectStorageCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeLocationS3Command.ts b/clients/client-datasync/commands/DescribeLocationS3Command.ts index 66cfcc3e895d9..bfc28f946e6b9 100644 --- a/clients/client-datasync/commands/DescribeLocationS3Command.ts +++ b/clients/client-datasync/commands/DescribeLocationS3Command.ts @@ -28,7 +28,6 @@ export class DescribeLocationS3Command extends $Command< DescribeLocationS3CommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLocationS3Command extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeLocationSmbCommand.ts b/clients/client-datasync/commands/DescribeLocationSmbCommand.ts index 8a2324b58df86..8893927347daa 100644 --- a/clients/client-datasync/commands/DescribeLocationSmbCommand.ts +++ b/clients/client-datasync/commands/DescribeLocationSmbCommand.ts @@ -28,7 +28,6 @@ export class DescribeLocationSmbCommand extends $Command< DescribeLocationSmbCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLocationSmbCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeTaskCommand.ts b/clients/client-datasync/commands/DescribeTaskCommand.ts index f24173050d975..6dfffc4085a30 100644 --- a/clients/client-datasync/commands/DescribeTaskCommand.ts +++ b/clients/client-datasync/commands/DescribeTaskCommand.ts @@ -28,7 +28,6 @@ export class DescribeTaskCommand extends $Command< DescribeTaskCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTaskCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts b/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts index a31786711362b..e91363fa0aa86 100644 --- a/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/DescribeTaskExecutionCommand.ts @@ -28,7 +28,6 @@ export class DescribeTaskExecutionCommand extends $Command< DescribeTaskExecutionCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTaskExecutionCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/ListAgentsCommand.ts b/clients/client-datasync/commands/ListAgentsCommand.ts index 40405848af65d..511cfd1ca4dad 100644 --- a/clients/client-datasync/commands/ListAgentsCommand.ts +++ b/clients/client-datasync/commands/ListAgentsCommand.ts @@ -35,7 +35,6 @@ export class ListAgentsCommand extends $Command< ListAgentsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListAgentsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/ListLocationsCommand.ts b/clients/client-datasync/commands/ListLocationsCommand.ts index 5ac4825aa9fba..219d287dd294d 100644 --- a/clients/client-datasync/commands/ListLocationsCommand.ts +++ b/clients/client-datasync/commands/ListLocationsCommand.ts @@ -31,7 +31,6 @@ export class ListLocationsCommand extends $Command< ListLocationsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListLocationsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/ListTagsForResourceCommand.ts b/clients/client-datasync/commands/ListTagsForResourceCommand.ts index 9633f328f336a..45662ab3e944a 100644 --- a/clients/client-datasync/commands/ListTagsForResourceCommand.ts +++ b/clients/client-datasync/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/ListTaskExecutionsCommand.ts b/clients/client-datasync/commands/ListTaskExecutionsCommand.ts index 4214cfa7868d9..729b1e5c661b8 100644 --- a/clients/client-datasync/commands/ListTaskExecutionsCommand.ts +++ b/clients/client-datasync/commands/ListTaskExecutionsCommand.ts @@ -28,7 +28,6 @@ export class ListTaskExecutionsCommand extends $Command< ListTaskExecutionsCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTaskExecutionsCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/ListTasksCommand.ts b/clients/client-datasync/commands/ListTasksCommand.ts index a2949cd7714f2..800b06b5d0800 100644 --- a/clients/client-datasync/commands/ListTasksCommand.ts +++ b/clients/client-datasync/commands/ListTasksCommand.ts @@ -25,7 +25,6 @@ export class ListTasksCommand extends $Command< ListTasksCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTasksCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/StartTaskExecutionCommand.ts b/clients/client-datasync/commands/StartTaskExecutionCommand.ts index ba81657eff5c6..001092dcd5ac4 100644 --- a/clients/client-datasync/commands/StartTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/StartTaskExecutionCommand.ts @@ -36,7 +36,6 @@ export class StartTaskExecutionCommand extends $Command< StartTaskExecutionCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartTaskExecutionCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/TagResourceCommand.ts b/clients/client-datasync/commands/TagResourceCommand.ts index b445e3468d88e..866c5b071c7fa 100644 --- a/clients/client-datasync/commands/TagResourceCommand.ts +++ b/clients/client-datasync/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/UntagResourceCommand.ts b/clients/client-datasync/commands/UntagResourceCommand.ts index 97bc153dec95c..f8833388861c5 100644 --- a/clients/client-datasync/commands/UntagResourceCommand.ts +++ b/clients/client-datasync/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/UpdateAgentCommand.ts b/clients/client-datasync/commands/UpdateAgentCommand.ts index a98008be38c2d..fabbbb89994a1 100644 --- a/clients/client-datasync/commands/UpdateAgentCommand.ts +++ b/clients/client-datasync/commands/UpdateAgentCommand.ts @@ -28,7 +28,6 @@ export class UpdateAgentCommand extends $Command< UpdateAgentCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAgentCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/UpdateTaskCommand.ts b/clients/client-datasync/commands/UpdateTaskCommand.ts index bfea472f219ea..1d0271416c1e0 100644 --- a/clients/client-datasync/commands/UpdateTaskCommand.ts +++ b/clients/client-datasync/commands/UpdateTaskCommand.ts @@ -28,7 +28,6 @@ export class UpdateTaskCommand extends $Command< UpdateTaskCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTaskCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts b/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts index 66769a188cd06..d8e6cfccec4a9 100644 --- a/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts +++ b/clients/client-datasync/commands/UpdateTaskExecutionCommand.ts @@ -37,7 +37,6 @@ export class UpdateTaskExecutionCommand extends $Command< UpdateTaskExecutionCommandOutput, DataSyncClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateTaskExecutionCommand extends $Command< configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/CreateClusterCommand.ts b/clients/client-dax/commands/CreateClusterCommand.ts index 21036af6fc6b7..152d0dd73e012 100644 --- a/clients/client-dax/commands/CreateClusterCommand.ts +++ b/clients/client-dax/commands/CreateClusterCommand.ts @@ -28,7 +28,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateClusterCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/CreateParameterGroupCommand.ts b/clients/client-dax/commands/CreateParameterGroupCommand.ts index bf12442b6588e..fe48c34c8dd10 100644 --- a/clients/client-dax/commands/CreateParameterGroupCommand.ts +++ b/clients/client-dax/commands/CreateParameterGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateParameterGroupCommand extends $Command< CreateParameterGroupCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateParameterGroupCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/CreateSubnetGroupCommand.ts b/clients/client-dax/commands/CreateSubnetGroupCommand.ts index c9b77023ebd28..3dcfd80e18e31 100644 --- a/clients/client-dax/commands/CreateSubnetGroupCommand.ts +++ b/clients/client-dax/commands/CreateSubnetGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateSubnetGroupCommand extends $Command< CreateSubnetGroupCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSubnetGroupCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts b/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts index 25337741dee48..ba3b284e63e1b 100644 --- a/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts +++ b/clients/client-dax/commands/DecreaseReplicationFactorCommand.ts @@ -31,7 +31,6 @@ export class DecreaseReplicationFactorCommand extends $Command< DecreaseReplicationFactorCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DecreaseReplicationFactorCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DeleteClusterCommand.ts b/clients/client-dax/commands/DeleteClusterCommand.ts index a5584976b39dd..8dbd51eb4072e 100644 --- a/clients/client-dax/commands/DeleteClusterCommand.ts +++ b/clients/client-dax/commands/DeleteClusterCommand.ts @@ -32,7 +32,6 @@ export class DeleteClusterCommand extends $Command< DeleteClusterCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteClusterCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DeleteParameterGroupCommand.ts b/clients/client-dax/commands/DeleteParameterGroupCommand.ts index 45e413007c8c1..0492525ab5711 100644 --- a/clients/client-dax/commands/DeleteParameterGroupCommand.ts +++ b/clients/client-dax/commands/DeleteParameterGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteParameterGroupCommand extends $Command< DeleteParameterGroupCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteParameterGroupCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DeleteSubnetGroupCommand.ts b/clients/client-dax/commands/DeleteSubnetGroupCommand.ts index a44d0edc3458c..bf930c95c8c88 100644 --- a/clients/client-dax/commands/DeleteSubnetGroupCommand.ts +++ b/clients/client-dax/commands/DeleteSubnetGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteSubnetGroupCommand extends $Command< DeleteSubnetGroupCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteSubnetGroupCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DescribeClustersCommand.ts b/clients/client-dax/commands/DescribeClustersCommand.ts index 0dad06b6e2a9d..4731c6482efc5 100644 --- a/clients/client-dax/commands/DescribeClustersCommand.ts +++ b/clients/client-dax/commands/DescribeClustersCommand.ts @@ -40,7 +40,6 @@ export class DescribeClustersCommand extends $Command< DescribeClustersCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeClustersCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DescribeDefaultParametersCommand.ts b/clients/client-dax/commands/DescribeDefaultParametersCommand.ts index cdc01368d851c..66218920a8109 100644 --- a/clients/client-dax/commands/DescribeDefaultParametersCommand.ts +++ b/clients/client-dax/commands/DescribeDefaultParametersCommand.ts @@ -29,7 +29,6 @@ export class DescribeDefaultParametersCommand extends $Command< DescribeDefaultParametersCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDefaultParametersCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DescribeEventsCommand.ts b/clients/client-dax/commands/DescribeEventsCommand.ts index 275db4babc5ca..67e6ddcf7f6ee 100644 --- a/clients/client-dax/commands/DescribeEventsCommand.ts +++ b/clients/client-dax/commands/DescribeEventsCommand.ts @@ -32,7 +32,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEventsCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DescribeParameterGroupsCommand.ts b/clients/client-dax/commands/DescribeParameterGroupsCommand.ts index df7a4fbba0caa..15bf0c67e4f4b 100644 --- a/clients/client-dax/commands/DescribeParameterGroupsCommand.ts +++ b/clients/client-dax/commands/DescribeParameterGroupsCommand.ts @@ -29,7 +29,6 @@ export class DescribeParameterGroupsCommand extends $Command< DescribeParameterGroupsCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeParameterGroupsCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DescribeParametersCommand.ts b/clients/client-dax/commands/DescribeParametersCommand.ts index 2d12208b90eff..e4ac631606884 100644 --- a/clients/client-dax/commands/DescribeParametersCommand.ts +++ b/clients/client-dax/commands/DescribeParametersCommand.ts @@ -28,7 +28,6 @@ export class DescribeParametersCommand extends $Command< DescribeParametersCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeParametersCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts b/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts index e0695f76857b3..738f956d23f35 100644 --- a/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts +++ b/clients/client-dax/commands/DescribeSubnetGroupsCommand.ts @@ -29,7 +29,6 @@ export class DescribeSubnetGroupsCommand extends $Command< DescribeSubnetGroupsCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSubnetGroupsCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts b/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts index b409c9276db89..263e15a435bd4 100644 --- a/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts +++ b/clients/client-dax/commands/IncreaseReplicationFactorCommand.ts @@ -28,7 +28,6 @@ export class IncreaseReplicationFactorCommand extends $Command< IncreaseReplicationFactorCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class IncreaseReplicationFactorCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/ListTagsCommand.ts b/clients/client-dax/commands/ListTagsCommand.ts index 832428be2cde1..350caa267a937 100644 --- a/clients/client-dax/commands/ListTagsCommand.ts +++ b/clients/client-dax/commands/ListTagsCommand.ts @@ -22,7 +22,6 @@ export type ListTagsCommandOutput = ListTagsResponse & __MetadataBearer; * 10 times per second, per account.

*/ export class ListTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,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-dax/commands/RebootNodeCommand.ts b/clients/client-dax/commands/RebootNodeCommand.ts index 5607f090c5fc3..4e9af727d2411 100644 --- a/clients/client-dax/commands/RebootNodeCommand.ts +++ b/clients/client-dax/commands/RebootNodeCommand.ts @@ -34,7 +34,6 @@ export class RebootNodeCommand extends $Command< RebootNodeCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RebootNodeCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/TagResourceCommand.ts b/clients/client-dax/commands/TagResourceCommand.ts index 04eebad44f667..9d1bb0e6b0828 100644 --- a/clients/client-dax/commands/TagResourceCommand.ts +++ b/clients/client-dax/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/UntagResourceCommand.ts b/clients/client-dax/commands/UntagResourceCommand.ts index c7b4cc92f7f52..4139048077f4a 100644 --- a/clients/client-dax/commands/UntagResourceCommand.ts +++ b/clients/client-dax/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/UpdateClusterCommand.ts b/clients/client-dax/commands/UpdateClusterCommand.ts index becacd24d8f99..e34f65fb7e151 100644 --- a/clients/client-dax/commands/UpdateClusterCommand.ts +++ b/clients/client-dax/commands/UpdateClusterCommand.ts @@ -30,7 +30,6 @@ export class UpdateClusterCommand extends $Command< UpdateClusterCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateClusterCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/UpdateParameterGroupCommand.ts b/clients/client-dax/commands/UpdateParameterGroupCommand.ts index 0059788b70fb0..71b8252f87f79 100644 --- a/clients/client-dax/commands/UpdateParameterGroupCommand.ts +++ b/clients/client-dax/commands/UpdateParameterGroupCommand.ts @@ -30,7 +30,6 @@ export class UpdateParameterGroupCommand extends $Command< UpdateParameterGroupCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateParameterGroupCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dax/commands/UpdateSubnetGroupCommand.ts b/clients/client-dax/commands/UpdateSubnetGroupCommand.ts index 8a69af179a225..e910674405e8c 100644 --- a/clients/client-dax/commands/UpdateSubnetGroupCommand.ts +++ b/clients/client-dax/commands/UpdateSubnetGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateSubnetGroupCommand extends $Command< UpdateSubnetGroupCommandOutput, DAXClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSubnetGroupCommand extends $Command< configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/AcceptInvitationCommand.ts b/clients/client-detective/commands/AcceptInvitationCommand.ts index 6909d3e0b3142..d62ad8e04f4bc 100644 --- a/clients/client-detective/commands/AcceptInvitationCommand.ts +++ b/clients/client-detective/commands/AcceptInvitationCommand.ts @@ -31,7 +31,6 @@ export class AcceptInvitationCommand extends $Command< AcceptInvitationCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AcceptInvitationCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/CreateGraphCommand.ts b/clients/client-detective/commands/CreateGraphCommand.ts index c04b7b7a0a2e0..f01d39afa2c88 100644 --- a/clients/client-detective/commands/CreateGraphCommand.ts +++ b/clients/client-detective/commands/CreateGraphCommand.ts @@ -42,7 +42,6 @@ export class CreateGraphCommand extends $Command< CreateGraphCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateGraphCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/CreateMembersCommand.ts b/clients/client-detective/commands/CreateMembersCommand.ts index d4e56158ff41f..3137ac4bb793e 100644 --- a/clients/client-detective/commands/CreateMembersCommand.ts +++ b/clients/client-detective/commands/CreateMembersCommand.ts @@ -48,7 +48,6 @@ export class CreateMembersCommand extends $Command< CreateMembersCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateMembersCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/DeleteGraphCommand.ts b/clients/client-detective/commands/DeleteGraphCommand.ts index c50c11f24ca9f..fcaa403cd3639 100644 --- a/clients/client-detective/commands/DeleteGraphCommand.ts +++ b/clients/client-detective/commands/DeleteGraphCommand.ts @@ -32,7 +32,6 @@ export class DeleteGraphCommand extends $Command< DeleteGraphCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteGraphCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/DeleteMembersCommand.ts b/clients/client-detective/commands/DeleteMembersCommand.ts index da4d0460f803f..2fcbf3ce99920 100644 --- a/clients/client-detective/commands/DeleteMembersCommand.ts +++ b/clients/client-detective/commands/DeleteMembersCommand.ts @@ -32,7 +32,6 @@ export class DeleteMembersCommand extends $Command< DeleteMembersCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteMembersCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/DisassociateMembershipCommand.ts b/clients/client-detective/commands/DisassociateMembershipCommand.ts index 0a444d9faeb34..821f382eaa77b 100644 --- a/clients/client-detective/commands/DisassociateMembershipCommand.ts +++ b/clients/client-detective/commands/DisassociateMembershipCommand.ts @@ -29,7 +29,6 @@ export class DisassociateMembershipCommand extends $Command< DisassociateMembershipCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateMembershipCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/GetMembersCommand.ts b/clients/client-detective/commands/GetMembersCommand.ts index 719a592965101..781adf5c9ed58 100644 --- a/clients/client-detective/commands/GetMembersCommand.ts +++ b/clients/client-detective/commands/GetMembersCommand.ts @@ -29,7 +29,6 @@ export class GetMembersCommand extends $Command< GetMembersCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetMembersCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/ListGraphsCommand.ts b/clients/client-detective/commands/ListGraphsCommand.ts index 1fb28c8d9c856..c5a4cb71ec299 100644 --- a/clients/client-detective/commands/ListGraphsCommand.ts +++ b/clients/client-detective/commands/ListGraphsCommand.ts @@ -31,7 +31,6 @@ export class ListGraphsCommand extends $Command< ListGraphsCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListGraphsCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/ListInvitationsCommand.ts b/clients/client-detective/commands/ListInvitationsCommand.ts index 8209ce0f59c8f..ba71994271973 100644 --- a/clients/client-detective/commands/ListInvitationsCommand.ts +++ b/clients/client-detective/commands/ListInvitationsCommand.ts @@ -33,7 +33,6 @@ export class ListInvitationsCommand extends $Command< ListInvitationsCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListInvitationsCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/ListMembersCommand.ts b/clients/client-detective/commands/ListMembersCommand.ts index 33d714ec378a1..5c845900bed9d 100644 --- a/clients/client-detective/commands/ListMembersCommand.ts +++ b/clients/client-detective/commands/ListMembersCommand.ts @@ -29,7 +29,6 @@ export class ListMembersCommand extends $Command< ListMembersCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListMembersCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/RejectInvitationCommand.ts b/clients/client-detective/commands/RejectInvitationCommand.ts index 993620c8d0ed1..ef628282de3b8 100644 --- a/clients/client-detective/commands/RejectInvitationCommand.ts +++ b/clients/client-detective/commands/RejectInvitationCommand.ts @@ -29,7 +29,6 @@ export class RejectInvitationCommand extends $Command< RejectInvitationCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RejectInvitationCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-detective/commands/StartMonitoringMemberCommand.ts b/clients/client-detective/commands/StartMonitoringMemberCommand.ts index 133f627553e03..3f3d7bcf427fa 100644 --- a/clients/client-detective/commands/StartMonitoringMemberCommand.ts +++ b/clients/client-detective/commands/StartMonitoringMemberCommand.ts @@ -40,7 +40,6 @@ export class StartMonitoringMemberCommand extends $Command< StartMonitoringMemberCommandOutput, DetectiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class StartMonitoringMemberCommand extends $Command< configuration: DetectiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateDevicePoolCommand.ts b/clients/client-device-farm/commands/CreateDevicePoolCommand.ts index 9007ffe898d05..00504877cedf8 100644 --- a/clients/client-device-farm/commands/CreateDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/CreateDevicePoolCommand.ts @@ -28,7 +28,6 @@ export class CreateDevicePoolCommand extends $Command< CreateDevicePoolCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDevicePoolCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts b/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts index 07b46f004b427..a8abfc10907cf 100644 --- a/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/CreateInstanceProfileCommand.ts @@ -29,7 +29,6 @@ export class CreateInstanceProfileCommand extends $Command< CreateInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateInstanceProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts b/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts index b96a298119440..301eba6a24b3b 100644 --- a/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/CreateNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class CreateNetworkProfileCommand extends $Command< CreateNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateNetworkProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateProjectCommand.ts b/clients/client-device-farm/commands/CreateProjectCommand.ts index f4c7d24436455..458bbbc28328f 100644 --- a/clients/client-device-farm/commands/CreateProjectCommand.ts +++ b/clients/client-device-farm/commands/CreateProjectCommand.ts @@ -28,7 +28,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts index fe15c269e2999..2c0a345f3e17f 100644 --- a/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/CreateRemoteAccessSessionCommand.ts @@ -28,7 +28,6 @@ export class CreateRemoteAccessSessionCommand extends $Command< CreateRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRemoteAccessSessionCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts b/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts index bbff3a1be0ac6..d21295ad2e32e 100644 --- a/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/CreateTestGridProjectCommand.ts @@ -29,7 +29,6 @@ export class CreateTestGridProjectCommand extends $Command< CreateTestGridProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTestGridProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts b/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts index 169ab52a5df11..447f17bb83941 100644 --- a/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts +++ b/clients/client-device-farm/commands/CreateTestGridUrlCommand.ts @@ -29,7 +29,6 @@ export class CreateTestGridUrlCommand extends $Command< CreateTestGridUrlCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTestGridUrlCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateUploadCommand.ts b/clients/client-device-farm/commands/CreateUploadCommand.ts index c102c3b5cc0a7..51953f0eaccb4 100644 --- a/clients/client-device-farm/commands/CreateUploadCommand.ts +++ b/clients/client-device-farm/commands/CreateUploadCommand.ts @@ -28,7 +28,6 @@ export class CreateUploadCommand extends $Command< CreateUploadCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUploadCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts index aa41081254d3e..c380d58a8d4a6 100644 --- a/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/CreateVPCEConfigurationCommand.ts @@ -29,7 +29,6 @@ export class CreateVPCEConfigurationCommand extends $Command< CreateVPCEConfigurationCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateVPCEConfigurationCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts b/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts index 58af42e7f4faf..edba29fd2fccd 100644 --- a/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/DeleteDevicePoolCommand.ts @@ -29,7 +29,6 @@ export class DeleteDevicePoolCommand extends $Command< DeleteDevicePoolCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDevicePoolCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts b/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts index 5af4ae58f6d97..104ac1c28ed0d 100644 --- a/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/DeleteInstanceProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteInstanceProfileCommand extends $Command< DeleteInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteInstanceProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts b/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts index f593693b14866..a19ccb95e8e3a 100644 --- a/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/DeleteNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteNetworkProfileCommand extends $Command< DeleteNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNetworkProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteProjectCommand.ts b/clients/client-device-farm/commands/DeleteProjectCommand.ts index 3d155dc09ce29..7113b329dbd57 100644 --- a/clients/client-device-farm/commands/DeleteProjectCommand.ts +++ b/clients/client-device-farm/commands/DeleteProjectCommand.ts @@ -29,7 +29,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts index 81bc3844c5acd..36f5f478ee16d 100644 --- a/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/DeleteRemoteAccessSessionCommand.ts @@ -28,7 +28,6 @@ export class DeleteRemoteAccessSessionCommand extends $Command< DeleteRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRemoteAccessSessionCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteRunCommand.ts b/clients/client-device-farm/commands/DeleteRunCommand.ts index f9a3964d9ec76..8ed6809218b6e 100644 --- a/clients/client-device-farm/commands/DeleteRunCommand.ts +++ b/clients/client-device-farm/commands/DeleteRunCommand.ts @@ -26,7 +26,6 @@ export class DeleteRunCommand extends $Command< DeleteRunCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DeleteRunCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts b/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts index 4c6d99bdf51ca..0391d5984ed3d 100644 --- a/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/DeleteTestGridProjectCommand.ts @@ -34,7 +34,6 @@ export class DeleteTestGridProjectCommand extends $Command< DeleteTestGridProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteTestGridProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteUploadCommand.ts b/clients/client-device-farm/commands/DeleteUploadCommand.ts index a699b74348407..9008d9fb21f78 100644 --- a/clients/client-device-farm/commands/DeleteUploadCommand.ts +++ b/clients/client-device-farm/commands/DeleteUploadCommand.ts @@ -28,7 +28,6 @@ export class DeleteUploadCommand extends $Command< DeleteUploadCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUploadCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts index db3f4d9e973c4..640f467a722de 100644 --- a/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/DeleteVPCEConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteVPCEConfigurationCommand extends $Command< DeleteVPCEConfigurationCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVPCEConfigurationCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetAccountSettingsCommand.ts b/clients/client-device-farm/commands/GetAccountSettingsCommand.ts index 8081555164602..09b02952c3df8 100644 --- a/clients/client-device-farm/commands/GetAccountSettingsCommand.ts +++ b/clients/client-device-farm/commands/GetAccountSettingsCommand.ts @@ -29,7 +29,6 @@ export class GetAccountSettingsCommand extends $Command< GetAccountSettingsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAccountSettingsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetDeviceCommand.ts b/clients/client-device-farm/commands/GetDeviceCommand.ts index 747515299e8fc..b069ca985e13d 100644 --- a/clients/client-device-farm/commands/GetDeviceCommand.ts +++ b/clients/client-device-farm/commands/GetDeviceCommand.ts @@ -25,7 +25,6 @@ export class GetDeviceCommand extends $Command< GetDeviceCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDeviceCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts b/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts index 81b1962f24ec4..a7fa5a74b384c 100644 --- a/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts +++ b/clients/client-device-farm/commands/GetDeviceInstanceCommand.ts @@ -28,7 +28,6 @@ export class GetDeviceInstanceCommand extends $Command< GetDeviceInstanceCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeviceInstanceCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetDevicePoolCommand.ts b/clients/client-device-farm/commands/GetDevicePoolCommand.ts index f12e30ccb42b4..e3af30ee96992 100644 --- a/clients/client-device-farm/commands/GetDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/GetDevicePoolCommand.ts @@ -28,7 +28,6 @@ export class GetDevicePoolCommand extends $Command< GetDevicePoolCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDevicePoolCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts b/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts index 74bd031179830..ca5e2f31622b0 100644 --- a/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts +++ b/clients/client-device-farm/commands/GetDevicePoolCompatibilityCommand.ts @@ -28,7 +28,6 @@ export class GetDevicePoolCompatibilityCommand extends $Command< GetDevicePoolCompatibilityCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDevicePoolCompatibilityCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetInstanceProfileCommand.ts b/clients/client-device-farm/commands/GetInstanceProfileCommand.ts index 36fc52221de5d..b23e327f72c87 100644 --- a/clients/client-device-farm/commands/GetInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/GetInstanceProfileCommand.ts @@ -28,7 +28,6 @@ export class GetInstanceProfileCommand extends $Command< GetInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInstanceProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetJobCommand.ts b/clients/client-device-farm/commands/GetJobCommand.ts index 3bf73e9f60759..5914765bfc83b 100644 --- a/clients/client-device-farm/commands/GetJobCommand.ts +++ b/clients/client-device-farm/commands/GetJobCommand.ts @@ -21,7 +21,6 @@ export type GetJobCommandOutput = GetJobResult & __MetadataBearer; *

Gets information about a job.

*/ 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-device-farm/commands/GetNetworkProfileCommand.ts b/clients/client-device-farm/commands/GetNetworkProfileCommand.ts index 4b3224e61f91b..343cf9ba8a1ea 100644 --- a/clients/client-device-farm/commands/GetNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/GetNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class GetNetworkProfileCommand extends $Command< GetNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetNetworkProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetOfferingStatusCommand.ts b/clients/client-device-farm/commands/GetOfferingStatusCommand.ts index abe14820977a8..1ef6285b9b79e 100644 --- a/clients/client-device-farm/commands/GetOfferingStatusCommand.ts +++ b/clients/client-device-farm/commands/GetOfferingStatusCommand.ts @@ -31,7 +31,6 @@ export class GetOfferingStatusCommand extends $Command< GetOfferingStatusCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetOfferingStatusCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetProjectCommand.ts b/clients/client-device-farm/commands/GetProjectCommand.ts index 61df8edff0c05..328ad7abe221a 100644 --- a/clients/client-device-farm/commands/GetProjectCommand.ts +++ b/clients/client-device-farm/commands/GetProjectCommand.ts @@ -28,7 +28,6 @@ export class GetProjectCommand extends $Command< GetProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts index 84b2b09cfd8f7..e8d0680a382bd 100644 --- a/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/GetRemoteAccessSessionCommand.ts @@ -28,7 +28,6 @@ export class GetRemoteAccessSessionCommand extends $Command< GetRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRemoteAccessSessionCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetRunCommand.ts b/clients/client-device-farm/commands/GetRunCommand.ts index 6c0d39dbcea32..7516c88b1dc5e 100644 --- a/clients/client-device-farm/commands/GetRunCommand.ts +++ b/clients/client-device-farm/commands/GetRunCommand.ts @@ -21,7 +21,6 @@ export type GetRunCommandOutput = GetRunResult & __MetadataBearer; *

Gets information about a run.

*/ export class GetRunCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetRunCommand 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-device-farm/commands/GetSuiteCommand.ts b/clients/client-device-farm/commands/GetSuiteCommand.ts index d596f184d72e7..08effbf4d3719 100644 --- a/clients/client-device-farm/commands/GetSuiteCommand.ts +++ b/clients/client-device-farm/commands/GetSuiteCommand.ts @@ -25,7 +25,6 @@ export class GetSuiteCommand extends $Command< GetSuiteCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetSuiteCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetTestCommand.ts b/clients/client-device-farm/commands/GetTestCommand.ts index b9b0ea99738a8..86ed875577d51 100644 --- a/clients/client-device-farm/commands/GetTestCommand.ts +++ b/clients/client-device-farm/commands/GetTestCommand.ts @@ -25,7 +25,6 @@ export class GetTestCommand extends $Command< GetTestCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetTestCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetTestGridProjectCommand.ts b/clients/client-device-farm/commands/GetTestGridProjectCommand.ts index 10b3d3415b2b6..caad3bffe7a0b 100644 --- a/clients/client-device-farm/commands/GetTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/GetTestGridProjectCommand.ts @@ -28,7 +28,6 @@ export class GetTestGridProjectCommand extends $Command< GetTestGridProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTestGridProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetTestGridSessionCommand.ts b/clients/client-device-farm/commands/GetTestGridSessionCommand.ts index cd300ee13fc83..67ae175d75331 100644 --- a/clients/client-device-farm/commands/GetTestGridSessionCommand.ts +++ b/clients/client-device-farm/commands/GetTestGridSessionCommand.ts @@ -37,7 +37,6 @@ export class GetTestGridSessionCommand extends $Command< GetTestGridSessionCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetTestGridSessionCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetUploadCommand.ts b/clients/client-device-farm/commands/GetUploadCommand.ts index 497003247c627..dc27015935971 100644 --- a/clients/client-device-farm/commands/GetUploadCommand.ts +++ b/clients/client-device-farm/commands/GetUploadCommand.ts @@ -25,7 +25,6 @@ export class GetUploadCommand extends $Command< GetUploadCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetUploadCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts index dcac950ffa98e..24bb3215d2abb 100644 --- a/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/GetVPCEConfigurationCommand.ts @@ -29,7 +29,6 @@ export class GetVPCEConfigurationCommand extends $Command< GetVPCEConfigurationCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetVPCEConfigurationCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts index d1c0202884d4e..a2ba30dc1e25c 100644 --- a/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/InstallToRemoteAccessSessionCommand.ts @@ -30,7 +30,6 @@ export class InstallToRemoteAccessSessionCommand extends $Command< InstallToRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class InstallToRemoteAccessSessionCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListArtifactsCommand.ts b/clients/client-device-farm/commands/ListArtifactsCommand.ts index f92b1329c8a2a..309d3fc274f1d 100644 --- a/clients/client-device-farm/commands/ListArtifactsCommand.ts +++ b/clients/client-device-farm/commands/ListArtifactsCommand.ts @@ -28,7 +28,6 @@ export class ListArtifactsCommand extends $Command< ListArtifactsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListArtifactsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts b/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts index 69f2e690b2237..54e1cf86190c3 100644 --- a/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts +++ b/clients/client-device-farm/commands/ListDeviceInstancesCommand.ts @@ -29,7 +29,6 @@ export class ListDeviceInstancesCommand extends $Command< ListDeviceInstancesCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDeviceInstancesCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListDevicePoolsCommand.ts b/clients/client-device-farm/commands/ListDevicePoolsCommand.ts index 9f5dcfbec2344..cbe95d092c06a 100644 --- a/clients/client-device-farm/commands/ListDevicePoolsCommand.ts +++ b/clients/client-device-farm/commands/ListDevicePoolsCommand.ts @@ -28,7 +28,6 @@ export class ListDevicePoolsCommand extends $Command< ListDevicePoolsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDevicePoolsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListDevicesCommand.ts b/clients/client-device-farm/commands/ListDevicesCommand.ts index c8131512ae8f9..6551cbd8ee9f4 100644 --- a/clients/client-device-farm/commands/ListDevicesCommand.ts +++ b/clients/client-device-farm/commands/ListDevicesCommand.ts @@ -28,7 +28,6 @@ export class ListDevicesCommand extends $Command< ListDevicesCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDevicesCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts b/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts index 501acfcf18aed..37e4b5d05a1bb 100644 --- a/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts +++ b/clients/client-device-farm/commands/ListInstanceProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListInstanceProfilesCommand extends $Command< ListInstanceProfilesCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInstanceProfilesCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListJobsCommand.ts b/clients/client-device-farm/commands/ListJobsCommand.ts index c428c5cceffd1..f47c37e255323 100644 --- a/clients/client-device-farm/commands/ListJobsCommand.ts +++ b/clients/client-device-farm/commands/ListJobsCommand.ts @@ -25,7 +25,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListJobsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts b/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts index 65523daae30df..d1a6804ce55f7 100644 --- a/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts +++ b/clients/client-device-farm/commands/ListNetworkProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListNetworkProfilesCommand extends $Command< ListNetworkProfilesCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListNetworkProfilesCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts b/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts index 25be8275431f2..d89990fa82136 100644 --- a/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts +++ b/clients/client-device-farm/commands/ListOfferingPromotionsCommand.ts @@ -30,7 +30,6 @@ export class ListOfferingPromotionsCommand extends $Command< ListOfferingPromotionsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListOfferingPromotionsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts b/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts index eed3dc5a6e9d1..1cc4d8410f07f 100644 --- a/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts +++ b/clients/client-device-farm/commands/ListOfferingTransactionsCommand.ts @@ -31,7 +31,6 @@ export class ListOfferingTransactionsCommand extends $Command< ListOfferingTransactionsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListOfferingTransactionsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListOfferingsCommand.ts b/clients/client-device-farm/commands/ListOfferingsCommand.ts index 979d8c49271d8..2e9b4d1bd4952 100644 --- a/clients/client-device-farm/commands/ListOfferingsCommand.ts +++ b/clients/client-device-farm/commands/ListOfferingsCommand.ts @@ -31,7 +31,6 @@ export class ListOfferingsCommand extends $Command< ListOfferingsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListOfferingsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListProjectsCommand.ts b/clients/client-device-farm/commands/ListProjectsCommand.ts index 7e164d7a1ec4e..96b476ebb3d3c 100644 --- a/clients/client-device-farm/commands/ListProjectsCommand.ts +++ b/clients/client-device-farm/commands/ListProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts b/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts index f72f052007327..182040d83c7ad 100644 --- a/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts +++ b/clients/client-device-farm/commands/ListRemoteAccessSessionsCommand.ts @@ -28,7 +28,6 @@ export class ListRemoteAccessSessionsCommand extends $Command< ListRemoteAccessSessionsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRemoteAccessSessionsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListRunsCommand.ts b/clients/client-device-farm/commands/ListRunsCommand.ts index 99277fdba72d9..6edba59fed99a 100644 --- a/clients/client-device-farm/commands/ListRunsCommand.ts +++ b/clients/client-device-farm/commands/ListRunsCommand.ts @@ -25,7 +25,6 @@ export class ListRunsCommand extends $Command< ListRunsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListRunsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListSamplesCommand.ts b/clients/client-device-farm/commands/ListSamplesCommand.ts index e4ea53ac91df0..c1508575cf075 100644 --- a/clients/client-device-farm/commands/ListSamplesCommand.ts +++ b/clients/client-device-farm/commands/ListSamplesCommand.ts @@ -28,7 +28,6 @@ export class ListSamplesCommand extends $Command< ListSamplesCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSamplesCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListSuitesCommand.ts b/clients/client-device-farm/commands/ListSuitesCommand.ts index 836dc2fb06cfd..d52ba7112c74c 100644 --- a/clients/client-device-farm/commands/ListSuitesCommand.ts +++ b/clients/client-device-farm/commands/ListSuitesCommand.ts @@ -28,7 +28,6 @@ export class ListSuitesCommand extends $Command< ListSuitesCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSuitesCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListTagsForResourceCommand.ts b/clients/client-device-farm/commands/ListTagsForResourceCommand.ts index 4fd2e27049185..7ccaac5d625e7 100644 --- a/clients/client-device-farm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-device-farm/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts b/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts index d238a0c3bcc0c..c2c62ab724ed3 100644 --- a/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListTestGridProjectsCommand extends $Command< ListTestGridProjectsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTestGridProjectsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts b/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts index 93da0e6d25a73..6f170c23bf6fd 100644 --- a/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridSessionActionsCommand.ts @@ -28,7 +28,6 @@ export class ListTestGridSessionActionsCommand extends $Command< ListTestGridSessionActionsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTestGridSessionActionsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts b/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts index f75b8d0bf7720..0c440b9f4afa7 100644 --- a/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridSessionArtifactsCommand.ts @@ -28,7 +28,6 @@ export class ListTestGridSessionArtifactsCommand extends $Command< ListTestGridSessionArtifactsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTestGridSessionArtifactsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts b/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts index cc879abd65217..755be93995294 100644 --- a/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts +++ b/clients/client-device-farm/commands/ListTestGridSessionsCommand.ts @@ -28,7 +28,6 @@ export class ListTestGridSessionsCommand extends $Command< ListTestGridSessionsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTestGridSessionsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListTestsCommand.ts b/clients/client-device-farm/commands/ListTestsCommand.ts index 3c79d3414860d..a599224f0b63a 100644 --- a/clients/client-device-farm/commands/ListTestsCommand.ts +++ b/clients/client-device-farm/commands/ListTestsCommand.ts @@ -25,7 +25,6 @@ export class ListTestsCommand extends $Command< ListTestsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTestsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts b/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts index 7704c82e10c05..97fd14d41f1ff 100644 --- a/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts +++ b/clients/client-device-farm/commands/ListUniqueProblemsCommand.ts @@ -32,7 +32,6 @@ export class ListUniqueProblemsCommand extends $Command< ListUniqueProblemsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListUniqueProblemsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListUploadsCommand.ts b/clients/client-device-farm/commands/ListUploadsCommand.ts index 397825ab7f9f7..88416055517dd 100644 --- a/clients/client-device-farm/commands/ListUploadsCommand.ts +++ b/clients/client-device-farm/commands/ListUploadsCommand.ts @@ -28,7 +28,6 @@ export class ListUploadsCommand extends $Command< ListUploadsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListUploadsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts b/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts index ff411ec00ca25..d4a00188b16fa 100644 --- a/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts +++ b/clients/client-device-farm/commands/ListVPCEConfigurationsCommand.ts @@ -29,7 +29,6 @@ export class ListVPCEConfigurationsCommand extends $Command< ListVPCEConfigurationsCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListVPCEConfigurationsCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/PurchaseOfferingCommand.ts b/clients/client-device-farm/commands/PurchaseOfferingCommand.ts index 6ae34cc006268..920bf123df2cd 100644 --- a/clients/client-device-farm/commands/PurchaseOfferingCommand.ts +++ b/clients/client-device-farm/commands/PurchaseOfferingCommand.ts @@ -31,7 +31,6 @@ export class PurchaseOfferingCommand extends $Command< PurchaseOfferingCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PurchaseOfferingCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/RenewOfferingCommand.ts b/clients/client-device-farm/commands/RenewOfferingCommand.ts index 46bfad9e9e6a9..bd466fee69a63 100644 --- a/clients/client-device-farm/commands/RenewOfferingCommand.ts +++ b/clients/client-device-farm/commands/RenewOfferingCommand.ts @@ -30,7 +30,6 @@ export class RenewOfferingCommand extends $Command< RenewOfferingCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RenewOfferingCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/ScheduleRunCommand.ts b/clients/client-device-farm/commands/ScheduleRunCommand.ts index 91723e9e3d880..f6e81415241c2 100644 --- a/clients/client-device-farm/commands/ScheduleRunCommand.ts +++ b/clients/client-device-farm/commands/ScheduleRunCommand.ts @@ -28,7 +28,6 @@ export class ScheduleRunCommand extends $Command< ScheduleRunCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ScheduleRunCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/StopJobCommand.ts b/clients/client-device-farm/commands/StopJobCommand.ts index 75bcb4460972a..bb5c7d571be1f 100644 --- a/clients/client-device-farm/commands/StopJobCommand.ts +++ b/clients/client-device-farm/commands/StopJobCommand.ts @@ -28,7 +28,6 @@ export class StopJobCommand extends $Command< StopJobCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopJobCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts b/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts index 01d262d7bb0f5..a3aa755562383 100644 --- a/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts +++ b/clients/client-device-farm/commands/StopRemoteAccessSessionCommand.ts @@ -28,7 +28,6 @@ export class StopRemoteAccessSessionCommand extends $Command< StopRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopRemoteAccessSessionCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/StopRunCommand.ts b/clients/client-device-farm/commands/StopRunCommand.ts index 86c128aeecda6..e3a619e6d4c28 100644 --- a/clients/client-device-farm/commands/StopRunCommand.ts +++ b/clients/client-device-farm/commands/StopRunCommand.ts @@ -28,7 +28,6 @@ export class StopRunCommand extends $Command< StopRunCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopRunCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/TagResourceCommand.ts b/clients/client-device-farm/commands/TagResourceCommand.ts index 462b5870542f3..44fcc75efae38 100644 --- a/clients/client-device-farm/commands/TagResourceCommand.ts +++ b/clients/client-device-farm/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UntagResourceCommand.ts b/clients/client-device-farm/commands/UntagResourceCommand.ts index 9226d0e87846f..05c78b40371b4 100644 --- a/clients/client-device-farm/commands/UntagResourceCommand.ts +++ b/clients/client-device-farm/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts b/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts index 291371508c556..de7aa3a5a41c9 100644 --- a/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts +++ b/clients/client-device-farm/commands/UpdateDeviceInstanceCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeviceInstanceCommand extends $Command< UpdateDeviceInstanceCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeviceInstanceCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts b/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts index 5158d71c173ab..0e922f89d933d 100644 --- a/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts +++ b/clients/client-device-farm/commands/UpdateDevicePoolCommand.ts @@ -30,7 +30,6 @@ export class UpdateDevicePoolCommand extends $Command< UpdateDevicePoolCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateDevicePoolCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts b/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts index 205d1a452a496..13ec3bc294bcd 100644 --- a/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts +++ b/clients/client-device-farm/commands/UpdateInstanceProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateInstanceProfileCommand extends $Command< UpdateInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateInstanceProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts b/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts index 735b94ef18836..90c0ecf16a5ae 100644 --- a/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts +++ b/clients/client-device-farm/commands/UpdateNetworkProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateNetworkProfileCommand extends $Command< UpdateNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateNetworkProfileCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateProjectCommand.ts b/clients/client-device-farm/commands/UpdateProjectCommand.ts index 6c8743dfc9fa7..ca7dae4f08e5e 100644 --- a/clients/client-device-farm/commands/UpdateProjectCommand.ts +++ b/clients/client-device-farm/commands/UpdateProjectCommand.ts @@ -29,7 +29,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts b/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts index 58954f744e3d3..9806980be9bf3 100644 --- a/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts +++ b/clients/client-device-farm/commands/UpdateTestGridProjectCommand.ts @@ -28,7 +28,6 @@ export class UpdateTestGridProjectCommand extends $Command< UpdateTestGridProjectCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTestGridProjectCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateUploadCommand.ts b/clients/client-device-farm/commands/UpdateUploadCommand.ts index fb3ae65cb713b..2501b01cba92f 100644 --- a/clients/client-device-farm/commands/UpdateUploadCommand.ts +++ b/clients/client-device-farm/commands/UpdateUploadCommand.ts @@ -28,7 +28,6 @@ export class UpdateUploadCommand extends $Command< UpdateUploadCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUploadCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts b/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts index 065aa00c68603..f287e46b22b93 100644 --- a/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts +++ b/clients/client-device-farm/commands/UpdateVPCEConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateVPCEConfigurationCommand extends $Command< UpdateVPCEConfigurationCommandOutput, DeviceFarmClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVPCEConfigurationCommand extends $Command< configuration: DeviceFarmClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/AddNotificationChannelCommand.ts b/clients/client-devops-guru/commands/AddNotificationChannelCommand.ts index 3edb2e143c759..f55e0a1e5f753 100644 --- a/clients/client-devops-guru/commands/AddNotificationChannelCommand.ts +++ b/clients/client-devops-guru/commands/AddNotificationChannelCommand.ts @@ -25,7 +25,6 @@ export class AddNotificationChannelCommand extends $Command< AddNotificationChannelCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class AddNotificationChannelCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/DescribeAccountHealthCommand.ts b/clients/client-devops-guru/commands/DescribeAccountHealthCommand.ts index 92b032eb4c7b9..2057e89fb86cb 100644 --- a/clients/client-devops-guru/commands/DescribeAccountHealthCommand.ts +++ b/clients/client-devops-guru/commands/DescribeAccountHealthCommand.ts @@ -25,7 +25,6 @@ export class DescribeAccountHealthCommand extends $Command< DescribeAccountHealthCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeAccountHealthCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/DescribeAccountOverviewCommand.ts b/clients/client-devops-guru/commands/DescribeAccountOverviewCommand.ts index bf24c891d95a5..049ff09527a01 100644 --- a/clients/client-devops-guru/commands/DescribeAccountOverviewCommand.ts +++ b/clients/client-devops-guru/commands/DescribeAccountOverviewCommand.ts @@ -25,7 +25,6 @@ export class DescribeAccountOverviewCommand extends $Command< DescribeAccountOverviewCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeAccountOverviewCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/DescribeAnomalyCommand.ts b/clients/client-devops-guru/commands/DescribeAnomalyCommand.ts index 488ce47332ef5..80cac3cf4e100 100644 --- a/clients/client-devops-guru/commands/DescribeAnomalyCommand.ts +++ b/clients/client-devops-guru/commands/DescribeAnomalyCommand.ts @@ -25,7 +25,6 @@ export class DescribeAnomalyCommand extends $Command< DescribeAnomalyCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeAnomalyCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/DescribeInsightCommand.ts b/clients/client-devops-guru/commands/DescribeInsightCommand.ts index c9d0035d6d3e4..813a18e4dc4b6 100644 --- a/clients/client-devops-guru/commands/DescribeInsightCommand.ts +++ b/clients/client-devops-guru/commands/DescribeInsightCommand.ts @@ -25,7 +25,6 @@ export class DescribeInsightCommand extends $Command< DescribeInsightCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeInsightCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/DescribeResourceCollectionHealthCommand.ts b/clients/client-devops-guru/commands/DescribeResourceCollectionHealthCommand.ts index 3ca8c9c727151..f68d0ac8098bd 100644 --- a/clients/client-devops-guru/commands/DescribeResourceCollectionHealthCommand.ts +++ b/clients/client-devops-guru/commands/DescribeResourceCollectionHealthCommand.ts @@ -25,7 +25,6 @@ export class DescribeResourceCollectionHealthCommand extends $Command< DescribeResourceCollectionHealthCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeResourceCollectionHealthCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/DescribeServiceIntegrationCommand.ts b/clients/client-devops-guru/commands/DescribeServiceIntegrationCommand.ts index 4d8d14be33b11..56d085832969a 100644 --- a/clients/client-devops-guru/commands/DescribeServiceIntegrationCommand.ts +++ b/clients/client-devops-guru/commands/DescribeServiceIntegrationCommand.ts @@ -25,7 +25,6 @@ export class DescribeServiceIntegrationCommand extends $Command< DescribeServiceIntegrationCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeServiceIntegrationCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/GetResourceCollectionCommand.ts b/clients/client-devops-guru/commands/GetResourceCollectionCommand.ts index 2bc9a0be90335..d162b52020f52 100644 --- a/clients/client-devops-guru/commands/GetResourceCollectionCommand.ts +++ b/clients/client-devops-guru/commands/GetResourceCollectionCommand.ts @@ -25,7 +25,6 @@ export class GetResourceCollectionCommand extends $Command< GetResourceCollectionCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetResourceCollectionCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/ListAnomaliesForInsightCommand.ts b/clients/client-devops-guru/commands/ListAnomaliesForInsightCommand.ts index 7b5be662da7d6..f52be8d7de448 100644 --- a/clients/client-devops-guru/commands/ListAnomaliesForInsightCommand.ts +++ b/clients/client-devops-guru/commands/ListAnomaliesForInsightCommand.ts @@ -25,7 +25,6 @@ export class ListAnomaliesForInsightCommand extends $Command< ListAnomaliesForInsightCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListAnomaliesForInsightCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/ListEventsCommand.ts b/clients/client-devops-guru/commands/ListEventsCommand.ts index 56c787e8ebc2d..ad9e86b886e09 100644 --- a/clients/client-devops-guru/commands/ListEventsCommand.ts +++ b/clients/client-devops-guru/commands/ListEventsCommand.ts @@ -25,7 +25,6 @@ export class ListEventsCommand extends $Command< ListEventsCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListEventsCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/ListInsightsCommand.ts b/clients/client-devops-guru/commands/ListInsightsCommand.ts index 39095e4e6c12c..7c2b56687521c 100644 --- a/clients/client-devops-guru/commands/ListInsightsCommand.ts +++ b/clients/client-devops-guru/commands/ListInsightsCommand.ts @@ -25,7 +25,6 @@ export class ListInsightsCommand extends $Command< ListInsightsCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListInsightsCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/ListNotificationChannelsCommand.ts b/clients/client-devops-guru/commands/ListNotificationChannelsCommand.ts index bfa834ee9ec28..bf652ef5aa1a4 100644 --- a/clients/client-devops-guru/commands/ListNotificationChannelsCommand.ts +++ b/clients/client-devops-guru/commands/ListNotificationChannelsCommand.ts @@ -25,7 +25,6 @@ export class ListNotificationChannelsCommand extends $Command< ListNotificationChannelsCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListNotificationChannelsCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/ListRecommendationsCommand.ts b/clients/client-devops-guru/commands/ListRecommendationsCommand.ts index 4012446e35b0b..30d00b5eb8966 100644 --- a/clients/client-devops-guru/commands/ListRecommendationsCommand.ts +++ b/clients/client-devops-guru/commands/ListRecommendationsCommand.ts @@ -25,7 +25,6 @@ export class ListRecommendationsCommand extends $Command< ListRecommendationsCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListRecommendationsCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/PutFeedbackCommand.ts b/clients/client-devops-guru/commands/PutFeedbackCommand.ts index 88120f0f7105b..51832905e253a 100644 --- a/clients/client-devops-guru/commands/PutFeedbackCommand.ts +++ b/clients/client-devops-guru/commands/PutFeedbackCommand.ts @@ -25,7 +25,6 @@ export class PutFeedbackCommand extends $Command< PutFeedbackCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class PutFeedbackCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/RemoveNotificationChannelCommand.ts b/clients/client-devops-guru/commands/RemoveNotificationChannelCommand.ts index 7b6912de1c228..dbd333edf932f 100644 --- a/clients/client-devops-guru/commands/RemoveNotificationChannelCommand.ts +++ b/clients/client-devops-guru/commands/RemoveNotificationChannelCommand.ts @@ -25,7 +25,6 @@ export class RemoveNotificationChannelCommand extends $Command< RemoveNotificationChannelCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class RemoveNotificationChannelCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/SearchInsightsCommand.ts b/clients/client-devops-guru/commands/SearchInsightsCommand.ts index 396f7bc42b1eb..0301d44de86fc 100644 --- a/clients/client-devops-guru/commands/SearchInsightsCommand.ts +++ b/clients/client-devops-guru/commands/SearchInsightsCommand.ts @@ -25,7 +25,6 @@ export class SearchInsightsCommand extends $Command< SearchInsightsCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class SearchInsightsCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/UpdateResourceCollectionCommand.ts b/clients/client-devops-guru/commands/UpdateResourceCollectionCommand.ts index 9e8b97b377e55..8fbe880b11f31 100644 --- a/clients/client-devops-guru/commands/UpdateResourceCollectionCommand.ts +++ b/clients/client-devops-guru/commands/UpdateResourceCollectionCommand.ts @@ -25,7 +25,6 @@ export class UpdateResourceCollectionCommand extends $Command< UpdateResourceCollectionCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UpdateResourceCollectionCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-devops-guru/commands/UpdateServiceIntegrationCommand.ts b/clients/client-devops-guru/commands/UpdateServiceIntegrationCommand.ts index 89330aa1f80b5..531887ce6a045 100644 --- a/clients/client-devops-guru/commands/UpdateServiceIntegrationCommand.ts +++ b/clients/client-devops-guru/commands/UpdateServiceIntegrationCommand.ts @@ -25,7 +25,6 @@ export class UpdateServiceIntegrationCommand extends $Command< UpdateServiceIntegrationCommandOutput, DevOpsGuruClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UpdateServiceIntegrationCommand extends $Command< configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts index 3fb4a1b41a76e..eb0f5b467d753 100644 --- a/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/AcceptDirectConnectGatewayAssociationProposalCommand.ts @@ -32,7 +32,6 @@ export class AcceptDirectConnectGatewayAssociationProposalCommand extends $Comma AcceptDirectConnectGatewayAssociationProposalCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AcceptDirectConnectGatewayAssociationProposalCommand extends $Comma AcceptDirectConnectGatewayAssociationProposalCommandInput, AcceptDirectConnectGatewayAssociationProposalCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts b/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts index 52a4e9f5f7568..e955f89da08bd 100644 --- a/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/AllocateConnectionOnInterconnectCommand.ts @@ -35,7 +35,6 @@ export class AllocateConnectionOnInterconnectCommand extends $Command< AllocateConnectionOnInterconnectCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AllocateConnectionOnInterconnectCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts b/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts index 651cdd625bc44..3e02e60695cad 100644 --- a/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts +++ b/clients/client-direct-connect/commands/AllocateHostedConnectionCommand.ts @@ -32,7 +32,6 @@ export class AllocateHostedConnectionCommand extends $Command< AllocateHostedConnectionCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AllocateHostedConnectionCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts index 2319179dc3f01..3f95223422752 100644 --- a/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocatePrivateVirtualInterfaceCommand.ts @@ -30,7 +30,6 @@ export class AllocatePrivateVirtualInterfaceCommand extends $Command< AllocatePrivateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AllocatePrivateVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts index 5c7b9e5755aeb..a0a4fa0b196bb 100644 --- a/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocatePublicVirtualInterfaceCommand.ts @@ -33,7 +33,6 @@ export class AllocatePublicVirtualInterfaceCommand extends $Command< AllocatePublicVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AllocatePublicVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts index 50b826704a142..e81097f4324e4 100644 --- a/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AllocateTransitVirtualInterfaceCommand.ts @@ -30,7 +30,6 @@ export class AllocateTransitVirtualInterfaceCommand extends $Command< AllocateTransitVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AllocateTransitVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts b/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts index 75a2aa9abf463..16fa8549ccf68 100644 --- a/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts +++ b/clients/client-direct-connect/commands/AssociateConnectionWithLagCommand.ts @@ -41,7 +41,6 @@ export class AssociateConnectionWithLagCommand extends $Command< AssociateConnectionWithLagCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class AssociateConnectionWithLagCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts b/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts index e44256ba3a77b..9c9ba8a5c9886 100644 --- a/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts +++ b/clients/client-direct-connect/commands/AssociateHostedConnectionCommand.ts @@ -35,7 +35,6 @@ export class AssociateHostedConnectionCommand extends $Command< AssociateHostedConnectionCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AssociateHostedConnectionCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts index 6add7950f1350..35ad730731918 100644 --- a/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/AssociateVirtualInterfaceCommand.ts @@ -37,7 +37,6 @@ export class AssociateVirtualInterfaceCommand extends $Command< AssociateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AssociateVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts b/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts index 15c0a6655fd8b..2835b4cb7bcde 100644 --- a/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmConnectionCommand.ts @@ -30,7 +30,6 @@ export class ConfirmConnectionCommand extends $Command< ConfirmConnectionCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ConfirmConnectionCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts index 82dd5840f6d33..068dfbbb8b62a 100644 --- a/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmPrivateVirtualInterfaceCommand.ts @@ -31,7 +31,6 @@ export class ConfirmPrivateVirtualInterfaceCommand extends $Command< ConfirmPrivateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ConfirmPrivateVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts index 432409500d3f4..06ef0f33a2e76 100644 --- a/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmPublicVirtualInterfaceCommand.ts @@ -30,7 +30,6 @@ export class ConfirmPublicVirtualInterfaceCommand extends $Command< ConfirmPublicVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ConfirmPublicVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts index cd1c5dc4a435a..2c7c2a32e40c5 100644 --- a/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/ConfirmTransitVirtualInterfaceCommand.ts @@ -30,7 +30,6 @@ export class ConfirmTransitVirtualInterfaceCommand extends $Command< ConfirmTransitVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ConfirmTransitVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts b/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts index 1b3835bed60bc..2f93f0332027e 100644 --- a/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts +++ b/clients/client-direct-connect/commands/CreateBGPPeerCommand.ts @@ -34,7 +34,6 @@ export class CreateBGPPeerCommand extends $Command< CreateBGPPeerCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateBGPPeerCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateConnectionCommand.ts b/clients/client-direct-connect/commands/CreateConnectionCommand.ts index 82405e3c70fe4..a8bae2cfad5ee 100644 --- a/clients/client-direct-connect/commands/CreateConnectionCommand.ts +++ b/clients/client-direct-connect/commands/CreateConnectionCommand.ts @@ -36,7 +36,6 @@ export class CreateConnectionCommand extends $Command< CreateConnectionCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateConnectionCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts index c0d0142aa694c..934e29181e75f 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationCommand.ts @@ -33,7 +33,6 @@ export class CreateDirectConnectGatewayAssociationCommand extends $Command< CreateDirectConnectGatewayAssociationCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateDirectConnectGatewayAssociationCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts index 57593e14427ce..e3821317fa924 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayAssociationProposalCommand.ts @@ -33,7 +33,6 @@ export class CreateDirectConnectGatewayAssociationProposalCommand extends $Comma CreateDirectConnectGatewayAssociationProposalCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateDirectConnectGatewayAssociationProposalCommand extends $Comma CreateDirectConnectGatewayAssociationProposalCommandInput, CreateDirectConnectGatewayAssociationProposalCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts b/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts index f76373e0fb27b..2267ce5b01b2e 100644 --- a/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts +++ b/clients/client-direct-connect/commands/CreateDirectConnectGatewayCommand.ts @@ -33,7 +33,6 @@ export class CreateDirectConnectGatewayCommand extends $Command< CreateDirectConnectGatewayCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateDirectConnectGatewayCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateInterconnectCommand.ts b/clients/client-direct-connect/commands/CreateInterconnectCommand.ts index cf89e09a2d7b2..aa01fb884dda1 100644 --- a/clients/client-direct-connect/commands/CreateInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/CreateInterconnectCommand.ts @@ -43,7 +43,6 @@ export class CreateInterconnectCommand extends $Command< CreateInterconnectCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class CreateInterconnectCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateLagCommand.ts b/clients/client-direct-connect/commands/CreateLagCommand.ts index 67ac2f0579ace..712726bc39d0f 100644 --- a/clients/client-direct-connect/commands/CreateLagCommand.ts +++ b/clients/client-direct-connect/commands/CreateLagCommand.ts @@ -42,7 +42,6 @@ export class CreateLagCommand extends $Command< CreateLagCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateLagCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts index aad461e6a5aaf..7d893db66d2e5 100644 --- a/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreatePrivateVirtualInterfaceCommand.ts @@ -38,7 +38,6 @@ export class CreatePrivateVirtualInterfaceCommand extends $Command< CreatePrivateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreatePrivateVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts index 5d0a8aca687b1..b03d3ef67139a 100644 --- a/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreatePublicVirtualInterfaceCommand.ts @@ -31,7 +31,6 @@ export class CreatePublicVirtualInterfaceCommand extends $Command< CreatePublicVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreatePublicVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts index 7241227bf635a..11eb8d8a1abf9 100644 --- a/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/CreateTransitVirtualInterfaceCommand.ts @@ -37,7 +37,6 @@ export class CreateTransitVirtualInterfaceCommand extends $Command< CreateTransitVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateTransitVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts b/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts index bcc622bceaed2..ce706f48c2acb 100644 --- a/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts +++ b/clients/client-direct-connect/commands/DeleteBGPPeerCommand.ts @@ -29,7 +29,6 @@ export class DeleteBGPPeerCommand extends $Command< DeleteBGPPeerCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteBGPPeerCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteConnectionCommand.ts b/clients/client-direct-connect/commands/DeleteConnectionCommand.ts index 899c9941db808..371d4f3c1f3fb 100644 --- a/clients/client-direct-connect/commands/DeleteConnectionCommand.ts +++ b/clients/client-direct-connect/commands/DeleteConnectionCommand.ts @@ -31,7 +31,6 @@ export class DeleteConnectionCommand extends $Command< DeleteConnectionCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteConnectionCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts index b31e9ee2bd76a..770e1ff90aa93 100644 --- a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts +++ b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationCommand.ts @@ -33,7 +33,6 @@ export class DeleteDirectConnectGatewayAssociationCommand extends $Command< DeleteDirectConnectGatewayAssociationCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteDirectConnectGatewayAssociationCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts index 9853df3736f5e..827235618a275 100644 --- a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts +++ b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayAssociationProposalCommand.ts @@ -32,7 +32,6 @@ export class DeleteDirectConnectGatewayAssociationProposalCommand extends $Comma DeleteDirectConnectGatewayAssociationProposalCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteDirectConnectGatewayAssociationProposalCommand extends $Comma DeleteDirectConnectGatewayAssociationProposalCommandInput, DeleteDirectConnectGatewayAssociationProposalCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts index c0f28361b06ea..fc235c36b1b35 100644 --- a/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts +++ b/clients/client-direct-connect/commands/DeleteDirectConnectGatewayCommand.ts @@ -30,7 +30,6 @@ export class DeleteDirectConnectGatewayCommand extends $Command< DeleteDirectConnectGatewayCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDirectConnectGatewayCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts b/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts index 12b9037ba3bea..01bf2c7cb6b74 100644 --- a/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/DeleteInterconnectCommand.ts @@ -32,7 +32,6 @@ export class DeleteInterconnectCommand extends $Command< DeleteInterconnectCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteInterconnectCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteLagCommand.ts b/clients/client-direct-connect/commands/DeleteLagCommand.ts index c29155095982b..70beb9b317421 100644 --- a/clients/client-direct-connect/commands/DeleteLagCommand.ts +++ b/clients/client-direct-connect/commands/DeleteLagCommand.ts @@ -26,7 +26,6 @@ export class DeleteLagCommand extends $Command< DeleteLagCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DeleteLagCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts b/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts index d439ce2219b0c..ae32aec6dc3ed 100644 --- a/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts +++ b/clients/client-direct-connect/commands/DeleteVirtualInterfaceCommand.ts @@ -28,7 +28,6 @@ export class DeleteVirtualInterfaceCommand extends $Command< DeleteVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVirtualInterfaceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts index 0c7786e0f18df..88d7081f0d48d 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionLoaCommand.ts @@ -35,7 +35,6 @@ export class DescribeConnectionLoaCommand extends $Command< DescribeConnectionLoaCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeConnectionLoaCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts index 6e99cd30b59e0..f0411b8b5a288 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeConnectionsCommand extends $Command< DescribeConnectionsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConnectionsCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts b/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts index c5f8272c19118..74ada2457bd3d 100644 --- a/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts +++ b/clients/client-direct-connect/commands/DescribeConnectionsOnInterconnectCommand.ts @@ -34,7 +34,6 @@ export class DescribeConnectionsOnInterconnectCommand extends $Command< DescribeConnectionsOnInterconnectCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeConnectionsOnInterconnectCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts index f2a76c2036b14..bd9a2376a1742 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.ts @@ -32,7 +32,6 @@ export class DescribeDirectConnectGatewayAssociationProposalsCommand extends $Co DescribeDirectConnectGatewayAssociationProposalsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDirectConnectGatewayAssociationProposalsCommand extends $Co DescribeDirectConnectGatewayAssociationProposalsCommandInput, DescribeDirectConnectGatewayAssociationProposalsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts index be3b473ae2dd6..c5f7a02963d93 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAssociationsCommand.ts @@ -38,7 +38,6 @@ export class DescribeDirectConnectGatewayAssociationsCommand extends $Command< DescribeDirectConnectGatewayAssociationsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DescribeDirectConnectGatewayAssociationsCommand extends $Command< DescribeDirectConnectGatewayAssociationsCommandInput, DescribeDirectConnectGatewayAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts index 07061db54821d..98f15ce6069d3 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewayAttachmentsCommand.ts @@ -36,7 +36,6 @@ export class DescribeDirectConnectGatewayAttachmentsCommand extends $Command< DescribeDirectConnectGatewayAttachmentsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeDirectConnectGatewayAttachmentsCommand extends $Command< DescribeDirectConnectGatewayAttachmentsCommandInput, DescribeDirectConnectGatewayAttachmentsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts b/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts index 962aabde1aadc..faf61f2917284 100644 --- a/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts +++ b/clients/client-direct-connect/commands/DescribeDirectConnectGatewaysCommand.ts @@ -28,7 +28,6 @@ export class DescribeDirectConnectGatewaysCommand extends $Command< DescribeDirectConnectGatewaysCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDirectConnectGatewaysCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts b/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts index 4208a56c7b854..e85f9c47cbca0 100644 --- a/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeHostedConnectionsCommand.ts @@ -32,7 +32,6 @@ export class DescribeHostedConnectionsCommand extends $Command< DescribeHostedConnectionsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeHostedConnectionsCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts b/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts index 706331df03680..ef93bbff3a066 100644 --- a/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeInterconnectLoaCommand.ts @@ -34,7 +34,6 @@ export class DescribeInterconnectLoaCommand extends $Command< DescribeInterconnectLoaCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeInterconnectLoaCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts b/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts index 4bef0369dcea5..ae0623251d993 100644 --- a/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeInterconnectsCommand.ts @@ -28,7 +28,6 @@ export class DescribeInterconnectsCommand extends $Command< DescribeInterconnectsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInterconnectsCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeLagsCommand.ts b/clients/client-direct-connect/commands/DescribeLagsCommand.ts index 17bb65c24f315..608b5848bfd5d 100644 --- a/clients/client-direct-connect/commands/DescribeLagsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLagsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLagsCommand extends $Command< DescribeLagsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLagsCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeLoaCommand.ts b/clients/client-direct-connect/commands/DescribeLoaCommand.ts index 05838e1091586..7e5c38aa64d85 100644 --- a/clients/client-direct-connect/commands/DescribeLoaCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLoaCommand.ts @@ -31,7 +31,6 @@ export class DescribeLoaCommand extends $Command< DescribeLoaCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeLoaCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeLocationsCommand.ts b/clients/client-direct-connect/commands/DescribeLocationsCommand.ts index e19ca4e9e65cb..077ebb3732d0c 100644 --- a/clients/client-direct-connect/commands/DescribeLocationsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeLocationsCommand.ts @@ -29,7 +29,6 @@ export class DescribeLocationsCommand extends $Command< DescribeLocationsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeLocationsCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeTagsCommand.ts b/clients/client-direct-connect/commands/DescribeTagsCommand.ts index 92b98c6a0f7f9..655de9b05ca05 100644 --- a/clients/client-direct-connect/commands/DescribeTagsCommand.ts +++ b/clients/client-direct-connect/commands/DescribeTagsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTagsCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts b/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts index c62e204cf32ec..8ffef4b0a5e13 100644 --- a/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts +++ b/clients/client-direct-connect/commands/DescribeVirtualGatewaysCommand.ts @@ -29,7 +29,6 @@ export class DescribeVirtualGatewaysCommand extends $Command< DescribeVirtualGatewaysCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeVirtualGatewaysCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts b/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts index 5262e208e4dc9..a78d7a294802c 100644 --- a/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts +++ b/clients/client-direct-connect/commands/DescribeVirtualInterfacesCommand.ts @@ -32,7 +32,6 @@ export class DescribeVirtualInterfacesCommand extends $Command< DescribeVirtualInterfacesCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeVirtualInterfacesCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts b/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts index b0a4f5d0cf838..f4bc9431df899 100644 --- a/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts +++ b/clients/client-direct-connect/commands/DisassociateConnectionFromLagCommand.ts @@ -37,7 +37,6 @@ export class DisassociateConnectionFromLagCommand extends $Command< DisassociateConnectionFromLagCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DisassociateConnectionFromLagCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/ListVirtualInterfaceTestHistoryCommand.ts b/clients/client-direct-connect/commands/ListVirtualInterfaceTestHistoryCommand.ts index d2c780ecbb335..787cce67f0e52 100644 --- a/clients/client-direct-connect/commands/ListVirtualInterfaceTestHistoryCommand.ts +++ b/clients/client-direct-connect/commands/ListVirtualInterfaceTestHistoryCommand.ts @@ -28,7 +28,6 @@ export class ListVirtualInterfaceTestHistoryCommand extends $Command< ListVirtualInterfaceTestHistoryCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVirtualInterfaceTestHistoryCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/StartBgpFailoverTestCommand.ts b/clients/client-direct-connect/commands/StartBgpFailoverTestCommand.ts index a0f9ba3a15af7..3d59cde74d2c0 100644 --- a/clients/client-direct-connect/commands/StartBgpFailoverTestCommand.ts +++ b/clients/client-direct-connect/commands/StartBgpFailoverTestCommand.ts @@ -31,7 +31,6 @@ export class StartBgpFailoverTestCommand extends $Command< StartBgpFailoverTestCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartBgpFailoverTestCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/StopBgpFailoverTestCommand.ts b/clients/client-direct-connect/commands/StopBgpFailoverTestCommand.ts index 77c431e5997bc..3e37f63d9ea69 100644 --- a/clients/client-direct-connect/commands/StopBgpFailoverTestCommand.ts +++ b/clients/client-direct-connect/commands/StopBgpFailoverTestCommand.ts @@ -28,7 +28,6 @@ export class StopBgpFailoverTestCommand extends $Command< StopBgpFailoverTestCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopBgpFailoverTestCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/TagResourceCommand.ts b/clients/client-direct-connect/commands/TagResourceCommand.ts index fd54d26f8212a..793ce959160d2 100644 --- a/clients/client-direct-connect/commands/TagResourceCommand.ts +++ b/clients/client-direct-connect/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/UntagResourceCommand.ts b/clients/client-direct-connect/commands/UntagResourceCommand.ts index ddb9434aa2da5..d983af7c25e63 100644 --- a/clients/client-direct-connect/commands/UntagResourceCommand.ts +++ b/clients/client-direct-connect/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts b/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts index 41bd3ed589ebb..441e3d47bc354 100644 --- a/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts +++ b/clients/client-direct-connect/commands/UpdateDirectConnectGatewayAssociationCommand.ts @@ -33,7 +33,6 @@ export class UpdateDirectConnectGatewayAssociationCommand extends $Command< UpdateDirectConnectGatewayAssociationCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateDirectConnectGatewayAssociationCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/UpdateLagCommand.ts b/clients/client-direct-connect/commands/UpdateLagCommand.ts index 137d2cbaeb18f..f2ec85879da81 100644 --- a/clients/client-direct-connect/commands/UpdateLagCommand.ts +++ b/clients/client-direct-connect/commands/UpdateLagCommand.ts @@ -41,7 +41,6 @@ export class UpdateLagCommand extends $Command< UpdateLagCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class UpdateLagCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts b/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts index ad14df34b7475..e379e7cba5b13 100644 --- a/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts +++ b/clients/client-direct-connect/commands/UpdateVirtualInterfaceAttributesCommand.ts @@ -34,7 +34,6 @@ export class UpdateVirtualInterfaceAttributesCommand extends $Command< UpdateVirtualInterfaceAttributesCommandOutput, DirectConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateVirtualInterfaceAttributesCommand extends $Command< configuration: DirectConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts b/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts index 0b81b4b8ef463..df4f61358a8fc 100644 --- a/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts +++ b/clients/client-directory-service/commands/AcceptSharedDirectoryCommand.ts @@ -28,7 +28,6 @@ export class AcceptSharedDirectoryCommand extends $Command< AcceptSharedDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptSharedDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/AddIpRoutesCommand.ts b/clients/client-directory-service/commands/AddIpRoutesCommand.ts index 8db38d9976ca1..5a1c1ec021e0c 100644 --- a/clients/client-directory-service/commands/AddIpRoutesCommand.ts +++ b/clients/client-directory-service/commands/AddIpRoutesCommand.ts @@ -29,7 +29,6 @@ export class AddIpRoutesCommand extends $Command< AddIpRoutesCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AddIpRoutesCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/AddRegionCommand.ts b/clients/client-directory-service/commands/AddRegionCommand.ts index 569ad03b95359..61d9ec9ac56a2 100644 --- a/clients/client-directory-service/commands/AddRegionCommand.ts +++ b/clients/client-directory-service/commands/AddRegionCommand.ts @@ -25,7 +25,6 @@ export class AddRegionCommand extends $Command< AddRegionCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class AddRegionCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/AddTagsToResourceCommand.ts b/clients/client-directory-service/commands/AddTagsToResourceCommand.ts index c4f3776a14f20..c40b858e2e526 100644 --- a/clients/client-directory-service/commands/AddTagsToResourceCommand.ts +++ b/clients/client-directory-service/commands/AddTagsToResourceCommand.ts @@ -28,7 +28,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts b/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts index c323faccd7ce2..779d922f17879 100644 --- a/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts +++ b/clients/client-directory-service/commands/CancelSchemaExtensionCommand.ts @@ -28,7 +28,6 @@ export class CancelSchemaExtensionCommand extends $Command< CancelSchemaExtensionCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelSchemaExtensionCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ConnectDirectoryCommand.ts b/clients/client-directory-service/commands/ConnectDirectoryCommand.ts index 5b3b66ef8a499..f954af67edacb 100644 --- a/clients/client-directory-service/commands/ConnectDirectoryCommand.ts +++ b/clients/client-directory-service/commands/ConnectDirectoryCommand.ts @@ -32,7 +32,6 @@ export class ConnectDirectoryCommand extends $Command< ConnectDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ConnectDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateAliasCommand.ts b/clients/client-directory-service/commands/CreateAliasCommand.ts index fd55a1edc85ee..4b0183a55dfd7 100644 --- a/clients/client-directory-service/commands/CreateAliasCommand.ts +++ b/clients/client-directory-service/commands/CreateAliasCommand.ts @@ -33,7 +33,6 @@ export class CreateAliasCommand extends $Command< CreateAliasCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateAliasCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateComputerCommand.ts b/clients/client-directory-service/commands/CreateComputerCommand.ts index f43947ccf8418..551ae9b535e0d 100644 --- a/clients/client-directory-service/commands/CreateComputerCommand.ts +++ b/clients/client-directory-service/commands/CreateComputerCommand.ts @@ -28,7 +28,6 @@ export class CreateComputerCommand extends $Command< CreateComputerCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateComputerCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts b/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts index 4a00df4740e9f..5adbd6087226a 100644 --- a/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts +++ b/clients/client-directory-service/commands/CreateConditionalForwarderCommand.ts @@ -28,7 +28,6 @@ export class CreateConditionalForwarderCommand extends $Command< CreateConditionalForwarderCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConditionalForwarderCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateDirectoryCommand.ts b/clients/client-directory-service/commands/CreateDirectoryCommand.ts index 7cb64bebec969..00144103d33f1 100644 --- a/clients/client-directory-service/commands/CreateDirectoryCommand.ts +++ b/clients/client-directory-service/commands/CreateDirectoryCommand.ts @@ -33,7 +33,6 @@ export class CreateDirectoryCommand extends $Command< CreateDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts b/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts index 403c0953441cf..3f467bf7a695d 100644 --- a/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts +++ b/clients/client-directory-service/commands/CreateLogSubscriptionCommand.ts @@ -29,7 +29,6 @@ export class CreateLogSubscriptionCommand extends $Command< CreateLogSubscriptionCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateLogSubscriptionCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts b/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts index 1a9326fde1823..683bb29bd1844 100644 --- a/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts +++ b/clients/client-directory-service/commands/CreateMicrosoftADCommand.ts @@ -29,7 +29,6 @@ export class CreateMicrosoftADCommand extends $Command< CreateMicrosoftADCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateMicrosoftADCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateSnapshotCommand.ts b/clients/client-directory-service/commands/CreateSnapshotCommand.ts index cd42c59af35e5..53b42751f855d 100644 --- a/clients/client-directory-service/commands/CreateSnapshotCommand.ts +++ b/clients/client-directory-service/commands/CreateSnapshotCommand.ts @@ -31,7 +31,6 @@ export class CreateSnapshotCommand extends $Command< CreateSnapshotCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateSnapshotCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/CreateTrustCommand.ts b/clients/client-directory-service/commands/CreateTrustCommand.ts index a610f0e6971fa..e7761029138eb 100644 --- a/clients/client-directory-service/commands/CreateTrustCommand.ts +++ b/clients/client-directory-service/commands/CreateTrustCommand.ts @@ -29,7 +29,6 @@ export class CreateTrustCommand extends $Command< CreateTrustCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTrustCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts b/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts index 396b793b18d5d..a254a61fd7453 100644 --- a/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts +++ b/clients/client-directory-service/commands/DeleteConditionalForwarderCommand.ts @@ -28,7 +28,6 @@ export class DeleteConditionalForwarderCommand extends $Command< DeleteConditionalForwarderCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConditionalForwarderCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeleteDirectoryCommand.ts b/clients/client-directory-service/commands/DeleteDirectoryCommand.ts index 9d5de40a92379..abcdf5497eb2e 100644 --- a/clients/client-directory-service/commands/DeleteDirectoryCommand.ts +++ b/clients/client-directory-service/commands/DeleteDirectoryCommand.ts @@ -32,7 +32,6 @@ export class DeleteDirectoryCommand extends $Command< DeleteDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts b/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts index d27220f7b11cc..1ec996b8eb310 100644 --- a/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts +++ b/clients/client-directory-service/commands/DeleteLogSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteLogSubscriptionCommand extends $Command< DeleteLogSubscriptionCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLogSubscriptionCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeleteSnapshotCommand.ts b/clients/client-directory-service/commands/DeleteSnapshotCommand.ts index 80ca76e6752be..75afb1761df9c 100644 --- a/clients/client-directory-service/commands/DeleteSnapshotCommand.ts +++ b/clients/client-directory-service/commands/DeleteSnapshotCommand.ts @@ -28,7 +28,6 @@ export class DeleteSnapshotCommand extends $Command< DeleteSnapshotCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSnapshotCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeleteTrustCommand.ts b/clients/client-directory-service/commands/DeleteTrustCommand.ts index 0ee0f1d4e4651..035cd4feb5ee3 100644 --- a/clients/client-directory-service/commands/DeleteTrustCommand.ts +++ b/clients/client-directory-service/commands/DeleteTrustCommand.ts @@ -28,7 +28,6 @@ export class DeleteTrustCommand extends $Command< DeleteTrustCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTrustCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeregisterCertificateCommand.ts b/clients/client-directory-service/commands/DeregisterCertificateCommand.ts index 4ee55adb6f272..894be5a9da3de 100644 --- a/clients/client-directory-service/commands/DeregisterCertificateCommand.ts +++ b/clients/client-directory-service/commands/DeregisterCertificateCommand.ts @@ -28,7 +28,6 @@ export class DeregisterCertificateCommand extends $Command< DeregisterCertificateCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterCertificateCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts b/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts index 250745d246df9..74ca11a542151 100644 --- a/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts +++ b/clients/client-directory-service/commands/DeregisterEventTopicCommand.ts @@ -28,7 +28,6 @@ export class DeregisterEventTopicCommand extends $Command< DeregisterEventTopicCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterEventTopicCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeCertificateCommand.ts b/clients/client-directory-service/commands/DescribeCertificateCommand.ts index de7041eea6bb4..4309f1ce52b1b 100644 --- a/clients/client-directory-service/commands/DescribeCertificateCommand.ts +++ b/clients/client-directory-service/commands/DescribeCertificateCommand.ts @@ -28,7 +28,6 @@ export class DescribeCertificateCommand extends $Command< DescribeCertificateCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCertificateCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts b/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts index 8d88b32aedcc4..c6533f164f9bf 100644 --- a/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts +++ b/clients/client-directory-service/commands/DescribeConditionalForwardersCommand.ts @@ -29,7 +29,6 @@ export class DescribeConditionalForwardersCommand extends $Command< DescribeConditionalForwardersCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeConditionalForwardersCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts b/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts index ab19377f63882..408d5a1de70ee 100644 --- a/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts +++ b/clients/client-directory-service/commands/DescribeDirectoriesCommand.ts @@ -38,7 +38,6 @@ export class DescribeDirectoriesCommand extends $Command< DescribeDirectoriesCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeDirectoriesCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts b/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts index d860a160c4dde..11d312ac2e219 100644 --- a/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts +++ b/clients/client-directory-service/commands/DescribeDomainControllersCommand.ts @@ -28,7 +28,6 @@ export class DescribeDomainControllersCommand extends $Command< DescribeDomainControllersCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDomainControllersCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts b/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts index 8dc698b5ee5c7..c19cb3611e90e 100644 --- a/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts +++ b/clients/client-directory-service/commands/DescribeEventTopicsCommand.ts @@ -29,7 +29,6 @@ export class DescribeEventTopicsCommand extends $Command< DescribeEventTopicsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEventTopicsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts b/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts index 7bef593dcd173..a71db4e023bf3 100644 --- a/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts +++ b/clients/client-directory-service/commands/DescribeLDAPSSettingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLDAPSSettingsCommand extends $Command< DescribeLDAPSSettingsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLDAPSSettingsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeRegionsCommand.ts b/clients/client-directory-service/commands/DescribeRegionsCommand.ts index 909c9ff0a3241..4a98a17d57dd5 100644 --- a/clients/client-directory-service/commands/DescribeRegionsCommand.ts +++ b/clients/client-directory-service/commands/DescribeRegionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeRegionsCommand extends $Command< DescribeRegionsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeRegionsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts b/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts index e52e17703675a..b5c84d8ecf1c0 100644 --- a/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts +++ b/clients/client-directory-service/commands/DescribeSharedDirectoriesCommand.ts @@ -28,7 +28,6 @@ export class DescribeSharedDirectoriesCommand extends $Command< DescribeSharedDirectoriesCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSharedDirectoriesCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts b/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts index 2c7eb12bb3dce..8e1135889a73f 100644 --- a/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-directory-service/commands/DescribeSnapshotsCommand.ts @@ -34,7 +34,6 @@ export class DescribeSnapshotsCommand extends $Command< DescribeSnapshotsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeSnapshotsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DescribeTrustsCommand.ts b/clients/client-directory-service/commands/DescribeTrustsCommand.ts index 3be4e7173dc8a..0f58d1a7b979e 100644 --- a/clients/client-directory-service/commands/DescribeTrustsCommand.ts +++ b/clients/client-directory-service/commands/DescribeTrustsCommand.ts @@ -29,7 +29,6 @@ export class DescribeTrustsCommand extends $Command< DescribeTrustsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTrustsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DisableClientAuthenticationCommand.ts b/clients/client-directory-service/commands/DisableClientAuthenticationCommand.ts index cf5a0bb8516db..a972cd7965b9d 100644 --- a/clients/client-directory-service/commands/DisableClientAuthenticationCommand.ts +++ b/clients/client-directory-service/commands/DisableClientAuthenticationCommand.ts @@ -28,7 +28,6 @@ export class DisableClientAuthenticationCommand extends $Command< DisableClientAuthenticationCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableClientAuthenticationCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DisableLDAPSCommand.ts b/clients/client-directory-service/commands/DisableLDAPSCommand.ts index 1138f10b7af37..4b50c2b3df610 100644 --- a/clients/client-directory-service/commands/DisableLDAPSCommand.ts +++ b/clients/client-directory-service/commands/DisableLDAPSCommand.ts @@ -28,7 +28,6 @@ export class DisableLDAPSCommand extends $Command< DisableLDAPSCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableLDAPSCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DisableRadiusCommand.ts b/clients/client-directory-service/commands/DisableRadiusCommand.ts index ff83f13a45ad1..7cf703eefeef5 100644 --- a/clients/client-directory-service/commands/DisableRadiusCommand.ts +++ b/clients/client-directory-service/commands/DisableRadiusCommand.ts @@ -28,7 +28,6 @@ export class DisableRadiusCommand extends $Command< DisableRadiusCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableRadiusCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/DisableSsoCommand.ts b/clients/client-directory-service/commands/DisableSsoCommand.ts index bc5cac00346a3..7540bfa2c3988 100644 --- a/clients/client-directory-service/commands/DisableSsoCommand.ts +++ b/clients/client-directory-service/commands/DisableSsoCommand.ts @@ -28,7 +28,6 @@ export class DisableSsoCommand extends $Command< DisableSsoCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableSsoCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/EnableClientAuthenticationCommand.ts b/clients/client-directory-service/commands/EnableClientAuthenticationCommand.ts index 3c37fa6d587a2..84e58fbd67180 100644 --- a/clients/client-directory-service/commands/EnableClientAuthenticationCommand.ts +++ b/clients/client-directory-service/commands/EnableClientAuthenticationCommand.ts @@ -28,7 +28,6 @@ export class EnableClientAuthenticationCommand extends $Command< EnableClientAuthenticationCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableClientAuthenticationCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/EnableLDAPSCommand.ts b/clients/client-directory-service/commands/EnableLDAPSCommand.ts index 3162d418a4f4c..8819128f04569 100644 --- a/clients/client-directory-service/commands/EnableLDAPSCommand.ts +++ b/clients/client-directory-service/commands/EnableLDAPSCommand.ts @@ -28,7 +28,6 @@ export class EnableLDAPSCommand extends $Command< EnableLDAPSCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableLDAPSCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/EnableRadiusCommand.ts b/clients/client-directory-service/commands/EnableRadiusCommand.ts index 4de80b4f95e9d..777675df16716 100644 --- a/clients/client-directory-service/commands/EnableRadiusCommand.ts +++ b/clients/client-directory-service/commands/EnableRadiusCommand.ts @@ -28,7 +28,6 @@ export class EnableRadiusCommand extends $Command< EnableRadiusCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableRadiusCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/EnableSsoCommand.ts b/clients/client-directory-service/commands/EnableSsoCommand.ts index 6c7fcca97d88b..dd88d245852b0 100644 --- a/clients/client-directory-service/commands/EnableSsoCommand.ts +++ b/clients/client-directory-service/commands/EnableSsoCommand.ts @@ -25,7 +25,6 @@ export class EnableSsoCommand extends $Command< EnableSsoCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class EnableSsoCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts b/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts index aa87be4939a84..c146886e6172f 100644 --- a/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts +++ b/clients/client-directory-service/commands/GetDirectoryLimitsCommand.ts @@ -28,7 +28,6 @@ export class GetDirectoryLimitsCommand extends $Command< GetDirectoryLimitsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDirectoryLimitsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts b/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts index 9122f71af4543..d95b1e7280fa7 100644 --- a/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts +++ b/clients/client-directory-service/commands/GetSnapshotLimitsCommand.ts @@ -28,7 +28,6 @@ export class GetSnapshotLimitsCommand extends $Command< GetSnapshotLimitsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSnapshotLimitsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ListCertificatesCommand.ts b/clients/client-directory-service/commands/ListCertificatesCommand.ts index e10f757b9d167..52e38c7cf9c35 100644 --- a/clients/client-directory-service/commands/ListCertificatesCommand.ts +++ b/clients/client-directory-service/commands/ListCertificatesCommand.ts @@ -28,7 +28,6 @@ export class ListCertificatesCommand extends $Command< ListCertificatesCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCertificatesCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ListIpRoutesCommand.ts b/clients/client-directory-service/commands/ListIpRoutesCommand.ts index 110462665843e..2616e9a6df75c 100644 --- a/clients/client-directory-service/commands/ListIpRoutesCommand.ts +++ b/clients/client-directory-service/commands/ListIpRoutesCommand.ts @@ -28,7 +28,6 @@ export class ListIpRoutesCommand extends $Command< ListIpRoutesCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIpRoutesCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts b/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts index 52485e643bf2f..ef6f923aa605f 100644 --- a/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts +++ b/clients/client-directory-service/commands/ListLogSubscriptionsCommand.ts @@ -28,7 +28,6 @@ export class ListLogSubscriptionsCommand extends $Command< ListLogSubscriptionsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLogSubscriptionsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts b/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts index 6e0fcfd395bb1..69745665916bf 100644 --- a/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts +++ b/clients/client-directory-service/commands/ListSchemaExtensionsCommand.ts @@ -28,7 +28,6 @@ export class ListSchemaExtensionsCommand extends $Command< ListSchemaExtensionsCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSchemaExtensionsCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ListTagsForResourceCommand.ts b/clients/client-directory-service/commands/ListTagsForResourceCommand.ts index 53742d8f80388..83eaf84389a19 100644 --- a/clients/client-directory-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-directory-service/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RegisterCertificateCommand.ts b/clients/client-directory-service/commands/RegisterCertificateCommand.ts index 6402a5601bce7..db8a31e6ecae7 100644 --- a/clients/client-directory-service/commands/RegisterCertificateCommand.ts +++ b/clients/client-directory-service/commands/RegisterCertificateCommand.ts @@ -28,7 +28,6 @@ export class RegisterCertificateCommand extends $Command< RegisterCertificateCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterCertificateCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RegisterEventTopicCommand.ts b/clients/client-directory-service/commands/RegisterEventTopicCommand.ts index 5dcc1d82240c5..eee16ac426d7c 100644 --- a/clients/client-directory-service/commands/RegisterEventTopicCommand.ts +++ b/clients/client-directory-service/commands/RegisterEventTopicCommand.ts @@ -28,7 +28,6 @@ export class RegisterEventTopicCommand extends $Command< RegisterEventTopicCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterEventTopicCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts b/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts index a27293d3ac8ed..e73c5d637844a 100644 --- a/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts +++ b/clients/client-directory-service/commands/RejectSharedDirectoryCommand.ts @@ -28,7 +28,6 @@ export class RejectSharedDirectoryCommand extends $Command< RejectSharedDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RejectSharedDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts b/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts index 14c50becd92ca..d8807740e31c5 100644 --- a/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts +++ b/clients/client-directory-service/commands/RemoveIpRoutesCommand.ts @@ -28,7 +28,6 @@ export class RemoveIpRoutesCommand extends $Command< RemoveIpRoutesCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveIpRoutesCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RemoveRegionCommand.ts b/clients/client-directory-service/commands/RemoveRegionCommand.ts index 67eb868aed9b1..0f904556bbfde 100644 --- a/clients/client-directory-service/commands/RemoveRegionCommand.ts +++ b/clients/client-directory-service/commands/RemoveRegionCommand.ts @@ -30,7 +30,6 @@ export class RemoveRegionCommand extends $Command< RemoveRegionCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RemoveRegionCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts b/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts index 20093a6b5a72f..ecfcd47c8cdb4 100644 --- a/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-directory-service/commands/RemoveTagsFromResourceCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ResetUserPasswordCommand.ts b/clients/client-directory-service/commands/ResetUserPasswordCommand.ts index 1f2672ef849fa..f3d2908efc48a 100644 --- a/clients/client-directory-service/commands/ResetUserPasswordCommand.ts +++ b/clients/client-directory-service/commands/ResetUserPasswordCommand.ts @@ -46,7 +46,6 @@ export class ResetUserPasswordCommand extends $Command< ResetUserPasswordCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class ResetUserPasswordCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts b/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts index bbda0b7fc3e46..6b3b0d5fdec80 100644 --- a/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts +++ b/clients/client-directory-service/commands/RestoreFromSnapshotCommand.ts @@ -33,7 +33,6 @@ export class RestoreFromSnapshotCommand extends $Command< RestoreFromSnapshotCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RestoreFromSnapshotCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/ShareDirectoryCommand.ts b/clients/client-directory-service/commands/ShareDirectoryCommand.ts index 33e625c805c89..dffcea6a29557 100644 --- a/clients/client-directory-service/commands/ShareDirectoryCommand.ts +++ b/clients/client-directory-service/commands/ShareDirectoryCommand.ts @@ -40,7 +40,6 @@ export class ShareDirectoryCommand extends $Command< ShareDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ShareDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts b/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts index fe31e3d914b79..4af533458e0d0 100644 --- a/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts +++ b/clients/client-directory-service/commands/StartSchemaExtensionCommand.ts @@ -28,7 +28,6 @@ export class StartSchemaExtensionCommand extends $Command< StartSchemaExtensionCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartSchemaExtensionCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/UnshareDirectoryCommand.ts b/clients/client-directory-service/commands/UnshareDirectoryCommand.ts index 04e86c56afe74..f2f36526091b7 100644 --- a/clients/client-directory-service/commands/UnshareDirectoryCommand.ts +++ b/clients/client-directory-service/commands/UnshareDirectoryCommand.ts @@ -28,7 +28,6 @@ export class UnshareDirectoryCommand extends $Command< UnshareDirectoryCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UnshareDirectoryCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts b/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts index 0b4a860d25423..e95a5bf001556 100644 --- a/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts +++ b/clients/client-directory-service/commands/UpdateConditionalForwarderCommand.ts @@ -28,7 +28,6 @@ export class UpdateConditionalForwarderCommand extends $Command< UpdateConditionalForwarderCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConditionalForwarderCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts b/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts index afa648541c6a4..49038ead9f781 100644 --- a/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts +++ b/clients/client-directory-service/commands/UpdateNumberOfDomainControllersCommand.ts @@ -28,7 +28,6 @@ export class UpdateNumberOfDomainControllersCommand extends $Command< UpdateNumberOfDomainControllersCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateNumberOfDomainControllersCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/UpdateRadiusCommand.ts b/clients/client-directory-service/commands/UpdateRadiusCommand.ts index dd3b966ca7f3a..8b570e971b7c6 100644 --- a/clients/client-directory-service/commands/UpdateRadiusCommand.ts +++ b/clients/client-directory-service/commands/UpdateRadiusCommand.ts @@ -28,7 +28,6 @@ export class UpdateRadiusCommand extends $Command< UpdateRadiusCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRadiusCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/UpdateTrustCommand.ts b/clients/client-directory-service/commands/UpdateTrustCommand.ts index 909d64d625d05..af7d3da32f078 100644 --- a/clients/client-directory-service/commands/UpdateTrustCommand.ts +++ b/clients/client-directory-service/commands/UpdateTrustCommand.ts @@ -28,7 +28,6 @@ export class UpdateTrustCommand extends $Command< UpdateTrustCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTrustCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-directory-service/commands/VerifyTrustCommand.ts b/clients/client-directory-service/commands/VerifyTrustCommand.ts index 79c81b19652e7..126cc6a265b86 100644 --- a/clients/client-directory-service/commands/VerifyTrustCommand.ts +++ b/clients/client-directory-service/commands/VerifyTrustCommand.ts @@ -29,7 +29,6 @@ export class VerifyTrustCommand extends $Command< VerifyTrustCommandOutput, DirectoryServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class VerifyTrustCommand extends $Command< configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts b/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts index 9e5be282d5482..3cbd11c4a22ec 100644 --- a/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/CreateLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class CreateLifecyclePolicyCommand extends $Command< CreateLifecyclePolicyCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLifecyclePolicyCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts b/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts index 5f934bad002e6..23d4f076dff02 100644 --- a/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/DeleteLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteLifecyclePolicyCommand extends $Command< DeleteLifecyclePolicyCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLifecyclePolicyCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts b/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts index dd424b76fdc05..6e6dbf0c3d409 100644 --- a/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts +++ b/clients/client-dlm/commands/GetLifecyclePoliciesCommand.ts @@ -28,7 +28,6 @@ export class GetLifecyclePoliciesCommand extends $Command< GetLifecyclePoliciesCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLifecyclePoliciesCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts b/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts index b68e038662050..a9e4b698b4671 100644 --- a/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/GetLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetLifecyclePolicyCommand extends $Command< GetLifecyclePolicyCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLifecyclePolicyCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/ListTagsForResourceCommand.ts b/clients/client-dlm/commands/ListTagsForResourceCommand.ts index ddaf20e62a5b5..be2a715d62e92 100644 --- a/clients/client-dlm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-dlm/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/TagResourceCommand.ts b/clients/client-dlm/commands/TagResourceCommand.ts index 156abdce1fb98..0853eccc3246f 100644 --- a/clients/client-dlm/commands/TagResourceCommand.ts +++ b/clients/client-dlm/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/UntagResourceCommand.ts b/clients/client-dlm/commands/UntagResourceCommand.ts index 0ff175588e74b..d33d1ee8bfca0 100644 --- a/clients/client-dlm/commands/UntagResourceCommand.ts +++ b/clients/client-dlm/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts b/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts index bd1283b6001e3..ed1559090fa47 100644 --- a/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts +++ b/clients/client-dlm/commands/UpdateLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class UpdateLifecyclePolicyCommand extends $Command< UpdateLifecyclePolicyCommandOutput, DLMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateLifecyclePolicyCommand extends $Command< configuration: DLMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/AddTagsToResourceCommand.ts b/clients/client-docdb/commands/AddTagsToResourceCommand.ts index 946788d5c115f..efb4221c8a429 100644 --- a/clients/client-docdb/commands/AddTagsToResourceCommand.ts +++ b/clients/client-docdb/commands/AddTagsToResourceCommand.ts @@ -31,7 +31,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts index 27f3c407ec666..834a4f9358e35 100644 --- a/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-docdb/commands/ApplyPendingMaintenanceActionCommand.ts @@ -29,7 +29,6 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< ApplyPendingMaintenanceActionCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts index 634bad9686d79..55ee9a405c6fd 100644 --- a/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/CopyDBClusterParameterGroupCommand.ts @@ -28,7 +28,6 @@ export class CopyDBClusterParameterGroupCommand extends $Command< CopyDBClusterParameterGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CopyDBClusterParameterGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts index fe4103b3dccc0..28dda39ad5137 100644 --- a/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-docdb/commands/CopyDBClusterSnapshotCommand.ts @@ -39,7 +39,6 @@ export class CopyDBClusterSnapshotCommand extends $Command< CopyDBClusterSnapshotCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CopyDBClusterSnapshotCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CreateDBClusterCommand.ts b/clients/client-docdb/commands/CreateDBClusterCommand.ts index 6a72d76682969..3a331eb929787 100644 --- a/clients/client-docdb/commands/CreateDBClusterCommand.ts +++ b/clients/client-docdb/commands/CreateDBClusterCommand.ts @@ -28,7 +28,6 @@ export class CreateDBClusterCommand extends $Command< CreateDBClusterCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBClusterCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts index d7def1c781101..5e43e055e8034 100644 --- a/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/CreateDBClusterParameterGroupCommand.ts @@ -46,7 +46,6 @@ export class CreateDBClusterParameterGroupCommand extends $Command< CreateDBClusterParameterGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts index 03fb26e2f7733..f777ba89e3294 100644 --- a/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-docdb/commands/CreateDBClusterSnapshotCommand.ts @@ -28,7 +28,6 @@ export class CreateDBClusterSnapshotCommand extends $Command< CreateDBClusterSnapshotCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBClusterSnapshotCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CreateDBInstanceCommand.ts b/clients/client-docdb/commands/CreateDBInstanceCommand.ts index 87cc31bcf6b92..4ba683c7bca40 100644 --- a/clients/client-docdb/commands/CreateDBInstanceCommand.ts +++ b/clients/client-docdb/commands/CreateDBInstanceCommand.ts @@ -28,7 +28,6 @@ export class CreateDBInstanceCommand extends $Command< CreateDBInstanceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBInstanceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts b/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts index 793d0bd4a7f96..cb934bfefc39d 100644 --- a/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts +++ b/clients/client-docdb/commands/CreateDBSubnetGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateDBSubnetGroupCommand extends $Command< CreateDBSubnetGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDBSubnetGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DeleteDBClusterCommand.ts b/clients/client-docdb/commands/DeleteDBClusterCommand.ts index 8eb839eecba7c..ddaf138bf4884 100644 --- a/clients/client-docdb/commands/DeleteDBClusterCommand.ts +++ b/clients/client-docdb/commands/DeleteDBClusterCommand.ts @@ -31,7 +31,6 @@ export class DeleteDBClusterCommand extends $Command< DeleteDBClusterCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDBClusterCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts index 4125aeb68d3a7..e664e8b0bf9a0 100644 --- a/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/DeleteDBClusterParameterGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< DeleteDBClusterParameterGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts index 2b40b92414841..8140ffaada8e3 100644 --- a/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-docdb/commands/DeleteDBClusterSnapshotCommand.ts @@ -33,7 +33,6 @@ export class DeleteDBClusterSnapshotCommand extends $Command< DeleteDBClusterSnapshotCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteDBClusterSnapshotCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DeleteDBInstanceCommand.ts b/clients/client-docdb/commands/DeleteDBInstanceCommand.ts index 231da9b6a6ded..695f47cfef26a 100644 --- a/clients/client-docdb/commands/DeleteDBInstanceCommand.ts +++ b/clients/client-docdb/commands/DeleteDBInstanceCommand.ts @@ -29,7 +29,6 @@ export class DeleteDBInstanceCommand extends $Command< DeleteDBInstanceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDBInstanceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts b/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts index 0ff5bfc05c495..c2682822c0566 100644 --- a/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts +++ b/clients/client-docdb/commands/DeleteDBSubnetGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteDBSubnetGroupCommand extends $Command< DeleteDBSubnetGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteDBSubnetGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeCertificatesCommand.ts b/clients/client-docdb/commands/DescribeCertificatesCommand.ts index 9bdca05b5e4cb..200acab4ae256 100644 --- a/clients/client-docdb/commands/DescribeCertificatesCommand.ts +++ b/clients/client-docdb/commands/DescribeCertificatesCommand.ts @@ -29,7 +29,6 @@ export class DescribeCertificatesCommand extends $Command< DescribeCertificatesCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCertificatesCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts b/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts index 8c9ad878bed7c..3852f2373c085 100644 --- a/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterParameterGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< DescribeDBClusterParameterGroupsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts b/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts index 23da796833140..8d666685b522d 100644 --- a/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterParametersCommand.ts @@ -29,7 +29,6 @@ export class DescribeDBClusterParametersCommand extends $Command< DescribeDBClusterParametersCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDBClusterParametersCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts b/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts index eae9b4c2a37a1..f74c9013660c6 100644 --- a/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterSnapshotAttributesCommand.ts @@ -39,7 +39,6 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< DescribeDBClusterSnapshotAttributesCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts index 07a19a2797128..774f8ea852bf9 100644 --- a/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClusterSnapshotsCommand.ts @@ -29,7 +29,6 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< DescribeDBClusterSnapshotsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBClustersCommand.ts b/clients/client-docdb/commands/DescribeDBClustersCommand.ts index ca89f981fe13e..654920483a92c 100644 --- a/clients/client-docdb/commands/DescribeDBClustersCommand.ts +++ b/clients/client-docdb/commands/DescribeDBClustersCommand.ts @@ -33,7 +33,6 @@ export class DescribeDBClustersCommand extends $Command< DescribeDBClustersCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeDBClustersCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts b/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts index 86a1f85a76e23..245f5685832d9 100644 --- a/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBEngineVersionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBEngineVersionsCommand extends $Command< DescribeDBEngineVersionsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBEngineVersionsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBInstancesCommand.ts b/clients/client-docdb/commands/DescribeDBInstancesCommand.ts index b6225093d89c8..844bc6c5bfffa 100644 --- a/clients/client-docdb/commands/DescribeDBInstancesCommand.ts +++ b/clients/client-docdb/commands/DescribeDBInstancesCommand.ts @@ -29,7 +29,6 @@ export class DescribeDBInstancesCommand extends $Command< DescribeDBInstancesCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDBInstancesCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts b/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts index 102f54f63e470..1fd022cf3d956 100644 --- a/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts +++ b/clients/client-docdb/commands/DescribeDBSubnetGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDBSubnetGroupsCommand extends $Command< DescribeDBSubnetGroupsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDBSubnetGroupsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts b/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts index cf01bc9b09f64..cc7a4c3a91cf8 100644 --- a/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts +++ b/clients/client-docdb/commands/DescribeEngineDefaultClusterParametersCommand.ts @@ -33,7 +33,6 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< DescribeEngineDefaultClusterParametersCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts b/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts index fa232ef21228d..614bf2eecabc1 100644 --- a/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-docdb/commands/DescribeEventCategoriesCommand.ts @@ -29,7 +29,6 @@ export class DescribeEventCategoriesCommand extends $Command< DescribeEventCategoriesCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEventCategoriesCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeEventsCommand.ts b/clients/client-docdb/commands/DescribeEventsCommand.ts index 75a587d94f00c..62a4f5796ea66 100644 --- a/clients/client-docdb/commands/DescribeEventsCommand.ts +++ b/clients/client-docdb/commands/DescribeEventsCommand.ts @@ -31,7 +31,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeEventsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts b/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts index 082db227ea597..c761e91983851 100644 --- a/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts +++ b/clients/client-docdb/commands/DescribeOrderableDBInstanceOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< DescribeOrderableDBInstanceOptionsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts index a97e1ca83c5c1..3d14cdbfc37ab 100644 --- a/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-docdb/commands/DescribePendingMaintenanceActionsCommand.ts @@ -29,7 +29,6 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< DescribePendingMaintenanceActionsCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/FailoverDBClusterCommand.ts b/clients/client-docdb/commands/FailoverDBClusterCommand.ts index ee8ae005c4c9e..31d054b919c4d 100644 --- a/clients/client-docdb/commands/FailoverDBClusterCommand.ts +++ b/clients/client-docdb/commands/FailoverDBClusterCommand.ts @@ -34,7 +34,6 @@ export class FailoverDBClusterCommand extends $Command< FailoverDBClusterCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class FailoverDBClusterCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ListTagsForResourceCommand.ts b/clients/client-docdb/commands/ListTagsForResourceCommand.ts index 99be025827ee8..ceb27852d96a6 100644 --- a/clients/client-docdb/commands/ListTagsForResourceCommand.ts +++ b/clients/client-docdb/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ModifyDBClusterCommand.ts b/clients/client-docdb/commands/ModifyDBClusterCommand.ts index 18102ac2e2fdb..2c8a4dde7395f 100644 --- a/clients/client-docdb/commands/ModifyDBClusterCommand.ts +++ b/clients/client-docdb/commands/ModifyDBClusterCommand.ts @@ -30,7 +30,6 @@ export class ModifyDBClusterCommand extends $Command< ModifyDBClusterCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyDBClusterCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts index 867c3f48b582a..5efd767bbcaaa 100644 --- a/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/ModifyDBClusterParameterGroupCommand.ts @@ -46,7 +46,6 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< ModifyDBClusterParameterGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts b/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts index 8365c894e9d27..9369ef17298ca 100644 --- a/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts +++ b/clients/client-docdb/commands/ModifyDBClusterSnapshotAttributeCommand.ts @@ -40,7 +40,6 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< ModifyDBClusterSnapshotAttributeCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ModifyDBInstanceCommand.ts b/clients/client-docdb/commands/ModifyDBInstanceCommand.ts index 912b4c1a99e18..c09f72d8a7d42 100644 --- a/clients/client-docdb/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-docdb/commands/ModifyDBInstanceCommand.ts @@ -29,7 +29,6 @@ export class ModifyDBInstanceCommand extends $Command< ModifyDBInstanceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyDBInstanceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts b/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts index f02cd9cccc77e..ea7d4ee0b09a2 100644 --- a/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts +++ b/clients/client-docdb/commands/ModifyDBSubnetGroupCommand.ts @@ -29,7 +29,6 @@ export class ModifyDBSubnetGroupCommand extends $Command< ModifyDBSubnetGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyDBSubnetGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/RebootDBInstanceCommand.ts b/clients/client-docdb/commands/RebootDBInstanceCommand.ts index f2c3839743f40..13ca7fb620e9c 100644 --- a/clients/client-docdb/commands/RebootDBInstanceCommand.ts +++ b/clients/client-docdb/commands/RebootDBInstanceCommand.ts @@ -34,7 +34,6 @@ export class RebootDBInstanceCommand extends $Command< RebootDBInstanceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RebootDBInstanceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts b/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts index 50fc5bd9d15ef..f070a8645b1ee 100644 --- a/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-docdb/commands/RemoveTagsFromResourceCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts b/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts index 425e4db7fe5d9..0e4d33bb7fd7f 100644 --- a/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts +++ b/clients/client-docdb/commands/ResetDBClusterParameterGroupCommand.ts @@ -35,7 +35,6 @@ export class ResetDBClusterParameterGroupCommand extends $Command< ResetDBClusterParameterGroupCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts index 329e9eb562ac8..216c30df51fdb 100644 --- a/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-docdb/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -34,7 +34,6 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< RestoreDBClusterFromSnapshotCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts index d5e1e708fc6df..09e3740e5261e 100644 --- a/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-docdb/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -32,7 +32,6 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< RestoreDBClusterToPointInTimeCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/StartDBClusterCommand.ts b/clients/client-docdb/commands/StartDBClusterCommand.ts index 59edac51b9077..4a4ae38b5a1b1 100644 --- a/clients/client-docdb/commands/StartDBClusterCommand.ts +++ b/clients/client-docdb/commands/StartDBClusterCommand.ts @@ -30,7 +30,6 @@ export class StartDBClusterCommand extends $Command< StartDBClusterCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartDBClusterCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-docdb/commands/StopDBClusterCommand.ts b/clients/client-docdb/commands/StopDBClusterCommand.ts index 7a86b757e2260..ff51076fd96e4 100644 --- a/clients/client-docdb/commands/StopDBClusterCommand.ts +++ b/clients/client-docdb/commands/StopDBClusterCommand.ts @@ -31,7 +31,6 @@ export class StopDBClusterCommand extends $Command< StopDBClusterCommandOutput, DocDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StopDBClusterCommand extends $Command< configuration: DocDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts b/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts index 7668269930ced..3ea52a03f2f38 100644 --- a/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts +++ b/clients/client-dynamodb-streams/commands/DescribeStreamCommand.ts @@ -36,7 +36,6 @@ export class DescribeStreamCommand extends $Command< DescribeStreamCommandOutput, DynamoDBStreamsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeStreamCommand extends $Command< configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts b/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts index 645cfc291ce8d..af6741b826ec5 100644 --- a/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts +++ b/clients/client-dynamodb-streams/commands/GetRecordsCommand.ts @@ -38,7 +38,6 @@ export class GetRecordsCommand extends $Command< GetRecordsCommandOutput, DynamoDBStreamsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetRecordsCommand extends $Command< configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts b/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts index 537221beaefe4..7942dea7de447 100644 --- a/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts +++ b/clients/client-dynamodb-streams/commands/GetShardIteratorCommand.ts @@ -35,7 +35,6 @@ export class GetShardIteratorCommand extends $Command< GetShardIteratorCommandOutput, DynamoDBStreamsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetShardIteratorCommand extends $Command< configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts b/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts index 1bab9c18713d0..19f155e36b255 100644 --- a/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts +++ b/clients/client-dynamodb-streams/commands/ListStreamsCommand.ts @@ -33,7 +33,6 @@ export class ListStreamsCommand extends $Command< ListStreamsCommandOutput, DynamoDBStreamsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListStreamsCommand extends $Command< configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/BatchExecuteStatementCommand.ts b/clients/client-dynamodb/commands/BatchExecuteStatementCommand.ts index 3863193ec06fe..bdfd97993da42 100644 --- a/clients/client-dynamodb/commands/BatchExecuteStatementCommand.ts +++ b/clients/client-dynamodb/commands/BatchExecuteStatementCommand.ts @@ -30,7 +30,6 @@ export class BatchExecuteStatementCommand extends $Command< BatchExecuteStatementCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchExecuteStatementCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/BatchGetItemCommand.ts b/clients/client-dynamodb/commands/BatchGetItemCommand.ts index 01fa16db54ba8..7fcba35ceeb63 100644 --- a/clients/client-dynamodb/commands/BatchGetItemCommand.ts +++ b/clients/client-dynamodb/commands/BatchGetItemCommand.ts @@ -73,7 +73,6 @@ export class BatchGetItemCommand extends $Command< BatchGetItemCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -91,10 +90,7 @@ export class BatchGetItemCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/BatchWriteItemCommand.ts b/clients/client-dynamodb/commands/BatchWriteItemCommand.ts index 08663b769fe87..b37b282701086 100644 --- a/clients/client-dynamodb/commands/BatchWriteItemCommand.ts +++ b/clients/client-dynamodb/commands/BatchWriteItemCommand.ts @@ -102,7 +102,6 @@ export class BatchWriteItemCommand extends $Command< BatchWriteItemCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -120,10 +119,7 @@ export class BatchWriteItemCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/CreateBackupCommand.ts b/clients/client-dynamodb/commands/CreateBackupCommand.ts index 813b00eb25b3c..c8701af25f220 100644 --- a/clients/client-dynamodb/commands/CreateBackupCommand.ts +++ b/clients/client-dynamodb/commands/CreateBackupCommand.ts @@ -57,7 +57,6 @@ export class CreateBackupCommand extends $Command< CreateBackupCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class CreateBackupCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts b/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts index eb60321dc0108..7e33ecd89123a 100644 --- a/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts +++ b/clients/client-dynamodb/commands/CreateGlobalTableCommand.ts @@ -95,7 +95,6 @@ export class CreateGlobalTableCommand extends $Command< CreateGlobalTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -113,10 +112,7 @@ export class CreateGlobalTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/CreateTableCommand.ts b/clients/client-dynamodb/commands/CreateTableCommand.ts index aadae53f0c4ec..70305e0fbfda7 100644 --- a/clients/client-dynamodb/commands/CreateTableCommand.ts +++ b/clients/client-dynamodb/commands/CreateTableCommand.ts @@ -40,7 +40,6 @@ export class CreateTableCommand extends $Command< CreateTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DeleteBackupCommand.ts b/clients/client-dynamodb/commands/DeleteBackupCommand.ts index 07ae986c04b4e..31fbc3a74b0fd 100644 --- a/clients/client-dynamodb/commands/DeleteBackupCommand.ts +++ b/clients/client-dynamodb/commands/DeleteBackupCommand.ts @@ -29,7 +29,6 @@ export class DeleteBackupCommand extends $Command< DeleteBackupCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteBackupCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DeleteItemCommand.ts b/clients/client-dynamodb/commands/DeleteItemCommand.ts index 132ee49a889b5..1e0587b058693 100644 --- a/clients/client-dynamodb/commands/DeleteItemCommand.ts +++ b/clients/client-dynamodb/commands/DeleteItemCommand.ts @@ -33,7 +33,6 @@ export class DeleteItemCommand extends $Command< DeleteItemCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteItemCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DeleteTableCommand.ts b/clients/client-dynamodb/commands/DeleteTableCommand.ts index 758bf5c47f5ab..5dfd9059a32cc 100644 --- a/clients/client-dynamodb/commands/DeleteTableCommand.ts +++ b/clients/client-dynamodb/commands/DeleteTableCommand.ts @@ -44,7 +44,6 @@ export class DeleteTableCommand extends $Command< DeleteTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DeleteTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeBackupCommand.ts b/clients/client-dynamodb/commands/DescribeBackupCommand.ts index d00a8b05c25c4..e38240c495147 100644 --- a/clients/client-dynamodb/commands/DescribeBackupCommand.ts +++ b/clients/client-dynamodb/commands/DescribeBackupCommand.ts @@ -29,7 +29,6 @@ export class DescribeBackupCommand extends $Command< DescribeBackupCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeBackupCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts b/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts index 323955c24611c..fa320b292598b 100644 --- a/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeContinuousBackupsCommand.ts @@ -38,7 +38,6 @@ export class DescribeContinuousBackupsCommand extends $Command< DescribeContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeContinuousBackupsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts b/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts index 7d02237461dd5..ebf687597933d 100644 --- a/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeContributorInsightsCommand.ts @@ -28,7 +28,6 @@ export class DescribeContributorInsightsCommand extends $Command< DescribeContributorInsightsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeContributorInsightsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts b/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts index 83e53b45aafe3..10d275db60f90 100644 --- a/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeEndpointsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEndpointsCommand extends $Command< DescribeEndpointsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEndpointsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeExportCommand.ts b/clients/client-dynamodb/commands/DescribeExportCommand.ts index 07aea03833cd6..7d80b34920bdb 100644 --- a/clients/client-dynamodb/commands/DescribeExportCommand.ts +++ b/clients/client-dynamodb/commands/DescribeExportCommand.ts @@ -28,7 +28,6 @@ export class DescribeExportCommand extends $Command< DescribeExportCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeExportCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts b/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts index bf7b36a5a2d78..6f160fc2ea06d 100644 --- a/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts +++ b/clients/client-dynamodb/commands/DescribeGlobalTableCommand.ts @@ -32,7 +32,6 @@ export class DescribeGlobalTableCommand extends $Command< DescribeGlobalTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeGlobalTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts b/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts index 5ae5aff77c7be..270b271a16b25 100644 --- a/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeGlobalTableSettingsCommand.ts @@ -31,7 +31,6 @@ export class DescribeGlobalTableSettingsCommand extends $Command< DescribeGlobalTableSettingsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeGlobalTableSettingsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/commands/DescribeKinesisStreamingDestinationCommand.ts index 9861895c17103..a6eb3e3cdc838 100644 --- a/clients/client-dynamodb/commands/DescribeKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/commands/DescribeKinesisStreamingDestinationCommand.ts @@ -32,7 +32,6 @@ export class DescribeKinesisStreamingDestinationCommand extends $Command< DescribeKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeKinesisStreamingDestinationCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeLimitsCommand.ts b/clients/client-dynamodb/commands/DescribeLimitsCommand.ts index fa18c54464612..75748cddf9ad8 100644 --- a/clients/client-dynamodb/commands/DescribeLimitsCommand.ts +++ b/clients/client-dynamodb/commands/DescribeLimitsCommand.ts @@ -91,7 +91,6 @@ export class DescribeLimitsCommand extends $Command< DescribeLimitsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class DescribeLimitsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeTableCommand.ts b/clients/client-dynamodb/commands/DescribeTableCommand.ts index 89a3ba1dbb3bd..219b8f08795c2 100644 --- a/clients/client-dynamodb/commands/DescribeTableCommand.ts +++ b/clients/client-dynamodb/commands/DescribeTableCommand.ts @@ -34,7 +34,6 @@ export class DescribeTableCommand extends $Command< DescribeTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts index 4c9348dd00388..1693f71000ce6 100644 --- a/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/commands/DescribeTableReplicaAutoScalingCommand.ts @@ -31,7 +31,6 @@ export class DescribeTableReplicaAutoScalingCommand extends $Command< DescribeTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeTableReplicaAutoScalingCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts b/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts index 0c8f68986a060..2ebb683d9dc40 100644 --- a/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts +++ b/clients/client-dynamodb/commands/DescribeTimeToLiveCommand.ts @@ -28,7 +28,6 @@ export class DescribeTimeToLiveCommand extends $Command< DescribeTimeToLiveCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTimeToLiveCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/DisableKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/commands/DisableKinesisStreamingDestinationCommand.ts index f413028160dff..2c62706b19bd1 100644 --- a/clients/client-dynamodb/commands/DisableKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/commands/DisableKinesisStreamingDestinationCommand.ts @@ -29,7 +29,6 @@ export class DisableKinesisStreamingDestinationCommand extends $Command< DisableKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableKinesisStreamingDestinationCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/EnableKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/commands/EnableKinesisStreamingDestinationCommand.ts index 089078bc388b9..4f0267c568f0c 100644 --- a/clients/client-dynamodb/commands/EnableKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/commands/EnableKinesisStreamingDestinationCommand.ts @@ -31,7 +31,6 @@ export class EnableKinesisStreamingDestinationCommand extends $Command< EnableKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class EnableKinesisStreamingDestinationCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ExecuteStatementCommand.ts b/clients/client-dynamodb/commands/ExecuteStatementCommand.ts index 852c912708e40..4abf824cf0019 100644 --- a/clients/client-dynamodb/commands/ExecuteStatementCommand.ts +++ b/clients/client-dynamodb/commands/ExecuteStatementCommand.ts @@ -30,7 +30,6 @@ export class ExecuteStatementCommand extends $Command< ExecuteStatementCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ExecuteStatementCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ExecuteTransactionCommand.ts b/clients/client-dynamodb/commands/ExecuteTransactionCommand.ts index f776ce386bb81..cb7ec7ea31f55 100644 --- a/clients/client-dynamodb/commands/ExecuteTransactionCommand.ts +++ b/clients/client-dynamodb/commands/ExecuteTransactionCommand.ts @@ -30,7 +30,6 @@ export class ExecuteTransactionCommand extends $Command< ExecuteTransactionCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ExecuteTransactionCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts b/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts index ba573828a2fbf..ebb96c5a67d59 100644 --- a/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/commands/ExportTableToPointInTimeCommand.ts @@ -30,7 +30,6 @@ export class ExportTableToPointInTimeCommand extends $Command< ExportTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ExportTableToPointInTimeCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/GetItemCommand.ts b/clients/client-dynamodb/commands/GetItemCommand.ts index 2ca498349cb09..3d32a836af96a 100644 --- a/clients/client-dynamodb/commands/GetItemCommand.ts +++ b/clients/client-dynamodb/commands/GetItemCommand.ts @@ -27,7 +27,6 @@ export type GetItemCommandOutput = GetItemOutput & __MetadataBearer; * returns the last updated value.

*/ export class GetItemCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class GetItemCommand 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-dynamodb/commands/ListBackupsCommand.ts b/clients/client-dynamodb/commands/ListBackupsCommand.ts index e155fa3a28614..36b85a86142f7 100644 --- a/clients/client-dynamodb/commands/ListBackupsCommand.ts +++ b/clients/client-dynamodb/commands/ListBackupsCommand.ts @@ -34,7 +34,6 @@ export class ListBackupsCommand extends $Command< ListBackupsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListBackupsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts b/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts index 8e2eb5eb64656..3c7b49e6ef380 100644 --- a/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts +++ b/clients/client-dynamodb/commands/ListContributorInsightsCommand.ts @@ -28,7 +28,6 @@ export class ListContributorInsightsCommand extends $Command< ListContributorInsightsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListContributorInsightsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ListExportsCommand.ts b/clients/client-dynamodb/commands/ListExportsCommand.ts index 3242f370ee16e..d52255c2ce653 100644 --- a/clients/client-dynamodb/commands/ListExportsCommand.ts +++ b/clients/client-dynamodb/commands/ListExportsCommand.ts @@ -28,7 +28,6 @@ export class ListExportsCommand extends $Command< ListExportsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListExportsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts b/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts index 59cd9b7bd22c8..049aece2a3b40 100644 --- a/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts +++ b/clients/client-dynamodb/commands/ListGlobalTablesCommand.ts @@ -31,7 +31,6 @@ export class ListGlobalTablesCommand extends $Command< ListGlobalTablesCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListGlobalTablesCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ListTablesCommand.ts b/clients/client-dynamodb/commands/ListTablesCommand.ts index 7a004be6fba00..333cc4f0d0a37 100644 --- a/clients/client-dynamodb/commands/ListTablesCommand.ts +++ b/clients/client-dynamodb/commands/ListTablesCommand.ts @@ -30,7 +30,6 @@ export class ListTablesCommand extends $Command< ListTablesCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTablesCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts b/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts index c8ae96dae5081..b9d4820261f74 100644 --- a/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts +++ b/clients/client-dynamodb/commands/ListTagsOfResourceCommand.ts @@ -31,7 +31,6 @@ export class ListTagsOfResourceCommand extends $Command< ListTagsOfResourceCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListTagsOfResourceCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/PutItemCommand.ts b/clients/client-dynamodb/commands/PutItemCommand.ts index 1b96f28dc8b2c..1590d8b4c4495 100644 --- a/clients/client-dynamodb/commands/PutItemCommand.ts +++ b/clients/client-dynamodb/commands/PutItemCommand.ts @@ -88,7 +88,6 @@ export type PutItemCommandOutput = PutItemOutput & __MetadataBearer; *

For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.

*/ export class PutItemCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -106,10 +105,7 @@ export class PutItemCommand 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-dynamodb/commands/QueryCommand.ts b/clients/client-dynamodb/commands/QueryCommand.ts index b285512c5e160..cb983c4be1725 100644 --- a/clients/client-dynamodb/commands/QueryCommand.ts +++ b/clients/client-dynamodb/commands/QueryCommand.ts @@ -76,7 +76,6 @@ export type QueryCommandOutput = QueryOutput & __MetadataBearer; * secondary index.

*/ export class QueryCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -94,10 +93,7 @@ export class QueryCommand 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-dynamodb/commands/RestoreTableFromBackupCommand.ts b/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts index b8e7ea10a1cf1..efe9d69398777 100644 --- a/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts +++ b/clients/client-dynamodb/commands/RestoreTableFromBackupCommand.ts @@ -52,7 +52,6 @@ export class RestoreTableFromBackupCommand extends $Command< RestoreTableFromBackupCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class RestoreTableFromBackupCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts b/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts index 777010fa2affb..bb446152f2a2a 100644 --- a/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/commands/RestoreTableToPointInTimeCommand.ts @@ -83,7 +83,6 @@ export class RestoreTableToPointInTimeCommand extends $Command< RestoreTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -101,10 +100,7 @@ export class RestoreTableToPointInTimeCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/ScanCommand.ts b/clients/client-dynamodb/commands/ScanCommand.ts index ab3a3a61faaa9..557eb04bf2fb1 100644 --- a/clients/client-dynamodb/commands/ScanCommand.ts +++ b/clients/client-dynamodb/commands/ScanCommand.ts @@ -45,7 +45,6 @@ export type ScanCommandOutput = ScanOutput & __MetadataBearer; * parameter to true.

*/ export class ScanCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class ScanCommand 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-dynamodb/commands/TagResourceCommand.ts b/clients/client-dynamodb/commands/TagResourceCommand.ts index fc3e24dae1f79..d9332672cb8df 100644 --- a/clients/client-dynamodb/commands/TagResourceCommand.ts +++ b/clients/client-dynamodb/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/TransactGetItemsCommand.ts b/clients/client-dynamodb/commands/TransactGetItemsCommand.ts index 61b9a5047a49a..eb349a53e5759 100644 --- a/clients/client-dynamodb/commands/TransactGetItemsCommand.ts +++ b/clients/client-dynamodb/commands/TransactGetItemsCommand.ts @@ -53,7 +53,6 @@ export class TransactGetItemsCommand extends $Command< TransactGetItemsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class TransactGetItemsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts b/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts index 2ab93799d9a54..78cdfeddf2c28 100644 --- a/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts +++ b/clients/client-dynamodb/commands/TransactWriteItemsCommand.ts @@ -101,7 +101,6 @@ export class TransactWriteItemsCommand extends $Command< TransactWriteItemsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -119,10 +118,7 @@ export class TransactWriteItemsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UntagResourceCommand.ts b/clients/client-dynamodb/commands/UntagResourceCommand.ts index b425358f4c18c..4b4eef616edc0 100644 --- a/clients/client-dynamodb/commands/UntagResourceCommand.ts +++ b/clients/client-dynamodb/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts b/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts index 7f4926a8ece25..4d77b1f87c6c5 100644 --- a/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/commands/UpdateContinuousBackupsCommand.ts @@ -39,7 +39,6 @@ export class UpdateContinuousBackupsCommand extends $Command< UpdateContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class UpdateContinuousBackupsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts b/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts index 9dac663d8a327..c4ac2c89b77d4 100644 --- a/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts +++ b/clients/client-dynamodb/commands/UpdateContributorInsightsCommand.ts @@ -28,7 +28,6 @@ export class UpdateContributorInsightsCommand extends $Command< UpdateContributorInsightsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateContributorInsightsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts b/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts index 29294b97c127b..9dc8effd5c0fc 100644 --- a/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts +++ b/clients/client-dynamodb/commands/UpdateGlobalTableCommand.ts @@ -56,7 +56,6 @@ export class UpdateGlobalTableCommand extends $Command< UpdateGlobalTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class UpdateGlobalTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts b/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts index 56fcc2408d543..56bd8d6362e90 100644 --- a/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/commands/UpdateGlobalTableSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateGlobalTableSettingsCommand extends $Command< UpdateGlobalTableSettingsCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGlobalTableSettingsCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateItemCommand.ts b/clients/client-dynamodb/commands/UpdateItemCommand.ts index 855b92519235d..cbedf5c17475d 100644 --- a/clients/client-dynamodb/commands/UpdateItemCommand.ts +++ b/clients/client-dynamodb/commands/UpdateItemCommand.ts @@ -30,7 +30,6 @@ export class UpdateItemCommand extends $Command< UpdateItemCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateItemCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateTableCommand.ts b/clients/client-dynamodb/commands/UpdateTableCommand.ts index bf2288b36d697..35cae07e83540 100644 --- a/clients/client-dynamodb/commands/UpdateTableCommand.ts +++ b/clients/client-dynamodb/commands/UpdateTableCommand.ts @@ -50,7 +50,6 @@ export class UpdateTableCommand extends $Command< UpdateTableCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class UpdateTableCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts index ec0e19b31cdd2..25b03875be80d 100644 --- a/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/commands/UpdateTableReplicaAutoScalingCommand.ts @@ -31,7 +31,6 @@ export class UpdateTableReplicaAutoScalingCommand extends $Command< UpdateTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateTableReplicaAutoScalingCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts b/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts index eae550bec5b99..86c2627380923 100644 --- a/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts +++ b/clients/client-dynamodb/commands/UpdateTimeToLiveCommand.ts @@ -52,7 +52,6 @@ export class UpdateTimeToLiveCommand extends $Command< UpdateTimeToLiveCommandOutput, DynamoDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class UpdateTimeToLiveCommand extends $Command< configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ebs/commands/CompleteSnapshotCommand.ts b/clients/client-ebs/commands/CompleteSnapshotCommand.ts index c1fea171083a8..70baaa99f3143 100644 --- a/clients/client-ebs/commands/CompleteSnapshotCommand.ts +++ b/clients/client-ebs/commands/CompleteSnapshotCommand.ts @@ -30,7 +30,6 @@ export class CompleteSnapshotCommand extends $Command< CompleteSnapshotCommandOutput, EBSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CompleteSnapshotCommand extends $Command< configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ebs/commands/GetSnapshotBlockCommand.ts b/clients/client-ebs/commands/GetSnapshotBlockCommand.ts index 6ec1b2d1ae69e..d0e007d514995 100644 --- a/clients/client-ebs/commands/GetSnapshotBlockCommand.ts +++ b/clients/client-ebs/commands/GetSnapshotBlockCommand.ts @@ -28,7 +28,6 @@ export class GetSnapshotBlockCommand extends $Command< GetSnapshotBlockCommandOutput, EBSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSnapshotBlockCommand extends $Command< configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ebs/commands/ListChangedBlocksCommand.ts b/clients/client-ebs/commands/ListChangedBlocksCommand.ts index 93744182ca65c..e72f2301e2a7b 100644 --- a/clients/client-ebs/commands/ListChangedBlocksCommand.ts +++ b/clients/client-ebs/commands/ListChangedBlocksCommand.ts @@ -29,7 +29,6 @@ export class ListChangedBlocksCommand extends $Command< ListChangedBlocksCommandOutput, EBSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListChangedBlocksCommand extends $Command< configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts b/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts index 2e2567772fa0d..736d7f3efac6f 100644 --- a/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts +++ b/clients/client-ebs/commands/ListSnapshotBlocksCommand.ts @@ -28,7 +28,6 @@ export class ListSnapshotBlocksCommand extends $Command< ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSnapshotBlocksCommand extends $Command< configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ebs/commands/PutSnapshotBlockCommand.ts b/clients/client-ebs/commands/PutSnapshotBlockCommand.ts index f01b1ae6d7cf0..0a3ee11d81d90 100644 --- a/clients/client-ebs/commands/PutSnapshotBlockCommand.ts +++ b/clients/client-ebs/commands/PutSnapshotBlockCommand.ts @@ -33,7 +33,6 @@ export class PutSnapshotBlockCommand extends $Command< PutSnapshotBlockCommandOutput, EBSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutSnapshotBlockCommand extends $Command< configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ebs/commands/StartSnapshotCommand.ts b/clients/client-ebs/commands/StartSnapshotCommand.ts index 3fb6d2637b0b0..a10673c907574 100644 --- a/clients/client-ebs/commands/StartSnapshotCommand.ts +++ b/clients/client-ebs/commands/StartSnapshotCommand.ts @@ -31,7 +31,6 @@ export class StartSnapshotCommand extends $Command< StartSnapshotCommandOutput, EBSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartSnapshotCommand extends $Command< configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts b/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts index 259b03ef385f5..adc7d164e7685 100644 --- a/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts +++ b/clients/client-ec2-instance-connect/commands/SendSSHPublicKeyCommand.ts @@ -32,7 +32,6 @@ export class SendSSHPublicKeyCommand extends $Command< SendSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SendSSHPublicKeyCommand extends $Command< configuration: EC2InstanceConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts b/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts index 1593443e64556..49f09856d6d9e 100644 --- a/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts +++ b/clients/client-ec2/commands/AcceptReservedInstancesExchangeQuoteCommand.ts @@ -32,7 +32,6 @@ export class AcceptReservedInstancesExchangeQuoteCommand extends $Command< AcceptReservedInstancesExchangeQuoteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AcceptReservedInstancesExchangeQuoteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts b/clients/client-ec2/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts index 738715653d281..4ca115e7dc098 100644 --- a/clients/client-ec2/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts +++ b/clients/client-ec2/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts @@ -32,7 +32,6 @@ export class AcceptTransitGatewayMulticastDomainAssociationsCommand extends $Com AcceptTransitGatewayMulticastDomainAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AcceptTransitGatewayMulticastDomainAssociationsCommand extends $Com AcceptTransitGatewayMulticastDomainAssociationsCommandInput, AcceptTransitGatewayMulticastDomainAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts index 1883103d8d2f2..0ae1003072fc7 100644 --- a/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts @@ -33,7 +33,6 @@ export class AcceptTransitGatewayPeeringAttachmentCommand extends $Command< AcceptTransitGatewayPeeringAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AcceptTransitGatewayPeeringAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts index d5b309510885e..90df09721fc1c 100644 --- a/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/AcceptTransitGatewayVpcAttachmentCommand.ts @@ -31,7 +31,6 @@ export class AcceptTransitGatewayVpcAttachmentCommand extends $Command< AcceptTransitGatewayVpcAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AcceptTransitGatewayVpcAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts b/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts index 205f8137968bf..90cd2faccf8bb 100644 --- a/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/commands/AcceptVpcEndpointConnectionsCommand.ts @@ -29,7 +29,6 @@ export class AcceptVpcEndpointConnectionsCommand extends $Command< AcceptVpcEndpointConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AcceptVpcEndpointConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts index 934ac7e44433e..8cd812522398c 100644 --- a/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/AcceptVpcPeeringConnectionCommand.ts @@ -33,7 +33,6 @@ export class AcceptVpcPeeringConnectionCommand extends $Command< AcceptVpcPeeringConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AcceptVpcPeeringConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts b/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts index d74a62eadeae1..bf0432232bf2b 100644 --- a/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts +++ b/clients/client-ec2/commands/AdvertiseByoipCidrCommand.ts @@ -38,7 +38,6 @@ export class AdvertiseByoipCidrCommand extends $Command< AdvertiseByoipCidrCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AdvertiseByoipCidrCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AllocateAddressCommand.ts b/clients/client-ec2/commands/AllocateAddressCommand.ts index d52a51b7b4fc0..55bbb9ed49337 100644 --- a/clients/client-ec2/commands/AllocateAddressCommand.ts +++ b/clients/client-ec2/commands/AllocateAddressCommand.ts @@ -37,7 +37,6 @@ export class AllocateAddressCommand extends $Command< AllocateAddressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AllocateAddressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AllocateHostsCommand.ts b/clients/client-ec2/commands/AllocateHostsCommand.ts index 34bfb7337190c..630c2a825049c 100644 --- a/clients/client-ec2/commands/AllocateHostsCommand.ts +++ b/clients/client-ec2/commands/AllocateHostsCommand.ts @@ -27,7 +27,6 @@ export class AllocateHostsCommand extends $Command< AllocateHostsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class AllocateHostsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts b/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts index 5d67922024ce5..767c780a4fbab 100644 --- a/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts +++ b/clients/client-ec2/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts @@ -33,7 +33,6 @@ export class ApplySecurityGroupsToClientVpnTargetNetworkCommand extends $Command ApplySecurityGroupsToClientVpnTargetNetworkCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ApplySecurityGroupsToClientVpnTargetNetworkCommand extends $Command ApplySecurityGroupsToClientVpnTargetNetworkCommandInput, ApplySecurityGroupsToClientVpnTargetNetworkCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts b/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts index eae5480c461b4..5b477c140008d 100644 --- a/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts +++ b/clients/client-ec2/commands/AssignIpv6AddressesCommand.ts @@ -34,7 +34,6 @@ export class AssignIpv6AddressesCommand extends $Command< AssignIpv6AddressesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AssignIpv6AddressesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts b/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts index 30402f3a250b0..38db528b7fc79 100644 --- a/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts +++ b/clients/client-ec2/commands/AssignPrivateIpAddressesCommand.ts @@ -39,7 +39,6 @@ export class AssignPrivateIpAddressesCommand extends $Command< AssignPrivateIpAddressesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AssignPrivateIpAddressesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateAddressCommand.ts b/clients/client-ec2/commands/AssociateAddressCommand.ts index 696a2279e4a6f..4f787b89b4f35 100644 --- a/clients/client-ec2/commands/AssociateAddressCommand.ts +++ b/clients/client-ec2/commands/AssociateAddressCommand.ts @@ -52,7 +52,6 @@ export class AssociateAddressCommand extends $Command< AssociateAddressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class AssociateAddressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts b/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts index 5ea695de0c92f..8e3214ed97b85 100644 --- a/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts +++ b/clients/client-ec2/commands/AssociateClientVpnTargetNetworkCommand.ts @@ -29,7 +29,6 @@ export class AssociateClientVpnTargetNetworkCommand extends $Command< AssociateClientVpnTargetNetworkCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateClientVpnTargetNetworkCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts b/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts index fb57ab30ac62c..ce87911d20b53 100644 --- a/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/AssociateDhcpOptionsCommand.ts @@ -31,7 +31,6 @@ export class AssociateDhcpOptionsCommand extends $Command< AssociateDhcpOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AssociateDhcpOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateEnclaveCertificateIamRoleCommand.ts b/clients/client-ec2/commands/AssociateEnclaveCertificateIamRoleCommand.ts index 973fe0afa4a65..fb48dbaf5247c 100644 --- a/clients/client-ec2/commands/AssociateEnclaveCertificateIamRoleCommand.ts +++ b/clients/client-ec2/commands/AssociateEnclaveCertificateIamRoleCommand.ts @@ -46,7 +46,6 @@ export class AssociateEnclaveCertificateIamRoleCommand extends $Command< AssociateEnclaveCertificateIamRoleCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class AssociateEnclaveCertificateIamRoleCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts b/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts index c24d9d5a41cc5..4dae237155377 100644 --- a/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts +++ b/clients/client-ec2/commands/AssociateIamInstanceProfileCommand.ts @@ -29,7 +29,6 @@ export class AssociateIamInstanceProfileCommand extends $Command< AssociateIamInstanceProfileCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateIamInstanceProfileCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateRouteTableCommand.ts b/clients/client-ec2/commands/AssociateRouteTableCommand.ts index 4135ece758527..cb9a2db0ee9c4 100644 --- a/clients/client-ec2/commands/AssociateRouteTableCommand.ts +++ b/clients/client-ec2/commands/AssociateRouteTableCommand.ts @@ -34,7 +34,6 @@ export class AssociateRouteTableCommand extends $Command< AssociateRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AssociateRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts b/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts index adb2d7e818691..c841042f96752 100644 --- a/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts +++ b/clients/client-ec2/commands/AssociateSubnetCidrBlockCommand.ts @@ -29,7 +29,6 @@ export class AssociateSubnetCidrBlockCommand extends $Command< AssociateSubnetCidrBlockCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateSubnetCidrBlockCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts index 535e7a7cd9c65..9210dcbacbbbc 100644 --- a/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/AssociateTransitGatewayMulticastDomainCommand.ts @@ -33,7 +33,6 @@ export class AssociateTransitGatewayMulticastDomainCommand extends $Command< AssociateTransitGatewayMulticastDomainCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AssociateTransitGatewayMulticastDomainCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts index 51503d7189bba..d9bd18d6085a9 100644 --- a/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/AssociateTransitGatewayRouteTableCommand.ts @@ -29,7 +29,6 @@ export class AssociateTransitGatewayRouteTableCommand extends $Command< AssociateTransitGatewayRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateTransitGatewayRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts b/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts index 948f64a56018b..805131ee8a856 100644 --- a/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts +++ b/clients/client-ec2/commands/AssociateVpcCidrBlockCommand.ts @@ -36,7 +36,6 @@ export class AssociateVpcCidrBlockCommand extends $Command< AssociateVpcCidrBlockCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssociateVpcCidrBlockCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts b/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts index 304a255797261..bc0c290d4fb1d 100644 --- a/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts +++ b/clients/client-ec2/commands/AttachClassicLinkVpcCommand.ts @@ -34,7 +34,6 @@ export class AttachClassicLinkVpcCommand extends $Command< AttachClassicLinkVpcCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AttachClassicLinkVpcCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AttachInternetGatewayCommand.ts b/clients/client-ec2/commands/AttachInternetGatewayCommand.ts index 01a6cbb85ad87..d5453577f5398 100644 --- a/clients/client-ec2/commands/AttachInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/AttachInternetGatewayCommand.ts @@ -29,7 +29,6 @@ export class AttachInternetGatewayCommand extends $Command< AttachInternetGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AttachInternetGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts b/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts index d312d30af7d5d..0c446b98caea6 100644 --- a/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/AttachNetworkInterfaceCommand.ts @@ -28,7 +28,6 @@ export class AttachNetworkInterfaceCommand extends $Command< AttachNetworkInterfaceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AttachNetworkInterfaceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AttachVolumeCommand.ts b/clients/client-ec2/commands/AttachVolumeCommand.ts index e8f47e81d3aee..2c11e9f77e1d8 100644 --- a/clients/client-ec2/commands/AttachVolumeCommand.ts +++ b/clients/client-ec2/commands/AttachVolumeCommand.ts @@ -49,7 +49,6 @@ export class AttachVolumeCommand extends $Command< AttachVolumeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class AttachVolumeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AttachVpnGatewayCommand.ts b/clients/client-ec2/commands/AttachVpnGatewayCommand.ts index 35bc12749a81c..cbc125232576b 100644 --- a/clients/client-ec2/commands/AttachVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/AttachVpnGatewayCommand.ts @@ -30,7 +30,6 @@ export class AttachVpnGatewayCommand extends $Command< AttachVpnGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AttachVpnGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts b/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts index e8ca224c857b7..68e44cd785acf 100644 --- a/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts +++ b/clients/client-ec2/commands/AuthorizeClientVpnIngressCommand.ts @@ -30,7 +30,6 @@ export class AuthorizeClientVpnIngressCommand extends $Command< AuthorizeClientVpnIngressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AuthorizeClientVpnIngressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts b/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts index 73c0366651231..054c3d9c6a8e5 100644 --- a/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts +++ b/clients/client-ec2/commands/AuthorizeSecurityGroupEgressCommand.ts @@ -36,7 +36,6 @@ export class AuthorizeSecurityGroupEgressCommand extends $Command< AuthorizeSecurityGroupEgressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AuthorizeSecurityGroupEgressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts b/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts index 514815260e926..8310d38bdb47e 100644 --- a/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts +++ b/clients/client-ec2/commands/AuthorizeSecurityGroupIngressCommand.ts @@ -37,7 +37,6 @@ export class AuthorizeSecurityGroupIngressCommand extends $Command< AuthorizeSecurityGroupIngressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AuthorizeSecurityGroupIngressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/BundleInstanceCommand.ts b/clients/client-ec2/commands/BundleInstanceCommand.ts index 065c699f0fd79..792d0a953805f 100644 --- a/clients/client-ec2/commands/BundleInstanceCommand.ts +++ b/clients/client-ec2/commands/BundleInstanceCommand.ts @@ -29,7 +29,6 @@ export class BundleInstanceCommand extends $Command< BundleInstanceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BundleInstanceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelBundleTaskCommand.ts b/clients/client-ec2/commands/CancelBundleTaskCommand.ts index 9e71cef9aedcd..041c7ee02e0d5 100644 --- a/clients/client-ec2/commands/CancelBundleTaskCommand.ts +++ b/clients/client-ec2/commands/CancelBundleTaskCommand.ts @@ -28,7 +28,6 @@ export class CancelBundleTaskCommand extends $Command< CancelBundleTaskCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelBundleTaskCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelCapacityReservationCommand.ts b/clients/client-ec2/commands/CancelCapacityReservationCommand.ts index 31f22da9aba4e..c6e0e9bb31547 100644 --- a/clients/client-ec2/commands/CancelCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/CancelCapacityReservationCommand.ts @@ -33,7 +33,6 @@ export class CancelCapacityReservationCommand extends $Command< CancelCapacityReservationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CancelCapacityReservationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelConversionTaskCommand.ts b/clients/client-ec2/commands/CancelConversionTaskCommand.ts index 86e3d991f6270..45d36feb3a8d1 100644 --- a/clients/client-ec2/commands/CancelConversionTaskCommand.ts +++ b/clients/client-ec2/commands/CancelConversionTaskCommand.ts @@ -32,7 +32,6 @@ export class CancelConversionTaskCommand extends $Command< CancelConversionTaskCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CancelConversionTaskCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelExportTaskCommand.ts b/clients/client-ec2/commands/CancelExportTaskCommand.ts index 7339e972073d7..479f313966048 100644 --- a/clients/client-ec2/commands/CancelExportTaskCommand.ts +++ b/clients/client-ec2/commands/CancelExportTaskCommand.ts @@ -30,7 +30,6 @@ export class CancelExportTaskCommand extends $Command< CancelExportTaskCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CancelExportTaskCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelImportTaskCommand.ts b/clients/client-ec2/commands/CancelImportTaskCommand.ts index 74be734744873..d3ac375df456b 100644 --- a/clients/client-ec2/commands/CancelImportTaskCommand.ts +++ b/clients/client-ec2/commands/CancelImportTaskCommand.ts @@ -28,7 +28,6 @@ export class CancelImportTaskCommand extends $Command< CancelImportTaskCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelImportTaskCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts b/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts index 99e420be185f7..a8fdfe7a28853 100644 --- a/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts +++ b/clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts @@ -31,7 +31,6 @@ export class CancelReservedInstancesListingCommand extends $Command< CancelReservedInstancesListingCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CancelReservedInstancesListingCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts b/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts index 2d879229bb4e1..b5b19332dbaed 100644 --- a/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts +++ b/clients/client-ec2/commands/CancelSpotFleetRequestsCommand.ts @@ -33,7 +33,6 @@ export class CancelSpotFleetRequestsCommand extends $Command< CancelSpotFleetRequestsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CancelSpotFleetRequestsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts b/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts index 0d6377cbb57e0..40d7c6049634c 100644 --- a/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts +++ b/clients/client-ec2/commands/CancelSpotInstanceRequestsCommand.ts @@ -31,7 +31,6 @@ export class CancelSpotInstanceRequestsCommand extends $Command< CancelSpotInstanceRequestsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CancelSpotInstanceRequestsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts b/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts index f350eaeda7833..2b7ca5e341270 100644 --- a/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts +++ b/clients/client-ec2/commands/ConfirmProductInstanceCommand.ts @@ -30,7 +30,6 @@ export class ConfirmProductInstanceCommand extends $Command< ConfirmProductInstanceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ConfirmProductInstanceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CopyFpgaImageCommand.ts b/clients/client-ec2/commands/CopyFpgaImageCommand.ts index 3cc7bc3d90911..0250eee8eb1ff 100644 --- a/clients/client-ec2/commands/CopyFpgaImageCommand.ts +++ b/clients/client-ec2/commands/CopyFpgaImageCommand.ts @@ -25,7 +25,6 @@ export class CopyFpgaImageCommand extends $Command< CopyFpgaImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CopyFpgaImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CopyImageCommand.ts b/clients/client-ec2/commands/CopyImageCommand.ts index 5f4ebc314a5b5..e69ded4765549 100644 --- a/clients/client-ec2/commands/CopyImageCommand.ts +++ b/clients/client-ec2/commands/CopyImageCommand.ts @@ -26,7 +26,6 @@ export type CopyImageCommandOutput = CopyImageResult & __MetadataBearer; * in the Amazon Elastic Compute Cloud User Guide.

*/ export class CopyImageCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class CopyImageCommand 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-ec2/commands/CopySnapshotCommand.ts b/clients/client-ec2/commands/CopySnapshotCommand.ts index ff5d9a291edb9..e391a8fe8e0bf 100644 --- a/clients/client-ec2/commands/CopySnapshotCommand.ts +++ b/clients/client-ec2/commands/CopySnapshotCommand.ts @@ -38,7 +38,6 @@ export class CopySnapshotCommand extends $Command< CopySnapshotCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,11 +55,8 @@ export class CopySnapshotCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getCopySnapshotPresignedUrlPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getCopySnapshotPresignedUrlPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateCapacityReservationCommand.ts b/clients/client-ec2/commands/CreateCapacityReservationCommand.ts index d96d4c6465c47..ab83ed893b7e5 100644 --- a/clients/client-ec2/commands/CreateCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/CreateCapacityReservationCommand.ts @@ -44,7 +44,6 @@ export class CreateCapacityReservationCommand extends $Command< CreateCapacityReservationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateCapacityReservationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateCarrierGatewayCommand.ts b/clients/client-ec2/commands/CreateCarrierGatewayCommand.ts index fb8c8d61b3301..3e7eb21320c0b 100644 --- a/clients/client-ec2/commands/CreateCarrierGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateCarrierGatewayCommand.ts @@ -29,7 +29,6 @@ export class CreateCarrierGatewayCommand extends $Command< CreateCarrierGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateCarrierGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts b/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts index aa32b053cd810..ece75fe3e74e6 100644 --- a/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts +++ b/clients/client-ec2/commands/CreateClientVpnEndpointCommand.ts @@ -30,7 +30,6 @@ export class CreateClientVpnEndpointCommand extends $Command< CreateClientVpnEndpointCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateClientVpnEndpointCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts b/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts index 9dd0e7c1c07ce..d526137c9e713 100644 --- a/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts +++ b/clients/client-ec2/commands/CreateClientVpnRouteCommand.ts @@ -29,7 +29,6 @@ export class CreateClientVpnRouteCommand extends $Command< CreateClientVpnRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateClientVpnRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts b/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts index 582b6d0505b8b..edf0c87515eaa 100644 --- a/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateCustomerGatewayCommand.ts @@ -63,7 +63,6 @@ export class CreateCustomerGatewayCommand extends $Command< CreateCustomerGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class CreateCustomerGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts b/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts index 559576565de91..790da5c9615fa 100644 --- a/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts +++ b/clients/client-ec2/commands/CreateDefaultSubnetCommand.ts @@ -31,7 +31,6 @@ export class CreateDefaultSubnetCommand extends $Command< CreateDefaultSubnetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDefaultSubnetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateDefaultVpcCommand.ts b/clients/client-ec2/commands/CreateDefaultVpcCommand.ts index 1459de50bcb66..3f63e95fe8046 100644 --- a/clients/client-ec2/commands/CreateDefaultVpcCommand.ts +++ b/clients/client-ec2/commands/CreateDefaultVpcCommand.ts @@ -39,7 +39,6 @@ export class CreateDefaultVpcCommand extends $Command< CreateDefaultVpcCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateDefaultVpcCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts b/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts index 905590574b530..dacff3232827a 100644 --- a/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/CreateDhcpOptionsCommand.ts @@ -80,7 +80,6 @@ export class CreateDhcpOptionsCommand extends $Command< CreateDhcpOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,10 +97,7 @@ export class CreateDhcpOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts b/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts index 7dddc67f27f77..c4df543b1472e 100644 --- a/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateEgressOnlyInternetGatewayCommand.ts @@ -31,7 +31,6 @@ export class CreateEgressOnlyInternetGatewayCommand extends $Command< CreateEgressOnlyInternetGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateEgressOnlyInternetGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateFleetCommand.ts b/clients/client-ec2/commands/CreateFleetCommand.ts index 1b337cacb70dc..93251b38cc920 100644 --- a/clients/client-ec2/commands/CreateFleetCommand.ts +++ b/clients/client-ec2/commands/CreateFleetCommand.ts @@ -28,7 +28,6 @@ export class CreateFleetCommand extends $Command< CreateFleetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFleetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateFlowLogsCommand.ts b/clients/client-ec2/commands/CreateFlowLogsCommand.ts index 3155718502d63..9bf62fadd83be 100644 --- a/clients/client-ec2/commands/CreateFlowLogsCommand.ts +++ b/clients/client-ec2/commands/CreateFlowLogsCommand.ts @@ -38,7 +38,6 @@ export class CreateFlowLogsCommand extends $Command< CreateFlowLogsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateFlowLogsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateFpgaImageCommand.ts b/clients/client-ec2/commands/CreateFpgaImageCommand.ts index ba6cfc124827e..a4e138f9b7852 100644 --- a/clients/client-ec2/commands/CreateFpgaImageCommand.ts +++ b/clients/client-ec2/commands/CreateFpgaImageCommand.ts @@ -30,7 +30,6 @@ export class CreateFpgaImageCommand extends $Command< CreateFpgaImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateFpgaImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateImageCommand.ts b/clients/client-ec2/commands/CreateImageCommand.ts index 92f5f4343ed01..bfda50c620dd5 100644 --- a/clients/client-ec2/commands/CreateImageCommand.ts +++ b/clients/client-ec2/commands/CreateImageCommand.ts @@ -28,7 +28,6 @@ export class CreateImageCommand extends $Command< CreateImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts b/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts index a171d281c45e5..3efbd9687d173 100644 --- a/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts +++ b/clients/client-ec2/commands/CreateInstanceExportTaskCommand.ts @@ -31,7 +31,6 @@ export class CreateInstanceExportTaskCommand extends $Command< CreateInstanceExportTaskCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateInstanceExportTaskCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateInternetGatewayCommand.ts b/clients/client-ec2/commands/CreateInternetGatewayCommand.ts index b1e4f9190fb10..8008bc1a69718 100644 --- a/clients/client-ec2/commands/CreateInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateInternetGatewayCommand.ts @@ -30,7 +30,6 @@ export class CreateInternetGatewayCommand extends $Command< CreateInternetGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateInternetGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateKeyPairCommand.ts b/clients/client-ec2/commands/CreateKeyPairCommand.ts index 9cf639f257406..adbf87b3ad722 100644 --- a/clients/client-ec2/commands/CreateKeyPairCommand.ts +++ b/clients/client-ec2/commands/CreateKeyPairCommand.ts @@ -34,7 +34,6 @@ export class CreateKeyPairCommand extends $Command< CreateKeyPairCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateKeyPairCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts b/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts index 88755800a4937..82548dcedb91d 100644 --- a/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/CreateLaunchTemplateCommand.ts @@ -32,7 +32,6 @@ export class CreateLaunchTemplateCommand extends $Command< CreateLaunchTemplateCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateLaunchTemplateCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts b/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts index e3d288c76afeb..71e0002142b2c 100644 --- a/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts +++ b/clients/client-ec2/commands/CreateLaunchTemplateVersionCommand.ts @@ -33,7 +33,6 @@ export class CreateLaunchTemplateVersionCommand extends $Command< CreateLaunchTemplateVersionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateLaunchTemplateVersionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts b/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts index 2017559820860..2abb3ac896810 100644 --- a/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/CreateLocalGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class CreateLocalGatewayRouteCommand extends $Command< CreateLocalGatewayRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLocalGatewayRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts b/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts index 62bac0944728a..b8b158e089a7e 100644 --- a/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts +++ b/clients/client-ec2/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts @@ -32,7 +32,6 @@ export class CreateLocalGatewayRouteTableVpcAssociationCommand extends $Command< CreateLocalGatewayRouteTableVpcAssociationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateLocalGatewayRouteTableVpcAssociationCommand extends $Command< CreateLocalGatewayRouteTableVpcAssociationCommandInput, CreateLocalGatewayRouteTableVpcAssociationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateManagedPrefixListCommand.ts b/clients/client-ec2/commands/CreateManagedPrefixListCommand.ts index 62d0cad4bf169..c001206dd872a 100644 --- a/clients/client-ec2/commands/CreateManagedPrefixListCommand.ts +++ b/clients/client-ec2/commands/CreateManagedPrefixListCommand.ts @@ -29,7 +29,6 @@ export class CreateManagedPrefixListCommand extends $Command< CreateManagedPrefixListCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateManagedPrefixListCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateNatGatewayCommand.ts b/clients/client-ec2/commands/CreateNatGatewayCommand.ts index 976dbd346321f..d1e66d77f6794 100644 --- a/clients/client-ec2/commands/CreateNatGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateNatGatewayCommand.ts @@ -33,7 +33,6 @@ export class CreateNatGatewayCommand extends $Command< CreateNatGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateNatGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateNetworkAclCommand.ts b/clients/client-ec2/commands/CreateNetworkAclCommand.ts index 2603d85ad7fa4..bfa0a1d1a3d98 100644 --- a/clients/client-ec2/commands/CreateNetworkAclCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkAclCommand.ts @@ -30,7 +30,6 @@ export class CreateNetworkAclCommand extends $Command< CreateNetworkAclCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateNetworkAclCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts b/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts index 7a197f74dd3e5..fbb71a8567212 100644 --- a/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkAclEntryCommand.ts @@ -35,7 +35,6 @@ export class CreateNetworkAclEntryCommand extends $Command< CreateNetworkAclEntryCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateNetworkAclEntryCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateNetworkInsightsPathCommand.ts b/clients/client-ec2/commands/CreateNetworkInsightsPathCommand.ts index 1b06e2e88b8db..04462cc701842 100644 --- a/clients/client-ec2/commands/CreateNetworkInsightsPathCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkInsightsPathCommand.ts @@ -31,7 +31,6 @@ export class CreateNetworkInsightsPathCommand extends $Command< CreateNetworkInsightsPathCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateNetworkInsightsPathCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts b/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts index 0f2717eb3d570..faa3c2bafc01b 100644 --- a/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkInterfaceCommand.ts @@ -30,7 +30,6 @@ export class CreateNetworkInterfaceCommand extends $Command< CreateNetworkInterfaceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateNetworkInterfaceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts b/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts index 978543cea99e4..fa5f5188693ea 100644 --- a/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts +++ b/clients/client-ec2/commands/CreateNetworkInterfacePermissionCommand.ts @@ -30,7 +30,6 @@ export class CreateNetworkInterfacePermissionCommand extends $Command< CreateNetworkInterfacePermissionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateNetworkInterfacePermissionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreatePlacementGroupCommand.ts b/clients/client-ec2/commands/CreatePlacementGroupCommand.ts index 1523c44b7ff66..ea1cf64e8768c 100644 --- a/clients/client-ec2/commands/CreatePlacementGroupCommand.ts +++ b/clients/client-ec2/commands/CreatePlacementGroupCommand.ts @@ -37,7 +37,6 @@ export class CreatePlacementGroupCommand extends $Command< CreatePlacementGroupCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreatePlacementGroupCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts b/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts index 3ac2c7f5a4ed1..33bbd26ebdcb3 100644 --- a/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts +++ b/clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts @@ -43,7 +43,6 @@ export class CreateReservedInstancesListingCommand extends $Command< CreateReservedInstancesListingCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class CreateReservedInstancesListingCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateRouteCommand.ts b/clients/client-ec2/commands/CreateRouteCommand.ts index a4d8da0870ae1..ff44370053f9d 100644 --- a/clients/client-ec2/commands/CreateRouteCommand.ts +++ b/clients/client-ec2/commands/CreateRouteCommand.ts @@ -45,7 +45,6 @@ export class CreateRouteCommand extends $Command< CreateRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateRouteTableCommand.ts b/clients/client-ec2/commands/CreateRouteTableCommand.ts index 4900d9f766af0..40d47586173d8 100644 --- a/clients/client-ec2/commands/CreateRouteTableCommand.ts +++ b/clients/client-ec2/commands/CreateRouteTableCommand.ts @@ -30,7 +30,6 @@ export class CreateRouteTableCommand extends $Command< CreateRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateSecurityGroupCommand.ts b/clients/client-ec2/commands/CreateSecurityGroupCommand.ts index eef96e4a182c7..346d3465d9930 100644 --- a/clients/client-ec2/commands/CreateSecurityGroupCommand.ts +++ b/clients/client-ec2/commands/CreateSecurityGroupCommand.ts @@ -42,7 +42,6 @@ export class CreateSecurityGroupCommand extends $Command< CreateSecurityGroupCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateSecurityGroupCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateSnapshotCommand.ts b/clients/client-ec2/commands/CreateSnapshotCommand.ts index 69a70f5c39ad9..bb2ecbc2229d9 100644 --- a/clients/client-ec2/commands/CreateSnapshotCommand.ts +++ b/clients/client-ec2/commands/CreateSnapshotCommand.ts @@ -45,7 +45,6 @@ export class CreateSnapshotCommand extends $Command< CreateSnapshotCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateSnapshotCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateSnapshotsCommand.ts b/clients/client-ec2/commands/CreateSnapshotsCommand.ts index e0132dfa755be..7eaae5823b630 100644 --- a/clients/client-ec2/commands/CreateSnapshotsCommand.ts +++ b/clients/client-ec2/commands/CreateSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class CreateSnapshotsCommand extends $Command< CreateSnapshotsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSnapshotsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts b/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts index a8938799b777f..3b9e8f64f6e79 100644 --- a/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts +++ b/clients/client-ec2/commands/CreateSpotDatafeedSubscriptionCommand.ts @@ -31,7 +31,6 @@ export class CreateSpotDatafeedSubscriptionCommand extends $Command< CreateSpotDatafeedSubscriptionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateSpotDatafeedSubscriptionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateSubnetCommand.ts b/clients/client-ec2/commands/CreateSubnetCommand.ts index 77a06bb249187..6710f7b45feae 100644 --- a/clients/client-ec2/commands/CreateSubnetCommand.ts +++ b/clients/client-ec2/commands/CreateSubnetCommand.ts @@ -42,7 +42,6 @@ export class CreateSubnetCommand extends $Command< CreateSubnetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateSubnetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTagsCommand.ts b/clients/client-ec2/commands/CreateTagsCommand.ts index 8581c6de7cfd5..ba1cad3678e32 100644 --- a/clients/client-ec2/commands/CreateTagsCommand.ts +++ b/clients/client-ec2/commands/CreateTagsCommand.ts @@ -34,7 +34,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateTagsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts index 962db5395c19a..362c473753386 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorFilterCommand.ts @@ -31,7 +31,6 @@ export class CreateTrafficMirrorFilterCommand extends $Command< CreateTrafficMirrorFilterCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateTrafficMirrorFilterCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts index 576681a860fec..2b91dc8d99614 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorFilterRuleCommand.ts @@ -30,7 +30,6 @@ export class CreateTrafficMirrorFilterRuleCommand extends $Command< CreateTrafficMirrorFilterRuleCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateTrafficMirrorFilterRuleCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts index e0e59729184e5..584ca9f5f61e2 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorSessionCommand.ts @@ -34,7 +34,6 @@ export class CreateTrafficMirrorSessionCommand extends $Command< CreateTrafficMirrorSessionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateTrafficMirrorSessionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts b/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts index 50b47ac28824c..a0a2482746938 100644 --- a/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts +++ b/clients/client-ec2/commands/CreateTrafficMirrorTargetCommand.ts @@ -33,7 +33,6 @@ export class CreateTrafficMirrorTargetCommand extends $Command< CreateTrafficMirrorTargetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateTrafficMirrorTargetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayCommand.ts index f78f1b49ed9b4..00e3cea067af1 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayCommand.ts @@ -40,7 +40,6 @@ export class CreateTransitGatewayCommand extends $Command< CreateTransitGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateTransitGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayConnectCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayConnectCommand.ts index f45d7e0aeaa04..156555223ed90 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayConnectCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayConnectCommand.ts @@ -29,7 +29,6 @@ export class CreateTransitGatewayConnectCommand extends $Command< CreateTransitGatewayConnectCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTransitGatewayConnectCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayConnectPeerCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayConnectPeerCommand.ts index 47790e37a1832..921ab35b21a73 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayConnectPeerCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayConnectPeerCommand.ts @@ -31,7 +31,6 @@ export class CreateTransitGatewayConnectPeerCommand extends $Command< CreateTransitGatewayConnectPeerCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateTransitGatewayConnectPeerCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts index 9b3bf582a202f..5cf555df8c8a8 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayMulticastDomainCommand.ts @@ -33,7 +33,6 @@ export class CreateTransitGatewayMulticastDomainCommand extends $Command< CreateTransitGatewayMulticastDomainCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateTransitGatewayMulticastDomainCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts index 0f9d9178baf6c..e9d3b21563f24 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayPeeringAttachmentCommand.ts @@ -37,7 +37,6 @@ export class CreateTransitGatewayPeeringAttachmentCommand extends $Command< CreateTransitGatewayPeeringAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateTransitGatewayPeeringAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayPrefixListReferenceCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayPrefixListReferenceCommand.ts index 861cf86d19ff7..02d16795de076 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayPrefixListReferenceCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayPrefixListReferenceCommand.ts @@ -32,7 +32,6 @@ export class CreateTransitGatewayPrefixListReferenceCommand extends $Command< CreateTransitGatewayPrefixListReferenceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateTransitGatewayPrefixListReferenceCommand extends $Command< CreateTransitGatewayPrefixListReferenceCommandInput, CreateTransitGatewayPrefixListReferenceCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts index 3c4fce3f4c12d..73173f87d4633 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class CreateTransitGatewayRouteCommand extends $Command< CreateTransitGatewayRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTransitGatewayRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts index bb11548a824b0..f0fcb2dd00ed8 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayRouteTableCommand.ts @@ -28,7 +28,6 @@ export class CreateTransitGatewayRouteTableCommand extends $Command< CreateTransitGatewayRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTransitGatewayRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts index e686828de3289..027c962efca21 100644 --- a/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/CreateTransitGatewayVpcAttachmentCommand.ts @@ -31,7 +31,6 @@ export class CreateTransitGatewayVpcAttachmentCommand extends $Command< CreateTransitGatewayVpcAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateTransitGatewayVpcAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVolumeCommand.ts b/clients/client-ec2/commands/CreateVolumeCommand.ts index f595057300afa..bee597e7cf632 100644 --- a/clients/client-ec2/commands/CreateVolumeCommand.ts +++ b/clients/client-ec2/commands/CreateVolumeCommand.ts @@ -35,7 +35,6 @@ export class CreateVolumeCommand extends $Command< CreateVolumeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateVolumeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpcCommand.ts b/clients/client-ec2/commands/CreateVpcCommand.ts index ffdbd508d160b..d2e5241e612f4 100644 --- a/clients/client-ec2/commands/CreateVpcCommand.ts +++ b/clients/client-ec2/commands/CreateVpcCommand.ts @@ -31,7 +31,6 @@ export type CreateVpcCommandOutput = CreateVpcResult & __MetadataBearer; * Amazon Elastic Compute Cloud User Guide.

*/ export class CreateVpcCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateVpcCommand 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-ec2/commands/CreateVpcEndpointCommand.ts b/clients/client-ec2/commands/CreateVpcEndpointCommand.ts index d4893a17436fc..4d3a1fe3ff0c3 100644 --- a/clients/client-ec2/commands/CreateVpcEndpointCommand.ts +++ b/clients/client-ec2/commands/CreateVpcEndpointCommand.ts @@ -42,7 +42,6 @@ export class CreateVpcEndpointCommand extends $Command< CreateVpcEndpointCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateVpcEndpointCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts b/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts index 028db0412c22a..49f7e25aa9848 100644 --- a/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts +++ b/clients/client-ec2/commands/CreateVpcEndpointConnectionNotificationCommand.ts @@ -36,7 +36,6 @@ export class CreateVpcEndpointConnectionNotificationCommand extends $Command< CreateVpcEndpointConnectionNotificationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateVpcEndpointConnectionNotificationCommand extends $Command< CreateVpcEndpointConnectionNotificationCommandInput, CreateVpcEndpointConnectionNotificationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts b/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts index 4a744408778f5..f90f0e3e61e77 100644 --- a/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts +++ b/clients/client-ec2/commands/CreateVpcEndpointServiceConfigurationCommand.ts @@ -51,7 +51,6 @@ export class CreateVpcEndpointServiceConfigurationCommand extends $Command< CreateVpcEndpointServiceConfigurationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class CreateVpcEndpointServiceConfigurationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts index 8115a6fc4505c..c800741216183 100644 --- a/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/CreateVpcPeeringConnectionCommand.ts @@ -39,7 +39,6 @@ export class CreateVpcPeeringConnectionCommand extends $Command< CreateVpcPeeringConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateVpcPeeringConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpnConnectionCommand.ts b/clients/client-ec2/commands/CreateVpnConnectionCommand.ts index 9bf24aa34c529..539e5162e5287 100644 --- a/clients/client-ec2/commands/CreateVpnConnectionCommand.ts +++ b/clients/client-ec2/commands/CreateVpnConnectionCommand.ts @@ -43,7 +43,6 @@ export class CreateVpnConnectionCommand extends $Command< CreateVpnConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class CreateVpnConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts b/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts index cec9bf766286f..c99b440906fe6 100644 --- a/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts +++ b/clients/client-ec2/commands/CreateVpnConnectionRouteCommand.ts @@ -29,7 +29,6 @@ export class CreateVpnConnectionRouteCommand extends $Command< CreateVpnConnectionRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateVpnConnectionRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/CreateVpnGatewayCommand.ts b/clients/client-ec2/commands/CreateVpnGatewayCommand.ts index 0f0590302e339..91198f83b46e1 100644 --- a/clients/client-ec2/commands/CreateVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/CreateVpnGatewayCommand.ts @@ -29,7 +29,6 @@ export class CreateVpnGatewayCommand extends $Command< CreateVpnGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateVpnGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteCarrierGatewayCommand.ts b/clients/client-ec2/commands/DeleteCarrierGatewayCommand.ts index 5aa8be8f9808e..5aba3d9f658d3 100644 --- a/clients/client-ec2/commands/DeleteCarrierGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteCarrierGatewayCommand.ts @@ -33,7 +33,6 @@ export class DeleteCarrierGatewayCommand extends $Command< DeleteCarrierGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteCarrierGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts b/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts index dc64536410184..ea21b6b735011 100644 --- a/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts +++ b/clients/client-ec2/commands/DeleteClientVpnEndpointCommand.ts @@ -29,7 +29,6 @@ export class DeleteClientVpnEndpointCommand extends $Command< DeleteClientVpnEndpointCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteClientVpnEndpointCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts b/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts index d02483308414f..bc0b809ab567e 100644 --- a/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteClientVpnRouteCommand.ts @@ -31,7 +31,6 @@ export class DeleteClientVpnRouteCommand extends $Command< DeleteClientVpnRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteClientVpnRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts b/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts index 93180235546b1..66e7d9abbc2fb 100644 --- a/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteCustomerGatewayCommand.ts @@ -28,7 +28,6 @@ export class DeleteCustomerGatewayCommand extends $Command< DeleteCustomerGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCustomerGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts b/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts index 37b77c9b82f57..282d90ed65984 100644 --- a/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/DeleteDhcpOptionsCommand.ts @@ -28,7 +28,6 @@ export class DeleteDhcpOptionsCommand extends $Command< DeleteDhcpOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDhcpOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts b/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts index 7f0dc3d8c3b38..609cf651826ea 100644 --- a/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteEgressOnlyInternetGatewayCommand.ts @@ -28,7 +28,6 @@ export class DeleteEgressOnlyInternetGatewayCommand extends $Command< DeleteEgressOnlyInternetGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEgressOnlyInternetGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteFleetsCommand.ts b/clients/client-ec2/commands/DeleteFleetsCommand.ts index 5f309261c3d22..66805499c7f0c 100644 --- a/clients/client-ec2/commands/DeleteFleetsCommand.ts +++ b/clients/client-ec2/commands/DeleteFleetsCommand.ts @@ -51,7 +51,6 @@ export class DeleteFleetsCommand extends $Command< DeleteFleetsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteFleetsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteFlowLogsCommand.ts b/clients/client-ec2/commands/DeleteFlowLogsCommand.ts index 59d9cddc675fe..3f879f9436815 100644 --- a/clients/client-ec2/commands/DeleteFlowLogsCommand.ts +++ b/clients/client-ec2/commands/DeleteFlowLogsCommand.ts @@ -25,7 +25,6 @@ export class DeleteFlowLogsCommand extends $Command< DeleteFlowLogsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteFlowLogsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteFpgaImageCommand.ts b/clients/client-ec2/commands/DeleteFpgaImageCommand.ts index 542d1f02f1655..78f1fcef779a2 100644 --- a/clients/client-ec2/commands/DeleteFpgaImageCommand.ts +++ b/clients/client-ec2/commands/DeleteFpgaImageCommand.ts @@ -25,7 +25,6 @@ export class DeleteFpgaImageCommand extends $Command< DeleteFpgaImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteFpgaImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts b/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts index 5cd89a7417166..293e0832d7a7f 100644 --- a/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteInternetGatewayCommand.ts @@ -29,7 +29,6 @@ export class DeleteInternetGatewayCommand extends $Command< DeleteInternetGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteInternetGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteKeyPairCommand.ts b/clients/client-ec2/commands/DeleteKeyPairCommand.ts index ca189162df9d3..81cb98238411d 100644 --- a/clients/client-ec2/commands/DeleteKeyPairCommand.ts +++ b/clients/client-ec2/commands/DeleteKeyPairCommand.ts @@ -25,7 +25,6 @@ export class DeleteKeyPairCommand extends $Command< DeleteKeyPairCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteKeyPairCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts b/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts index b21a428f0bbac..d6d6169160952 100644 --- a/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/DeleteLaunchTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteLaunchTemplateCommand extends $Command< DeleteLaunchTemplateCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLaunchTemplateCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts b/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts index 995fb3d3c4028..b0dfcdcc2c3e9 100644 --- a/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts +++ b/clients/client-ec2/commands/DeleteLaunchTemplateVersionsCommand.ts @@ -31,7 +31,6 @@ export class DeleteLaunchTemplateVersionsCommand extends $Command< DeleteLaunchTemplateVersionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteLaunchTemplateVersionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts b/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts index 8f4adc5cad0f9..6592244339272 100644 --- a/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteLocalGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class DeleteLocalGatewayRouteCommand extends $Command< DeleteLocalGatewayRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLocalGatewayRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts b/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts index 0702090cdf219..9c3037338fed8 100644 --- a/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts +++ b/clients/client-ec2/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts @@ -32,7 +32,6 @@ export class DeleteLocalGatewayRouteTableVpcAssociationCommand extends $Command< DeleteLocalGatewayRouteTableVpcAssociationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteLocalGatewayRouteTableVpcAssociationCommand extends $Command< DeleteLocalGatewayRouteTableVpcAssociationCommandInput, DeleteLocalGatewayRouteTableVpcAssociationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteManagedPrefixListCommand.ts b/clients/client-ec2/commands/DeleteManagedPrefixListCommand.ts index b41945d5c4979..641d60498c835 100644 --- a/clients/client-ec2/commands/DeleteManagedPrefixListCommand.ts +++ b/clients/client-ec2/commands/DeleteManagedPrefixListCommand.ts @@ -28,7 +28,6 @@ export class DeleteManagedPrefixListCommand extends $Command< DeleteManagedPrefixListCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteManagedPrefixListCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNatGatewayCommand.ts b/clients/client-ec2/commands/DeleteNatGatewayCommand.ts index 7eafcc41d6a61..cd4bc518cc8c2 100644 --- a/clients/client-ec2/commands/DeleteNatGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteNatGatewayCommand.ts @@ -28,7 +28,6 @@ export class DeleteNatGatewayCommand extends $Command< DeleteNatGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNatGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNetworkAclCommand.ts b/clients/client-ec2/commands/DeleteNetworkAclCommand.ts index a33712ba3ac78..9f75a6cfa547c 100644 --- a/clients/client-ec2/commands/DeleteNetworkAclCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkAclCommand.ts @@ -28,7 +28,6 @@ export class DeleteNetworkAclCommand extends $Command< DeleteNetworkAclCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNetworkAclCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts b/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts index b84c747469968..e9fdeee5528e9 100644 --- a/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkAclEntryCommand.ts @@ -28,7 +28,6 @@ export class DeleteNetworkAclEntryCommand extends $Command< DeleteNetworkAclEntryCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNetworkAclEntryCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNetworkInsightsAnalysisCommand.ts b/clients/client-ec2/commands/DeleteNetworkInsightsAnalysisCommand.ts index e9f4e294ed3fb..2cd1ea649df1e 100644 --- a/clients/client-ec2/commands/DeleteNetworkInsightsAnalysisCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkInsightsAnalysisCommand.ts @@ -29,7 +29,6 @@ export class DeleteNetworkInsightsAnalysisCommand extends $Command< DeleteNetworkInsightsAnalysisCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteNetworkInsightsAnalysisCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNetworkInsightsPathCommand.ts b/clients/client-ec2/commands/DeleteNetworkInsightsPathCommand.ts index ba215f5351950..7975ce279d7c4 100644 --- a/clients/client-ec2/commands/DeleteNetworkInsightsPathCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkInsightsPathCommand.ts @@ -28,7 +28,6 @@ export class DeleteNetworkInsightsPathCommand extends $Command< DeleteNetworkInsightsPathCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNetworkInsightsPathCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts b/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts index bde7178b5d7a7..dafeb572281fb 100644 --- a/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkInterfaceCommand.ts @@ -28,7 +28,6 @@ export class DeleteNetworkInterfaceCommand extends $Command< DeleteNetworkInterfaceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNetworkInterfaceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts b/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts index 3699aaf038a44..f22b3cb740ba1 100644 --- a/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts +++ b/clients/client-ec2/commands/DeleteNetworkInterfacePermissionCommand.ts @@ -31,7 +31,6 @@ export class DeleteNetworkInterfacePermissionCommand extends $Command< DeleteNetworkInterfacePermissionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteNetworkInterfacePermissionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeletePlacementGroupCommand.ts b/clients/client-ec2/commands/DeletePlacementGroupCommand.ts index df42e1ae1fb2c..1c007fad7e6ba 100644 --- a/clients/client-ec2/commands/DeletePlacementGroupCommand.ts +++ b/clients/client-ec2/commands/DeletePlacementGroupCommand.ts @@ -31,7 +31,6 @@ export class DeletePlacementGroupCommand extends $Command< DeletePlacementGroupCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeletePlacementGroupCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts b/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts index 4d55e84ef21c0..6f29d3460cdc7 100644 --- a/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts +++ b/clients/client-ec2/commands/DeleteQueuedReservedInstancesCommand.ts @@ -28,7 +28,6 @@ export class DeleteQueuedReservedInstancesCommand extends $Command< DeleteQueuedReservedInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteQueuedReservedInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteRouteCommand.ts b/clients/client-ec2/commands/DeleteRouteCommand.ts index 4cadf6f44a98a..8c3f0e8eb7564 100644 --- a/clients/client-ec2/commands/DeleteRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteRouteCommand.ts @@ -25,7 +25,6 @@ export class DeleteRouteCommand extends $Command< DeleteRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteRouteTableCommand.ts b/clients/client-ec2/commands/DeleteRouteTableCommand.ts index f05e62e620c68..fd628c48f4f76 100644 --- a/clients/client-ec2/commands/DeleteRouteTableCommand.ts +++ b/clients/client-ec2/commands/DeleteRouteTableCommand.ts @@ -28,7 +28,6 @@ export class DeleteRouteTableCommand extends $Command< DeleteRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts b/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts index 7a152be397be4..e2b9b7b262ddf 100644 --- a/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts +++ b/clients/client-ec2/commands/DeleteSecurityGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteSecurityGroupCommand extends $Command< DeleteSecurityGroupCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteSecurityGroupCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteSnapshotCommand.ts b/clients/client-ec2/commands/DeleteSnapshotCommand.ts index 4de8395e098df..824c71f50c492 100644 --- a/clients/client-ec2/commands/DeleteSnapshotCommand.ts +++ b/clients/client-ec2/commands/DeleteSnapshotCommand.ts @@ -34,7 +34,6 @@ export class DeleteSnapshotCommand extends $Command< DeleteSnapshotCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteSnapshotCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts b/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts index a46e947bfed2e..72e22a302c6af 100644 --- a/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts +++ b/clients/client-ec2/commands/DeleteSpotDatafeedSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteSpotDatafeedSubscriptionCommand extends $Command< DeleteSpotDatafeedSubscriptionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSpotDatafeedSubscriptionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteSubnetCommand.ts b/clients/client-ec2/commands/DeleteSubnetCommand.ts index 217cd5308dd6c..f686a2e88ed99 100644 --- a/clients/client-ec2/commands/DeleteSubnetCommand.ts +++ b/clients/client-ec2/commands/DeleteSubnetCommand.ts @@ -25,7 +25,6 @@ export class DeleteSubnetCommand extends $Command< DeleteSubnetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteSubnetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTagsCommand.ts b/clients/client-ec2/commands/DeleteTagsCommand.ts index 59c900c5d16dc..4412b7a5c2933 100644 --- a/clients/client-ec2/commands/DeleteTagsCommand.ts +++ b/clients/client-ec2/commands/DeleteTagsCommand.ts @@ -28,7 +28,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTagsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts index cbf1f0164bb31..e37627ae8747f 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorFilterCommand.ts @@ -29,7 +29,6 @@ export class DeleteTrafficMirrorFilterCommand extends $Command< DeleteTrafficMirrorFilterCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTrafficMirrorFilterCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts index 33a2704af3547..ceee9a003c2fc 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorFilterRuleCommand.ts @@ -28,7 +28,6 @@ export class DeleteTrafficMirrorFilterRuleCommand extends $Command< DeleteTrafficMirrorFilterRuleCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTrafficMirrorFilterRuleCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts index 6ba8b3d0d14d0..a5173b9746b3a 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorSessionCommand.ts @@ -28,7 +28,6 @@ export class DeleteTrafficMirrorSessionCommand extends $Command< DeleteTrafficMirrorSessionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTrafficMirrorSessionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts b/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts index 166456ccd6631..927a2777b339d 100644 --- a/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts +++ b/clients/client-ec2/commands/DeleteTrafficMirrorTargetCommand.ts @@ -29,7 +29,6 @@ export class DeleteTrafficMirrorTargetCommand extends $Command< DeleteTrafficMirrorTargetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTrafficMirrorTargetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts index 6c3427c8b867d..8a49abf75f391 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayCommand.ts @@ -28,7 +28,6 @@ export class DeleteTransitGatewayCommand extends $Command< DeleteTransitGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTransitGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayConnectCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayConnectCommand.ts index b71ab19fe02e9..ccdd3387116ab 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayConnectCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayConnectCommand.ts @@ -29,7 +29,6 @@ export class DeleteTransitGatewayConnectCommand extends $Command< DeleteTransitGatewayConnectCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTransitGatewayConnectCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayConnectPeerCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayConnectPeerCommand.ts index efaad7d49530e..0e15aba094b23 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayConnectPeerCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayConnectPeerCommand.ts @@ -28,7 +28,6 @@ export class DeleteTransitGatewayConnectPeerCommand extends $Command< DeleteTransitGatewayConnectPeerCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTransitGatewayConnectPeerCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts index 6ecd2559e27c2..3d02f95f68115 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayMulticastDomainCommand.ts @@ -32,7 +32,6 @@ export class DeleteTransitGatewayMulticastDomainCommand extends $Command< DeleteTransitGatewayMulticastDomainCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteTransitGatewayMulticastDomainCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts index d525613d4c9ae..0f2f4d0752176 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts @@ -32,7 +32,6 @@ export class DeleteTransitGatewayPeeringAttachmentCommand extends $Command< DeleteTransitGatewayPeeringAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteTransitGatewayPeeringAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts index d23033eb0bd9e..f7e7287b836c7 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts @@ -32,7 +32,6 @@ export class DeleteTransitGatewayPrefixListReferenceCommand extends $Command< DeleteTransitGatewayPrefixListReferenceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteTransitGatewayPrefixListReferenceCommand extends $Command< DeleteTransitGatewayPrefixListReferenceCommandInput, DeleteTransitGatewayPrefixListReferenceCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts index 75a6df64e23dc..48be135f0310e 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class DeleteTransitGatewayRouteCommand extends $Command< DeleteTransitGatewayRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTransitGatewayRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts index 49fce71f9061d..58100ff493cd5 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayRouteTableCommand.ts @@ -29,7 +29,6 @@ export class DeleteTransitGatewayRouteTableCommand extends $Command< DeleteTransitGatewayRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTransitGatewayRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts index cee5bacd45201..1b09b9045c851 100644 --- a/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/DeleteTransitGatewayVpcAttachmentCommand.ts @@ -28,7 +28,6 @@ export class DeleteTransitGatewayVpcAttachmentCommand extends $Command< DeleteTransitGatewayVpcAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTransitGatewayVpcAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVolumeCommand.ts b/clients/client-ec2/commands/DeleteVolumeCommand.ts index de45b185d66eb..a889f346ccfd9 100644 --- a/clients/client-ec2/commands/DeleteVolumeCommand.ts +++ b/clients/client-ec2/commands/DeleteVolumeCommand.ts @@ -29,7 +29,6 @@ export class DeleteVolumeCommand extends $Command< DeleteVolumeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteVolumeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpcCommand.ts b/clients/client-ec2/commands/DeleteVpcCommand.ts index 330063a04efd3..8970858d4028e 100644 --- a/clients/client-ec2/commands/DeleteVpcCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcCommand.ts @@ -21,7 +21,6 @@ export type DeleteVpcCommandOutput = __MetadataBearer; *

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

*/ export class DeleteVpcCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class DeleteVpcCommand 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-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts b/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts index fe823930c9690..a1d725431c283 100644 --- a/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts @@ -32,7 +32,6 @@ export class DeleteVpcEndpointConnectionNotificationsCommand extends $Command< DeleteVpcEndpointConnectionNotificationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteVpcEndpointConnectionNotificationsCommand extends $Command< DeleteVpcEndpointConnectionNotificationsCommandInput, DeleteVpcEndpointConnectionNotificationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts b/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts index be131c1f4702c..80f9cca1a1e13 100644 --- a/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts @@ -35,7 +35,6 @@ export class DeleteVpcEndpointServiceConfigurationsCommand extends $Command< DeleteVpcEndpointServiceConfigurationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteVpcEndpointServiceConfigurationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts b/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts index e71a3ce7dca14..5a281feee6b53 100644 --- a/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcEndpointsCommand.ts @@ -30,7 +30,6 @@ export class DeleteVpcEndpointsCommand extends $Command< DeleteVpcEndpointsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteVpcEndpointsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts index a9cb0bbfd23f2..ed1a281318be5 100644 --- a/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/DeleteVpcPeeringConnectionCommand.ts @@ -32,7 +32,6 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< DeleteVpcPeeringConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts b/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts index 54d7a2a71b162..dcf52ff784c87 100644 --- a/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts +++ b/clients/client-ec2/commands/DeleteVpnConnectionCommand.ts @@ -30,7 +30,6 @@ export class DeleteVpnConnectionCommand extends $Command< DeleteVpnConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteVpnConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts b/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts index 0cf0b7694a033..d9f5ab9fa7303 100644 --- a/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts +++ b/clients/client-ec2/commands/DeleteVpnConnectionRouteCommand.ts @@ -28,7 +28,6 @@ export class DeleteVpnConnectionRouteCommand extends $Command< DeleteVpnConnectionRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVpnConnectionRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts b/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts index 4b4e2e1b96ab9..daa21d160612f 100644 --- a/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/DeleteVpnGatewayCommand.ts @@ -28,7 +28,6 @@ export class DeleteVpnGatewayCommand extends $Command< DeleteVpnGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVpnGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts b/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts index 7f6a836838072..39099f8e02fcf 100644 --- a/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts +++ b/clients/client-ec2/commands/DeprovisionByoipCidrCommand.ts @@ -31,7 +31,6 @@ export class DeprovisionByoipCidrCommand extends $Command< DeprovisionByoipCidrCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeprovisionByoipCidrCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeregisterImageCommand.ts b/clients/client-ec2/commands/DeregisterImageCommand.ts index 668a6657c18f9..aba7d39e4f098 100644 --- a/clients/client-ec2/commands/DeregisterImageCommand.ts +++ b/clients/client-ec2/commands/DeregisterImageCommand.ts @@ -32,7 +32,6 @@ export class DeregisterImageCommand extends $Command< DeregisterImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeregisterImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts b/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts index 98bcd627d895d..1db0a129365af 100644 --- a/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts +++ b/clients/client-ec2/commands/DeregisterInstanceEventNotificationAttributesCommand.ts @@ -33,7 +33,6 @@ export class DeregisterInstanceEventNotificationAttributesCommand extends $Comma DeregisterInstanceEventNotificationAttributesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeregisterInstanceEventNotificationAttributesCommand extends $Comma DeregisterInstanceEventNotificationAttributesCommandInput, DeregisterInstanceEventNotificationAttributesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts index 8761fa0aad75a..597d176074a5d 100644 --- a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts +++ b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts @@ -32,7 +32,6 @@ export class DeregisterTransitGatewayMulticastGroupMembersCommand extends $Comma DeregisterTransitGatewayMulticastGroupMembersCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeregisterTransitGatewayMulticastGroupMembersCommand extends $Comma DeregisterTransitGatewayMulticastGroupMembersCommandInput, DeregisterTransitGatewayMulticastGroupMembersCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts index 3e4f6b296029c..2213e967239d8 100644 --- a/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts +++ b/clients/client-ec2/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts @@ -32,7 +32,6 @@ export class DeregisterTransitGatewayMulticastGroupSourcesCommand extends $Comma DeregisterTransitGatewayMulticastGroupSourcesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeregisterTransitGatewayMulticastGroupSourcesCommand extends $Comma DeregisterTransitGatewayMulticastGroupSourcesCommandInput, DeregisterTransitGatewayMulticastGroupSourcesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts b/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts index f6cad7902d9b0..362c4930f241b 100644 --- a/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-ec2/commands/DescribeAccountAttributesCommand.ts @@ -62,7 +62,6 @@ export class DescribeAccountAttributesCommand extends $Command< DescribeAccountAttributesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DescribeAccountAttributesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeAddressesAttributeCommand.ts b/clients/client-ec2/commands/DescribeAddressesAttributeCommand.ts index fa16264f1172e..8279da9a72f85 100644 --- a/clients/client-ec2/commands/DescribeAddressesAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeAddressesAttributeCommand.ts @@ -25,7 +25,6 @@ export class DescribeAddressesAttributeCommand extends $Command< DescribeAddressesAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeAddressesAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeAddressesCommand.ts b/clients/client-ec2/commands/DescribeAddressesCommand.ts index bfaa634e744b0..8d0748b5fb846 100644 --- a/clients/client-ec2/commands/DescribeAddressesCommand.ts +++ b/clients/client-ec2/commands/DescribeAddressesCommand.ts @@ -30,7 +30,6 @@ export class DescribeAddressesCommand extends $Command< DescribeAddressesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAddressesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts b/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts index 32f3f95e1233a..d64f7df37f2b7 100644 --- a/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribeAggregateIdFormatCommand.ts @@ -45,7 +45,6 @@ export class DescribeAggregateIdFormatCommand extends $Command< DescribeAggregateIdFormatCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DescribeAggregateIdFormatCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts b/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts index ab01bd3effff1..fe3409696a075 100644 --- a/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts +++ b/clients/client-ec2/commands/DescribeAvailabilityZonesCommand.ts @@ -33,7 +33,6 @@ export class DescribeAvailabilityZonesCommand extends $Command< DescribeAvailabilityZonesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeAvailabilityZonesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeBundleTasksCommand.ts b/clients/client-ec2/commands/DescribeBundleTasksCommand.ts index 4a78b5e4e5cf8..682b47d0894de 100644 --- a/clients/client-ec2/commands/DescribeBundleTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeBundleTasksCommand.ts @@ -31,7 +31,6 @@ export class DescribeBundleTasksCommand extends $Command< DescribeBundleTasksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeBundleTasksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts b/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts index 57771a4ac1e8d..1704e1f3ac4b8 100644 --- a/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts +++ b/clients/client-ec2/commands/DescribeByoipCidrsCommand.ts @@ -30,7 +30,6 @@ export class DescribeByoipCidrsCommand extends $Command< DescribeByoipCidrsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeByoipCidrsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts b/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts index 7845b189d2d8d..4fa29988c5c6f 100644 --- a/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts +++ b/clients/client-ec2/commands/DescribeCapacityReservationsCommand.ts @@ -29,7 +29,6 @@ export class DescribeCapacityReservationsCommand extends $Command< DescribeCapacityReservationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCapacityReservationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeCarrierGatewaysCommand.ts b/clients/client-ec2/commands/DescribeCarrierGatewaysCommand.ts index 85c58f8f01ee6..097df393379bc 100644 --- a/clients/client-ec2/commands/DescribeCarrierGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeCarrierGatewaysCommand.ts @@ -28,7 +28,6 @@ export class DescribeCarrierGatewaysCommand extends $Command< DescribeCarrierGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCarrierGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts b/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts index b7a585c9351eb..bcaa636a2c52d 100644 --- a/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeClassicLinkInstancesCommand.ts @@ -30,7 +30,6 @@ export class DescribeClassicLinkInstancesCommand extends $Command< DescribeClassicLinkInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeClassicLinkInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts b/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts index 0c5a610dc34f4..8632516e4f71d 100644 --- a/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnAuthorizationRulesCommand.ts @@ -32,7 +32,6 @@ export class DescribeClientVpnAuthorizationRulesCommand extends $Command< DescribeClientVpnAuthorizationRulesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeClientVpnAuthorizationRulesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts b/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts index 34631e0c2d26d..1215baa07f885 100644 --- a/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnConnectionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeClientVpnConnectionsCommand extends $Command< DescribeClientVpnConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeClientVpnConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts b/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts index cada1b02d3260..54b7e27a56b7a 100644 --- a/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnEndpointsCommand.ts @@ -28,7 +28,6 @@ export class DescribeClientVpnEndpointsCommand extends $Command< DescribeClientVpnEndpointsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClientVpnEndpointsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts b/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts index 367b67673b0a0..9363e33de2fc2 100644 --- a/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnRoutesCommand.ts @@ -28,7 +28,6 @@ export class DescribeClientVpnRoutesCommand extends $Command< DescribeClientVpnRoutesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClientVpnRoutesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts b/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts index a30a259d59b3a..dab43896224c5 100644 --- a/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts +++ b/clients/client-ec2/commands/DescribeClientVpnTargetNetworksCommand.ts @@ -28,7 +28,6 @@ export class DescribeClientVpnTargetNetworksCommand extends $Command< DescribeClientVpnTargetNetworksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClientVpnTargetNetworksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts b/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts index 285058579c797..9d67e7bb4e757 100644 --- a/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts +++ b/clients/client-ec2/commands/DescribeCoipPoolsCommand.ts @@ -28,7 +28,6 @@ export class DescribeCoipPoolsCommand extends $Command< DescribeCoipPoolsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCoipPoolsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeConversionTasksCommand.ts b/clients/client-ec2/commands/DescribeConversionTasksCommand.ts index 0db9dceccd26c..a5d7c46b6abe8 100644 --- a/clients/client-ec2/commands/DescribeConversionTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeConversionTasksCommand.ts @@ -30,7 +30,6 @@ export class DescribeConversionTasksCommand extends $Command< DescribeConversionTasksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeConversionTasksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts b/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts index cbccfdfe8a676..b4b35adcf8707 100644 --- a/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeCustomerGatewaysCommand.ts @@ -29,7 +29,6 @@ export class DescribeCustomerGatewaysCommand extends $Command< DescribeCustomerGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCustomerGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts b/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts index 14116418c0696..92bf0dae9b50c 100644 --- a/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts +++ b/clients/client-ec2/commands/DescribeDhcpOptionsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDhcpOptionsCommand extends $Command< DescribeDhcpOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDhcpOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts b/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts index 3d0d0b866e27f..a0850682c58f1 100644 --- a/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeEgressOnlyInternetGatewaysCommand.ts @@ -32,7 +32,6 @@ export class DescribeEgressOnlyInternetGatewaysCommand extends $Command< DescribeEgressOnlyInternetGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEgressOnlyInternetGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeElasticGpusCommand.ts b/clients/client-ec2/commands/DescribeElasticGpusCommand.ts index d14d42c662fb5..9579ad621b647 100644 --- a/clients/client-ec2/commands/DescribeElasticGpusCommand.ts +++ b/clients/client-ec2/commands/DescribeElasticGpusCommand.ts @@ -29,7 +29,6 @@ export class DescribeElasticGpusCommand extends $Command< DescribeElasticGpusCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeElasticGpusCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts b/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts index 8bf44d59e618d..1ee3714bfa803 100644 --- a/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeExportImageTasksCommand.ts @@ -28,7 +28,6 @@ export class DescribeExportImageTasksCommand extends $Command< DescribeExportImageTasksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeExportImageTasksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeExportTasksCommand.ts b/clients/client-ec2/commands/DescribeExportTasksCommand.ts index 314863e327384..8b4cc5d39e193 100644 --- a/clients/client-ec2/commands/DescribeExportTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeExportTasksCommand.ts @@ -28,7 +28,6 @@ export class DescribeExportTasksCommand extends $Command< DescribeExportTasksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeExportTasksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts b/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts index a4a075d8a2f2a..a2fc708e90c30 100644 --- a/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts +++ b/clients/client-ec2/commands/DescribeFastSnapshotRestoresCommand.ts @@ -28,7 +28,6 @@ export class DescribeFastSnapshotRestoresCommand extends $Command< DescribeFastSnapshotRestoresCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFastSnapshotRestoresCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts b/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts index d39cf103ee3a2..75ca7b5f567cf 100644 --- a/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts +++ b/clients/client-ec2/commands/DescribeFleetHistoryCommand.ts @@ -31,7 +31,6 @@ export class DescribeFleetHistoryCommand extends $Command< DescribeFleetHistoryCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeFleetHistoryCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts b/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts index 3b959c665e77f..c87bdb09a29bc 100644 --- a/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeFleetInstancesCommand.ts @@ -28,7 +28,6 @@ export class DescribeFleetInstancesCommand extends $Command< DescribeFleetInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFleetInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFleetsCommand.ts b/clients/client-ec2/commands/DescribeFleetsCommand.ts index 9d6f2e96eef7c..665ab67f818c6 100644 --- a/clients/client-ec2/commands/DescribeFleetsCommand.ts +++ b/clients/client-ec2/commands/DescribeFleetsCommand.ts @@ -25,7 +25,6 @@ export class DescribeFleetsCommand extends $Command< DescribeFleetsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeFleetsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFlowLogsCommand.ts b/clients/client-ec2/commands/DescribeFlowLogsCommand.ts index 6374bdbe9361a..7be0cce3bdf2e 100644 --- a/clients/client-ec2/commands/DescribeFlowLogsCommand.ts +++ b/clients/client-ec2/commands/DescribeFlowLogsCommand.ts @@ -30,7 +30,6 @@ export class DescribeFlowLogsCommand extends $Command< DescribeFlowLogsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeFlowLogsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts b/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts index 5540fb337370a..d0b74d39027cd 100644 --- a/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeFpgaImageAttributeCommand.ts @@ -28,7 +28,6 @@ export class DescribeFpgaImageAttributeCommand extends $Command< DescribeFpgaImageAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFpgaImageAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts b/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts index c7245c53ae399..c9fd416fd2001 100644 --- a/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts +++ b/clients/client-ec2/commands/DescribeFpgaImagesCommand.ts @@ -30,7 +30,6 @@ export class DescribeFpgaImagesCommand extends $Command< DescribeFpgaImagesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeFpgaImagesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts b/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts index d8695c183bae8..c596287dce050 100644 --- a/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts +++ b/clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts @@ -34,7 +34,6 @@ export class DescribeHostReservationOfferingsCommand extends $Command< DescribeHostReservationOfferingsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeHostReservationOfferingsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeHostReservationsCommand.ts b/clients/client-ec2/commands/DescribeHostReservationsCommand.ts index e8baf7dd0494d..ea52512aa2642 100644 --- a/clients/client-ec2/commands/DescribeHostReservationsCommand.ts +++ b/clients/client-ec2/commands/DescribeHostReservationsCommand.ts @@ -29,7 +29,6 @@ export class DescribeHostReservationsCommand extends $Command< DescribeHostReservationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeHostReservationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeHostsCommand.ts b/clients/client-ec2/commands/DescribeHostsCommand.ts index 8e8bd308e7613..ba6a3161645aa 100644 --- a/clients/client-ec2/commands/DescribeHostsCommand.ts +++ b/clients/client-ec2/commands/DescribeHostsCommand.ts @@ -28,7 +28,6 @@ export class DescribeHostsCommand extends $Command< DescribeHostsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeHostsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts b/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts index 017c586e9e5a4..3e2ed6cd52f18 100644 --- a/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts +++ b/clients/client-ec2/commands/DescribeIamInstanceProfileAssociationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeIamInstanceProfileAssociationsCommand extends $Command< DescribeIamInstanceProfileAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeIamInstanceProfileAssociationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeIdFormatCommand.ts b/clients/client-ec2/commands/DescribeIdFormatCommand.ts index 316a874d9667d..6ddb3b855e9bf 100644 --- a/clients/client-ec2/commands/DescribeIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribeIdFormatCommand.ts @@ -47,7 +47,6 @@ export class DescribeIdFormatCommand extends $Command< DescribeIdFormatCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeIdFormatCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts b/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts index 6f98a042bc079..28cd5d31b2fb3 100644 --- a/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribeIdentityIdFormatCommand.ts @@ -46,7 +46,6 @@ export class DescribeIdentityIdFormatCommand extends $Command< DescribeIdentityIdFormatCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DescribeIdentityIdFormatCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeImageAttributeCommand.ts b/clients/client-ec2/commands/DescribeImageAttributeCommand.ts index fd0513bce0122..d645cdddf1821 100644 --- a/clients/client-ec2/commands/DescribeImageAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeImageAttributeCommand.ts @@ -28,7 +28,6 @@ export class DescribeImageAttributeCommand extends $Command< DescribeImageAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImageAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeImagesCommand.ts b/clients/client-ec2/commands/DescribeImagesCommand.ts index 68ba483a7b355..a1f7729634ac7 100644 --- a/clients/client-ec2/commands/DescribeImagesCommand.ts +++ b/clients/client-ec2/commands/DescribeImagesCommand.ts @@ -29,7 +29,6 @@ export class DescribeImagesCommand extends $Command< DescribeImagesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeImagesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts b/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts index 5da6195ca5192..61c1a848fe9d5 100644 --- a/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeImportImageTasksCommand.ts @@ -28,7 +28,6 @@ export class DescribeImportImageTasksCommand extends $Command< DescribeImportImageTasksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImportImageTasksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts b/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts index 39ef272ad7c96..d479c9c2aa599 100644 --- a/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts +++ b/clients/client-ec2/commands/DescribeImportSnapshotTasksCommand.ts @@ -28,7 +28,6 @@ export class DescribeImportSnapshotTasksCommand extends $Command< DescribeImportSnapshotTasksCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImportSnapshotTasksCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts b/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts index 322ae3ccf5012..b00503c1540d7 100644 --- a/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceAttributeCommand.ts @@ -35,7 +35,6 @@ export class DescribeInstanceAttributeCommand extends $Command< DescribeInstanceAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeInstanceAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts b/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts index 2c84a0090391d..f9ed37cf57356 100644 --- a/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts @@ -52,7 +52,6 @@ export class DescribeInstanceCreditSpecificationsCommand extends $Command< DescribeInstanceCreditSpecificationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DescribeInstanceCreditSpecificationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstanceEventNotificationAttributesCommand.ts b/clients/client-ec2/commands/DescribeInstanceEventNotificationAttributesCommand.ts index 0f8ce1d8329fa..3f86f3f98702b 100644 --- a/clients/client-ec2/commands/DescribeInstanceEventNotificationAttributesCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceEventNotificationAttributesCommand.ts @@ -33,7 +33,6 @@ export class DescribeInstanceEventNotificationAttributesCommand extends $Command DescribeInstanceEventNotificationAttributesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeInstanceEventNotificationAttributesCommand extends $Command DescribeInstanceEventNotificationAttributesCommandInput, DescribeInstanceEventNotificationAttributesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts b/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts index 6d38b62d8c3ec..811ca31f53c31 100644 --- a/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceStatusCommand.ts @@ -57,7 +57,6 @@ export class DescribeInstanceStatusCommand extends $Command< DescribeInstanceStatusCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class DescribeInstanceStatusCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts b/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts index da51df62f80a8..ba5a860684451 100644 --- a/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceTypeOfferingsCommand.ts @@ -29,7 +29,6 @@ export class DescribeInstanceTypeOfferingsCommand extends $Command< DescribeInstanceTypeOfferingsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeInstanceTypeOfferingsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts b/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts index 90f08e4e9e6a2..1f6880c631ae0 100644 --- a/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts +++ b/clients/client-ec2/commands/DescribeInstanceTypesCommand.ts @@ -30,7 +30,6 @@ export class DescribeInstanceTypesCommand extends $Command< DescribeInstanceTypesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeInstanceTypesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInstancesCommand.ts b/clients/client-ec2/commands/DescribeInstancesCommand.ts index 082a8bc3293ca..43f07eebba234 100644 --- a/clients/client-ec2/commands/DescribeInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeInstancesCommand.ts @@ -42,7 +42,6 @@ export class DescribeInstancesCommand extends $Command< DescribeInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts b/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts index 77cea0377968c..fcfd2b3970b00 100644 --- a/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeInternetGatewaysCommand.ts @@ -28,7 +28,6 @@ export class DescribeInternetGatewaysCommand extends $Command< DescribeInternetGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInternetGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts b/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts index 49627559518b3..d87c3a9ed4a47 100644 --- a/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts +++ b/clients/client-ec2/commands/DescribeIpv6PoolsCommand.ts @@ -28,7 +28,6 @@ export class DescribeIpv6PoolsCommand extends $Command< DescribeIpv6PoolsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeIpv6PoolsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeKeyPairsCommand.ts b/clients/client-ec2/commands/DescribeKeyPairsCommand.ts index c495e494cc050..f03cc1a8eea8f 100644 --- a/clients/client-ec2/commands/DescribeKeyPairsCommand.ts +++ b/clients/client-ec2/commands/DescribeKeyPairsCommand.ts @@ -30,7 +30,6 @@ export class DescribeKeyPairsCommand extends $Command< DescribeKeyPairsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeKeyPairsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts b/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts index d7b3efb89f032..76f9822caadca 100644 --- a/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts +++ b/clients/client-ec2/commands/DescribeLaunchTemplateVersionsCommand.ts @@ -31,7 +31,6 @@ export class DescribeLaunchTemplateVersionsCommand extends $Command< DescribeLaunchTemplateVersionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeLaunchTemplateVersionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts b/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts index e01f0f56d02be..01f090ad49633 100644 --- a/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts +++ b/clients/client-ec2/commands/DescribeLaunchTemplatesCommand.ts @@ -28,7 +28,6 @@ export class DescribeLaunchTemplatesCommand extends $Command< DescribeLaunchTemplatesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLaunchTemplatesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts index feb1435ce075c..c120643b5aaa9 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsComm DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsComm DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandInput, DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts index f1df837a85eee..d88ab29b2f98b 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeLocalGatewayRouteTableVpcAssociationsCommand extends $Comma DescribeLocalGatewayRouteTableVpcAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeLocalGatewayRouteTableVpcAssociationsCommand extends $Comma DescribeLocalGatewayRouteTableVpcAssociationsCommandInput, DescribeLocalGatewayRouteTableVpcAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts index d855227b64f57..acefc422c594c 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayRouteTablesCommand.ts @@ -29,7 +29,6 @@ export class DescribeLocalGatewayRouteTablesCommand extends $Command< DescribeLocalGatewayRouteTablesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeLocalGatewayRouteTablesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts index a3a6a5baa09eb..13523ee383a56 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts @@ -32,7 +32,6 @@ export class DescribeLocalGatewayVirtualInterfaceGroupsCommand extends $Command< DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeLocalGatewayVirtualInterfaceGroupsCommand extends $Command< DescribeLocalGatewayVirtualInterfaceGroupsCommandInput, DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts index c91a2bedeaf86..da3875595a010 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts @@ -32,7 +32,6 @@ export class DescribeLocalGatewayVirtualInterfacesCommand extends $Command< DescribeLocalGatewayVirtualInterfacesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeLocalGatewayVirtualInterfacesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts b/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts index 0b2bcd4e712bb..55879105622f8 100644 --- a/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeLocalGatewaysCommand.ts @@ -29,7 +29,6 @@ export class DescribeLocalGatewaysCommand extends $Command< DescribeLocalGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeLocalGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeManagedPrefixListsCommand.ts b/clients/client-ec2/commands/DescribeManagedPrefixListsCommand.ts index f3ac45dbbb798..2dd004e77b6c9 100644 --- a/clients/client-ec2/commands/DescribeManagedPrefixListsCommand.ts +++ b/clients/client-ec2/commands/DescribeManagedPrefixListsCommand.ts @@ -29,7 +29,6 @@ export class DescribeManagedPrefixListsCommand extends $Command< DescribeManagedPrefixListsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeManagedPrefixListsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts b/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts index f92beeafcf9c4..1896a9d553052 100644 --- a/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts +++ b/clients/client-ec2/commands/DescribeMovingAddressesCommand.ts @@ -28,7 +28,6 @@ export class DescribeMovingAddressesCommand extends $Command< DescribeMovingAddressesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMovingAddressesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts b/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts index 46ff5a0ec424d..29fabe0c0078f 100644 --- a/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeNatGatewaysCommand.ts @@ -28,7 +28,6 @@ export class DescribeNatGatewaysCommand extends $Command< DescribeNatGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNatGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts b/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts index f428250649f12..90042008f1ab7 100644 --- a/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkAclsCommand.ts @@ -30,7 +30,6 @@ export class DescribeNetworkAclsCommand extends $Command< DescribeNetworkAclsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeNetworkAclsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNetworkInsightsAnalysesCommand.ts b/clients/client-ec2/commands/DescribeNetworkInsightsAnalysesCommand.ts index 76ff7c6a83325..a36c4bacbc970 100644 --- a/clients/client-ec2/commands/DescribeNetworkInsightsAnalysesCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInsightsAnalysesCommand.ts @@ -28,7 +28,6 @@ export class DescribeNetworkInsightsAnalysesCommand extends $Command< DescribeNetworkInsightsAnalysesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNetworkInsightsAnalysesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNetworkInsightsPathsCommand.ts b/clients/client-ec2/commands/DescribeNetworkInsightsPathsCommand.ts index f76d72d923d54..497cbcd704044 100644 --- a/clients/client-ec2/commands/DescribeNetworkInsightsPathsCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInsightsPathsCommand.ts @@ -28,7 +28,6 @@ export class DescribeNetworkInsightsPathsCommand extends $Command< DescribeNetworkInsightsPathsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNetworkInsightsPathsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts b/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts index ce985b73f9753..2e5fda5f8ffb1 100644 --- a/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInterfaceAttributeCommand.ts @@ -28,7 +28,6 @@ export class DescribeNetworkInterfaceAttributeCommand extends $Command< DescribeNetworkInterfaceAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNetworkInterfaceAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts b/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts index 4b130456a800c..99b5eb80a15e7 100644 --- a/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInterfacePermissionsCommand.ts @@ -32,7 +32,6 @@ export class DescribeNetworkInterfacePermissionsCommand extends $Command< DescribeNetworkInterfacePermissionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeNetworkInterfacePermissionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts b/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts index bc38ddffa021e..0b5f35a6c0acc 100644 --- a/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts +++ b/clients/client-ec2/commands/DescribeNetworkInterfacesCommand.ts @@ -28,7 +28,6 @@ export class DescribeNetworkInterfacesCommand extends $Command< DescribeNetworkInterfacesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNetworkInterfacesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts b/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts index 3bcc261d3fef4..deb7390e6d478 100644 --- a/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribePlacementGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribePlacementGroupsCommand extends $Command< DescribePlacementGroupsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribePlacementGroupsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribePrefixListsCommand.ts b/clients/client-ec2/commands/DescribePrefixListsCommand.ts index b9a5a68a8b331..238dcf1f90322 100644 --- a/clients/client-ec2/commands/DescribePrefixListsCommand.ts +++ b/clients/client-ec2/commands/DescribePrefixListsCommand.ts @@ -30,7 +30,6 @@ export class DescribePrefixListsCommand extends $Command< DescribePrefixListsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribePrefixListsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts b/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts index f2ae1fada66d7..bddff745cd565 100644 --- a/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts +++ b/clients/client-ec2/commands/DescribePrincipalIdFormatCommand.ts @@ -45,7 +45,6 @@ export class DescribePrincipalIdFormatCommand extends $Command< DescribePrincipalIdFormatCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DescribePrincipalIdFormatCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts b/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts index ba6874e522c97..c47669522d5d5 100644 --- a/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts +++ b/clients/client-ec2/commands/DescribePublicIpv4PoolsCommand.ts @@ -28,7 +28,6 @@ export class DescribePublicIpv4PoolsCommand extends $Command< DescribePublicIpv4PoolsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePublicIpv4PoolsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeRegionsCommand.ts b/clients/client-ec2/commands/DescribeRegionsCommand.ts index 2bb33228f5d05..30ab005bd41b3 100644 --- a/clients/client-ec2/commands/DescribeRegionsCommand.ts +++ b/clients/client-ec2/commands/DescribeRegionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeRegionsCommand extends $Command< DescribeRegionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRegionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts index 5878760a844c6..80a793d574008 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesCommand.ts @@ -30,7 +30,6 @@ export class DescribeReservedInstancesCommand extends $Command< DescribeReservedInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeReservedInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts index bfc17be97a543..0214493501f3d 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesListingsCommand.ts @@ -33,7 +33,6 @@ export class DescribeReservedInstancesListingsCommand extends $Command< DescribeReservedInstancesListingsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeReservedInstancesListingsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts index 12fe8733d08d2..2c08c6cf7626b 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesModificationsCommand.ts @@ -33,7 +33,6 @@ export class DescribeReservedInstancesModificationsCommand extends $Command< DescribeReservedInstancesModificationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeReservedInstancesModificationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts b/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts index ccfe6ad4856ff..f5d3ec21b055f 100644 --- a/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts +++ b/clients/client-ec2/commands/DescribeReservedInstancesOfferingsCommand.ts @@ -35,7 +35,6 @@ export class DescribeReservedInstancesOfferingsCommand extends $Command< DescribeReservedInstancesOfferingsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeReservedInstancesOfferingsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeRouteTablesCommand.ts b/clients/client-ec2/commands/DescribeRouteTablesCommand.ts index 7678114a49d1c..13097ce25da95 100644 --- a/clients/client-ec2/commands/DescribeRouteTablesCommand.ts +++ b/clients/client-ec2/commands/DescribeRouteTablesCommand.ts @@ -31,7 +31,6 @@ export class DescribeRouteTablesCommand extends $Command< DescribeRouteTablesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeRouteTablesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts b/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts index 21f3efa949e78..b638ec72fd062 100644 --- a/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts +++ b/clients/client-ec2/commands/DescribeScheduledInstanceAvailabilityCommand.ts @@ -35,7 +35,6 @@ export class DescribeScheduledInstanceAvailabilityCommand extends $Command< DescribeScheduledInstanceAvailabilityCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeScheduledInstanceAvailabilityCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts b/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts index 6bd20550f41d4..df7853511dfce 100644 --- a/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeScheduledInstancesCommand.ts @@ -28,7 +28,6 @@ export class DescribeScheduledInstancesCommand extends $Command< DescribeScheduledInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScheduledInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts b/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts index 5d464bac72806..e1a0a4905a6c1 100644 --- a/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts +++ b/clients/client-ec2/commands/DescribeSecurityGroupReferencesCommand.ts @@ -28,7 +28,6 @@ export class DescribeSecurityGroupReferencesCommand extends $Command< DescribeSecurityGroupReferencesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSecurityGroupReferencesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts b/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts index 4ffdb68cc94c6..d6c9227e7cdd7 100644 --- a/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribeSecurityGroupsCommand.ts @@ -34,7 +34,6 @@ export class DescribeSecurityGroupsCommand extends $Command< DescribeSecurityGroupsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeSecurityGroupsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts b/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts index 9ab36f6a2bd15..7c2ee449f2f28 100644 --- a/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeSnapshotAttributeCommand.ts @@ -30,7 +30,6 @@ export class DescribeSnapshotAttributeCommand extends $Command< DescribeSnapshotAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeSnapshotAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSnapshotsCommand.ts b/clients/client-ec2/commands/DescribeSnapshotsCommand.ts index 6f79147efcd4d..bf5c5335babfb 100644 --- a/clients/client-ec2/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-ec2/commands/DescribeSnapshotsCommand.ts @@ -74,7 +74,6 @@ export class DescribeSnapshotsCommand extends $Command< DescribeSnapshotsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class DescribeSnapshotsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts b/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts index 66ac524741333..2c37f0dd9600b 100644 --- a/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotDatafeedSubscriptionCommand.ts @@ -29,7 +29,6 @@ export class DescribeSpotDatafeedSubscriptionCommand extends $Command< DescribeSpotDatafeedSubscriptionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSpotDatafeedSubscriptionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts b/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts index 55875154aec3e..11d48684f6f4c 100644 --- a/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotFleetInstancesCommand.ts @@ -28,7 +28,6 @@ export class DescribeSpotFleetInstancesCommand extends $Command< DescribeSpotFleetInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSpotFleetInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts b/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts index f649f3e2b33f6..7dc254acc8626 100644 --- a/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotFleetRequestHistoryCommand.ts @@ -30,7 +30,6 @@ export class DescribeSpotFleetRequestHistoryCommand extends $Command< DescribeSpotFleetRequestHistoryCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeSpotFleetRequestHistoryCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts b/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts index eb019bf03de22..b6fd509fb7e1c 100644 --- a/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotFleetRequestsCommand.ts @@ -29,7 +29,6 @@ export class DescribeSpotFleetRequestsCommand extends $Command< DescribeSpotFleetRequestsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSpotFleetRequestsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts b/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts index 8432f0a084ae4..39313435cef5b 100644 --- a/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotInstanceRequestsCommand.ts @@ -43,7 +43,6 @@ export class DescribeSpotInstanceRequestsCommand extends $Command< DescribeSpotInstanceRequestsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DescribeSpotInstanceRequestsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts b/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts index d987d45dd1ede..185263e902460 100644 --- a/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts +++ b/clients/client-ec2/commands/DescribeSpotPriceHistoryCommand.ts @@ -32,7 +32,6 @@ export class DescribeSpotPriceHistoryCommand extends $Command< DescribeSpotPriceHistoryCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeSpotPriceHistoryCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts b/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts index 922a79143f135..e19a4a198f189 100644 --- a/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts +++ b/clients/client-ec2/commands/DescribeStaleSecurityGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeStaleSecurityGroupsCommand extends $Command< DescribeStaleSecurityGroupsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStaleSecurityGroupsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeSubnetsCommand.ts b/clients/client-ec2/commands/DescribeSubnetsCommand.ts index a24cc768e8adf..834ad4a9bb877 100644 --- a/clients/client-ec2/commands/DescribeSubnetsCommand.ts +++ b/clients/client-ec2/commands/DescribeSubnetsCommand.ts @@ -27,7 +27,6 @@ export class DescribeSubnetsCommand extends $Command< DescribeSubnetsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class DescribeSubnetsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTagsCommand.ts b/clients/client-ec2/commands/DescribeTagsCommand.ts index 5b03d347d0334..41450de5778c6 100644 --- a/clients/client-ec2/commands/DescribeTagsCommand.ts +++ b/clients/client-ec2/commands/DescribeTagsCommand.ts @@ -27,7 +27,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class DescribeTagsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts b/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts index 9ee3e0317cc40..afb7d5d0ede26 100644 --- a/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts +++ b/clients/client-ec2/commands/DescribeTrafficMirrorFiltersCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrafficMirrorFiltersCommand extends $Command< DescribeTrafficMirrorFiltersCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrafficMirrorFiltersCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts b/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts index 819e5e2ff37a7..e13d524dd2ec8 100644 --- a/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts +++ b/clients/client-ec2/commands/DescribeTrafficMirrorSessionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrafficMirrorSessionsCommand extends $Command< DescribeTrafficMirrorSessionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrafficMirrorSessionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts b/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts index dc86387017147..3ad5219acda3f 100644 --- a/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts +++ b/clients/client-ec2/commands/DescribeTrafficMirrorTargetsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrafficMirrorTargetsCommand extends $Command< DescribeTrafficMirrorTargetsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrafficMirrorTargetsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts index a3822f2f145e3..ff44a5c50f9aa 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayAttachmentsCommand.ts @@ -29,7 +29,6 @@ export class DescribeTransitGatewayAttachmentsCommand extends $Command< DescribeTransitGatewayAttachmentsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTransitGatewayAttachmentsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayConnectPeersCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayConnectPeersCommand.ts index 42894b1aebcb7..1fe9e549ac7c5 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayConnectPeersCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayConnectPeersCommand.ts @@ -32,7 +32,6 @@ export class DescribeTransitGatewayConnectPeersCommand extends $Command< DescribeTransitGatewayConnectPeersCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeTransitGatewayConnectPeersCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayConnectsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayConnectsCommand.ts index 82e9d6bb39552..d3cf9cd1fe345 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayConnectsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayConnectsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTransitGatewayConnectsCommand extends $Command< DescribeTransitGatewayConnectsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTransitGatewayConnectsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts index 4de36b2396df3..4d896ca2e1da1 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayMulticastDomainsCommand.ts @@ -32,7 +32,6 @@ export class DescribeTransitGatewayMulticastDomainsCommand extends $Command< DescribeTransitGatewayMulticastDomainsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeTransitGatewayMulticastDomainsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts index 2207bc1879751..e98425694cf9d 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts @@ -32,7 +32,6 @@ export class DescribeTransitGatewayPeeringAttachmentsCommand extends $Command< DescribeTransitGatewayPeeringAttachmentsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeTransitGatewayPeeringAttachmentsCommand extends $Command< DescribeTransitGatewayPeeringAttachmentsCommandInput, DescribeTransitGatewayPeeringAttachmentsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts index da33730235acb..4c40e71a6e6e9 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayRouteTablesCommand.ts @@ -29,7 +29,6 @@ export class DescribeTransitGatewayRouteTablesCommand extends $Command< DescribeTransitGatewayRouteTablesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTransitGatewayRouteTablesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts index 35260e2470310..79dfd62afd5d7 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts @@ -33,7 +33,6 @@ export class DescribeTransitGatewayVpcAttachmentsCommand extends $Command< DescribeTransitGatewayVpcAttachmentsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeTransitGatewayVpcAttachmentsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts b/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts index 8bc58e34d1361..07fe038b87aae 100644 --- a/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeTransitGatewaysCommand.ts @@ -29,7 +29,6 @@ export class DescribeTransitGatewaysCommand extends $Command< DescribeTransitGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTransitGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts b/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts index 7f14b317ddc77..e742d77528fae 100644 --- a/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumeAttributeCommand.ts @@ -30,7 +30,6 @@ export class DescribeVolumeAttributeCommand extends $Command< DescribeVolumeAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeVolumeAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts b/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts index 072697520d218..27a00324d4a9b 100644 --- a/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumeStatusCommand.ts @@ -61,7 +61,6 @@ export class DescribeVolumeStatusCommand extends $Command< DescribeVolumeStatusCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class DescribeVolumeStatusCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVolumesCommand.ts b/clients/client-ec2/commands/DescribeVolumesCommand.ts index 2139858f106af..50cd9a31025af 100644 --- a/clients/client-ec2/commands/DescribeVolumesCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumesCommand.ts @@ -32,7 +32,6 @@ export class DescribeVolumesCommand extends $Command< DescribeVolumesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeVolumesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts b/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts index 14e83fffb6742..39537cc5cdfdc 100644 --- a/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVolumesModificationsCommand.ts @@ -35,7 +35,6 @@ export class DescribeVolumesModificationsCommand extends $Command< DescribeVolumesModificationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeVolumesModificationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts b/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts index dc95f78404875..f573fcb406671 100644 --- a/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcAttributeCommand.ts @@ -28,7 +28,6 @@ export class DescribeVpcAttributeCommand extends $Command< DescribeVpcAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVpcAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts b/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts index 5836f6676ca0d..f7f1a7c40b344 100644 --- a/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcClassicLinkCommand.ts @@ -28,7 +28,6 @@ export class DescribeVpcClassicLinkCommand extends $Command< DescribeVpcClassicLinkCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVpcClassicLinkCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts index 0efc3a0624b3e..ffef8bd5775e5 100644 --- a/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcClassicLinkDnsSupportCommand.ts @@ -32,7 +32,6 @@ export class DescribeVpcClassicLinkDnsSupportCommand extends $Command< DescribeVpcClassicLinkDnsSupportCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeVpcClassicLinkDnsSupportCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts index cc734183b8125..7fdec7c7f2aa5 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts @@ -33,7 +33,6 @@ export class DescribeVpcEndpointConnectionNotificationsCommand extends $Command< DescribeVpcEndpointConnectionNotificationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeVpcEndpointConnectionNotificationsCommand extends $Command< DescribeVpcEndpointConnectionNotificationsCommandInput, DescribeVpcEndpointConnectionNotificationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts index e7afda20c5c22..6d6adadfb498f 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointConnectionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeVpcEndpointConnectionsCommand extends $Command< DescribeVpcEndpointConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeVpcEndpointConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts index a1b94fc1127bc..8adbda6eb776d 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeVpcEndpointServiceConfigurationsCommand extends $Command< DescribeVpcEndpointServiceConfigurationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeVpcEndpointServiceConfigurationsCommand extends $Command< DescribeVpcEndpointServiceConfigurationsCommandInput, DescribeVpcEndpointServiceConfigurationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts index d55fb7a7143f3..67d8b17ee8133 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServicePermissionsCommand.ts @@ -33,7 +33,6 @@ export class DescribeVpcEndpointServicePermissionsCommand extends $Command< DescribeVpcEndpointServicePermissionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeVpcEndpointServicePermissionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts index 0468f0a07f0d8..8bc388d4224f9 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointServicesCommand.ts @@ -35,7 +35,6 @@ export class DescribeVpcEndpointServicesCommand extends $Command< DescribeVpcEndpointServicesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeVpcEndpointServicesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts b/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts index 3f9d518968a7b..94c130d0b226f 100644 --- a/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcEndpointsCommand.ts @@ -28,7 +28,6 @@ export class DescribeVpcEndpointsCommand extends $Command< DescribeVpcEndpointsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVpcEndpointsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts index 2d5f7540ff655..b79a8a412dc3c 100644 --- a/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcPeeringConnectionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< DescribeVpcPeeringConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpcsCommand.ts b/clients/client-ec2/commands/DescribeVpcsCommand.ts index 46bdf8e191a94..d10bfba8ee891 100644 --- a/clients/client-ec2/commands/DescribeVpcsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpcsCommand.ts @@ -25,7 +25,6 @@ export class DescribeVpcsCommand extends $Command< DescribeVpcsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DescribeVpcsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts b/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts index b9931757f6e70..dedf9ed55d3d8 100644 --- a/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/DescribeVpnConnectionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeVpnConnectionsCommand extends $Command< DescribeVpnConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeVpnConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts b/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts index ca0a42535a10b..780815a7c3f19 100644 --- a/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts +++ b/clients/client-ec2/commands/DescribeVpnGatewaysCommand.ts @@ -29,7 +29,6 @@ export class DescribeVpnGatewaysCommand extends $Command< DescribeVpnGatewaysCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeVpnGatewaysCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts b/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts index 205750c61ce50..b575118411ee5 100644 --- a/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts +++ b/clients/client-ec2/commands/DetachClassicLinkVpcCommand.ts @@ -28,7 +28,6 @@ export class DetachClassicLinkVpcCommand extends $Command< DetachClassicLinkVpcCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachClassicLinkVpcCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DetachInternetGatewayCommand.ts b/clients/client-ec2/commands/DetachInternetGatewayCommand.ts index 7ee7a5172b232..044d0ba6ea39a 100644 --- a/clients/client-ec2/commands/DetachInternetGatewayCommand.ts +++ b/clients/client-ec2/commands/DetachInternetGatewayCommand.ts @@ -30,7 +30,6 @@ export class DetachInternetGatewayCommand extends $Command< DetachInternetGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DetachInternetGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts b/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts index 8286dd69a2722..180ae72abaca2 100644 --- a/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts +++ b/clients/client-ec2/commands/DetachNetworkInterfaceCommand.ts @@ -28,7 +28,6 @@ export class DetachNetworkInterfaceCommand extends $Command< DetachNetworkInterfaceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachNetworkInterfaceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DetachVolumeCommand.ts b/clients/client-ec2/commands/DetachVolumeCommand.ts index dc10737e7feb9..6dec142ef4dc9 100644 --- a/clients/client-ec2/commands/DetachVolumeCommand.ts +++ b/clients/client-ec2/commands/DetachVolumeCommand.ts @@ -36,7 +36,6 @@ export class DetachVolumeCommand extends $Command< DetachVolumeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DetachVolumeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DetachVpnGatewayCommand.ts b/clients/client-ec2/commands/DetachVpnGatewayCommand.ts index e2bf72584b106..42c0d0cfecd88 100644 --- a/clients/client-ec2/commands/DetachVpnGatewayCommand.ts +++ b/clients/client-ec2/commands/DetachVpnGatewayCommand.ts @@ -30,7 +30,6 @@ export class DetachVpnGatewayCommand extends $Command< DetachVpnGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DetachVpnGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts b/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts index e03b2772c7aa3..ecfd3feb66999 100644 --- a/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts +++ b/clients/client-ec2/commands/DisableEbsEncryptionByDefaultCommand.ts @@ -34,7 +34,6 @@ export class DisableEbsEncryptionByDefaultCommand extends $Command< DisableEbsEncryptionByDefaultCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DisableEbsEncryptionByDefaultCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts b/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts index 052a294c85b68..1dd8f1c1fa7ae 100644 --- a/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts +++ b/clients/client-ec2/commands/DisableFastSnapshotRestoresCommand.ts @@ -28,7 +28,6 @@ export class DisableFastSnapshotRestoresCommand extends $Command< DisableFastSnapshotRestoresCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableFastSnapshotRestoresCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts b/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts index 74c9bfc555bcc..7ee0ebb9438e6 100644 --- a/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts +++ b/clients/client-ec2/commands/DisableTransitGatewayRouteTablePropagationCommand.ts @@ -33,7 +33,6 @@ export class DisableTransitGatewayRouteTablePropagationCommand extends $Command< DisableTransitGatewayRouteTablePropagationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisableTransitGatewayRouteTablePropagationCommand extends $Command< DisableTransitGatewayRouteTablePropagationCommandInput, DisableTransitGatewayRouteTablePropagationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts b/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts index 8249f76f2c8d6..c7a44140daddb 100644 --- a/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts +++ b/clients/client-ec2/commands/DisableVgwRoutePropagationCommand.ts @@ -28,7 +28,6 @@ export class DisableVgwRoutePropagationCommand extends $Command< DisableVgwRoutePropagationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableVgwRoutePropagationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts b/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts index f892e356973f7..24de67f467148 100644 --- a/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts +++ b/clients/client-ec2/commands/DisableVpcClassicLinkCommand.ts @@ -28,7 +28,6 @@ export class DisableVpcClassicLinkCommand extends $Command< DisableVpcClassicLinkCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableVpcClassicLinkCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts index 28b3537de0e4d..833334786b50a 100644 --- a/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/commands/DisableVpcClassicLinkDnsSupportCommand.ts @@ -32,7 +32,6 @@ export class DisableVpcClassicLinkDnsSupportCommand extends $Command< DisableVpcClassicLinkDnsSupportCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisableVpcClassicLinkDnsSupportCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateAddressCommand.ts b/clients/client-ec2/commands/DisassociateAddressCommand.ts index de93bf60cfccb..728a56da79b79 100644 --- a/clients/client-ec2/commands/DisassociateAddressCommand.ts +++ b/clients/client-ec2/commands/DisassociateAddressCommand.ts @@ -32,7 +32,6 @@ export class DisassociateAddressCommand extends $Command< DisassociateAddressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateAddressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts b/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts index 3e3d3dc4163bf..32235a8ad51be 100644 --- a/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts +++ b/clients/client-ec2/commands/DisassociateClientVpnTargetNetworkCommand.ts @@ -48,7 +48,6 @@ export class DisassociateClientVpnTargetNetworkCommand extends $Command< DisassociateClientVpnTargetNetworkCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DisassociateClientVpnTargetNetworkCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateEnclaveCertificateIamRoleCommand.ts b/clients/client-ec2/commands/DisassociateEnclaveCertificateIamRoleCommand.ts index 54e8f67fc87c2..cd3cfaed292c2 100644 --- a/clients/client-ec2/commands/DisassociateEnclaveCertificateIamRoleCommand.ts +++ b/clients/client-ec2/commands/DisassociateEnclaveCertificateIamRoleCommand.ts @@ -36,7 +36,6 @@ export class DisassociateEnclaveCertificateIamRoleCommand extends $Command< DisassociateEnclaveCertificateIamRoleCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisassociateEnclaveCertificateIamRoleCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts b/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts index bfee12296896d..dd967eedcfa43 100644 --- a/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts +++ b/clients/client-ec2/commands/DisassociateIamInstanceProfileCommand.ts @@ -30,7 +30,6 @@ export class DisassociateIamInstanceProfileCommand extends $Command< DisassociateIamInstanceProfileCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociateIamInstanceProfileCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateRouteTableCommand.ts b/clients/client-ec2/commands/DisassociateRouteTableCommand.ts index d2ad1562896f8..2db2d9baa4e48 100644 --- a/clients/client-ec2/commands/DisassociateRouteTableCommand.ts +++ b/clients/client-ec2/commands/DisassociateRouteTableCommand.ts @@ -32,7 +32,6 @@ export class DisassociateRouteTableCommand extends $Command< DisassociateRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts b/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts index bb15c02a48b74..75bd830be01e4 100644 --- a/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts +++ b/clients/client-ec2/commands/DisassociateSubnetCidrBlockCommand.ts @@ -28,7 +28,6 @@ export class DisassociateSubnetCidrBlockCommand extends $Command< DisassociateSubnetCidrBlockCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateSubnetCidrBlockCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts b/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts index 9b5ed30b9a3a6..08fab49e38add 100644 --- a/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts +++ b/clients/client-ec2/commands/DisassociateTransitGatewayMulticastDomainCommand.ts @@ -32,7 +32,6 @@ export class DisassociateTransitGatewayMulticastDomainCommand extends $Command< DisassociateTransitGatewayMulticastDomainCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociateTransitGatewayMulticastDomainCommand extends $Command< DisassociateTransitGatewayMulticastDomainCommandInput, DisassociateTransitGatewayMulticastDomainCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts b/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts index e48c4a6d948c9..062698539dbd4 100644 --- a/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts +++ b/clients/client-ec2/commands/DisassociateTransitGatewayRouteTableCommand.ts @@ -32,7 +32,6 @@ export class DisassociateTransitGatewayRouteTableCommand extends $Command< DisassociateTransitGatewayRouteTableCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateTransitGatewayRouteTableCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts b/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts index d3bc922809051..6dffb76e8810f 100644 --- a/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts +++ b/clients/client-ec2/commands/DisassociateVpcCidrBlockCommand.ts @@ -33,7 +33,6 @@ export class DisassociateVpcCidrBlockCommand extends $Command< DisassociateVpcCidrBlockCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DisassociateVpcCidrBlockCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts b/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts index b651990c71ea2..e4114ffa7db99 100644 --- a/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts +++ b/clients/client-ec2/commands/EnableEbsEncryptionByDefaultCommand.ts @@ -39,7 +39,6 @@ export class EnableEbsEncryptionByDefaultCommand extends $Command< EnableEbsEncryptionByDefaultCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class EnableEbsEncryptionByDefaultCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts b/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts index 3d18305164fb2..819ff53fc021e 100644 --- a/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts +++ b/clients/client-ec2/commands/EnableFastSnapshotRestoresCommand.ts @@ -33,7 +33,6 @@ export class EnableFastSnapshotRestoresCommand extends $Command< EnableFastSnapshotRestoresCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class EnableFastSnapshotRestoresCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts b/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts index a39280e8df1d2..c621428970330 100644 --- a/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts +++ b/clients/client-ec2/commands/EnableTransitGatewayRouteTablePropagationCommand.ts @@ -33,7 +33,6 @@ export class EnableTransitGatewayRouteTablePropagationCommand extends $Command< EnableTransitGatewayRouteTablePropagationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class EnableTransitGatewayRouteTablePropagationCommand extends $Command< EnableTransitGatewayRouteTablePropagationCommandInput, EnableTransitGatewayRouteTablePropagationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts b/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts index 47b0aa11a8ec7..f57a6b5d3687a 100644 --- a/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts +++ b/clients/client-ec2/commands/EnableVgwRoutePropagationCommand.ts @@ -28,7 +28,6 @@ export class EnableVgwRoutePropagationCommand extends $Command< EnableVgwRoutePropagationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableVgwRoutePropagationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableVolumeIOCommand.ts b/clients/client-ec2/commands/EnableVolumeIOCommand.ts index c429110ddc05c..45bb28a192474 100644 --- a/clients/client-ec2/commands/EnableVolumeIOCommand.ts +++ b/clients/client-ec2/commands/EnableVolumeIOCommand.ts @@ -26,7 +26,6 @@ export class EnableVolumeIOCommand extends $Command< EnableVolumeIOCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class EnableVolumeIOCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts b/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts index 8884c92f1240d..1503eea243e9f 100644 --- a/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts +++ b/clients/client-ec2/commands/EnableVpcClassicLinkCommand.ts @@ -34,7 +34,6 @@ export class EnableVpcClassicLinkCommand extends $Command< EnableVpcClassicLinkCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class EnableVpcClassicLinkCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts b/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts index 14ec5579545e8..d102120036fb4 100644 --- a/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts +++ b/clients/client-ec2/commands/EnableVpcClassicLinkDnsSupportCommand.ts @@ -34,7 +34,6 @@ export class EnableVpcClassicLinkDnsSupportCommand extends $Command< EnableVpcClassicLinkDnsSupportCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class EnableVpcClassicLinkDnsSupportCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts b/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts index c97b13ede5877..47f3822976303 100644 --- a/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts +++ b/clients/client-ec2/commands/ExportClientVpnClientCertificateRevocationListCommand.ts @@ -32,7 +32,6 @@ export class ExportClientVpnClientCertificateRevocationListCommand extends $Comm ExportClientVpnClientCertificateRevocationListCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ExportClientVpnClientCertificateRevocationListCommand extends $Comm ExportClientVpnClientCertificateRevocationListCommandInput, ExportClientVpnClientCertificateRevocationListCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts b/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts index 5547e0047e885..9b5edf66501ec 100644 --- a/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts +++ b/clients/client-ec2/commands/ExportClientVpnClientConfigurationCommand.ts @@ -34,7 +34,6 @@ export class ExportClientVpnClientConfigurationCommand extends $Command< ExportClientVpnClientConfigurationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ExportClientVpnClientConfigurationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ExportImageCommand.ts b/clients/client-ec2/commands/ExportImageCommand.ts index bb2c4b4c4ac66..e95b0718d43a2 100644 --- a/clients/client-ec2/commands/ExportImageCommand.ts +++ b/clients/client-ec2/commands/ExportImageCommand.ts @@ -26,7 +26,6 @@ export class ExportImageCommand extends $Command< ExportImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class ExportImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts b/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts index 0f5e9f1b16c93..05b845d227566 100644 --- a/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts +++ b/clients/client-ec2/commands/ExportTransitGatewayRoutesCommand.ts @@ -32,7 +32,6 @@ export class ExportTransitGatewayRoutesCommand extends $Command< ExportTransitGatewayRoutesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ExportTransitGatewayRoutesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetAssociatedEnclaveCertificateIamRolesCommand.ts b/clients/client-ec2/commands/GetAssociatedEnclaveCertificateIamRolesCommand.ts index 8efd1aac54fb2..d54516e48d6f8 100644 --- a/clients/client-ec2/commands/GetAssociatedEnclaveCertificateIamRolesCommand.ts +++ b/clients/client-ec2/commands/GetAssociatedEnclaveCertificateIamRolesCommand.ts @@ -35,7 +35,6 @@ export class GetAssociatedEnclaveCertificateIamRolesCommand extends $Command< GetAssociatedEnclaveCertificateIamRolesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetAssociatedEnclaveCertificateIamRolesCommand extends $Command< GetAssociatedEnclaveCertificateIamRolesCommandInput, GetAssociatedEnclaveCertificateIamRolesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts b/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts index 5f90cc4cfd6da..789b08de606c0 100644 --- a/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts +++ b/clients/client-ec2/commands/GetAssociatedIpv6PoolCidrsCommand.ts @@ -28,7 +28,6 @@ export class GetAssociatedIpv6PoolCidrsCommand extends $Command< GetAssociatedIpv6PoolCidrsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAssociatedIpv6PoolCidrsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts b/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts index 15002f24730b4..75348edc899b5 100644 --- a/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts +++ b/clients/client-ec2/commands/GetCapacityReservationUsageCommand.ts @@ -30,7 +30,6 @@ export class GetCapacityReservationUsageCommand extends $Command< GetCapacityReservationUsageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetCapacityReservationUsageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts b/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts index 9399b291cca3b..035f6cbd051a9 100644 --- a/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts +++ b/clients/client-ec2/commands/GetCoipPoolUsageCommand.ts @@ -28,7 +28,6 @@ export class GetCoipPoolUsageCommand extends $Command< GetCoipPoolUsageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCoipPoolUsageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetConsoleOutputCommand.ts b/clients/client-ec2/commands/GetConsoleOutputCommand.ts index aa71c44f41b69..5d2cef91f4575 100644 --- a/clients/client-ec2/commands/GetConsoleOutputCommand.ts +++ b/clients/client-ec2/commands/GetConsoleOutputCommand.ts @@ -40,7 +40,6 @@ export class GetConsoleOutputCommand extends $Command< GetConsoleOutputCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetConsoleOutputCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts b/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts index 1080888f6f1bc..8ca85e9c4cc04 100644 --- a/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts +++ b/clients/client-ec2/commands/GetConsoleScreenshotCommand.ts @@ -30,7 +30,6 @@ export class GetConsoleScreenshotCommand extends $Command< GetConsoleScreenshotCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetConsoleScreenshotCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts b/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts index afff04680f22e..8308dd6f1222b 100644 --- a/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts +++ b/clients/client-ec2/commands/GetDefaultCreditSpecificationCommand.ts @@ -31,7 +31,6 @@ export class GetDefaultCreditSpecificationCommand extends $Command< GetDefaultCreditSpecificationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetDefaultCreditSpecificationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts index 3c3d28997fc80..568975a79da0a 100644 --- a/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/commands/GetEbsDefaultKmsKeyIdCommand.ts @@ -32,7 +32,6 @@ export class GetEbsDefaultKmsKeyIdCommand extends $Command< GetEbsDefaultKmsKeyIdCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetEbsDefaultKmsKeyIdCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts b/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts index ccf7728a5d945..ff86e4d1eec0e 100644 --- a/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts +++ b/clients/client-ec2/commands/GetEbsEncryptionByDefaultCommand.ts @@ -31,7 +31,6 @@ export class GetEbsEncryptionByDefaultCommand extends $Command< GetEbsEncryptionByDefaultCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetEbsEncryptionByDefaultCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetGroupsForCapacityReservationCommand.ts b/clients/client-ec2/commands/GetGroupsForCapacityReservationCommand.ts index d736fed899b59..56b051b51b1fe 100644 --- a/clients/client-ec2/commands/GetGroupsForCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/GetGroupsForCapacityReservationCommand.ts @@ -28,7 +28,6 @@ export class GetGroupsForCapacityReservationCommand extends $Command< GetGroupsForCapacityReservationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupsForCapacityReservationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts b/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts index 2dabda909d6e8..2f5db959550cb 100644 --- a/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts +++ b/clients/client-ec2/commands/GetHostReservationPurchasePreviewCommand.ts @@ -32,7 +32,6 @@ export class GetHostReservationPurchasePreviewCommand extends $Command< GetHostReservationPurchasePreviewCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetHostReservationPurchasePreviewCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts b/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts index 0423da8f0dcae..75ef1e913194c 100644 --- a/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts +++ b/clients/client-ec2/commands/GetLaunchTemplateDataCommand.ts @@ -32,7 +32,6 @@ export class GetLaunchTemplateDataCommand extends $Command< GetLaunchTemplateDataCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetLaunchTemplateDataCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetManagedPrefixListAssociationsCommand.ts b/clients/client-ec2/commands/GetManagedPrefixListAssociationsCommand.ts index 8a7fb774861a1..7eaac4f23386f 100644 --- a/clients/client-ec2/commands/GetManagedPrefixListAssociationsCommand.ts +++ b/clients/client-ec2/commands/GetManagedPrefixListAssociationsCommand.ts @@ -28,7 +28,6 @@ export class GetManagedPrefixListAssociationsCommand extends $Command< GetManagedPrefixListAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetManagedPrefixListAssociationsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetManagedPrefixListEntriesCommand.ts b/clients/client-ec2/commands/GetManagedPrefixListEntriesCommand.ts index 74facceca247c..ab71db8d2d030 100644 --- a/clients/client-ec2/commands/GetManagedPrefixListEntriesCommand.ts +++ b/clients/client-ec2/commands/GetManagedPrefixListEntriesCommand.ts @@ -28,7 +28,6 @@ export class GetManagedPrefixListEntriesCommand extends $Command< GetManagedPrefixListEntriesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetManagedPrefixListEntriesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetPasswordDataCommand.ts b/clients/client-ec2/commands/GetPasswordDataCommand.ts index 2e394359b186f..e27c110650d26 100644 --- a/clients/client-ec2/commands/GetPasswordDataCommand.ts +++ b/clients/client-ec2/commands/GetPasswordDataCommand.ts @@ -37,7 +37,6 @@ export class GetPasswordDataCommand extends $Command< GetPasswordDataCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetPasswordDataCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts b/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts index e942898fdf221..71bcfc630d3ab 100644 --- a/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts +++ b/clients/client-ec2/commands/GetReservedInstancesExchangeQuoteCommand.ts @@ -30,7 +30,6 @@ export class GetReservedInstancesExchangeQuoteCommand extends $Command< GetReservedInstancesExchangeQuoteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetReservedInstancesExchangeQuoteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts index 5326bdf601261..d5ec17e7c4c8d 100644 --- a/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayAttachmentPropagationsCommand.ts @@ -32,7 +32,6 @@ export class GetTransitGatewayAttachmentPropagationsCommand extends $Command< GetTransitGatewayAttachmentPropagationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetTransitGatewayAttachmentPropagationsCommand extends $Command< GetTransitGatewayAttachmentPropagationsCommandInput, GetTransitGatewayAttachmentPropagationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts index 722b3484fa291..97f9c35c7892f 100644 --- a/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts @@ -32,7 +32,6 @@ export class GetTransitGatewayMulticastDomainAssociationsCommand extends $Comman GetTransitGatewayMulticastDomainAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetTransitGatewayMulticastDomainAssociationsCommand extends $Comman GetTransitGatewayMulticastDomainAssociationsCommandInput, GetTransitGatewayMulticastDomainAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetTransitGatewayPrefixListReferencesCommand.ts b/clients/client-ec2/commands/GetTransitGatewayPrefixListReferencesCommand.ts index b95240b64a412..7eacd0e65c98b 100644 --- a/clients/client-ec2/commands/GetTransitGatewayPrefixListReferencesCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayPrefixListReferencesCommand.ts @@ -32,7 +32,6 @@ export class GetTransitGatewayPrefixListReferencesCommand extends $Command< GetTransitGatewayPrefixListReferencesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetTransitGatewayPrefixListReferencesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts index e17d70c033766..4280ef2f788f6 100644 --- a/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayRouteTableAssociationsCommand.ts @@ -32,7 +32,6 @@ export class GetTransitGatewayRouteTableAssociationsCommand extends $Command< GetTransitGatewayRouteTableAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetTransitGatewayRouteTableAssociationsCommand extends $Command< GetTransitGatewayRouteTableAssociationsCommandInput, GetTransitGatewayRouteTableAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts b/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts index b507707f595fb..b70778c70430f 100644 --- a/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts +++ b/clients/client-ec2/commands/GetTransitGatewayRouteTablePropagationsCommand.ts @@ -32,7 +32,6 @@ export class GetTransitGatewayRouteTablePropagationsCommand extends $Command< GetTransitGatewayRouteTablePropagationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetTransitGatewayRouteTablePropagationsCommand extends $Command< GetTransitGatewayRouteTablePropagationsCommandInput, GetTransitGatewayRouteTablePropagationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts b/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts index 0df1bb5e1aee1..6d891ba95b94d 100644 --- a/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts +++ b/clients/client-ec2/commands/ImportClientVpnClientCertificateRevocationListCommand.ts @@ -33,7 +33,6 @@ export class ImportClientVpnClientCertificateRevocationListCommand extends $Comm ImportClientVpnClientCertificateRevocationListCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ImportClientVpnClientCertificateRevocationListCommand extends $Comm ImportClientVpnClientCertificateRevocationListCommandInput, ImportClientVpnClientCertificateRevocationListCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ImportImageCommand.ts b/clients/client-ec2/commands/ImportImageCommand.ts index 59f097501141b..079fb0b2170ea 100644 --- a/clients/client-ec2/commands/ImportImageCommand.ts +++ b/clients/client-ec2/commands/ImportImageCommand.ts @@ -27,7 +27,6 @@ export class ImportImageCommand extends $Command< ImportImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class ImportImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ImportInstanceCommand.ts b/clients/client-ec2/commands/ImportInstanceCommand.ts index 65dd657e65b27..e74e30a457b3a 100644 --- a/clients/client-ec2/commands/ImportInstanceCommand.ts +++ b/clients/client-ec2/commands/ImportInstanceCommand.ts @@ -29,7 +29,6 @@ export class ImportInstanceCommand extends $Command< ImportInstanceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ImportInstanceCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ImportKeyPairCommand.ts b/clients/client-ec2/commands/ImportKeyPairCommand.ts index b76a427799f6d..9c90f8f2db626 100644 --- a/clients/client-ec2/commands/ImportKeyPairCommand.ts +++ b/clients/client-ec2/commands/ImportKeyPairCommand.ts @@ -30,7 +30,6 @@ export class ImportKeyPairCommand extends $Command< ImportKeyPairCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ImportKeyPairCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ImportSnapshotCommand.ts b/clients/client-ec2/commands/ImportSnapshotCommand.ts index 2005f5445f1d7..262b31d904a8b 100644 --- a/clients/client-ec2/commands/ImportSnapshotCommand.ts +++ b/clients/client-ec2/commands/ImportSnapshotCommand.ts @@ -25,7 +25,6 @@ export class ImportSnapshotCommand extends $Command< ImportSnapshotCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ImportSnapshotCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ImportVolumeCommand.ts b/clients/client-ec2/commands/ImportVolumeCommand.ts index 8661031d74542..68a3ade7ccc30 100644 --- a/clients/client-ec2/commands/ImportVolumeCommand.ts +++ b/clients/client-ec2/commands/ImportVolumeCommand.ts @@ -27,7 +27,6 @@ export class ImportVolumeCommand extends $Command< ImportVolumeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class ImportVolumeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyAddressAttributeCommand.ts b/clients/client-ec2/commands/ModifyAddressAttributeCommand.ts index eb544f62bc913..da0f225f12183 100644 --- a/clients/client-ec2/commands/ModifyAddressAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyAddressAttributeCommand.ts @@ -25,7 +25,6 @@ export class ModifyAddressAttributeCommand extends $Command< ModifyAddressAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ModifyAddressAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyAvailabilityZoneGroupCommand.ts b/clients/client-ec2/commands/ModifyAvailabilityZoneGroupCommand.ts index 249f2f28798be..83306179c0e6c 100644 --- a/clients/client-ec2/commands/ModifyAvailabilityZoneGroupCommand.ts +++ b/clients/client-ec2/commands/ModifyAvailabilityZoneGroupCommand.ts @@ -31,7 +31,6 @@ export class ModifyAvailabilityZoneGroupCommand extends $Command< ModifyAvailabilityZoneGroupCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ModifyAvailabilityZoneGroupCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts b/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts index 9f34c037a70ba..d0404284ba738 100644 --- a/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts +++ b/clients/client-ec2/commands/ModifyCapacityReservationCommand.ts @@ -32,7 +32,6 @@ export class ModifyCapacityReservationCommand extends $Command< ModifyCapacityReservationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyCapacityReservationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts b/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts index 6624dbd6f4613..6854ca2796fc5 100644 --- a/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts +++ b/clients/client-ec2/commands/ModifyClientVpnEndpointCommand.ts @@ -28,7 +28,6 @@ export class ModifyClientVpnEndpointCommand extends $Command< ModifyClientVpnEndpointCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyClientVpnEndpointCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts b/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts index 6e6a0239a5ba4..6d7bdec67b7fb 100644 --- a/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts +++ b/clients/client-ec2/commands/ModifyDefaultCreditSpecificationCommand.ts @@ -41,7 +41,6 @@ export class ModifyDefaultCreditSpecificationCommand extends $Command< ModifyDefaultCreditSpecificationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ModifyDefaultCreditSpecificationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts index b41ad24c3fe22..982f20c42b1a1 100644 --- a/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/commands/ModifyEbsDefaultKmsKeyIdCommand.ts @@ -35,7 +35,6 @@ export class ModifyEbsDefaultKmsKeyIdCommand extends $Command< ModifyEbsDefaultKmsKeyIdCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ModifyEbsDefaultKmsKeyIdCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyFleetCommand.ts b/clients/client-ec2/commands/ModifyFleetCommand.ts index 35aeb5e870451..8ca1d1fa46a4e 100644 --- a/clients/client-ec2/commands/ModifyFleetCommand.ts +++ b/clients/client-ec2/commands/ModifyFleetCommand.ts @@ -46,7 +46,6 @@ export class ModifyFleetCommand extends $Command< ModifyFleetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class ModifyFleetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts b/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts index 96c1f87cf3a2f..8efb20dd0e4e4 100644 --- a/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyFpgaImageAttributeCommand.ts @@ -28,7 +28,6 @@ export class ModifyFpgaImageAttributeCommand extends $Command< ModifyFpgaImageAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyFpgaImageAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyHostsCommand.ts b/clients/client-ec2/commands/ModifyHostsCommand.ts index cdeeb83ed7662..88592652f34ea 100644 --- a/clients/client-ec2/commands/ModifyHostsCommand.ts +++ b/clients/client-ec2/commands/ModifyHostsCommand.ts @@ -32,7 +32,6 @@ export class ModifyHostsCommand extends $Command< ModifyHostsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyHostsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyIdFormatCommand.ts b/clients/client-ec2/commands/ModifyIdFormatCommand.ts index 6c891dd4069fc..3c94bbb526272 100644 --- a/clients/client-ec2/commands/ModifyIdFormatCommand.ts +++ b/clients/client-ec2/commands/ModifyIdFormatCommand.ts @@ -48,7 +48,6 @@ export class ModifyIdFormatCommand extends $Command< ModifyIdFormatCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class ModifyIdFormatCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts b/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts index 60df96997ad9f..464b34c06c5bf 100644 --- a/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts +++ b/clients/client-ec2/commands/ModifyIdentityIdFormatCommand.ts @@ -49,7 +49,6 @@ export class ModifyIdentityIdFormatCommand extends $Command< ModifyIdentityIdFormatCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class ModifyIdentityIdFormatCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyImageAttributeCommand.ts b/clients/client-ec2/commands/ModifyImageAttributeCommand.ts index e35473300c420..c152bf281c8c0 100644 --- a/clients/client-ec2/commands/ModifyImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyImageAttributeCommand.ts @@ -33,7 +33,6 @@ export class ModifyImageAttributeCommand extends $Command< ModifyImageAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyImageAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts b/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts index 60ac55dc59804..dbbc4fa388162 100644 --- a/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceAttributeCommand.ts @@ -38,7 +38,6 @@ export class ModifyInstanceAttributeCommand extends $Command< ModifyInstanceAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ModifyInstanceAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts b/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts index da9cccb405eda..d35e3867d89b9 100644 --- a/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceCapacityReservationAttributesCommand.ts @@ -34,7 +34,6 @@ export class ModifyInstanceCapacityReservationAttributesCommand extends $Command ModifyInstanceCapacityReservationAttributesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ModifyInstanceCapacityReservationAttributesCommand extends $Command ModifyInstanceCapacityReservationAttributesCommandInput, ModifyInstanceCapacityReservationAttributesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts b/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts index 61cee5c405d0f..9874c7abc981c 100644 --- a/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceCreditSpecificationCommand.ts @@ -33,7 +33,6 @@ export class ModifyInstanceCreditSpecificationCommand extends $Command< ModifyInstanceCreditSpecificationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyInstanceCreditSpecificationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts b/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts index 8f6a893230f40..0c98d2ddf7585 100644 --- a/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceEventStartTimeCommand.ts @@ -28,7 +28,6 @@ export class ModifyInstanceEventStartTimeCommand extends $Command< ModifyInstanceEventStartTimeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyInstanceEventStartTimeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts b/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts index 3fb41304036aa..62a639797ef86 100644 --- a/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyInstanceMetadataOptionsCommand.ts @@ -33,7 +33,6 @@ export class ModifyInstanceMetadataOptionsCommand extends $Command< ModifyInstanceMetadataOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyInstanceMetadataOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts b/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts index 8fee79ab9b364..fd4bfc86d0d01 100644 --- a/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts +++ b/clients/client-ec2/commands/ModifyInstancePlacementCommand.ts @@ -55,7 +55,6 @@ export class ModifyInstancePlacementCommand extends $Command< ModifyInstancePlacementCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class ModifyInstancePlacementCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts b/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts index 3bfa90e170fc1..7ac71e9b37247 100644 --- a/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts +++ b/clients/client-ec2/commands/ModifyLaunchTemplateCommand.ts @@ -30,7 +30,6 @@ export class ModifyLaunchTemplateCommand extends $Command< ModifyLaunchTemplateCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyLaunchTemplateCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyManagedPrefixListCommand.ts b/clients/client-ec2/commands/ModifyManagedPrefixListCommand.ts index 76116cc5fc866..47706ffaa166c 100644 --- a/clients/client-ec2/commands/ModifyManagedPrefixListCommand.ts +++ b/clients/client-ec2/commands/ModifyManagedPrefixListCommand.ts @@ -32,7 +32,6 @@ export class ModifyManagedPrefixListCommand extends $Command< ModifyManagedPrefixListCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyManagedPrefixListCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts b/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts index e42be80f1602c..f08b5a7185bd2 100644 --- a/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyNetworkInterfaceAttributeCommand.ts @@ -30,7 +30,6 @@ export class ModifyNetworkInterfaceAttributeCommand extends $Command< ModifyNetworkInterfaceAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyNetworkInterfaceAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts b/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts index e98b5a4073766..284f6ffd87e62 100644 --- a/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts +++ b/clients/client-ec2/commands/ModifyReservedInstancesCommand.ts @@ -33,7 +33,6 @@ export class ModifyReservedInstancesCommand extends $Command< ModifyReservedInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyReservedInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts b/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts index 90434fcf0fc61..62f07e6e7c051 100644 --- a/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifySnapshotAttributeCommand.ts @@ -35,7 +35,6 @@ export class ModifySnapshotAttributeCommand extends $Command< ModifySnapshotAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ModifySnapshotAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts b/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts index 0d690ad7acfbd..3f015268f5555 100644 --- a/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts +++ b/clients/client-ec2/commands/ModifySpotFleetRequestCommand.ts @@ -51,7 +51,6 @@ export class ModifySpotFleetRequestCommand extends $Command< ModifySpotFleetRequestCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class ModifySpotFleetRequestCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts b/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts index e4d48a49748f5..08acfb465ab8d 100644 --- a/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifySubnetAttributeCommand.ts @@ -28,7 +28,6 @@ export class ModifySubnetAttributeCommand extends $Command< ModifySubnetAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifySubnetAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts b/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts index 82eaf8a6466f9..0a5658c982085 100644 --- a/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts +++ b/clients/client-ec2/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts @@ -37,7 +37,6 @@ export class ModifyTrafficMirrorFilterNetworkServicesCommand extends $Command< ModifyTrafficMirrorFilterNetworkServicesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ModifyTrafficMirrorFilterNetworkServicesCommand extends $Command< ModifyTrafficMirrorFilterNetworkServicesCommandInput, ModifyTrafficMirrorFilterNetworkServicesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts index 32c7c5858dc86..cf583c5c348a1 100644 --- a/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/commands/ModifyTrafficMirrorFilterRuleCommand.ts @@ -31,7 +31,6 @@ export class ModifyTrafficMirrorFilterRuleCommand extends $Command< ModifyTrafficMirrorFilterRuleCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ModifyTrafficMirrorFilterRuleCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts b/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts index ec0b37cf515e6..19a86211ecb7b 100644 --- a/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/commands/ModifyTrafficMirrorSessionCommand.ts @@ -28,7 +28,6 @@ export class ModifyTrafficMirrorSessionCommand extends $Command< ModifyTrafficMirrorSessionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyTrafficMirrorSessionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyTransitGatewayCommand.ts b/clients/client-ec2/commands/ModifyTransitGatewayCommand.ts index a7c73e5fa2712..d59a174effc7e 100644 --- a/clients/client-ec2/commands/ModifyTransitGatewayCommand.ts +++ b/clients/client-ec2/commands/ModifyTransitGatewayCommand.ts @@ -28,7 +28,6 @@ export class ModifyTransitGatewayCommand extends $Command< ModifyTransitGatewayCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyTransitGatewayCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts b/clients/client-ec2/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts index 60574d73b5128..0e68f2242004d 100644 --- a/clients/client-ec2/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts +++ b/clients/client-ec2/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts @@ -32,7 +32,6 @@ export class ModifyTransitGatewayPrefixListReferenceCommand extends $Command< ModifyTransitGatewayPrefixListReferenceCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ModifyTransitGatewayPrefixListReferenceCommand extends $Command< ModifyTransitGatewayPrefixListReferenceCommandInput, ModifyTransitGatewayPrefixListReferenceCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts index c6ccfe44f2a45..861be1db034e6 100644 --- a/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/ModifyTransitGatewayVpcAttachmentCommand.ts @@ -28,7 +28,6 @@ export class ModifyTransitGatewayVpcAttachmentCommand extends $Command< ModifyTransitGatewayVpcAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyTransitGatewayVpcAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts b/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts index c17023a0f7e93..045ecdfcb0eec 100644 --- a/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyVolumeAttributeCommand.ts @@ -34,7 +34,6 @@ export class ModifyVolumeAttributeCommand extends $Command< ModifyVolumeAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ModifyVolumeAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVolumeCommand.ts b/clients/client-ec2/commands/ModifyVolumeCommand.ts index c9529ab5cbc05..82a8e735cbe03 100644 --- a/clients/client-ec2/commands/ModifyVolumeCommand.ts +++ b/clients/client-ec2/commands/ModifyVolumeCommand.ts @@ -46,7 +46,6 @@ export class ModifyVolumeCommand extends $Command< ModifyVolumeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class ModifyVolumeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts b/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts index e1dea18d467e9..9eeac6e6c7177 100644 --- a/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcAttributeCommand.ts @@ -28,7 +28,6 @@ export class ModifyVpcAttributeCommand extends $Command< ModifyVpcAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyVpcAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts index 85d0d5904fe06..afabd7efd5826 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointCommand.ts @@ -31,7 +31,6 @@ export class ModifyVpcEndpointCommand extends $Command< ModifyVpcEndpointCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ModifyVpcEndpointCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts index 0b3da1eedc221..72f603e8c9f92 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointConnectionNotificationCommand.ts @@ -33,7 +33,6 @@ export class ModifyVpcEndpointConnectionNotificationCommand extends $Command< ModifyVpcEndpointConnectionNotificationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ModifyVpcEndpointConnectionNotificationCommand extends $Command< ModifyVpcEndpointConnectionNotificationCommandInput, ModifyVpcEndpointConnectionNotificationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts index f02b7b051c02e..b29d1b940e1e7 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointServiceConfigurationCommand.ts @@ -39,7 +39,6 @@ export class ModifyVpcEndpointServiceConfigurationCommand extends $Command< ModifyVpcEndpointServiceConfigurationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ModifyVpcEndpointServiceConfigurationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts b/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts index e74c829535275..84dc9eac0a9fc 100644 --- a/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcEndpointServicePermissionsCommand.ts @@ -36,7 +36,6 @@ export class ModifyVpcEndpointServicePermissionsCommand extends $Command< ModifyVpcEndpointServicePermissionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ModifyVpcEndpointServicePermissionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts b/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts index de8b898887a57..153467b6af86d 100644 --- a/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcPeeringConnectionOptionsCommand.ts @@ -49,7 +49,6 @@ export class ModifyVpcPeeringConnectionOptionsCommand extends $Command< ModifyVpcPeeringConnectionOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class ModifyVpcPeeringConnectionOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts b/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts index 5da3cef5648cd..ec190dcee3fa4 100644 --- a/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts +++ b/clients/client-ec2/commands/ModifyVpcTenancyCommand.ts @@ -35,7 +35,6 @@ export class ModifyVpcTenancyCommand extends $Command< ModifyVpcTenancyCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ModifyVpcTenancyCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts b/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts index 72fe820d80505..3e5a1b0b81d43 100644 --- a/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnConnectionCommand.ts @@ -60,7 +60,6 @@ export class ModifyVpnConnectionCommand extends $Command< ModifyVpnConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class ModifyVpnConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpnConnectionOptionsCommand.ts b/clients/client-ec2/commands/ModifyVpnConnectionOptionsCommand.ts index e11a55a48e526..13051efc5ca9e 100644 --- a/clients/client-ec2/commands/ModifyVpnConnectionOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnConnectionOptionsCommand.ts @@ -29,7 +29,6 @@ export class ModifyVpnConnectionOptionsCommand extends $Command< ModifyVpnConnectionOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyVpnConnectionOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts b/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts index 9c122b8d1d040..84ac2fb9ff5a7 100644 --- a/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnTunnelCertificateCommand.ts @@ -28,7 +28,6 @@ export class ModifyVpnTunnelCertificateCommand extends $Command< ModifyVpnTunnelCertificateCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyVpnTunnelCertificateCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts b/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts index 652a37671a5a9..27e1e053a5f9d 100644 --- a/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts +++ b/clients/client-ec2/commands/ModifyVpnTunnelOptionsCommand.ts @@ -31,7 +31,6 @@ export class ModifyVpnTunnelOptionsCommand extends $Command< ModifyVpnTunnelOptionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ModifyVpnTunnelOptionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/MonitorInstancesCommand.ts b/clients/client-ec2/commands/MonitorInstancesCommand.ts index a265dffde59da..aaa6c8ef9ede5 100644 --- a/clients/client-ec2/commands/MonitorInstancesCommand.ts +++ b/clients/client-ec2/commands/MonitorInstancesCommand.ts @@ -32,7 +32,6 @@ export class MonitorInstancesCommand extends $Command< MonitorInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class MonitorInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/MoveAddressToVpcCommand.ts b/clients/client-ec2/commands/MoveAddressToVpcCommand.ts index cc2ffd4ff21d0..fba3a2c094a68 100644 --- a/clients/client-ec2/commands/MoveAddressToVpcCommand.ts +++ b/clients/client-ec2/commands/MoveAddressToVpcCommand.ts @@ -33,7 +33,6 @@ export class MoveAddressToVpcCommand extends $Command< MoveAddressToVpcCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class MoveAddressToVpcCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts b/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts index b3838a4a3866d..c3e0d2d7cad89 100644 --- a/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts +++ b/clients/client-ec2/commands/ProvisionByoipCidrCommand.ts @@ -39,7 +39,6 @@ export class ProvisionByoipCidrCommand extends $Command< ProvisionByoipCidrCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ProvisionByoipCidrCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/PurchaseHostReservationCommand.ts b/clients/client-ec2/commands/PurchaseHostReservationCommand.ts index dc3ea690a9ae1..63c84e1a4d6d2 100644 --- a/clients/client-ec2/commands/PurchaseHostReservationCommand.ts +++ b/clients/client-ec2/commands/PurchaseHostReservationCommand.ts @@ -31,7 +31,6 @@ export class PurchaseHostReservationCommand extends $Command< PurchaseHostReservationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PurchaseHostReservationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts b/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts index 1222b53e69934..292f99a470945 100644 --- a/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts +++ b/clients/client-ec2/commands/PurchaseReservedInstancesOfferingCommand.ts @@ -37,7 +37,6 @@ export class PurchaseReservedInstancesOfferingCommand extends $Command< PurchaseReservedInstancesOfferingCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PurchaseReservedInstancesOfferingCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts b/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts index 30edc22706ba7..32fdac6e44339 100644 --- a/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/PurchaseScheduledInstancesCommand.ts @@ -33,7 +33,6 @@ export class PurchaseScheduledInstancesCommand extends $Command< PurchaseScheduledInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PurchaseScheduledInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RebootInstancesCommand.ts b/clients/client-ec2/commands/RebootInstancesCommand.ts index 05ea10e5f0798..6324d689732a6 100644 --- a/clients/client-ec2/commands/RebootInstancesCommand.ts +++ b/clients/client-ec2/commands/RebootInstancesCommand.ts @@ -33,7 +33,6 @@ export class RebootInstancesCommand extends $Command< RebootInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RebootInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RegisterImageCommand.ts b/clients/client-ec2/commands/RegisterImageCommand.ts index 78c1948d97fe3..c8755d0cc836f 100644 --- a/clients/client-ec2/commands/RegisterImageCommand.ts +++ b/clients/client-ec2/commands/RegisterImageCommand.ts @@ -63,7 +63,6 @@ export class RegisterImageCommand extends $Command< RegisterImageCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class RegisterImageCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts b/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts index 05f26c68a78b5..6acc76806c388 100644 --- a/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts +++ b/clients/client-ec2/commands/RegisterInstanceEventNotificationAttributesCommand.ts @@ -34,7 +34,6 @@ export class RegisterInstanceEventNotificationAttributesCommand extends $Command RegisterInstanceEventNotificationAttributesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class RegisterInstanceEventNotificationAttributesCommand extends $Command RegisterInstanceEventNotificationAttributesCommandInput, RegisterInstanceEventNotificationAttributesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts index 97d9a1c79d511..974109692d095 100644 --- a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts +++ b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts @@ -37,7 +37,6 @@ export class RegisterTransitGatewayMulticastGroupMembersCommand extends $Command RegisterTransitGatewayMulticastGroupMembersCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RegisterTransitGatewayMulticastGroupMembersCommand extends $Command RegisterTransitGatewayMulticastGroupMembersCommandInput, RegisterTransitGatewayMulticastGroupMembersCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts index f3e387f059ef0..4da5e6e10b189 100644 --- a/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts +++ b/clients/client-ec2/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts @@ -37,7 +37,6 @@ export class RegisterTransitGatewayMulticastGroupSourcesCommand extends $Command RegisterTransitGatewayMulticastGroupSourcesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RegisterTransitGatewayMulticastGroupSourcesCommand extends $Command RegisterTransitGatewayMulticastGroupSourcesCommandInput, RegisterTransitGatewayMulticastGroupSourcesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts b/clients/client-ec2/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts index dfb737bc61dec..069b79f332f09 100644 --- a/clients/client-ec2/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts +++ b/clients/client-ec2/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts @@ -32,7 +32,6 @@ export class RejectTransitGatewayMulticastDomainAssociationsCommand extends $Com RejectTransitGatewayMulticastDomainAssociationsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RejectTransitGatewayMulticastDomainAssociationsCommand extends $Com RejectTransitGatewayMulticastDomainAssociationsCommandInput, RejectTransitGatewayMulticastDomainAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts b/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts index d959debdaecf9..83721491bbe72 100644 --- a/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts +++ b/clients/client-ec2/commands/RejectTransitGatewayPeeringAttachmentCommand.ts @@ -32,7 +32,6 @@ export class RejectTransitGatewayPeeringAttachmentCommand extends $Command< RejectTransitGatewayPeeringAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RejectTransitGatewayPeeringAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts b/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts index 08b6f2bfda468..db5e5199bc7c9 100644 --- a/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts +++ b/clients/client-ec2/commands/RejectTransitGatewayVpcAttachmentCommand.ts @@ -31,7 +31,6 @@ export class RejectTransitGatewayVpcAttachmentCommand extends $Command< RejectTransitGatewayVpcAttachmentCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RejectTransitGatewayVpcAttachmentCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts b/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts index 8dfa5aa1a0a55..42cdcba9f9602 100644 --- a/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts +++ b/clients/client-ec2/commands/RejectVpcEndpointConnectionsCommand.ts @@ -29,7 +29,6 @@ export class RejectVpcEndpointConnectionsCommand extends $Command< RejectVpcEndpointConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RejectVpcEndpointConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts b/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts index 7de72ce706ca2..8b3e1fefc7bab 100644 --- a/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts +++ b/clients/client-ec2/commands/RejectVpcPeeringConnectionCommand.ts @@ -31,7 +31,6 @@ export class RejectVpcPeeringConnectionCommand extends $Command< RejectVpcPeeringConnectionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RejectVpcPeeringConnectionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReleaseAddressCommand.ts b/clients/client-ec2/commands/ReleaseAddressCommand.ts index 56409c28e4645..11849e8ca4b2b 100644 --- a/clients/client-ec2/commands/ReleaseAddressCommand.ts +++ b/clients/client-ec2/commands/ReleaseAddressCommand.ts @@ -36,7 +36,6 @@ export class ReleaseAddressCommand extends $Command< ReleaseAddressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ReleaseAddressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReleaseHostsCommand.ts b/clients/client-ec2/commands/ReleaseHostsCommand.ts index 88c64a318fa74..672f1470d2746 100644 --- a/clients/client-ec2/commands/ReleaseHostsCommand.ts +++ b/clients/client-ec2/commands/ReleaseHostsCommand.ts @@ -33,7 +33,6 @@ export class ReleaseHostsCommand extends $Command< ReleaseHostsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ReleaseHostsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts b/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts index c2546e9dfb3cf..22e3da495b310 100644 --- a/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts +++ b/clients/client-ec2/commands/ReplaceIamInstanceProfileAssociationCommand.ts @@ -36,7 +36,6 @@ export class ReplaceIamInstanceProfileAssociationCommand extends $Command< ReplaceIamInstanceProfileAssociationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ReplaceIamInstanceProfileAssociationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts b/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts index bc382a0929434..0f60b32a761a9 100644 --- a/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts +++ b/clients/client-ec2/commands/ReplaceNetworkAclAssociationCommand.ts @@ -32,7 +32,6 @@ export class ReplaceNetworkAclAssociationCommand extends $Command< ReplaceNetworkAclAssociationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReplaceNetworkAclAssociationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts b/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts index 7ff279c8ebbd2..3746b65d308ce 100644 --- a/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts +++ b/clients/client-ec2/commands/ReplaceNetworkAclEntryCommand.ts @@ -29,7 +29,6 @@ export class ReplaceNetworkAclEntryCommand extends $Command< ReplaceNetworkAclEntryCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ReplaceNetworkAclEntryCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReplaceRouteCommand.ts b/clients/client-ec2/commands/ReplaceRouteCommand.ts index a1ec1e92042b2..d57a247d368dc 100644 --- a/clients/client-ec2/commands/ReplaceRouteCommand.ts +++ b/clients/client-ec2/commands/ReplaceRouteCommand.ts @@ -30,7 +30,6 @@ export class ReplaceRouteCommand extends $Command< ReplaceRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ReplaceRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts b/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts index 0d6f64b27b79f..617dd19cd8e44 100644 --- a/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts +++ b/clients/client-ec2/commands/ReplaceRouteTableAssociationCommand.ts @@ -32,7 +32,6 @@ export class ReplaceRouteTableAssociationCommand extends $Command< ReplaceRouteTableAssociationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReplaceRouteTableAssociationCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts b/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts index 844eaa14fdd86..2062dcfd35568 100644 --- a/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts +++ b/clients/client-ec2/commands/ReplaceTransitGatewayRouteCommand.ts @@ -28,7 +28,6 @@ export class ReplaceTransitGatewayRouteCommand extends $Command< ReplaceTransitGatewayRouteCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ReplaceTransitGatewayRouteCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ReportInstanceStatusCommand.ts b/clients/client-ec2/commands/ReportInstanceStatusCommand.ts index 9589b7b18c4cd..e441425b6addd 100644 --- a/clients/client-ec2/commands/ReportInstanceStatusCommand.ts +++ b/clients/client-ec2/commands/ReportInstanceStatusCommand.ts @@ -32,7 +32,6 @@ export class ReportInstanceStatusCommand extends $Command< ReportInstanceStatusCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReportInstanceStatusCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RequestSpotFleetCommand.ts b/clients/client-ec2/commands/RequestSpotFleetCommand.ts index 7f50f1c44e43f..7f2aacca3174e 100644 --- a/clients/client-ec2/commands/RequestSpotFleetCommand.ts +++ b/clients/client-ec2/commands/RequestSpotFleetCommand.ts @@ -43,7 +43,6 @@ export class RequestSpotFleetCommand extends $Command< RequestSpotFleetCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class RequestSpotFleetCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RequestSpotInstancesCommand.ts b/clients/client-ec2/commands/RequestSpotInstancesCommand.ts index 836ee0be36e24..538a3d4c45cf8 100644 --- a/clients/client-ec2/commands/RequestSpotInstancesCommand.ts +++ b/clients/client-ec2/commands/RequestSpotInstancesCommand.ts @@ -29,7 +29,6 @@ export class RequestSpotInstancesCommand extends $Command< RequestSpotInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RequestSpotInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetAddressAttributeCommand.ts b/clients/client-ec2/commands/ResetAddressAttributeCommand.ts index 1997b56254682..5fd2f0742c3cb 100644 --- a/clients/client-ec2/commands/ResetAddressAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetAddressAttributeCommand.ts @@ -25,7 +25,6 @@ export class ResetAddressAttributeCommand extends $Command< ResetAddressAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ResetAddressAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts b/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts index 546f93ce8f4b3..6be0299e7694b 100644 --- a/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts +++ b/clients/client-ec2/commands/ResetEbsDefaultKmsKeyIdCommand.ts @@ -33,7 +33,6 @@ export class ResetEbsDefaultKmsKeyIdCommand extends $Command< ResetEbsDefaultKmsKeyIdCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ResetEbsDefaultKmsKeyIdCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts b/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts index e7ad69700dd57..d6a262bb638ae 100644 --- a/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetFpgaImageAttributeCommand.ts @@ -29,7 +29,6 @@ export class ResetFpgaImageAttributeCommand extends $Command< ResetFpgaImageAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ResetFpgaImageAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetImageAttributeCommand.ts b/clients/client-ec2/commands/ResetImageAttributeCommand.ts index 1e30156e22f77..993c2236930ad 100644 --- a/clients/client-ec2/commands/ResetImageAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetImageAttributeCommand.ts @@ -31,7 +31,6 @@ export class ResetImageAttributeCommand extends $Command< ResetImageAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ResetImageAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts b/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts index 67c89de316da7..f6f8a6a4ba2d9 100644 --- a/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetInstanceAttributeCommand.ts @@ -36,7 +36,6 @@ export class ResetInstanceAttributeCommand extends $Command< ResetInstanceAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ResetInstanceAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts b/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts index 6343751f49cb5..9b7daa68f418f 100644 --- a/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetNetworkInterfaceAttributeCommand.ts @@ -28,7 +28,6 @@ export class ResetNetworkInterfaceAttributeCommand extends $Command< ResetNetworkInterfaceAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ResetNetworkInterfaceAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts b/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts index 9467312107563..acf518c6893e6 100644 --- a/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts +++ b/clients/client-ec2/commands/ResetSnapshotAttributeCommand.ts @@ -30,7 +30,6 @@ export class ResetSnapshotAttributeCommand extends $Command< ResetSnapshotAttributeCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ResetSnapshotAttributeCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts b/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts index c33c11b596062..641911376474f 100644 --- a/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts +++ b/clients/client-ec2/commands/RestoreAddressToClassicCommand.ts @@ -28,7 +28,6 @@ export class RestoreAddressToClassicCommand extends $Command< RestoreAddressToClassicCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RestoreAddressToClassicCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RestoreManagedPrefixListVersionCommand.ts b/clients/client-ec2/commands/RestoreManagedPrefixListVersionCommand.ts index f073ea12ee493..4bd0c4dc29efb 100644 --- a/clients/client-ec2/commands/RestoreManagedPrefixListVersionCommand.ts +++ b/clients/client-ec2/commands/RestoreManagedPrefixListVersionCommand.ts @@ -28,7 +28,6 @@ export class RestoreManagedPrefixListVersionCommand extends $Command< RestoreManagedPrefixListVersionCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RestoreManagedPrefixListVersionCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts b/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts index 300f44b9f943d..f56db2b40dd6f 100644 --- a/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts +++ b/clients/client-ec2/commands/RevokeClientVpnIngressCommand.ts @@ -28,7 +28,6 @@ export class RevokeClientVpnIngressCommand extends $Command< RevokeClientVpnIngressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokeClientVpnIngressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts b/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts index 2720093c04573..026b991a17d10 100644 --- a/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts +++ b/clients/client-ec2/commands/RevokeSecurityGroupEgressCommand.ts @@ -42,7 +42,6 @@ export class RevokeSecurityGroupEgressCommand extends $Command< RevokeSecurityGroupEgressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class RevokeSecurityGroupEgressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts b/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts index 11417265154cd..43c576dd63f58 100644 --- a/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts +++ b/clients/client-ec2/commands/RevokeSecurityGroupIngressCommand.ts @@ -40,7 +40,6 @@ export class RevokeSecurityGroupIngressCommand extends $Command< RevokeSecurityGroupIngressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RevokeSecurityGroupIngressCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RunInstancesCommand.ts b/clients/client-ec2/commands/RunInstancesCommand.ts index be453c223352c..75483ebf568ec 100644 --- a/clients/client-ec2/commands/RunInstancesCommand.ts +++ b/clients/client-ec2/commands/RunInstancesCommand.ts @@ -84,7 +84,6 @@ export class RunInstancesCommand extends $Command< RunInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -102,10 +101,7 @@ export class RunInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/RunScheduledInstancesCommand.ts b/clients/client-ec2/commands/RunScheduledInstancesCommand.ts index 4eea792b9eeeb..50a963aa26f77 100644 --- a/clients/client-ec2/commands/RunScheduledInstancesCommand.ts +++ b/clients/client-ec2/commands/RunScheduledInstancesCommand.ts @@ -33,7 +33,6 @@ export class RunScheduledInstancesCommand extends $Command< RunScheduledInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RunScheduledInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts b/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts index 68fa991421f5e..d7caa56e29ce7 100644 --- a/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts +++ b/clients/client-ec2/commands/SearchLocalGatewayRoutesCommand.ts @@ -28,7 +28,6 @@ export class SearchLocalGatewayRoutesCommand extends $Command< SearchLocalGatewayRoutesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchLocalGatewayRoutesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts b/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts index fb26eebeed385..7de4000dc1922 100644 --- a/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts +++ b/clients/client-ec2/commands/SearchTransitGatewayMulticastGroupsCommand.ts @@ -32,7 +32,6 @@ export class SearchTransitGatewayMulticastGroupsCommand extends $Command< SearchTransitGatewayMulticastGroupsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SearchTransitGatewayMulticastGroupsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts b/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts index 290b13beb4bc8..3efd015485adb 100644 --- a/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts +++ b/clients/client-ec2/commands/SearchTransitGatewayRoutesCommand.ts @@ -28,7 +28,6 @@ export class SearchTransitGatewayRoutesCommand extends $Command< SearchTransitGatewayRoutesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchTransitGatewayRoutesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts b/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts index eb8822c2cd34d..d01fb8f205c51 100644 --- a/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts +++ b/clients/client-ec2/commands/SendDiagnosticInterruptCommand.ts @@ -43,7 +43,6 @@ export class SendDiagnosticInterruptCommand extends $Command< SendDiagnosticInterruptCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class SendDiagnosticInterruptCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/StartInstancesCommand.ts b/clients/client-ec2/commands/StartInstancesCommand.ts index cbaff82f64a92..13a66d5794b42 100644 --- a/clients/client-ec2/commands/StartInstancesCommand.ts +++ b/clients/client-ec2/commands/StartInstancesCommand.ts @@ -41,7 +41,6 @@ export class StartInstancesCommand extends $Command< StartInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class StartInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/StartNetworkInsightsAnalysisCommand.ts b/clients/client-ec2/commands/StartNetworkInsightsAnalysisCommand.ts index 9e2b09ffaf7bc..8ece797cdb9e3 100644 --- a/clients/client-ec2/commands/StartNetworkInsightsAnalysisCommand.ts +++ b/clients/client-ec2/commands/StartNetworkInsightsAnalysisCommand.ts @@ -29,7 +29,6 @@ export class StartNetworkInsightsAnalysisCommand extends $Command< StartNetworkInsightsAnalysisCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartNetworkInsightsAnalysisCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts b/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts index 991477b7613ad..a0fe930eaea09 100644 --- a/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts +++ b/clients/client-ec2/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts @@ -35,7 +35,6 @@ export class StartVpcEndpointServicePrivateDnsVerificationCommand extends $Comma StartVpcEndpointServicePrivateDnsVerificationCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class StartVpcEndpointServicePrivateDnsVerificationCommand extends $Comma StartVpcEndpointServicePrivateDnsVerificationCommandInput, StartVpcEndpointServicePrivateDnsVerificationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/StopInstancesCommand.ts b/clients/client-ec2/commands/StopInstancesCommand.ts index d97a803c71e13..fef2e4ac5292e 100644 --- a/clients/client-ec2/commands/StopInstancesCommand.ts +++ b/clients/client-ec2/commands/StopInstancesCommand.ts @@ -58,7 +58,6 @@ export class StopInstancesCommand extends $Command< StopInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class StopInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts b/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts index a16faacdddcef..5c6b2a0042dc0 100644 --- a/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts +++ b/clients/client-ec2/commands/TerminateClientVpnConnectionsCommand.ts @@ -28,7 +28,6 @@ export class TerminateClientVpnConnectionsCommand extends $Command< TerminateClientVpnConnectionsCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TerminateClientVpnConnectionsCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/TerminateInstancesCommand.ts b/clients/client-ec2/commands/TerminateInstancesCommand.ts index 846b411dec3b6..e25d097f61449 100644 --- a/clients/client-ec2/commands/TerminateInstancesCommand.ts +++ b/clients/client-ec2/commands/TerminateInstancesCommand.ts @@ -45,7 +45,6 @@ export class TerminateInstancesCommand extends $Command< TerminateInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class TerminateInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts b/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts index d8f85fc5f5506..5837b8e2ef2db 100644 --- a/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts +++ b/clients/client-ec2/commands/UnassignIpv6AddressesCommand.ts @@ -28,7 +28,6 @@ export class UnassignIpv6AddressesCommand extends $Command< UnassignIpv6AddressesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UnassignIpv6AddressesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts b/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts index 246086348d35d..7b385b134fb7c 100644 --- a/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts +++ b/clients/client-ec2/commands/UnassignPrivateIpAddressesCommand.ts @@ -28,7 +28,6 @@ export class UnassignPrivateIpAddressesCommand extends $Command< UnassignPrivateIpAddressesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UnassignPrivateIpAddressesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/UnmonitorInstancesCommand.ts b/clients/client-ec2/commands/UnmonitorInstancesCommand.ts index 3f6318295a4da..ac147afaf91eb 100644 --- a/clients/client-ec2/commands/UnmonitorInstancesCommand.ts +++ b/clients/client-ec2/commands/UnmonitorInstancesCommand.ts @@ -30,7 +30,6 @@ export class UnmonitorInstancesCommand extends $Command< UnmonitorInstancesCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UnmonitorInstancesCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts index 10b023bbe2794..cf2d408b8bd2e 100644 --- a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts +++ b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts @@ -37,7 +37,6 @@ export class UpdateSecurityGroupRuleDescriptionsEgressCommand extends $Command< UpdateSecurityGroupRuleDescriptionsEgressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateSecurityGroupRuleDescriptionsEgressCommand extends $Command< UpdateSecurityGroupRuleDescriptionsEgressCommandInput, UpdateSecurityGroupRuleDescriptionsEgressCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts index 58c12608cf1fa..e2742d2ba81a3 100644 --- a/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts +++ b/clients/client-ec2/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts @@ -37,7 +37,6 @@ export class UpdateSecurityGroupRuleDescriptionsIngressCommand extends $Command< UpdateSecurityGroupRuleDescriptionsIngressCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateSecurityGroupRuleDescriptionsIngressCommand extends $Command< UpdateSecurityGroupRuleDescriptionsIngressCommandInput, UpdateSecurityGroupRuleDescriptionsIngressCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts b/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts index aeee6472dc55a..cdf9f6b4b05ca 100644 --- a/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts +++ b/clients/client-ec2/commands/WithdrawByoipCidrCommand.ts @@ -32,7 +32,6 @@ export class WithdrawByoipCidrCommand extends $Command< WithdrawByoipCidrCommandOutput, EC2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class WithdrawByoipCidrCommand extends $Command< configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/BatchCheckLayerAvailabilityCommand.ts b/clients/client-ecr-public/commands/BatchCheckLayerAvailabilityCommand.ts index 2b77346647383..6913c5fa9d121 100644 --- a/clients/client-ecr-public/commands/BatchCheckLayerAvailabilityCommand.ts +++ b/clients/client-ecr-public/commands/BatchCheckLayerAvailabilityCommand.ts @@ -34,7 +34,6 @@ export class BatchCheckLayerAvailabilityCommand extends $Command< BatchCheckLayerAvailabilityCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchCheckLayerAvailabilityCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/BatchDeleteImageCommand.ts b/clients/client-ecr-public/commands/BatchDeleteImageCommand.ts index 03049f6bf5e8b..f5254e9900b1e 100644 --- a/clients/client-ecr-public/commands/BatchDeleteImageCommand.ts +++ b/clients/client-ecr-public/commands/BatchDeleteImageCommand.ts @@ -33,7 +33,6 @@ export class BatchDeleteImageCommand extends $Command< BatchDeleteImageCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class BatchDeleteImageCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/CompleteLayerUploadCommand.ts b/clients/client-ecr-public/commands/CompleteLayerUploadCommand.ts index c0902bb0e3d12..f6bb5f50b91cd 100644 --- a/clients/client-ecr-public/commands/CompleteLayerUploadCommand.ts +++ b/clients/client-ecr-public/commands/CompleteLayerUploadCommand.ts @@ -35,7 +35,6 @@ export class CompleteLayerUploadCommand extends $Command< CompleteLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CompleteLayerUploadCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/CreateRepositoryCommand.ts b/clients/client-ecr-public/commands/CreateRepositoryCommand.ts index 19c0e07bace55..0c2e4595ee5ae 100644 --- a/clients/client-ecr-public/commands/CreateRepositoryCommand.ts +++ b/clients/client-ecr-public/commands/CreateRepositoryCommand.ts @@ -29,7 +29,6 @@ export class CreateRepositoryCommand extends $Command< CreateRepositoryCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateRepositoryCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/DeleteRepositoryCommand.ts b/clients/client-ecr-public/commands/DeleteRepositoryCommand.ts index 50a152a8b0844..b533db7e93f8d 100644 --- a/clients/client-ecr-public/commands/DeleteRepositoryCommand.ts +++ b/clients/client-ecr-public/commands/DeleteRepositoryCommand.ts @@ -30,7 +30,6 @@ export class DeleteRepositoryCommand extends $Command< DeleteRepositoryCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteRepositoryCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/DeleteRepositoryPolicyCommand.ts b/clients/client-ecr-public/commands/DeleteRepositoryPolicyCommand.ts index 4bb9e7e3df103..747c7bfe1fbef 100644 --- a/clients/client-ecr-public/commands/DeleteRepositoryPolicyCommand.ts +++ b/clients/client-ecr-public/commands/DeleteRepositoryPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteRepositoryPolicyCommand extends $Command< DeleteRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRepositoryPolicyCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/DescribeImageTagsCommand.ts b/clients/client-ecr-public/commands/DescribeImageTagsCommand.ts index 53dc89e923dcf..8de189abca8d2 100644 --- a/clients/client-ecr-public/commands/DescribeImageTagsCommand.ts +++ b/clients/client-ecr-public/commands/DescribeImageTagsCommand.ts @@ -28,7 +28,6 @@ export class DescribeImageTagsCommand extends $Command< DescribeImageTagsCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImageTagsCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/DescribeImagesCommand.ts b/clients/client-ecr-public/commands/DescribeImagesCommand.ts index 108d2af30821e..b3ca709371ff6 100644 --- a/clients/client-ecr-public/commands/DescribeImagesCommand.ts +++ b/clients/client-ecr-public/commands/DescribeImagesCommand.ts @@ -34,7 +34,6 @@ export class DescribeImagesCommand extends $Command< DescribeImagesCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeImagesCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/DescribeRegistriesCommand.ts b/clients/client-ecr-public/commands/DescribeRegistriesCommand.ts index a9711e7801784..48972a8198dba 100644 --- a/clients/client-ecr-public/commands/DescribeRegistriesCommand.ts +++ b/clients/client-ecr-public/commands/DescribeRegistriesCommand.ts @@ -28,7 +28,6 @@ export class DescribeRegistriesCommand extends $Command< DescribeRegistriesCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRegistriesCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/DescribeRepositoriesCommand.ts b/clients/client-ecr-public/commands/DescribeRepositoriesCommand.ts index f9b921b2211ea..a1db0f3bb9f6c 100644 --- a/clients/client-ecr-public/commands/DescribeRepositoriesCommand.ts +++ b/clients/client-ecr-public/commands/DescribeRepositoriesCommand.ts @@ -28,7 +28,6 @@ export class DescribeRepositoriesCommand extends $Command< DescribeRepositoriesCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRepositoriesCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/GetAuthorizationTokenCommand.ts b/clients/client-ecr-public/commands/GetAuthorizationTokenCommand.ts index 480233c18dd99..2e8ce97bd20b1 100644 --- a/clients/client-ecr-public/commands/GetAuthorizationTokenCommand.ts +++ b/clients/client-ecr-public/commands/GetAuthorizationTokenCommand.ts @@ -32,7 +32,6 @@ export class GetAuthorizationTokenCommand extends $Command< GetAuthorizationTokenCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetAuthorizationTokenCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/GetRegistryCatalogDataCommand.ts b/clients/client-ecr-public/commands/GetRegistryCatalogDataCommand.ts index d38510f2ca9fa..be3d0893dfb56 100644 --- a/clients/client-ecr-public/commands/GetRegistryCatalogDataCommand.ts +++ b/clients/client-ecr-public/commands/GetRegistryCatalogDataCommand.ts @@ -28,7 +28,6 @@ export class GetRegistryCatalogDataCommand extends $Command< GetRegistryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRegistryCatalogDataCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/GetRepositoryCatalogDataCommand.ts b/clients/client-ecr-public/commands/GetRepositoryCatalogDataCommand.ts index 80f88b5f7b7cd..be71e0ec8415f 100644 --- a/clients/client-ecr-public/commands/GetRepositoryCatalogDataCommand.ts +++ b/clients/client-ecr-public/commands/GetRepositoryCatalogDataCommand.ts @@ -29,7 +29,6 @@ export class GetRepositoryCatalogDataCommand extends $Command< GetRepositoryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetRepositoryCatalogDataCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/GetRepositoryPolicyCommand.ts b/clients/client-ecr-public/commands/GetRepositoryPolicyCommand.ts index 3b62626cf79a5..ca042bff09393 100644 --- a/clients/client-ecr-public/commands/GetRepositoryPolicyCommand.ts +++ b/clients/client-ecr-public/commands/GetRepositoryPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetRepositoryPolicyCommand extends $Command< GetRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRepositoryPolicyCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/InitiateLayerUploadCommand.ts b/clients/client-ecr-public/commands/InitiateLayerUploadCommand.ts index a2c18fbc1cb75..8d3280ac3b18c 100644 --- a/clients/client-ecr-public/commands/InitiateLayerUploadCommand.ts +++ b/clients/client-ecr-public/commands/InitiateLayerUploadCommand.ts @@ -34,7 +34,6 @@ export class InitiateLayerUploadCommand extends $Command< InitiateLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class InitiateLayerUploadCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/PutImageCommand.ts b/clients/client-ecr-public/commands/PutImageCommand.ts index 694f66348177c..88b5f412186b0 100644 --- a/clients/client-ecr-public/commands/PutImageCommand.ts +++ b/clients/client-ecr-public/commands/PutImageCommand.ts @@ -32,7 +32,6 @@ export class PutImageCommand extends $Command< PutImageCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutImageCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/PutRegistryCatalogDataCommand.ts b/clients/client-ecr-public/commands/PutRegistryCatalogDataCommand.ts index 2659f4d3967b5..02b0323b1bd75 100644 --- a/clients/client-ecr-public/commands/PutRegistryCatalogDataCommand.ts +++ b/clients/client-ecr-public/commands/PutRegistryCatalogDataCommand.ts @@ -28,7 +28,6 @@ export class PutRegistryCatalogDataCommand extends $Command< PutRegistryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutRegistryCatalogDataCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/PutRepositoryCatalogDataCommand.ts b/clients/client-ecr-public/commands/PutRepositoryCatalogDataCommand.ts index 514daf6519bc0..c31b63bc026fb 100644 --- a/clients/client-ecr-public/commands/PutRepositoryCatalogDataCommand.ts +++ b/clients/client-ecr-public/commands/PutRepositoryCatalogDataCommand.ts @@ -28,7 +28,6 @@ export class PutRepositoryCatalogDataCommand extends $Command< PutRepositoryCatalogDataCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutRepositoryCatalogDataCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/SetRepositoryPolicyCommand.ts b/clients/client-ecr-public/commands/SetRepositoryPolicyCommand.ts index ff053e847b9fb..012165f4d2289 100644 --- a/clients/client-ecr-public/commands/SetRepositoryPolicyCommand.ts +++ b/clients/client-ecr-public/commands/SetRepositoryPolicyCommand.ts @@ -30,7 +30,6 @@ export class SetRepositoryPolicyCommand extends $Command< SetRepositoryPolicyCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetRepositoryPolicyCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr-public/commands/UploadLayerPartCommand.ts b/clients/client-ecr-public/commands/UploadLayerPartCommand.ts index bca57da1a281c..a166c3c070943 100644 --- a/clients/client-ecr-public/commands/UploadLayerPartCommand.ts +++ b/clients/client-ecr-public/commands/UploadLayerPartCommand.ts @@ -34,7 +34,6 @@ export class UploadLayerPartCommand extends $Command< UploadLayerPartCommandOutput, ECRPUBLICClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UploadLayerPartCommand extends $Command< configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts b/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts index 44e5711bf882e..cceb7ec24d7d0 100644 --- a/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts +++ b/clients/client-ecr/commands/BatchCheckLayerAvailabilityCommand.ts @@ -35,7 +35,6 @@ export class BatchCheckLayerAvailabilityCommand extends $Command< BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchCheckLayerAvailabilityCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/BatchDeleteImageCommand.ts b/clients/client-ecr/commands/BatchDeleteImageCommand.ts index cca1466b48d1b..0301a0ef05beb 100644 --- a/clients/client-ecr/commands/BatchDeleteImageCommand.ts +++ b/clients/client-ecr/commands/BatchDeleteImageCommand.ts @@ -33,7 +33,6 @@ export class BatchDeleteImageCommand extends $Command< BatchDeleteImageCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class BatchDeleteImageCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/BatchGetImageCommand.ts b/clients/client-ecr/commands/BatchGetImageCommand.ts index 9ced7f2a22a1e..f051bec99557e 100644 --- a/clients/client-ecr/commands/BatchGetImageCommand.ts +++ b/clients/client-ecr/commands/BatchGetImageCommand.ts @@ -31,7 +31,6 @@ export class BatchGetImageCommand extends $Command< BatchGetImageCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class BatchGetImageCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/CompleteLayerUploadCommand.ts b/clients/client-ecr/commands/CompleteLayerUploadCommand.ts index 8da5fad017010..13f7133e6f2a7 100644 --- a/clients/client-ecr/commands/CompleteLayerUploadCommand.ts +++ b/clients/client-ecr/commands/CompleteLayerUploadCommand.ts @@ -36,7 +36,6 @@ export class CompleteLayerUploadCommand extends $Command< CompleteLayerUploadCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CompleteLayerUploadCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/CreateRepositoryCommand.ts b/clients/client-ecr/commands/CreateRepositoryCommand.ts index 40e8544ee97ff..c74ac594a5855 100644 --- a/clients/client-ecr/commands/CreateRepositoryCommand.ts +++ b/clients/client-ecr/commands/CreateRepositoryCommand.ts @@ -29,7 +29,6 @@ export class CreateRepositoryCommand extends $Command< CreateRepositoryCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateRepositoryCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts b/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts index 5e9b6d35cc497..feb19a65fa9c8 100644 --- a/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts +++ b/clients/client-ecr/commands/DeleteLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteLifecyclePolicyCommand extends $Command< DeleteLifecyclePolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLifecyclePolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DeleteRegistryPolicyCommand.ts b/clients/client-ecr/commands/DeleteRegistryPolicyCommand.ts index ecd99f898d9c8..122cea169cdf1 100644 --- a/clients/client-ecr/commands/DeleteRegistryPolicyCommand.ts +++ b/clients/client-ecr/commands/DeleteRegistryPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteRegistryPolicyCommand extends $Command< DeleteRegistryPolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRegistryPolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DeleteRepositoryCommand.ts b/clients/client-ecr/commands/DeleteRepositoryCommand.ts index 9712cbcbe968a..49158053cb3eb 100644 --- a/clients/client-ecr/commands/DeleteRepositoryCommand.ts +++ b/clients/client-ecr/commands/DeleteRepositoryCommand.ts @@ -30,7 +30,6 @@ export class DeleteRepositoryCommand extends $Command< DeleteRepositoryCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteRepositoryCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts b/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts index abc962fb98e4e..692c00f7507fb 100644 --- a/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts +++ b/clients/client-ecr/commands/DeleteRepositoryPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteRepositoryPolicyCommand extends $Command< DeleteRepositoryPolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRepositoryPolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts b/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts index 285d23372109a..e9c1eb6c522ed 100644 --- a/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts +++ b/clients/client-ecr/commands/DescribeImageScanFindingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeImageScanFindingsCommand extends $Command< DescribeImageScanFindingsCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImageScanFindingsCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DescribeImagesCommand.ts b/clients/client-ecr/commands/DescribeImagesCommand.ts index 95a29e5a5cae2..bb15fcddff9ae 100644 --- a/clients/client-ecr/commands/DescribeImagesCommand.ts +++ b/clients/client-ecr/commands/DescribeImagesCommand.ts @@ -34,7 +34,6 @@ export class DescribeImagesCommand extends $Command< DescribeImagesCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeImagesCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DescribeRegistryCommand.ts b/clients/client-ecr/commands/DescribeRegistryCommand.ts index 99bd610f326d9..4d8d713ff3635 100644 --- a/clients/client-ecr/commands/DescribeRegistryCommand.ts +++ b/clients/client-ecr/commands/DescribeRegistryCommand.ts @@ -30,7 +30,6 @@ export class DescribeRegistryCommand extends $Command< DescribeRegistryCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeRegistryCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/DescribeRepositoriesCommand.ts b/clients/client-ecr/commands/DescribeRepositoriesCommand.ts index 4a6954ff2a1f3..75a44c3c356e9 100644 --- a/clients/client-ecr/commands/DescribeRepositoriesCommand.ts +++ b/clients/client-ecr/commands/DescribeRepositoriesCommand.ts @@ -28,7 +28,6 @@ export class DescribeRepositoriesCommand extends $Command< DescribeRepositoriesCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRepositoriesCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts b/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts index 91499adc6d9ca..74fb593c88358 100644 --- a/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts +++ b/clients/client-ecr/commands/GetAuthorizationTokenCommand.ts @@ -35,7 +35,6 @@ export class GetAuthorizationTokenCommand extends $Command< GetAuthorizationTokenCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetAuthorizationTokenCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts b/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts index 4d0a3107b8dc5..00bcad4f6d673 100644 --- a/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts +++ b/clients/client-ecr/commands/GetDownloadUrlForLayerCommand.ts @@ -35,7 +35,6 @@ export class GetDownloadUrlForLayerCommand extends $Command< GetDownloadUrlForLayerCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetDownloadUrlForLayerCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts b/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts index 640df146521d5..0329e45994ae4 100644 --- a/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts +++ b/clients/client-ecr/commands/GetLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetLifecyclePolicyCommand extends $Command< GetLifecyclePolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLifecyclePolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts b/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts index 6d1caa92ffd7b..7ad936fbb4d72 100644 --- a/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts +++ b/clients/client-ecr/commands/GetLifecyclePolicyPreviewCommand.ts @@ -29,7 +29,6 @@ export class GetLifecyclePolicyPreviewCommand extends $Command< GetLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetLifecyclePolicyPreviewCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/GetRegistryPolicyCommand.ts b/clients/client-ecr/commands/GetRegistryPolicyCommand.ts index c62fe2f1fcb95..ef425affebfc9 100644 --- a/clients/client-ecr/commands/GetRegistryPolicyCommand.ts +++ b/clients/client-ecr/commands/GetRegistryPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetRegistryPolicyCommand extends $Command< GetRegistryPolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRegistryPolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts b/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts index dd72ff98c9a74..3a12528ae3729 100644 --- a/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts +++ b/clients/client-ecr/commands/GetRepositoryPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetRepositoryPolicyCommand extends $Command< GetRepositoryPolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRepositoryPolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/InitiateLayerUploadCommand.ts b/clients/client-ecr/commands/InitiateLayerUploadCommand.ts index 4d385f6b6b4f7..f86d139a3563b 100644 --- a/clients/client-ecr/commands/InitiateLayerUploadCommand.ts +++ b/clients/client-ecr/commands/InitiateLayerUploadCommand.ts @@ -35,7 +35,6 @@ export class InitiateLayerUploadCommand extends $Command< InitiateLayerUploadCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class InitiateLayerUploadCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/ListImagesCommand.ts b/clients/client-ecr/commands/ListImagesCommand.ts index 8a957b84778c0..15d8a12e89834 100644 --- a/clients/client-ecr/commands/ListImagesCommand.ts +++ b/clients/client-ecr/commands/ListImagesCommand.ts @@ -34,7 +34,6 @@ export class ListImagesCommand extends $Command< ListImagesCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListImagesCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/ListTagsForResourceCommand.ts b/clients/client-ecr/commands/ListTagsForResourceCommand.ts index 8cfdecde6e56f..c83491a80a143 100644 --- a/clients/client-ecr/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecr/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/PutImageCommand.ts b/clients/client-ecr/commands/PutImageCommand.ts index 75aeab15c152e..07222e4f4c267 100644 --- a/clients/client-ecr/commands/PutImageCommand.ts +++ b/clients/client-ecr/commands/PutImageCommand.ts @@ -29,7 +29,6 @@ export type PutImageCommandOutput = PutImageResponse & __MetadataBearer; * */ export class PutImageCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutImageCommand 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-ecr/commands/PutImageScanningConfigurationCommand.ts b/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts index 9e7b6835bcb0f..e1ad4f8127565 100644 --- a/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts +++ b/clients/client-ecr/commands/PutImageScanningConfigurationCommand.ts @@ -28,7 +28,6 @@ export class PutImageScanningConfigurationCommand extends $Command< PutImageScanningConfigurationCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutImageScanningConfigurationCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts b/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts index 14ac42ce516a1..cb143372f21ef 100644 --- a/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts +++ b/clients/client-ecr/commands/PutImageTagMutabilityCommand.ts @@ -30,7 +30,6 @@ export class PutImageTagMutabilityCommand extends $Command< PutImageTagMutabilityCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutImageTagMutabilityCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts b/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts index fe6e570d107dc..e0fc7c95dd241 100644 --- a/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts +++ b/clients/client-ecr/commands/PutLifecyclePolicyCommand.ts @@ -30,7 +30,6 @@ export class PutLifecyclePolicyCommand extends $Command< PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutLifecyclePolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/PutRegistryPolicyCommand.ts b/clients/client-ecr/commands/PutRegistryPolicyCommand.ts index 51fa00e8dc2da..a56ce25b6f4ec 100644 --- a/clients/client-ecr/commands/PutRegistryPolicyCommand.ts +++ b/clients/client-ecr/commands/PutRegistryPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutRegistryPolicyCommand extends $Command< PutRegistryPolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutRegistryPolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/PutReplicationConfigurationCommand.ts b/clients/client-ecr/commands/PutReplicationConfigurationCommand.ts index 54a62e66e8fea..c3678c16a18db 100644 --- a/clients/client-ecr/commands/PutReplicationConfigurationCommand.ts +++ b/clients/client-ecr/commands/PutReplicationConfigurationCommand.ts @@ -38,7 +38,6 @@ export class PutReplicationConfigurationCommand extends $Command< PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutReplicationConfigurationCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts b/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts index 9a766e98f4770..a3ce10e5ae268 100644 --- a/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts +++ b/clients/client-ecr/commands/SetRepositoryPolicyCommand.ts @@ -30,7 +30,6 @@ export class SetRepositoryPolicyCommand extends $Command< SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetRepositoryPolicyCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/StartImageScanCommand.ts b/clients/client-ecr/commands/StartImageScanCommand.ts index 1db00972148f3..d0895d8ebd0fc 100644 --- a/clients/client-ecr/commands/StartImageScanCommand.ts +++ b/clients/client-ecr/commands/StartImageScanCommand.ts @@ -31,7 +31,6 @@ export class StartImageScanCommand extends $Command< StartImageScanCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartImageScanCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts b/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts index 42ba75334c74c..b1f9be4a90ce5 100644 --- a/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts +++ b/clients/client-ecr/commands/StartLifecyclePolicyPreviewCommand.ts @@ -29,7 +29,6 @@ export class StartLifecyclePolicyPreviewCommand extends $Command< StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartLifecyclePolicyPreviewCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/TagResourceCommand.ts b/clients/client-ecr/commands/TagResourceCommand.ts index 7d3722f493fd6..ea20b7b602cdd 100644 --- a/clients/client-ecr/commands/TagResourceCommand.ts +++ b/clients/client-ecr/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/UntagResourceCommand.ts b/clients/client-ecr/commands/UntagResourceCommand.ts index 0aa2e1ca15015..1802fac577db2 100644 --- a/clients/client-ecr/commands/UntagResourceCommand.ts +++ b/clients/client-ecr/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecr/commands/UploadLayerPartCommand.ts b/clients/client-ecr/commands/UploadLayerPartCommand.ts index 18616521da322..7ac19508efb7e 100644 --- a/clients/client-ecr/commands/UploadLayerPartCommand.ts +++ b/clients/client-ecr/commands/UploadLayerPartCommand.ts @@ -35,7 +35,6 @@ export class UploadLayerPartCommand extends $Command< UploadLayerPartCommandOutput, ECRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UploadLayerPartCommand extends $Command< configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/commands/CreateCapacityProviderCommand.ts index 6b86f07421ef7..71018b583dd95 100644 --- a/clients/client-ecs/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/commands/CreateCapacityProviderCommand.ts @@ -34,7 +34,6 @@ export class CreateCapacityProviderCommand extends $Command< CreateCapacityProviderCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateCapacityProviderCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/CreateClusterCommand.ts b/clients/client-ecs/commands/CreateClusterCommand.ts index 451f554bc9524..85c60b4c79b7d 100644 --- a/clients/client-ecs/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/commands/CreateClusterCommand.ts @@ -39,7 +39,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateClusterCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/CreateServiceCommand.ts b/clients/client-ecs/commands/CreateServiceCommand.ts index 92b2464904258..eec6ff3221f65 100644 --- a/clients/client-ecs/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/commands/CreateServiceCommand.ts @@ -133,7 +133,6 @@ export class CreateServiceCommand extends $Command< CreateServiceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -151,10 +150,7 @@ export class CreateServiceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/CreateTaskSetCommand.ts b/clients/client-ecs/commands/CreateTaskSetCommand.ts index 5c6a09d4cfce9..ebfe1b983757d 100644 --- a/clients/client-ecs/commands/CreateTaskSetCommand.ts +++ b/clients/client-ecs/commands/CreateTaskSetCommand.ts @@ -31,7 +31,6 @@ export class CreateTaskSetCommand extends $Command< CreateTaskSetCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateTaskSetCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeleteAccountSettingCommand.ts b/clients/client-ecs/commands/DeleteAccountSettingCommand.ts index 1b136729ee13c..5daa46924bb82 100644 --- a/clients/client-ecs/commands/DeleteAccountSettingCommand.ts +++ b/clients/client-ecs/commands/DeleteAccountSettingCommand.ts @@ -29,7 +29,6 @@ export class DeleteAccountSettingCommand extends $Command< DeleteAccountSettingCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAccountSettingCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeleteAttributesCommand.ts b/clients/client-ecs/commands/DeleteAttributesCommand.ts index 50cf5d3a07808..0136834397e0b 100644 --- a/clients/client-ecs/commands/DeleteAttributesCommand.ts +++ b/clients/client-ecs/commands/DeleteAttributesCommand.ts @@ -28,7 +28,6 @@ export class DeleteAttributesCommand extends $Command< DeleteAttributesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAttributesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeleteCapacityProviderCommand.ts b/clients/client-ecs/commands/DeleteCapacityProviderCommand.ts index d292f430f517e..1b82130b9f69a 100644 --- a/clients/client-ecs/commands/DeleteCapacityProviderCommand.ts +++ b/clients/client-ecs/commands/DeleteCapacityProviderCommand.ts @@ -42,7 +42,6 @@ export class DeleteCapacityProviderCommand extends $Command< DeleteCapacityProviderCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DeleteCapacityProviderCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeleteClusterCommand.ts b/clients/client-ecs/commands/DeleteClusterCommand.ts index f35f46e27f6b0..56e1759bf8ec2 100644 --- a/clients/client-ecs/commands/DeleteClusterCommand.ts +++ b/clients/client-ecs/commands/DeleteClusterCommand.ts @@ -34,7 +34,6 @@ export class DeleteClusterCommand extends $Command< DeleteClusterCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteClusterCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeleteServiceCommand.ts b/clients/client-ecs/commands/DeleteServiceCommand.ts index 673735b78538c..2d7f6152c27dc 100644 --- a/clients/client-ecs/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/commands/DeleteServiceCommand.ts @@ -48,7 +48,6 @@ export class DeleteServiceCommand extends $Command< DeleteServiceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DeleteServiceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeleteTaskSetCommand.ts b/clients/client-ecs/commands/DeleteTaskSetCommand.ts index 91fc0eda1628d..e0911c815fc01 100644 --- a/clients/client-ecs/commands/DeleteTaskSetCommand.ts +++ b/clients/client-ecs/commands/DeleteTaskSetCommand.ts @@ -29,7 +29,6 @@ export class DeleteTaskSetCommand extends $Command< DeleteTaskSetCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTaskSetCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts b/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts index c1760ab74db08..86dacac5cb984 100644 --- a/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts +++ b/clients/client-ecs/commands/DeregisterContainerInstanceCommand.ts @@ -40,7 +40,6 @@ export class DeregisterContainerInstanceCommand extends $Command< DeregisterContainerInstanceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeregisterContainerInstanceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts b/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts index 34b05b36c1b23..24ab330d4cf71 100644 --- a/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/DeregisterTaskDefinitionCommand.ts @@ -43,7 +43,6 @@ export class DeregisterTaskDefinitionCommand extends $Command< DeregisterTaskDefinitionCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DeregisterTaskDefinitionCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts b/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts index 2d4fb117a28d9..de2d051736178 100644 --- a/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts +++ b/clients/client-ecs/commands/DescribeCapacityProvidersCommand.ts @@ -28,7 +28,6 @@ export class DescribeCapacityProvidersCommand extends $Command< DescribeCapacityProvidersCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCapacityProvidersCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeClustersCommand.ts b/clients/client-ecs/commands/DescribeClustersCommand.ts index 2cdb4870a3823..a3d3d5eec759d 100644 --- a/clients/client-ecs/commands/DescribeClustersCommand.ts +++ b/clients/client-ecs/commands/DescribeClustersCommand.ts @@ -28,7 +28,6 @@ export class DescribeClustersCommand extends $Command< DescribeClustersCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClustersCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts b/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts index 47248ca20456f..46c8b1e467799 100644 --- a/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts +++ b/clients/client-ecs/commands/DescribeContainerInstancesCommand.ts @@ -29,7 +29,6 @@ export class DescribeContainerInstancesCommand extends $Command< DescribeContainerInstancesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeContainerInstancesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeServicesCommand.ts b/clients/client-ecs/commands/DescribeServicesCommand.ts index e3f9035431154..58cfd97c6a929 100644 --- a/clients/client-ecs/commands/DescribeServicesCommand.ts +++ b/clients/client-ecs/commands/DescribeServicesCommand.ts @@ -28,7 +28,6 @@ export class DescribeServicesCommand extends $Command< DescribeServicesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeServicesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts b/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts index abbb880bbed45..3b419396e44ae 100644 --- a/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/DescribeTaskDefinitionCommand.ts @@ -35,7 +35,6 @@ export class DescribeTaskDefinitionCommand extends $Command< DescribeTaskDefinitionCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeTaskDefinitionCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeTaskSetsCommand.ts b/clients/client-ecs/commands/DescribeTaskSetsCommand.ts index 89a3dc15f4ecf..0d3225a11428a 100644 --- a/clients/client-ecs/commands/DescribeTaskSetsCommand.ts +++ b/clients/client-ecs/commands/DescribeTaskSetsCommand.ts @@ -31,7 +31,6 @@ export class DescribeTaskSetsCommand extends $Command< DescribeTaskSetsCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeTaskSetsCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DescribeTasksCommand.ts b/clients/client-ecs/commands/DescribeTasksCommand.ts index 78e89abf0217e..6cbe6eaf7a68a 100644 --- a/clients/client-ecs/commands/DescribeTasksCommand.ts +++ b/clients/client-ecs/commands/DescribeTasksCommand.ts @@ -28,7 +28,6 @@ export class DescribeTasksCommand extends $Command< DescribeTasksCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTasksCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts b/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts index 597413dc733a8..ecc78c4a4aded 100644 --- a/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts +++ b/clients/client-ecs/commands/DiscoverPollEndpointCommand.ts @@ -32,7 +32,6 @@ export class DiscoverPollEndpointCommand extends $Command< DiscoverPollEndpointCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DiscoverPollEndpointCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListAccountSettingsCommand.ts b/clients/client-ecs/commands/ListAccountSettingsCommand.ts index b4e8ef1ff1763..e83bde3e1fa58 100644 --- a/clients/client-ecs/commands/ListAccountSettingsCommand.ts +++ b/clients/client-ecs/commands/ListAccountSettingsCommand.ts @@ -28,7 +28,6 @@ export class ListAccountSettingsCommand extends $Command< ListAccountSettingsCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAccountSettingsCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListAttributesCommand.ts b/clients/client-ecs/commands/ListAttributesCommand.ts index d1ab873ea93b2..efe69334d6ca9 100644 --- a/clients/client-ecs/commands/ListAttributesCommand.ts +++ b/clients/client-ecs/commands/ListAttributesCommand.ts @@ -34,7 +34,6 @@ export class ListAttributesCommand extends $Command< ListAttributesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListAttributesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListClustersCommand.ts b/clients/client-ecs/commands/ListClustersCommand.ts index 4ee4531266aa0..6e1ccb5a9e0e7 100644 --- a/clients/client-ecs/commands/ListClustersCommand.ts +++ b/clients/client-ecs/commands/ListClustersCommand.ts @@ -28,7 +28,6 @@ export class ListClustersCommand extends $Command< ListClustersCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListClustersCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListContainerInstancesCommand.ts b/clients/client-ecs/commands/ListContainerInstancesCommand.ts index 18e415225367f..9a30fe921f61f 100644 --- a/clients/client-ecs/commands/ListContainerInstancesCommand.ts +++ b/clients/client-ecs/commands/ListContainerInstancesCommand.ts @@ -31,7 +31,6 @@ export class ListContainerInstancesCommand extends $Command< ListContainerInstancesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListContainerInstancesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListServicesCommand.ts b/clients/client-ecs/commands/ListServicesCommand.ts index a315a6e9c3c28..bee7ef9792336 100644 --- a/clients/client-ecs/commands/ListServicesCommand.ts +++ b/clients/client-ecs/commands/ListServicesCommand.ts @@ -28,7 +28,6 @@ export class ListServicesCommand extends $Command< ListServicesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListServicesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListTagsForResourceCommand.ts b/clients/client-ecs/commands/ListTagsForResourceCommand.ts index 8dbe3cb4728a4..8df1b803a274a 100644 --- a/clients/client-ecs/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ecs/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts b/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts index 34b568b56ba7c..b1cfc80680fef 100644 --- a/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts +++ b/clients/client-ecs/commands/ListTaskDefinitionFamiliesCommand.ts @@ -34,7 +34,6 @@ export class ListTaskDefinitionFamiliesCommand extends $Command< ListTaskDefinitionFamiliesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListTaskDefinitionFamiliesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts b/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts index 25c97b6575fb8..3546b9368f04e 100644 --- a/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts +++ b/clients/client-ecs/commands/ListTaskDefinitionsCommand.ts @@ -30,7 +30,6 @@ export class ListTaskDefinitionsCommand extends $Command< ListTaskDefinitionsCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTaskDefinitionsCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/ListTasksCommand.ts b/clients/client-ecs/commands/ListTasksCommand.ts index fc039be86b20b..fe9b4a15518b0 100644 --- a/clients/client-ecs/commands/ListTasksCommand.ts +++ b/clients/client-ecs/commands/ListTasksCommand.ts @@ -26,7 +26,6 @@ export type ListTasksCommandOutput = ListTasksResponse & __MetadataBearer; * appear in the returned results for at least one hour.

*/ export class ListTasksCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class ListTasksCommand 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-ecs/commands/PutAccountSettingCommand.ts b/clients/client-ecs/commands/PutAccountSettingCommand.ts index 6b4ef29ab53f1..536bb97eccdf3 100644 --- a/clients/client-ecs/commands/PutAccountSettingCommand.ts +++ b/clients/client-ecs/commands/PutAccountSettingCommand.ts @@ -51,7 +51,6 @@ export class PutAccountSettingCommand extends $Command< PutAccountSettingCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class PutAccountSettingCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts b/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts index 57a04a979a967..8516ca736ecbd 100644 --- a/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts +++ b/clients/client-ecs/commands/PutAccountSettingDefaultCommand.ts @@ -30,7 +30,6 @@ export class PutAccountSettingDefaultCommand extends $Command< PutAccountSettingDefaultCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutAccountSettingDefaultCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/PutAttributesCommand.ts b/clients/client-ecs/commands/PutAttributesCommand.ts index 32b3765720b9a..bf64d6c4b95aa 100644 --- a/clients/client-ecs/commands/PutAttributesCommand.ts +++ b/clients/client-ecs/commands/PutAttributesCommand.ts @@ -32,7 +32,6 @@ export class PutAttributesCommand extends $Command< PutAttributesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutAttributesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts b/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts index 2a6748a44d79f..ea69d28e01222 100644 --- a/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts +++ b/clients/client-ecs/commands/PutClusterCapacityProvidersCommand.ts @@ -41,7 +41,6 @@ export class PutClusterCapacityProvidersCommand extends $Command< PutClusterCapacityProvidersCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class PutClusterCapacityProvidersCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts b/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts index 48a801238cb88..a9bf5f8c8ba7c 100644 --- a/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts +++ b/clients/client-ecs/commands/RegisterContainerInstanceCommand.ts @@ -33,7 +33,6 @@ export class RegisterContainerInstanceCommand extends $Command< RegisterContainerInstanceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RegisterContainerInstanceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts b/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts index f88d6223f41f7..bfb217d96672b 100644 --- a/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/commands/RegisterTaskDefinitionCommand.ts @@ -45,7 +45,6 @@ export class RegisterTaskDefinitionCommand extends $Command< RegisterTaskDefinitionCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class RegisterTaskDefinitionCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/RunTaskCommand.ts b/clients/client-ecs/commands/RunTaskCommand.ts index 773289bd035c4..b49a5095b54f1 100644 --- a/clients/client-ecs/commands/RunTaskCommand.ts +++ b/clients/client-ecs/commands/RunTaskCommand.ts @@ -49,7 +49,6 @@ export type RunTaskCommandOutput = RunTaskResponse & __MetadataBearer; * */ export class RunTaskCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class RunTaskCommand 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-ecs/commands/StartTaskCommand.ts b/clients/client-ecs/commands/StartTaskCommand.ts index 664d619eb63ad..aae09fc253e62 100644 --- a/clients/client-ecs/commands/StartTaskCommand.ts +++ b/clients/client-ecs/commands/StartTaskCommand.ts @@ -25,7 +25,6 @@ export type StartTaskCommandOutput = StartTaskResponse & __MetadataBearer; * Amazon Elastic Container Service Developer Guide.

*/ export class StartTaskCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class StartTaskCommand 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-ecs/commands/StopTaskCommand.ts b/clients/client-ecs/commands/StopTaskCommand.ts index 605564825f2f7..f5329fb683b3d 100644 --- a/clients/client-ecs/commands/StopTaskCommand.ts +++ b/clients/client-ecs/commands/StopTaskCommand.ts @@ -33,7 +33,6 @@ export type StopTaskCommandOutput = StopTaskResponse & __MetadataBearer; * */ export class StopTaskCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopTaskCommand 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-ecs/commands/SubmitAttachmentStateChangesCommand.ts b/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts index dae6206544a1a..1d2f0e666b086 100644 --- a/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts +++ b/clients/client-ecs/commands/SubmitAttachmentStateChangesCommand.ts @@ -32,7 +32,6 @@ export class SubmitAttachmentStateChangesCommand extends $Command< SubmitAttachmentStateChangesCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SubmitAttachmentStateChangesCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts b/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts index a36ec903b4da2..c28d6bf3bf8be 100644 --- a/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts +++ b/clients/client-ecs/commands/SubmitContainerStateChangeCommand.ts @@ -32,7 +32,6 @@ export class SubmitContainerStateChangeCommand extends $Command< SubmitContainerStateChangeCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SubmitContainerStateChangeCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts b/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts index 6993456da59f2..0e4e5a8641998 100644 --- a/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts +++ b/clients/client-ecs/commands/SubmitTaskStateChangeCommand.ts @@ -32,7 +32,6 @@ export class SubmitTaskStateChangeCommand extends $Command< SubmitTaskStateChangeCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SubmitTaskStateChangeCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/TagResourceCommand.ts b/clients/client-ecs/commands/TagResourceCommand.ts index f2bf61de2a59c..80a503c8a0096 100644 --- a/clients/client-ecs/commands/TagResourceCommand.ts +++ b/clients/client-ecs/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UntagResourceCommand.ts b/clients/client-ecs/commands/UntagResourceCommand.ts index b30a0e3caa189..4fd49af623844 100644 --- a/clients/client-ecs/commands/UntagResourceCommand.ts +++ b/clients/client-ecs/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateCapacityProviderCommand.ts b/clients/client-ecs/commands/UpdateCapacityProviderCommand.ts index 554bd2d018f74..0b630ef5b913e 100644 --- a/clients/client-ecs/commands/UpdateCapacityProviderCommand.ts +++ b/clients/client-ecs/commands/UpdateCapacityProviderCommand.ts @@ -28,7 +28,6 @@ export class UpdateCapacityProviderCommand extends $Command< UpdateCapacityProviderCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCapacityProviderCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts b/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts index c6952f19ad619..351fd6ebf191e 100644 --- a/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts +++ b/clients/client-ecs/commands/UpdateClusterSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateClusterSettingsCommand extends $Command< UpdateClusterSettingsCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateClusterSettingsCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateContainerAgentCommand.ts b/clients/client-ecs/commands/UpdateContainerAgentCommand.ts index 7ca4f5586559e..6fbde774b90c8 100644 --- a/clients/client-ecs/commands/UpdateContainerAgentCommand.ts +++ b/clients/client-ecs/commands/UpdateContainerAgentCommand.ts @@ -36,7 +36,6 @@ export class UpdateContainerAgentCommand extends $Command< UpdateContainerAgentCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateContainerAgentCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts b/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts index e92092de42758..c244beb671d06 100644 --- a/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts +++ b/clients/client-ecs/commands/UpdateContainerInstancesStateCommand.ts @@ -76,7 +76,6 @@ export class UpdateContainerInstancesStateCommand extends $Command< UpdateContainerInstancesStateCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -94,10 +93,7 @@ export class UpdateContainerInstancesStateCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateServiceCommand.ts b/clients/client-ecs/commands/UpdateServiceCommand.ts index 878a34748bd94..ea1c0bef7d3c1 100644 --- a/clients/client-ecs/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/commands/UpdateServiceCommand.ts @@ -136,7 +136,6 @@ export class UpdateServiceCommand extends $Command< UpdateServiceCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -154,10 +153,7 @@ export class UpdateServiceCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts b/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts index 55b4e80952d13..831e0667d2a71 100644 --- a/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts +++ b/clients/client-ecs/commands/UpdateServicePrimaryTaskSetCommand.ts @@ -32,7 +32,6 @@ export class UpdateServicePrimaryTaskSetCommand extends $Command< UpdateServicePrimaryTaskSetCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateServicePrimaryTaskSetCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ecs/commands/UpdateTaskSetCommand.ts b/clients/client-ecs/commands/UpdateTaskSetCommand.ts index 4c457c53cda46..c55cf31c1c031 100644 --- a/clients/client-ecs/commands/UpdateTaskSetCommand.ts +++ b/clients/client-ecs/commands/UpdateTaskSetCommand.ts @@ -30,7 +30,6 @@ export class UpdateTaskSetCommand extends $Command< UpdateTaskSetCommandOutput, ECSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateTaskSetCommand extends $Command< configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/CreateAccessPointCommand.ts b/clients/client-efs/commands/CreateAccessPointCommand.ts index 74e63793ce25a..9623c3b53f9a6 100644 --- a/clients/client-efs/commands/CreateAccessPointCommand.ts +++ b/clients/client-efs/commands/CreateAccessPointCommand.ts @@ -33,7 +33,6 @@ export class CreateAccessPointCommand extends $Command< CreateAccessPointCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateAccessPointCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/CreateFileSystemCommand.ts b/clients/client-efs/commands/CreateFileSystemCommand.ts index ae2f316f0696a..bf8ec581106b5 100644 --- a/clients/client-efs/commands/CreateFileSystemCommand.ts +++ b/clients/client-efs/commands/CreateFileSystemCommand.ts @@ -77,7 +77,6 @@ export class CreateFileSystemCommand extends $Command< CreateFileSystemCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class CreateFileSystemCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/CreateMountTargetCommand.ts b/clients/client-efs/commands/CreateMountTargetCommand.ts index ba6e27f034e6e..af6ba5134bc87 100644 --- a/clients/client-efs/commands/CreateMountTargetCommand.ts +++ b/clients/client-efs/commands/CreateMountTargetCommand.ts @@ -154,7 +154,6 @@ export class CreateMountTargetCommand extends $Command< CreateMountTargetCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -172,10 +171,7 @@ export class CreateMountTargetCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/CreateTagsCommand.ts b/clients/client-efs/commands/CreateTagsCommand.ts index 57532c889d710..f419b779a5e5c 100644 --- a/clients/client-efs/commands/CreateTagsCommand.ts +++ b/clients/client-efs/commands/CreateTagsCommand.ts @@ -35,7 +35,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateTagsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DeleteAccessPointCommand.ts b/clients/client-efs/commands/DeleteAccessPointCommand.ts index 48511bd9c9b54..85cb41915c80f 100644 --- a/clients/client-efs/commands/DeleteAccessPointCommand.ts +++ b/clients/client-efs/commands/DeleteAccessPointCommand.ts @@ -31,7 +31,6 @@ export class DeleteAccessPointCommand extends $Command< DeleteAccessPointCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteAccessPointCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DeleteFileSystemCommand.ts b/clients/client-efs/commands/DeleteFileSystemCommand.ts index 951f41715cde2..aa35220076d8b 100644 --- a/clients/client-efs/commands/DeleteFileSystemCommand.ts +++ b/clients/client-efs/commands/DeleteFileSystemCommand.ts @@ -42,7 +42,6 @@ export class DeleteFileSystemCommand extends $Command< DeleteFileSystemCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DeleteFileSystemCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts b/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts index 07eb5b6725e7d..1789b62290835 100644 --- a/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts +++ b/clients/client-efs/commands/DeleteFileSystemPolicyCommand.ts @@ -31,7 +31,6 @@ export class DeleteFileSystemPolicyCommand extends $Command< DeleteFileSystemPolicyCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteFileSystemPolicyCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DeleteMountTargetCommand.ts b/clients/client-efs/commands/DeleteMountTargetCommand.ts index 7fadc6cd5687f..333289d19a07d 100644 --- a/clients/client-efs/commands/DeleteMountTargetCommand.ts +++ b/clients/client-efs/commands/DeleteMountTargetCommand.ts @@ -61,7 +61,6 @@ export class DeleteMountTargetCommand extends $Command< DeleteMountTargetCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class DeleteMountTargetCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DeleteTagsCommand.ts b/clients/client-efs/commands/DeleteTagsCommand.ts index 5fc1c7f1b8c1a..689b8c9b21ab6 100644 --- a/clients/client-efs/commands/DeleteTagsCommand.ts +++ b/clients/client-efs/commands/DeleteTagsCommand.ts @@ -36,7 +36,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteTagsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeAccessPointsCommand.ts b/clients/client-efs/commands/DescribeAccessPointsCommand.ts index b0b1279ee8449..76d94b59f285d 100644 --- a/clients/client-efs/commands/DescribeAccessPointsCommand.ts +++ b/clients/client-efs/commands/DescribeAccessPointsCommand.ts @@ -31,7 +31,6 @@ export class DescribeAccessPointsCommand extends $Command< DescribeAccessPointsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeAccessPointsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeBackupPolicyCommand.ts b/clients/client-efs/commands/DescribeBackupPolicyCommand.ts index a11515dfc188e..7128908368d53 100644 --- a/clients/client-efs/commands/DescribeBackupPolicyCommand.ts +++ b/clients/client-efs/commands/DescribeBackupPolicyCommand.ts @@ -28,7 +28,6 @@ export class DescribeBackupPolicyCommand extends $Command< DescribeBackupPolicyCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBackupPolicyCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts b/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts index 8e7cb48bab8e4..3360bde99b636 100644 --- a/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts +++ b/clients/client-efs/commands/DescribeFileSystemPolicyCommand.ts @@ -29,7 +29,6 @@ export class DescribeFileSystemPolicyCommand extends $Command< DescribeFileSystemPolicyCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeFileSystemPolicyCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeFileSystemsCommand.ts b/clients/client-efs/commands/DescribeFileSystemsCommand.ts index 5e271c29b724f..86fd2b9224b28 100644 --- a/clients/client-efs/commands/DescribeFileSystemsCommand.ts +++ b/clients/client-efs/commands/DescribeFileSystemsCommand.ts @@ -50,7 +50,6 @@ export class DescribeFileSystemsCommand extends $Command< DescribeFileSystemsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DescribeFileSystemsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts b/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts index 03270443844e0..3daa1a1eee06a 100644 --- a/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts +++ b/clients/client-efs/commands/DescribeLifecycleConfigurationCommand.ts @@ -34,7 +34,6 @@ export class DescribeLifecycleConfigurationCommand extends $Command< DescribeLifecycleConfigurationCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeLifecycleConfigurationCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts b/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts index 418ac3211e4bb..38bf5348fe21c 100644 --- a/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts +++ b/clients/client-efs/commands/DescribeMountTargetSecurityGroupsCommand.ts @@ -47,7 +47,6 @@ export class DescribeMountTargetSecurityGroupsCommand extends $Command< DescribeMountTargetSecurityGroupsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeMountTargetSecurityGroupsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeMountTargetsCommand.ts b/clients/client-efs/commands/DescribeMountTargetsCommand.ts index a69c069896153..cef343bbfc1da 100644 --- a/clients/client-efs/commands/DescribeMountTargetsCommand.ts +++ b/clients/client-efs/commands/DescribeMountTargetsCommand.ts @@ -35,7 +35,6 @@ export class DescribeMountTargetsCommand extends $Command< DescribeMountTargetsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeMountTargetsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/DescribeTagsCommand.ts b/clients/client-efs/commands/DescribeTagsCommand.ts index 76f176a1a72ea..f5bafd378b24f 100644 --- a/clients/client-efs/commands/DescribeTagsCommand.ts +++ b/clients/client-efs/commands/DescribeTagsCommand.ts @@ -34,7 +34,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeTagsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/ListTagsForResourceCommand.ts b/clients/client-efs/commands/ListTagsForResourceCommand.ts index 03487920020cb..2e437f4cd0af4 100644 --- a/clients/client-efs/commands/ListTagsForResourceCommand.ts +++ b/clients/client-efs/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts b/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts index 8b0968120e7d7..156bb1241eddc 100644 --- a/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts +++ b/clients/client-efs/commands/ModifyMountTargetSecurityGroupsCommand.ts @@ -47,7 +47,6 @@ export class ModifyMountTargetSecurityGroupsCommand extends $Command< ModifyMountTargetSecurityGroupsCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class ModifyMountTargetSecurityGroupsCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/PutBackupPolicyCommand.ts b/clients/client-efs/commands/PutBackupPolicyCommand.ts index 9635c6e33bccc..705e8a6778e10 100644 --- a/clients/client-efs/commands/PutBackupPolicyCommand.ts +++ b/clients/client-efs/commands/PutBackupPolicyCommand.ts @@ -28,7 +28,6 @@ export class PutBackupPolicyCommand extends $Command< PutBackupPolicyCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutBackupPolicyCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/PutFileSystemPolicyCommand.ts b/clients/client-efs/commands/PutFileSystemPolicyCommand.ts index ff28ea5ed7158..bcef585b86762 100644 --- a/clients/client-efs/commands/PutFileSystemPolicyCommand.ts +++ b/clients/client-efs/commands/PutFileSystemPolicyCommand.ts @@ -35,7 +35,6 @@ export class PutFileSystemPolicyCommand extends $Command< PutFileSystemPolicyCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutFileSystemPolicyCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts b/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts index c24e1da00cfea..001ea25168624 100644 --- a/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts +++ b/clients/client-efs/commands/PutLifecycleConfigurationCommand.ts @@ -56,7 +56,6 @@ export class PutLifecycleConfigurationCommand extends $Command< PutLifecycleConfigurationCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class PutLifecycleConfigurationCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/TagResourceCommand.ts b/clients/client-efs/commands/TagResourceCommand.ts index bffa074632499..2eb29b5a85153 100644 --- a/clients/client-efs/commands/TagResourceCommand.ts +++ b/clients/client-efs/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/UntagResourceCommand.ts b/clients/client-efs/commands/UntagResourceCommand.ts index 0e56ea2fd6f41..6b6fdddd29cb6 100644 --- a/clients/client-efs/commands/UntagResourceCommand.ts +++ b/clients/client-efs/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-efs/commands/UpdateFileSystemCommand.ts b/clients/client-efs/commands/UpdateFileSystemCommand.ts index 0b835f5e4d161..770a1e559892b 100644 --- a/clients/client-efs/commands/UpdateFileSystemCommand.ts +++ b/clients/client-efs/commands/UpdateFileSystemCommand.ts @@ -29,7 +29,6 @@ export class UpdateFileSystemCommand extends $Command< UpdateFileSystemCommandOutput, EFSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateFileSystemCommand extends $Command< configuration: EFSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/CreateAddonCommand.ts b/clients/client-eks/commands/CreateAddonCommand.ts index 7ff4b53e0a06c..781e16bf93f6d 100644 --- a/clients/client-eks/commands/CreateAddonCommand.ts +++ b/clients/client-eks/commands/CreateAddonCommand.ts @@ -33,7 +33,6 @@ export class CreateAddonCommand extends $Command< CreateAddonCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateAddonCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/CreateClusterCommand.ts b/clients/client-eks/commands/CreateClusterCommand.ts index f005da0cd6c68..2d610596d3605 100644 --- a/clients/client-eks/commands/CreateClusterCommand.ts +++ b/clients/client-eks/commands/CreateClusterCommand.ts @@ -64,7 +64,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class CreateClusterCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/CreateFargateProfileCommand.ts b/clients/client-eks/commands/CreateFargateProfileCommand.ts index f475b3cfe6538..4a018fcba8903 100644 --- a/clients/client-eks/commands/CreateFargateProfileCommand.ts +++ b/clients/client-eks/commands/CreateFargateProfileCommand.ts @@ -51,7 +51,6 @@ export class CreateFargateProfileCommand extends $Command< CreateFargateProfileCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class CreateFargateProfileCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/CreateNodegroupCommand.ts b/clients/client-eks/commands/CreateNodegroupCommand.ts index 8d68390c67592..4ee17c7abc4c3 100644 --- a/clients/client-eks/commands/CreateNodegroupCommand.ts +++ b/clients/client-eks/commands/CreateNodegroupCommand.ts @@ -37,7 +37,6 @@ export class CreateNodegroupCommand extends $Command< CreateNodegroupCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateNodegroupCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DeleteAddonCommand.ts b/clients/client-eks/commands/DeleteAddonCommand.ts index 245ed23e6e7f1..9c3077855bbeb 100644 --- a/clients/client-eks/commands/DeleteAddonCommand.ts +++ b/clients/client-eks/commands/DeleteAddonCommand.ts @@ -30,7 +30,6 @@ export class DeleteAddonCommand extends $Command< DeleteAddonCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAddonCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DeleteClusterCommand.ts b/clients/client-eks/commands/DeleteClusterCommand.ts index 7e601b2d8d9ed..77d455598d6ff 100644 --- a/clients/client-eks/commands/DeleteClusterCommand.ts +++ b/clients/client-eks/commands/DeleteClusterCommand.ts @@ -35,7 +35,6 @@ export class DeleteClusterCommand extends $Command< DeleteClusterCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteClusterCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DeleteFargateProfileCommand.ts b/clients/client-eks/commands/DeleteFargateProfileCommand.ts index 2dd08f4133922..d31e31e18ad0b 100644 --- a/clients/client-eks/commands/DeleteFargateProfileCommand.ts +++ b/clients/client-eks/commands/DeleteFargateProfileCommand.ts @@ -35,7 +35,6 @@ export class DeleteFargateProfileCommand extends $Command< DeleteFargateProfileCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteFargateProfileCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DeleteNodegroupCommand.ts b/clients/client-eks/commands/DeleteNodegroupCommand.ts index f88da64af6dd1..ef10ad4ee4fe0 100644 --- a/clients/client-eks/commands/DeleteNodegroupCommand.ts +++ b/clients/client-eks/commands/DeleteNodegroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteNodegroupCommand extends $Command< DeleteNodegroupCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNodegroupCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DescribeAddonCommand.ts b/clients/client-eks/commands/DescribeAddonCommand.ts index e300c3741c7a9..e7f8821c6e267 100644 --- a/clients/client-eks/commands/DescribeAddonCommand.ts +++ b/clients/client-eks/commands/DescribeAddonCommand.ts @@ -28,7 +28,6 @@ export class DescribeAddonCommand extends $Command< DescribeAddonCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAddonCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DescribeAddonVersionsCommand.ts b/clients/client-eks/commands/DescribeAddonVersionsCommand.ts index 0ef64ca050a1b..7555edac0ad91 100644 --- a/clients/client-eks/commands/DescribeAddonVersionsCommand.ts +++ b/clients/client-eks/commands/DescribeAddonVersionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeAddonVersionsCommand extends $Command< DescribeAddonVersionsCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAddonVersionsCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DescribeClusterCommand.ts b/clients/client-eks/commands/DescribeClusterCommand.ts index ea9c09ed46381..5d9c83226605a 100644 --- a/clients/client-eks/commands/DescribeClusterCommand.ts +++ b/clients/client-eks/commands/DescribeClusterCommand.ts @@ -36,7 +36,6 @@ export class DescribeClusterCommand extends $Command< DescribeClusterCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeClusterCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DescribeFargateProfileCommand.ts b/clients/client-eks/commands/DescribeFargateProfileCommand.ts index 2a46dff932352..f120ec551bef6 100644 --- a/clients/client-eks/commands/DescribeFargateProfileCommand.ts +++ b/clients/client-eks/commands/DescribeFargateProfileCommand.ts @@ -28,7 +28,6 @@ export class DescribeFargateProfileCommand extends $Command< DescribeFargateProfileCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFargateProfileCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DescribeNodegroupCommand.ts b/clients/client-eks/commands/DescribeNodegroupCommand.ts index 4c39712dd2982..428f57258b712 100644 --- a/clients/client-eks/commands/DescribeNodegroupCommand.ts +++ b/clients/client-eks/commands/DescribeNodegroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeNodegroupCommand extends $Command< DescribeNodegroupCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNodegroupCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/DescribeUpdateCommand.ts b/clients/client-eks/commands/DescribeUpdateCommand.ts index 61a525191fc37..6021a35a70e3b 100644 --- a/clients/client-eks/commands/DescribeUpdateCommand.ts +++ b/clients/client-eks/commands/DescribeUpdateCommand.ts @@ -32,7 +32,6 @@ export class DescribeUpdateCommand extends $Command< DescribeUpdateCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeUpdateCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/ListAddonsCommand.ts b/clients/client-eks/commands/ListAddonsCommand.ts index 1e5da4be88f20..32c599b947837 100644 --- a/clients/client-eks/commands/ListAddonsCommand.ts +++ b/clients/client-eks/commands/ListAddonsCommand.ts @@ -28,7 +28,6 @@ export class ListAddonsCommand extends $Command< ListAddonsCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAddonsCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/ListClustersCommand.ts b/clients/client-eks/commands/ListClustersCommand.ts index 8622c6d032968..62c70618a9119 100644 --- a/clients/client-eks/commands/ListClustersCommand.ts +++ b/clients/client-eks/commands/ListClustersCommand.ts @@ -28,7 +28,6 @@ export class ListClustersCommand extends $Command< ListClustersCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListClustersCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/ListFargateProfilesCommand.ts b/clients/client-eks/commands/ListFargateProfilesCommand.ts index f6cd1bbcca7a6..9be8f5edbd9f2 100644 --- a/clients/client-eks/commands/ListFargateProfilesCommand.ts +++ b/clients/client-eks/commands/ListFargateProfilesCommand.ts @@ -29,7 +29,6 @@ export class ListFargateProfilesCommand extends $Command< ListFargateProfilesCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListFargateProfilesCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/ListNodegroupsCommand.ts b/clients/client-eks/commands/ListNodegroupsCommand.ts index 32cd69763e8a1..1a2852144a608 100644 --- a/clients/client-eks/commands/ListNodegroupsCommand.ts +++ b/clients/client-eks/commands/ListNodegroupsCommand.ts @@ -29,7 +29,6 @@ export class ListNodegroupsCommand extends $Command< ListNodegroupsCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListNodegroupsCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/ListTagsForResourceCommand.ts b/clients/client-eks/commands/ListTagsForResourceCommand.ts index 7739f1cf95c2b..a2c22183c1bd6 100644 --- a/clients/client-eks/commands/ListTagsForResourceCommand.ts +++ b/clients/client-eks/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/ListUpdatesCommand.ts b/clients/client-eks/commands/ListUpdatesCommand.ts index 41de493272979..4414aae1973ff 100644 --- a/clients/client-eks/commands/ListUpdatesCommand.ts +++ b/clients/client-eks/commands/ListUpdatesCommand.ts @@ -29,7 +29,6 @@ export class ListUpdatesCommand extends $Command< ListUpdatesCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListUpdatesCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/TagResourceCommand.ts b/clients/client-eks/commands/TagResourceCommand.ts index 0e515edf8fdae..4d6f82862051a 100644 --- a/clients/client-eks/commands/TagResourceCommand.ts +++ b/clients/client-eks/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/UntagResourceCommand.ts b/clients/client-eks/commands/UntagResourceCommand.ts index 7c80e3cd64e3f..d627584896f1c 100644 --- a/clients/client-eks/commands/UntagResourceCommand.ts +++ b/clients/client-eks/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/UpdateAddonCommand.ts b/clients/client-eks/commands/UpdateAddonCommand.ts index 913f172813f4e..a5e0997c8bd2b 100644 --- a/clients/client-eks/commands/UpdateAddonCommand.ts +++ b/clients/client-eks/commands/UpdateAddonCommand.ts @@ -28,7 +28,6 @@ export class UpdateAddonCommand extends $Command< UpdateAddonCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAddonCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/UpdateClusterConfigCommand.ts b/clients/client-eks/commands/UpdateClusterConfigCommand.ts index 2783322407892..49b9e48701992 100644 --- a/clients/client-eks/commands/UpdateClusterConfigCommand.ts +++ b/clients/client-eks/commands/UpdateClusterConfigCommand.ts @@ -55,7 +55,6 @@ export class UpdateClusterConfigCommand extends $Command< UpdateClusterConfigCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class UpdateClusterConfigCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/UpdateClusterVersionCommand.ts b/clients/client-eks/commands/UpdateClusterVersionCommand.ts index 5205e637749c6..33e3ab9db551f 100644 --- a/clients/client-eks/commands/UpdateClusterVersionCommand.ts +++ b/clients/client-eks/commands/UpdateClusterVersionCommand.ts @@ -38,7 +38,6 @@ export class UpdateClusterVersionCommand extends $Command< UpdateClusterVersionCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateClusterVersionCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts b/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts index 6c87d1bbf0dc3..321af7d1610f1 100644 --- a/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts +++ b/clients/client-eks/commands/UpdateNodegroupConfigCommand.ts @@ -32,7 +32,6 @@ export class UpdateNodegroupConfigCommand extends $Command< UpdateNodegroupConfigCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateNodegroupConfigCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts b/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts index 477f945684787..eabd8358508e4 100644 --- a/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts +++ b/clients/client-eks/commands/UpdateNodegroupVersionCommand.ts @@ -45,7 +45,6 @@ export class UpdateNodegroupVersionCommand extends $Command< UpdateNodegroupVersionCommandOutput, EKSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class UpdateNodegroupVersionCommand extends $Command< configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts b/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts index 6825c605014a6..d4ab194b276a6 100644 --- a/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/AbortEnvironmentUpdateCommand.ts @@ -29,7 +29,6 @@ export class AbortEnvironmentUpdateCommand extends $Command< AbortEnvironmentUpdateCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AbortEnvironmentUpdateCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts b/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts index 6abbcd252ffb1..602fc2561d94d 100644 --- a/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ApplyEnvironmentManagedActionCommand.ts @@ -30,7 +30,6 @@ export class ApplyEnvironmentManagedActionCommand extends $Command< ApplyEnvironmentManagedActionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ApplyEnvironmentManagedActionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/AssociateEnvironmentOperationsRoleCommand.ts b/clients/client-elastic-beanstalk/commands/AssociateEnvironmentOperationsRoleCommand.ts index 6553d703d97de..9ec9e731353da 100644 --- a/clients/client-elastic-beanstalk/commands/AssociateEnvironmentOperationsRoleCommand.ts +++ b/clients/client-elastic-beanstalk/commands/AssociateEnvironmentOperationsRoleCommand.ts @@ -31,7 +31,6 @@ export class AssociateEnvironmentOperationsRoleCommand extends $Command< AssociateEnvironmentOperationsRoleCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AssociateEnvironmentOperationsRoleCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts b/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts index b4e9e4c7aa9a8..91f2fdbdc8dc1 100644 --- a/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CheckDNSAvailabilityCommand.ts @@ -28,7 +28,6 @@ export class CheckDNSAvailabilityCommand extends $Command< CheckDNSAvailabilityCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CheckDNSAvailabilityCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts b/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts index fac8d56120748..e40ba479bb08f 100644 --- a/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ComposeEnvironmentsCommand.ts @@ -33,7 +33,6 @@ export class ComposeEnvironmentsCommand extends $Command< ComposeEnvironmentsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ComposeEnvironmentsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts b/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts index e2e2bda079549..7d9e9d9e063e5 100644 --- a/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateApplicationCommand.ts @@ -29,7 +29,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateApplicationCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts b/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts index 33b177adf9ab7..e49e04f34166d 100644 --- a/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateApplicationVersionCommand.ts @@ -44,7 +44,6 @@ export class CreateApplicationVersionCommand extends $Command< CreateApplicationVersionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateApplicationVersionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts b/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts index b03e141116935..a2efc72a5d61f 100644 --- a/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateConfigurationTemplateCommand.ts @@ -51,7 +51,6 @@ export class CreateConfigurationTemplateCommand extends $Command< CreateConfigurationTemplateCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class CreateConfigurationTemplateCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts index bf772f31165df..a0719a52597af 100644 --- a/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateEnvironmentCommand.ts @@ -29,7 +29,6 @@ export class CreateEnvironmentCommand extends $Command< CreateEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateEnvironmentCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts b/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts index 8631829cb9eb4..04e08db235f62 100644 --- a/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreatePlatformVersionCommand.ts @@ -28,7 +28,6 @@ export class CreatePlatformVersionCommand extends $Command< CreatePlatformVersionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePlatformVersionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts b/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts index c4651e926e421..fde9026456b95 100644 --- a/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/CreateStorageLocationCommand.ts @@ -32,7 +32,6 @@ export class CreateStorageLocationCommand extends $Command< CreateStorageLocationCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateStorageLocationCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts index 13cf174cb566e..fd84752652910 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteApplicationCommand.ts @@ -33,7 +33,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteApplicationCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts index 86bbea5c826a0..8810871e82547 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteApplicationVersionCommand.ts @@ -32,7 +32,6 @@ export class DeleteApplicationVersionCommand extends $Command< DeleteApplicationVersionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteApplicationVersionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts index 1151ee24a8ae1..88b52bd9e040d 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteConfigurationTemplateCommand.ts @@ -33,7 +33,6 @@ export class DeleteConfigurationTemplateCommand extends $Command< DeleteConfigurationTemplateCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteConfigurationTemplateCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts b/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts index 43ad405ca3dda..6015ecc260cd6 100644 --- a/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeleteEnvironmentConfigurationCommand.ts @@ -33,7 +33,6 @@ export class DeleteEnvironmentConfigurationCommand extends $Command< DeleteEnvironmentConfigurationCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteEnvironmentConfigurationCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts b/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts index 0bd4c5c99f21f..0b8be7c5e6dd2 100644 --- a/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DeletePlatformVersionCommand.ts @@ -28,7 +28,6 @@ export class DeletePlatformVersionCommand extends $Command< DeletePlatformVersionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePlatformVersionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts index a9d297a8ff690..137e87f947e41 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeAccountAttributesCommand.ts @@ -30,7 +30,6 @@ export class DescribeAccountAttributesCommand extends $Command< DescribeAccountAttributesCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAccountAttributesCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts index d91cf513b5612..04e2eac267ef0 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeApplicationVersionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeApplicationVersionsCommand extends $Command< DescribeApplicationVersionsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeApplicationVersionsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts index 0cd423548662b..390e441779289 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeApplicationsCommand.ts @@ -28,7 +28,6 @@ export class DescribeApplicationsCommand extends $Command< DescribeApplicationsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeApplicationsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts index 06676e6d0230e..3ee993d36b747 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeConfigurationOptionsCommand.ts @@ -31,7 +31,6 @@ export class DescribeConfigurationOptionsCommand extends $Command< DescribeConfigurationOptionsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeConfigurationOptionsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts index 8a896a61a06f3..1ccc0c26c3b78 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeConfigurationSettingsCommand.ts @@ -42,7 +42,6 @@ export class DescribeConfigurationSettingsCommand extends $Command< DescribeConfigurationSettingsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeConfigurationSettingsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts index 7f57ecb7b908a..1bb8391afd29c 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentHealthCommand.ts @@ -30,7 +30,6 @@ export class DescribeEnvironmentHealthCommand extends $Command< DescribeEnvironmentHealthCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeEnvironmentHealthCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts index 206e95a1fb86a..4bacace2c190c 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionHistoryCommand.ts @@ -32,7 +32,6 @@ export class DescribeEnvironmentManagedActionHistoryCommand extends $Command< DescribeEnvironmentManagedActionHistoryCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeEnvironmentManagedActionHistoryCommand extends $Command< DescribeEnvironmentManagedActionHistoryCommandInput, DescribeEnvironmentManagedActionHistoryCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts index 90ddb9045398b..dc1a91a057a16 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentManagedActionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEnvironmentManagedActionsCommand extends $Command< DescribeEnvironmentManagedActionsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEnvironmentManagedActionsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts index 033a8e62ace44..1350b9da9ec09 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentResourcesCommand.ts @@ -28,7 +28,6 @@ export class DescribeEnvironmentResourcesCommand extends $Command< DescribeEnvironmentResourcesCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEnvironmentResourcesCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts index 43087fb731efd..e92b4dec8efad 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEnvironmentsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEnvironmentsCommand extends $Command< DescribeEnvironmentsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEnvironmentsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts index f2a205bca3793..1dd10e0b8bbe1 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeEventsCommand.ts @@ -32,7 +32,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEventsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts b/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts index 98d17f2c5abaa..56651f22ef8ef 100644 --- a/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribeInstancesHealthCommand.ts @@ -30,7 +30,6 @@ export class DescribeInstancesHealthCommand extends $Command< DescribeInstancesHealthCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeInstancesHealthCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts b/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts index e664dc7cb1e35..78699ab0bf148 100644 --- a/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DescribePlatformVersionCommand.ts @@ -31,7 +31,6 @@ export class DescribePlatformVersionCommand extends $Command< DescribePlatformVersionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribePlatformVersionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/DisassociateEnvironmentOperationsRoleCommand.ts b/clients/client-elastic-beanstalk/commands/DisassociateEnvironmentOperationsRoleCommand.ts index 57b613f450d88..eec98c4c1e718 100644 --- a/clients/client-elastic-beanstalk/commands/DisassociateEnvironmentOperationsRoleCommand.ts +++ b/clients/client-elastic-beanstalk/commands/DisassociateEnvironmentOperationsRoleCommand.ts @@ -31,7 +31,6 @@ export class DisassociateEnvironmentOperationsRoleCommand extends $Command< DisassociateEnvironmentOperationsRoleCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DisassociateEnvironmentOperationsRoleCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts b/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts index 1a6309b9f1627..983b1a9353045 100644 --- a/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListAvailableSolutionStacksCommand.ts @@ -29,7 +29,6 @@ export class ListAvailableSolutionStacksCommand extends $Command< ListAvailableSolutionStacksCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAvailableSolutionStacksCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ListPlatformBranchesCommand.ts b/clients/client-elastic-beanstalk/commands/ListPlatformBranchesCommand.ts index 4b78459bea370..0a4e872cfe262 100644 --- a/clients/client-elastic-beanstalk/commands/ListPlatformBranchesCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListPlatformBranchesCommand.ts @@ -31,7 +31,6 @@ export class ListPlatformBranchesCommand extends $Command< ListPlatformBranchesCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListPlatformBranchesCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts b/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts index df6a88c287d41..dd4cc43a62050 100644 --- a/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListPlatformVersionsCommand.ts @@ -32,7 +32,6 @@ export class ListPlatformVersionsCommand extends $Command< ListPlatformVersionsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPlatformVersionsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts b/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts index a941b8991c1d5..3bc88d1e11ad0 100644 --- a/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ListTagsForResourceCommand.ts @@ -31,7 +31,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts index e614025320e31..cece9a930c626 100644 --- a/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RebuildEnvironmentCommand.ts @@ -29,7 +29,6 @@ export class RebuildEnvironmentCommand extends $Command< RebuildEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RebuildEnvironmentCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts b/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts index 6a08546774ad3..2450873725bb5 100644 --- a/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RequestEnvironmentInfoCommand.ts @@ -43,7 +43,6 @@ export class RequestEnvironmentInfoCommand extends $Command< RequestEnvironmentInfoCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class RequestEnvironmentInfoCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts b/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts index d8d934fb7b226..23886c8bca7d3 100644 --- a/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RestartAppServerCommand.ts @@ -29,7 +29,6 @@ export class RestartAppServerCommand extends $Command< RestartAppServerCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RestartAppServerCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts b/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts index 6b5b3fcee441d..f62e6f70a0e3a 100644 --- a/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts +++ b/clients/client-elastic-beanstalk/commands/RetrieveEnvironmentInfoCommand.ts @@ -37,7 +37,6 @@ export class RetrieveEnvironmentInfoCommand extends $Command< RetrieveEnvironmentInfoCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class RetrieveEnvironmentInfoCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts b/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts index 23761c71cf441..2f19a5888468c 100644 --- a/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/SwapEnvironmentCNAMEsCommand.ts @@ -28,7 +28,6 @@ export class SwapEnvironmentCNAMEsCommand extends $Command< SwapEnvironmentCNAMEsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SwapEnvironmentCNAMEsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts index 9db940b15d1a7..7e49b60edc4e6 100644 --- a/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/TerminateEnvironmentCommand.ts @@ -28,7 +28,6 @@ export class TerminateEnvironmentCommand extends $Command< TerminateEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TerminateEnvironmentCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts index f445a825013ec..2b0deaa8109e5 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateApplicationCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts index 1c01b8ff18845..122c14e3fd90b 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateApplicationResourceLifecycleCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationResourceLifecycleCommand extends $Command< UpdateApplicationResourceLifecycleCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationResourceLifecycleCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts index 443688a0dd048..570625eedc6ce 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateApplicationVersionCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationVersionCommand extends $Command< UpdateApplicationVersionCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationVersionCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts index 98a9f7a880325..eefa02b411dff 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateConfigurationTemplateCommand.ts @@ -41,7 +41,6 @@ export class UpdateConfigurationTemplateCommand extends $Command< UpdateConfigurationTemplateCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class UpdateConfigurationTemplateCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts index 2004f16894c06..c2c8370523e9b 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateEnvironmentCommand.ts @@ -36,7 +36,6 @@ export class UpdateEnvironmentCommand extends $Command< UpdateEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateEnvironmentCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts b/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts index b9cdd65966182..302340023ce3d 100644 --- a/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts +++ b/clients/client-elastic-beanstalk/commands/UpdateTagsForResourceCommand.ts @@ -47,7 +47,6 @@ export class UpdateTagsForResourceCommand extends $Command< UpdateTagsForResourceCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class UpdateTagsForResourceCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts b/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts index 91e01cbcf60f7..8f79ce52a70ed 100644 --- a/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts +++ b/clients/client-elastic-beanstalk/commands/ValidateConfigurationSettingsCommand.ts @@ -31,7 +31,6 @@ export class ValidateConfigurationSettingsCommand extends $Command< ValidateConfigurationSettingsCommandOutput, ElasticBeanstalkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ValidateConfigurationSettingsCommand extends $Command< configuration: ElasticBeanstalkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-inference/commands/DescribeAcceleratorOfferingsCommand.ts b/clients/client-elastic-inference/commands/DescribeAcceleratorOfferingsCommand.ts index 66e090cb9c75a..2d303849fad98 100644 --- a/clients/client-elastic-inference/commands/DescribeAcceleratorOfferingsCommand.ts +++ b/clients/client-elastic-inference/commands/DescribeAcceleratorOfferingsCommand.ts @@ -30,7 +30,6 @@ export class DescribeAcceleratorOfferingsCommand extends $Command< DescribeAcceleratorOfferingsCommandOutput, ElasticInferenceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAcceleratorOfferingsCommand extends $Command< configuration: ElasticInferenceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-inference/commands/DescribeAcceleratorTypesCommand.ts b/clients/client-elastic-inference/commands/DescribeAcceleratorTypesCommand.ts index 2f92a4a2ac5b2..5613bc786b698 100644 --- a/clients/client-elastic-inference/commands/DescribeAcceleratorTypesCommand.ts +++ b/clients/client-elastic-inference/commands/DescribeAcceleratorTypesCommand.ts @@ -30,7 +30,6 @@ export class DescribeAcceleratorTypesCommand extends $Command< DescribeAcceleratorTypesCommandOutput, ElasticInferenceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAcceleratorTypesCommand extends $Command< configuration: ElasticInferenceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-inference/commands/DescribeAcceleratorsCommand.ts b/clients/client-elastic-inference/commands/DescribeAcceleratorsCommand.ts index 5c6a9360708c8..5bf33f8f0ed6c 100644 --- a/clients/client-elastic-inference/commands/DescribeAcceleratorsCommand.ts +++ b/clients/client-elastic-inference/commands/DescribeAcceleratorsCommand.ts @@ -30,7 +30,6 @@ export class DescribeAcceleratorsCommand extends $Command< DescribeAcceleratorsCommandOutput, ElasticInferenceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAcceleratorsCommand extends $Command< configuration: ElasticInferenceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts b/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts index dcd4396c336d0..26f948cbf6e67 100644 --- a/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts +++ b/clients/client-elastic-inference/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ElasticInferenceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ElasticInferenceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-inference/commands/TagResourceCommand.ts b/clients/client-elastic-inference/commands/TagResourceCommand.ts index 3dbeed33c6519..657bca5fa609b 100644 --- a/clients/client-elastic-inference/commands/TagResourceCommand.ts +++ b/clients/client-elastic-inference/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ElasticInferenceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: ElasticInferenceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-inference/commands/UntagResourceCommand.ts b/clients/client-elastic-inference/commands/UntagResourceCommand.ts index 67fd74eab8677..f3a5ca8abaf04 100644 --- a/clients/client-elastic-inference/commands/UntagResourceCommand.ts +++ b/clients/client-elastic-inference/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ElasticInferenceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: ElasticInferenceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts index 3e649159e09f7..04202a7989156 100644 --- a/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/AddListenerCertificatesCommand.ts @@ -37,7 +37,6 @@ export class AddListenerCertificatesCommand extends $Command< AddListenerCertificatesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AddListenerCertificatesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts index 7a236121da5e8..5a1b4a519bb10 100644 --- a/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/AddTagsCommand.ts @@ -33,7 +33,6 @@ export class AddTagsCommand extends $Command< AddTagsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AddTagsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts index 7d423a17ce544..41bed008ea4eb 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateListenerCommand.ts @@ -59,7 +59,6 @@ export class CreateListenerCommand extends $Command< CreateListenerCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateListenerCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts index 2905f20d2c6c1..93f3facaca226 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateLoadBalancerCommand.ts @@ -57,7 +57,6 @@ export class CreateLoadBalancerCommand extends $Command< CreateLoadBalancerCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class CreateLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts index 167e8986ce9b0..c1d530dc635da 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateRuleCommand.ts @@ -34,7 +34,6 @@ export class CreateRuleCommand extends $Command< CreateRuleCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateRuleCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts index 11300845754cf..6d1cdfb6ca53b 100644 --- a/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/CreateTargetGroupCommand.ts @@ -56,7 +56,6 @@ export class CreateTargetGroupCommand extends $Command< CreateTargetGroupCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class CreateTargetGroupCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts index bfee2c4120049..a7825a3695c82 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteListenerCommand.ts @@ -34,7 +34,6 @@ export class DeleteListenerCommand extends $Command< DeleteListenerCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteListenerCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts index 9e829a82c7e13..a79ddc0bb3484 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteLoadBalancerCommand.ts @@ -38,7 +38,6 @@ export class DeleteLoadBalancerCommand extends $Command< DeleteLoadBalancerCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts index 3d6ed8c741ea6..ccc4d3ae813ae 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteRuleCommand.ts @@ -30,7 +30,6 @@ export class DeleteRuleCommand extends $Command< DeleteRuleCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteRuleCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts index cbd5847f5f75d..e13074fd78d06 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeleteTargetGroupCommand.ts @@ -36,7 +36,6 @@ export class DeleteTargetGroupCommand extends $Command< DeleteTargetGroupCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteTargetGroupCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts index f271286241f3d..49a3ced229dc5 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DeregisterTargetsCommand.ts @@ -33,7 +33,6 @@ export class DeregisterTargetsCommand extends $Command< DeregisterTargetsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeregisterTargetsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts index 94c068fc4133d..39724259dfb3e 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeAccountLimitsCommand.ts @@ -50,7 +50,6 @@ export class DescribeAccountLimitsCommand extends $Command< DescribeAccountLimitsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DescribeAccountLimitsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts index 9d6fe2bba2eb6..f68e7dd8d995f 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeListenerCertificatesCommand.ts @@ -36,7 +36,6 @@ export class DescribeListenerCertificatesCommand extends $Command< DescribeListenerCertificatesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeListenerCertificatesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts index 5d0e659b80b36..766cfdf6de0ee 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeListenersCommand.ts @@ -34,7 +34,6 @@ export class DescribeListenersCommand extends $Command< DescribeListenersCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeListenersCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts index e6d38bcf97ca2..4ff74ea89d9cc 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancerAttributesCommand.ts @@ -52,7 +52,6 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< DescribeLoadBalancerAttributesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts index 9e66a2847e0c1..030c7a4195fea 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeLoadBalancersCommand.ts @@ -32,7 +32,6 @@ export class DescribeLoadBalancersCommand extends $Command< DescribeLoadBalancersCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeLoadBalancersCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts index 345054debc2b2..51e48bcccf65e 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeRulesCommand.ts @@ -33,7 +33,6 @@ export class DescribeRulesCommand extends $Command< DescribeRulesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeRulesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts index 01c2403b7bdb7..82ea0565c401f 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeSSLPoliciesCommand.ts @@ -34,7 +34,6 @@ export class DescribeSSLPoliciesCommand extends $Command< DescribeSSLPoliciesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeSSLPoliciesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts index 158d792277417..304b6f36687cf 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTagsCommand.ts @@ -31,7 +31,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeTagsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts index ea4bb89a621b4..ac6ad597a251e 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupAttributesCommand.ts @@ -50,7 +50,6 @@ export class DescribeTargetGroupAttributesCommand extends $Command< DescribeTargetGroupAttributesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DescribeTargetGroupAttributesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts index 3d0aede99dd9c..6e5a5f5ca54d4 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetGroupsCommand.ts @@ -35,7 +35,6 @@ export class DescribeTargetGroupsCommand extends $Command< DescribeTargetGroupsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeTargetGroupsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts index 3fefa07be2e62..1321ab69cba6c 100644 --- a/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/DescribeTargetHealthCommand.ts @@ -32,7 +32,6 @@ export class DescribeTargetHealthCommand extends $Command< DescribeTargetHealthCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeTargetHealthCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts index b472a02ac698d..c36652dc8d35e 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyListenerCommand.ts @@ -39,7 +39,6 @@ export class ModifyListenerCommand extends $Command< ModifyListenerCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ModifyListenerCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts index bc9d9ab87daac..8f24ff2f55dcf 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyLoadBalancerAttributesCommand.ts @@ -35,7 +35,6 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< ModifyLoadBalancerAttributesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts index efa38272ac3f8..c42ce2c2bf402 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyRuleCommand.ts @@ -33,7 +33,6 @@ export class ModifyRuleCommand extends $Command< ModifyRuleCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyRuleCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts index 6e88a6954dfa6..6ec134ff5bf42 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupAttributesCommand.ts @@ -32,7 +32,6 @@ export class ModifyTargetGroupAttributesCommand extends $Command< ModifyTargetGroupAttributesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyTargetGroupAttributesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts index 7a281400fa83b..1d547190b3a82 100644 --- a/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/ModifyTargetGroupCommand.ts @@ -33,7 +33,6 @@ export class ModifyTargetGroupCommand extends $Command< ModifyTargetGroupCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyTargetGroupCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts index b5dfc5fbb2a8d..4f18e58a8769d 100644 --- a/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/RegisterTargetsCommand.ts @@ -43,7 +43,6 @@ export class RegisterTargetsCommand extends $Command< RegisterTargetsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class RegisterTargetsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts index f23bf7e96f1e9..3a8a94b8bdbeb 100644 --- a/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/RemoveListenerCertificatesCommand.ts @@ -32,7 +32,6 @@ export class RemoveListenerCertificatesCommand extends $Command< RemoveListenerCertificatesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RemoveListenerCertificatesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts index 7116d56e73d4a..d42549aa52d6b 100644 --- a/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/RemoveTagsCommand.ts @@ -31,7 +31,6 @@ export class RemoveTagsCommand extends $Command< RemoveTagsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RemoveTagsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts index 55c8cc16c194f..761535f813ffc 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetIpAddressTypeCommand.ts @@ -33,7 +33,6 @@ export class SetIpAddressTypeCommand extends $Command< SetIpAddressTypeCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetIpAddressTypeCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts index 9315124ff21de..09ecf9abc936b 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetRulePrioritiesCommand.ts @@ -34,7 +34,6 @@ export class SetRulePrioritiesCommand extends $Command< SetRulePrioritiesCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SetRulePrioritiesCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts index b187fb18479e4..a710fbfced64c 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetSecurityGroupsCommand.ts @@ -35,7 +35,6 @@ export class SetSecurityGroupsCommand extends $Command< SetSecurityGroupsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class SetSecurityGroupsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts b/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts index d13c872d253c4..4607164c0f5e3 100644 --- a/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts +++ b/clients/client-elastic-load-balancing-v2/commands/SetSubnetsCommand.ts @@ -34,7 +34,6 @@ export class SetSubnetsCommand extends $Command< SetSubnetsCommandOutput, ElasticLoadBalancingV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SetSubnetsCommand extends $Command< configuration: ElasticLoadBalancingV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts b/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts index da43257deb986..a8fbec2409789 100644 --- a/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/AddTagsCommand.ts @@ -35,7 +35,6 @@ export class AddTagsCommand extends $Command< AddTagsCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AddTagsCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts index 7217c7ccb2405..59ec7592d5def 100644 --- a/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/ApplySecurityGroupsToLoadBalancerCommand.ts @@ -34,7 +34,6 @@ export class ApplySecurityGroupsToLoadBalancerCommand extends $Command< ApplySecurityGroupsToLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ApplySecurityGroupsToLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts b/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts index bc210f9fd6ac8..4df2c3434d472 100644 --- a/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/AttachLoadBalancerToSubnetsCommand.ts @@ -35,7 +35,6 @@ export class AttachLoadBalancerToSubnetsCommand extends $Command< AttachLoadBalancerToSubnetsCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AttachLoadBalancerToSubnetsCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts b/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts index adb6ed50fb9b4..662304fb33482 100644 --- a/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts +++ b/clients/client-elastic-load-balancing/commands/ConfigureHealthCheckCommand.ts @@ -34,7 +34,6 @@ export class ConfigureHealthCheckCommand extends $Command< ConfigureHealthCheckCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ConfigureHealthCheckCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts index c76e7eec2ff9e..4577e2669e7d9 100644 --- a/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateAppCookieStickinessPolicyCommand.ts @@ -40,7 +40,6 @@ export class CreateAppCookieStickinessPolicyCommand extends $Command< CreateAppCookieStickinessPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateAppCookieStickinessPolicyCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts index c79fc6fd894d2..07df0cb3d2392 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLBCookieStickinessPolicyCommand.ts @@ -38,7 +38,6 @@ export class CreateLBCookieStickinessPolicyCommand extends $Command< CreateLBCookieStickinessPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateLBCookieStickinessPolicyCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts index d55488837486a..464ee37261433 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerCommand.ts @@ -45,7 +45,6 @@ export class CreateLoadBalancerCommand extends $Command< CreateLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts index 3a14a722ca630..d08e2fcee375e 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerListenersCommand.ts @@ -34,7 +34,6 @@ export class CreateLoadBalancerListenersCommand extends $Command< CreateLoadBalancerListenersCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateLoadBalancerListenersCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts index 64a257fe6f7e6..0ea1760a640fc 100644 --- a/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/CreateLoadBalancerPolicyCommand.ts @@ -33,7 +33,6 @@ export class CreateLoadBalancerPolicyCommand extends $Command< CreateLoadBalancerPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateLoadBalancerPolicyCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts index bec0b5b33fdc0..51c3ac17552ed 100644 --- a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerCommand.ts @@ -35,7 +35,6 @@ export class DeleteLoadBalancerCommand extends $Command< DeleteLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts index 48ade75145ffd..bd5e5d00f4a1e 100644 --- a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerListenersCommand.ts @@ -32,7 +32,6 @@ export class DeleteLoadBalancerListenersCommand extends $Command< DeleteLoadBalancerListenersCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLoadBalancerListenersCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts index 88134ace3f366..fe3e6368ea254 100644 --- a/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeleteLoadBalancerPolicyCommand.ts @@ -32,7 +32,6 @@ export class DeleteLoadBalancerPolicyCommand extends $Command< DeleteLoadBalancerPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLoadBalancerPolicyCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts index 1f31704049e7b..0bccc06ce461e 100644 --- a/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DeregisterInstancesFromLoadBalancerCommand.ts @@ -37,7 +37,6 @@ export class DeregisterInstancesFromLoadBalancerCommand extends $Command< DeregisterInstancesFromLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeregisterInstancesFromLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts index 35cbbdcd03cb5..a8834d518c4f1 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeAccountLimitsCommand.ts @@ -34,7 +34,6 @@ export class DescribeAccountLimitsCommand extends $Command< DescribeAccountLimitsCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeAccountLimitsCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts index 08f0f59d28646..672617a76a949 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeInstanceHealthCommand.ts @@ -32,7 +32,6 @@ export class DescribeInstanceHealthCommand extends $Command< DescribeInstanceHealthCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeInstanceHealthCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts index 34db355b0d1d9..e700bcb6d8643 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerAttributesCommand.ts @@ -32,7 +32,6 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< DescribeLoadBalancerAttributesCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeLoadBalancerAttributesCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts index 65c91b617578b..20e9f615309a9 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPoliciesCommand.ts @@ -36,7 +36,6 @@ export class DescribeLoadBalancerPoliciesCommand extends $Command< DescribeLoadBalancerPoliciesCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeLoadBalancerPoliciesCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts index 525d0907c5af6..f2d0893232d06 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancerPolicyTypesCommand.ts @@ -39,7 +39,6 @@ export class DescribeLoadBalancerPolicyTypesCommand extends $Command< DescribeLoadBalancerPolicyTypesCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeLoadBalancerPolicyTypesCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts index 9bc67f1ef9d74..b1c497a034b31 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeLoadBalancersCommand.ts @@ -32,7 +32,6 @@ export class DescribeLoadBalancersCommand extends $Command< DescribeLoadBalancersCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeLoadBalancersCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts b/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts index c93cdafd16e64..027a813e967ad 100644 --- a/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DescribeTagsCommand.ts @@ -29,7 +29,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTagsCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts b/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts index 29a6377df476d..ebe6c3aa64112 100644 --- a/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DetachLoadBalancerFromSubnetsCommand.ts @@ -35,7 +35,6 @@ export class DetachLoadBalancerFromSubnetsCommand extends $Command< DetachLoadBalancerFromSubnetsCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DetachLoadBalancerFromSubnetsCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts index 943ed17bebe1f..b0d86036f4ff0 100644 --- a/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts @@ -40,7 +40,6 @@ export class DisableAvailabilityZonesForLoadBalancerCommand extends $Command< DisableAvailabilityZonesForLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DisableAvailabilityZonesForLoadBalancerCommand extends $Command< DisableAvailabilityZonesForLoadBalancerCommandInput, DisableAvailabilityZonesForLoadBalancerCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts index f37aa681008bb..4d613a8e87b97 100644 --- a/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts @@ -37,7 +37,6 @@ export class EnableAvailabilityZonesForLoadBalancerCommand extends $Command< EnableAvailabilityZonesForLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class EnableAvailabilityZonesForLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts b/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts index 491f3e2539d9a..6a3a2df752722 100644 --- a/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts +++ b/clients/client-elastic-load-balancing/commands/ModifyLoadBalancerAttributesCommand.ts @@ -58,7 +58,6 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< ModifyLoadBalancerAttributesCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class ModifyLoadBalancerAttributesCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts b/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts index ec2e80b29d044..b7d85b28a47b9 100644 --- a/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/RegisterInstancesWithLoadBalancerCommand.ts @@ -50,7 +50,6 @@ export class RegisterInstancesWithLoadBalancerCommand extends $Command< RegisterInstancesWithLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class RegisterInstancesWithLoadBalancerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts b/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts index bbcaf4b20b9a8..506fb87f61a50 100644 --- a/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts +++ b/clients/client-elastic-load-balancing/commands/RemoveTagsCommand.ts @@ -29,7 +29,6 @@ export class RemoveTagsCommand extends $Command< RemoveTagsCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemoveTagsCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts b/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts index 68ca79f0c8eaf..15f55f86c690c 100644 --- a/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +++ b/clients/client-elastic-load-balancing/commands/SetLoadBalancerListenerSSLCertificateCommand.ts @@ -40,7 +40,6 @@ export class SetLoadBalancerListenerSSLCertificateCommand extends $Command< SetLoadBalancerListenerSSLCertificateCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class SetLoadBalancerListenerSSLCertificateCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts index 19e82dbead002..c5cb29e61b79b 100644 --- a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts @@ -46,7 +46,6 @@ export class SetLoadBalancerPoliciesForBackendServerCommand extends $Command< SetLoadBalancerPoliciesForBackendServerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class SetLoadBalancerPoliciesForBackendServerCommand extends $Command< SetLoadBalancerPoliciesForBackendServerCommandInput, SetLoadBalancerPoliciesForBackendServerCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts index 992caf153524a..9edca9eb77a8c 100644 --- a/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +++ b/clients/client-elastic-load-balancing/commands/SetLoadBalancerPoliciesOfListenerCommand.ts @@ -38,7 +38,6 @@ export class SetLoadBalancerPoliciesOfListenerCommand extends $Command< SetLoadBalancerPoliciesOfListenerCommandOutput, ElasticLoadBalancingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class SetLoadBalancerPoliciesOfListenerCommand extends $Command< configuration: ElasticLoadBalancingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/CancelJobCommand.ts b/clients/client-elastic-transcoder/commands/CancelJobCommand.ts index 6903994787434..9501f0c3429a6 100644 --- a/clients/client-elastic-transcoder/commands/CancelJobCommand.ts +++ b/clients/client-elastic-transcoder/commands/CancelJobCommand.ts @@ -37,7 +37,6 @@ export class CancelJobCommand extends $Command< CancelJobCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CancelJobCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/CreateJobCommand.ts b/clients/client-elastic-transcoder/commands/CreateJobCommand.ts index 60b9dc9c8c409..b8b429be198d8 100644 --- a/clients/client-elastic-transcoder/commands/CreateJobCommand.ts +++ b/clients/client-elastic-transcoder/commands/CreateJobCommand.ts @@ -36,7 +36,6 @@ export class CreateJobCommand extends $Command< CreateJobCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateJobCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts b/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts index c1e15c5715268..e43d722c5d812 100644 --- a/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/CreatePipelineCommand.ts @@ -32,7 +32,6 @@ export class CreatePipelineCommand extends $Command< CreatePipelineCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreatePipelineCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts b/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts index 9d6739088879f..61c48775bf140 100644 --- a/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts +++ b/clients/client-elastic-transcoder/commands/CreatePresetCommand.ts @@ -45,7 +45,6 @@ export class CreatePresetCommand extends $Command< CreatePresetCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreatePresetCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts b/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts index 058283bbe6c37..914e5312d9db0 100644 --- a/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/DeletePipelineCommand.ts @@ -35,7 +35,6 @@ export class DeletePipelineCommand extends $Command< DeletePipelineCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeletePipelineCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts b/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts index a811e19a294a7..17e56b3ca7628 100644 --- a/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts +++ b/clients/client-elastic-transcoder/commands/DeletePresetCommand.ts @@ -35,7 +35,6 @@ export class DeletePresetCommand extends $Command< DeletePresetCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeletePresetCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts b/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts index f9de7ed59bef5..057d906572501 100644 --- a/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListJobsByPipelineCommand.ts @@ -34,7 +34,6 @@ export class ListJobsByPipelineCommand extends $Command< ListJobsByPipelineCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListJobsByPipelineCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts b/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts index a0942743534c4..2114a0b7ef291 100644 --- a/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListJobsByStatusCommand.ts @@ -33,7 +33,6 @@ export class ListJobsByStatusCommand extends $Command< ListJobsByStatusCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListJobsByStatusCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts b/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts index 6e91f8ec99513..9b943d57704b9 100644 --- a/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListPipelinesCommand.ts @@ -32,7 +32,6 @@ export class ListPipelinesCommand extends $Command< ListPipelinesCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPipelinesCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts b/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts index 13d7f14d7983e..fbb812bff70d1 100644 --- a/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts +++ b/clients/client-elastic-transcoder/commands/ListPresetsCommand.ts @@ -33,7 +33,6 @@ export class ListPresetsCommand extends $Command< ListPresetsCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListPresetsCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ReadJobCommand.ts b/clients/client-elastic-transcoder/commands/ReadJobCommand.ts index cb5fa44b377d7..a9d0766eb7173 100644 --- a/clients/client-elastic-transcoder/commands/ReadJobCommand.ts +++ b/clients/client-elastic-transcoder/commands/ReadJobCommand.ts @@ -32,7 +32,6 @@ export class ReadJobCommand extends $Command< ReadJobCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReadJobCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts b/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts index e33d83acba274..dbf2444b2e150 100644 --- a/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/ReadPipelineCommand.ts @@ -32,7 +32,6 @@ export class ReadPipelineCommand extends $Command< ReadPipelineCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReadPipelineCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts b/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts index 7471cb35132a0..40ede8acd3c6b 100644 --- a/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts +++ b/clients/client-elastic-transcoder/commands/ReadPresetCommand.ts @@ -32,7 +32,6 @@ export class ReadPresetCommand extends $Command< ReadPresetCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ReadPresetCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/TestRoleCommand.ts b/clients/client-elastic-transcoder/commands/TestRoleCommand.ts index 27027e2a47163..4a0fa3185f059 100644 --- a/clients/client-elastic-transcoder/commands/TestRoleCommand.ts +++ b/clients/client-elastic-transcoder/commands/TestRoleCommand.ts @@ -39,7 +39,6 @@ export class TestRoleCommand extends $Command< TestRoleCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class TestRoleCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts b/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts index 4279c61d67936..52e8b1731e62d 100644 --- a/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts +++ b/clients/client-elastic-transcoder/commands/UpdatePipelineCommand.ts @@ -37,7 +37,6 @@ export class UpdatePipelineCommand extends $Command< UpdatePipelineCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdatePipelineCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts b/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts index 2a2b172856ff5..7a54dd9fc74b0 100644 --- a/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts +++ b/clients/client-elastic-transcoder/commands/UpdatePipelineNotificationsCommand.ts @@ -33,7 +33,6 @@ export class UpdatePipelineNotificationsCommand extends $Command< UpdatePipelineNotificationsCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdatePipelineNotificationsCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts b/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts index b14ce9f42866f..6efccaeb7967f 100644 --- a/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts +++ b/clients/client-elastic-transcoder/commands/UpdatePipelineStatusCommand.ts @@ -37,7 +37,6 @@ export class UpdatePipelineStatusCommand extends $Command< UpdatePipelineStatusCommandOutput, ElasticTranscoderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdatePipelineStatusCommand extends $Command< configuration: ElasticTranscoderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/AddTagsToResourceCommand.ts b/clients/client-elasticache/commands/AddTagsToResourceCommand.ts index 4e9995505cfa7..666995767a11f 100644 --- a/clients/client-elasticache/commands/AddTagsToResourceCommand.ts +++ b/clients/client-elasticache/commands/AddTagsToResourceCommand.ts @@ -39,7 +39,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts b/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts index 9b5889481556b..0c2b226a430f6 100644 --- a/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts +++ b/clients/client-elasticache/commands/AuthorizeCacheSecurityGroupIngressCommand.ts @@ -38,7 +38,6 @@ export class AuthorizeCacheSecurityGroupIngressCommand extends $Command< AuthorizeCacheSecurityGroupIngressCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AuthorizeCacheSecurityGroupIngressCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts b/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts index bb2748cff16a4..ee63437c3701c 100644 --- a/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts +++ b/clients/client-elasticache/commands/BatchApplyUpdateActionCommand.ts @@ -28,7 +28,6 @@ export class BatchApplyUpdateActionCommand extends $Command< BatchApplyUpdateActionCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchApplyUpdateActionCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts b/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts index 6be5d2c50962b..3c8b5cad00f64 100644 --- a/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts +++ b/clients/client-elasticache/commands/BatchStopUpdateActionCommand.ts @@ -28,7 +28,6 @@ export class BatchStopUpdateActionCommand extends $Command< BatchStopUpdateActionCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchStopUpdateActionCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CompleteMigrationCommand.ts b/clients/client-elasticache/commands/CompleteMigrationCommand.ts index 9dc3f3f677218..84ef51feb9d60 100644 --- a/clients/client-elasticache/commands/CompleteMigrationCommand.ts +++ b/clients/client-elasticache/commands/CompleteMigrationCommand.ts @@ -28,7 +28,6 @@ export class CompleteMigrationCommand extends $Command< CompleteMigrationCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CompleteMigrationCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CopySnapshotCommand.ts b/clients/client-elasticache/commands/CopySnapshotCommand.ts index 9e8042e819b9a..1a7816e991060 100644 --- a/clients/client-elasticache/commands/CopySnapshotCommand.ts +++ b/clients/client-elasticache/commands/CopySnapshotCommand.ts @@ -118,7 +118,6 @@ export class CopySnapshotCommand extends $Command< CopySnapshotCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -136,10 +135,7 @@ export class CopySnapshotCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateCacheClusterCommand.ts b/clients/client-elasticache/commands/CreateCacheClusterCommand.ts index 1f1bb01c762a9..c4d29c3f9f0fe 100644 --- a/clients/client-elasticache/commands/CreateCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheClusterCommand.ts @@ -31,7 +31,6 @@ export class CreateCacheClusterCommand extends $Command< CreateCacheClusterCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateCacheClusterCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts index 98fdbcc96bd3a..d9dfd5ae542bf 100644 --- a/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheParameterGroupCommand.ts @@ -43,7 +43,6 @@ export class CreateCacheParameterGroupCommand extends $Command< CreateCacheParameterGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class CreateCacheParameterGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts b/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts index c14c6726f939e..25e5cfcd404ed 100644 --- a/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheSecurityGroupCommand.ts @@ -33,7 +33,6 @@ export class CreateCacheSecurityGroupCommand extends $Command< CreateCacheSecurityGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateCacheSecurityGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts b/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts index 44bb2412cce55..62e970652b49f 100644 --- a/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateCacheSubnetGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateCacheSubnetGroupCommand extends $Command< CreateCacheSubnetGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateCacheSubnetGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/CreateGlobalReplicationGroupCommand.ts index 961f414bece19..547e89875547b 100644 --- a/clients/client-elasticache/commands/CreateGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateGlobalReplicationGroupCommand.ts @@ -41,7 +41,6 @@ export class CreateGlobalReplicationGroupCommand extends $Command< CreateGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateGlobalReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts b/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts index d1d9263dc9801..1f344e17fe74d 100644 --- a/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateReplicationGroupCommand.ts @@ -46,7 +46,6 @@ export class CreateReplicationGroupCommand extends $Command< CreateReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreateReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateSnapshotCommand.ts b/clients/client-elasticache/commands/CreateSnapshotCommand.ts index cd0a1b403ccf6..a20995e483770 100644 --- a/clients/client-elasticache/commands/CreateSnapshotCommand.ts +++ b/clients/client-elasticache/commands/CreateSnapshotCommand.ts @@ -33,7 +33,6 @@ export class CreateSnapshotCommand extends $Command< CreateSnapshotCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateSnapshotCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateUserCommand.ts b/clients/client-elasticache/commands/CreateUserCommand.ts index 5ba1711802c77..fc3afe80dbb66 100644 --- a/clients/client-elasticache/commands/CreateUserCommand.ts +++ b/clients/client-elasticache/commands/CreateUserCommand.ts @@ -25,7 +25,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CreateUserCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/CreateUserGroupCommand.ts b/clients/client-elasticache/commands/CreateUserGroupCommand.ts index c92896ad73111..4021fb0587339 100644 --- a/clients/client-elasticache/commands/CreateUserGroupCommand.ts +++ b/clients/client-elasticache/commands/CreateUserGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateUserGroupCommand extends $Command< CreateUserGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateUserGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.ts index 569c5f0a25de2..c6a2914a64a44 100644 --- a/clients/client-elasticache/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.ts @@ -32,7 +32,6 @@ export class DecreaseNodeGroupsInGlobalReplicationGroupCommand extends $Command< DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DecreaseNodeGroupsInGlobalReplicationGroupCommand extends $Command< DecreaseNodeGroupsInGlobalReplicationGroupCommandInput, DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts b/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts index 920d2b2ea7822..e6aafdd585fbd 100644 --- a/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts +++ b/clients/client-elasticache/commands/DecreaseReplicaCountCommand.ts @@ -30,7 +30,6 @@ export class DecreaseReplicaCountCommand extends $Command< DecreaseReplicaCountCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DecreaseReplicaCountCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts b/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts index d7d20a9f6c88a..260a176301525 100644 --- a/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheClusterCommand.ts @@ -50,7 +50,6 @@ export class DeleteCacheClusterCommand extends $Command< DeleteCacheClusterCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DeleteCacheClusterCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts index 10ddebd323d22..5d8a89e155c63 100644 --- a/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheParameterGroupCommand.ts @@ -30,7 +30,6 @@ export class DeleteCacheParameterGroupCommand extends $Command< DeleteCacheParameterGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteCacheParameterGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts b/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts index 29940be90d6e3..eeeb005234d15 100644 --- a/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheSecurityGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteCacheSecurityGroupCommand extends $Command< DeleteCacheSecurityGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteCacheSecurityGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts b/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts index 7d689c7aaae42..6bc4ef3c797bc 100644 --- a/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteCacheSubnetGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteCacheSubnetGroupCommand extends $Command< DeleteCacheSubnetGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteCacheSubnetGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/DeleteGlobalReplicationGroupCommand.ts index b99068f596f2f..978610b08f26e 100644 --- a/clients/client-elasticache/commands/DeleteGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteGlobalReplicationGroupCommand.ts @@ -41,7 +41,6 @@ export class DeleteGlobalReplicationGroupCommand extends $Command< DeleteGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DeleteGlobalReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts b/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts index 0ea841a2b04e8..de224dc6104cf 100644 --- a/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteReplicationGroupCommand.ts @@ -36,7 +36,6 @@ export class DeleteReplicationGroupCommand extends $Command< DeleteReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteSnapshotCommand.ts b/clients/client-elasticache/commands/DeleteSnapshotCommand.ts index 684566b903bb0..a17ba8065f62f 100644 --- a/clients/client-elasticache/commands/DeleteSnapshotCommand.ts +++ b/clients/client-elasticache/commands/DeleteSnapshotCommand.ts @@ -34,7 +34,6 @@ export class DeleteSnapshotCommand extends $Command< DeleteSnapshotCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteSnapshotCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteUserCommand.ts b/clients/client-elasticache/commands/DeleteUserCommand.ts index 7daffd3bfab0a..0d9f4149b8ecc 100644 --- a/clients/client-elasticache/commands/DeleteUserCommand.ts +++ b/clients/client-elasticache/commands/DeleteUserCommand.ts @@ -25,7 +25,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteUserCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DeleteUserGroupCommand.ts b/clients/client-elasticache/commands/DeleteUserGroupCommand.ts index 994b3dda97025..b9617069a58dc 100644 --- a/clients/client-elasticache/commands/DeleteUserGroupCommand.ts +++ b/clients/client-elasticache/commands/DeleteUserGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserGroupCommand extends $Command< DeleteUserGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts b/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts index ea58b350e641a..031cf310e6528 100644 --- a/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheClustersCommand.ts @@ -43,7 +43,6 @@ export class DescribeCacheClustersCommand extends $Command< DescribeCacheClustersCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DescribeCacheClustersCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts b/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts index 2696fd845b336..6d13a09945b6f 100644 --- a/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheEngineVersionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeCacheEngineVersionsCommand extends $Command< DescribeCacheEngineVersionsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCacheEngineVersionsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts b/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts index 6a302813f4d9b..a3feeffb549e3 100644 --- a/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheParameterGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribeCacheParameterGroupsCommand extends $Command< DescribeCacheParameterGroupsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeCacheParameterGroupsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts b/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts index 3963af8070db6..da54c1e3a5f1d 100644 --- a/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheParametersCommand.ts @@ -29,7 +29,6 @@ export class DescribeCacheParametersCommand extends $Command< DescribeCacheParametersCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCacheParametersCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts b/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts index 6b5c7ab338e76..edfac5176dd06 100644 --- a/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheSecurityGroupsCommand.ts @@ -31,7 +31,6 @@ export class DescribeCacheSecurityGroupsCommand extends $Command< DescribeCacheSecurityGroupsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeCacheSecurityGroupsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts b/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts index 8137b1ca35482..0890d6e82fa5e 100644 --- a/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeCacheSubnetGroupsCommand.ts @@ -31,7 +31,6 @@ export class DescribeCacheSubnetGroupsCommand extends $Command< DescribeCacheSubnetGroupsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeCacheSubnetGroupsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts b/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts index 3cd365c0ace4d..2ac1b951d8b23 100644 --- a/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts +++ b/clients/client-elasticache/commands/DescribeEngineDefaultParametersCommand.ts @@ -29,7 +29,6 @@ export class DescribeEngineDefaultParametersCommand extends $Command< DescribeEngineDefaultParametersCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeEventsCommand.ts b/clients/client-elasticache/commands/DescribeEventsCommand.ts index 6f2335e42afd3..8f4f06af57e71 100644 --- a/clients/client-elasticache/commands/DescribeEventsCommand.ts +++ b/clients/client-elasticache/commands/DescribeEventsCommand.ts @@ -33,7 +33,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEventsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeGlobalReplicationGroupsCommand.ts b/clients/client-elasticache/commands/DescribeGlobalReplicationGroupsCommand.ts index 66d2038d63a9d..6f42ad3fa0d68 100644 --- a/clients/client-elasticache/commands/DescribeGlobalReplicationGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeGlobalReplicationGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeGlobalReplicationGroupsCommand extends $Command< DescribeGlobalReplicationGroupsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGlobalReplicationGroupsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts b/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts index b29767af8ca82..0acabbc456aba 100644 --- a/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeReplicationGroupsCommand.ts @@ -33,7 +33,6 @@ export class DescribeReplicationGroupsCommand extends $Command< DescribeReplicationGroupsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeReplicationGroupsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts b/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts index cb1cc6a16ea04..6a85c9f740141 100644 --- a/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts +++ b/clients/client-elasticache/commands/DescribeReservedCacheNodesCommand.ts @@ -29,7 +29,6 @@ export class DescribeReservedCacheNodesCommand extends $Command< DescribeReservedCacheNodesCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeReservedCacheNodesCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts b/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts index 2bc645197849a..26b879a925274 100644 --- a/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts +++ b/clients/client-elasticache/commands/DescribeReservedCacheNodesOfferingsCommand.ts @@ -29,7 +29,6 @@ export class DescribeReservedCacheNodesOfferingsCommand extends $Command< DescribeReservedCacheNodesOfferingsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeReservedCacheNodesOfferingsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts b/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts index 516aaf8529f80..58d0e7d572135 100644 --- a/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts +++ b/clients/client-elasticache/commands/DescribeServiceUpdatesCommand.ts @@ -28,7 +28,6 @@ export class DescribeServiceUpdatesCommand extends $Command< DescribeServiceUpdatesCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeServiceUpdatesCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts b/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts index 9201ba4bc1f10..705db42da0682 100644 --- a/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-elasticache/commands/DescribeSnapshotsCommand.ts @@ -35,7 +35,6 @@ export class DescribeSnapshotsCommand extends $Command< DescribeSnapshotsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeSnapshotsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts b/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts index 37eae1e297648..677d5f1fed0c9 100644 --- a/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts +++ b/clients/client-elasticache/commands/DescribeUpdateActionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeUpdateActionsCommand extends $Command< DescribeUpdateActionsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUpdateActionsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeUserGroupsCommand.ts b/clients/client-elasticache/commands/DescribeUserGroupsCommand.ts index 565c9132bbdab..88fd7cba34dc5 100644 --- a/clients/client-elasticache/commands/DescribeUserGroupsCommand.ts +++ b/clients/client-elasticache/commands/DescribeUserGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserGroupsCommand extends $Command< DescribeUserGroupsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserGroupsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DescribeUsersCommand.ts b/clients/client-elasticache/commands/DescribeUsersCommand.ts index 4ceb227e8cc3f..38f56024ff0b4 100644 --- a/clients/client-elasticache/commands/DescribeUsersCommand.ts +++ b/clients/client-elasticache/commands/DescribeUsersCommand.ts @@ -28,7 +28,6 @@ export class DescribeUsersCommand extends $Command< DescribeUsersCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUsersCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/DisassociateGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/DisassociateGlobalReplicationGroupCommand.ts index 4a37524ef9c33..14abd8d7f4c0a 100644 --- a/clients/client-elasticache/commands/DisassociateGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/DisassociateGlobalReplicationGroupCommand.ts @@ -32,7 +32,6 @@ export class DisassociateGlobalReplicationGroupCommand extends $Command< DisassociateGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateGlobalReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/FailoverGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/FailoverGlobalReplicationGroupCommand.ts index d17c3d7cd49b1..6d71ad64132a9 100644 --- a/clients/client-elasticache/commands/FailoverGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/FailoverGlobalReplicationGroupCommand.ts @@ -28,7 +28,6 @@ export class FailoverGlobalReplicationGroupCommand extends $Command< FailoverGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FailoverGlobalReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.ts index 8f1c9f2ba2155..38b59fce1f96b 100644 --- a/clients/client-elasticache/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.ts @@ -32,7 +32,6 @@ export class IncreaseNodeGroupsInGlobalReplicationGroupCommand extends $Command< IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class IncreaseNodeGroupsInGlobalReplicationGroupCommand extends $Command< IncreaseNodeGroupsInGlobalReplicationGroupCommandInput, IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts b/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts index 7ff2d80e70958..b401b94ab3a46 100644 --- a/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts +++ b/clients/client-elasticache/commands/IncreaseReplicaCountCommand.ts @@ -30,7 +30,6 @@ export class IncreaseReplicaCountCommand extends $Command< IncreaseReplicaCountCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class IncreaseReplicaCountCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts b/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts index adc4642782e9a..9e05e406b7d8d 100644 --- a/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts +++ b/clients/client-elasticache/commands/ListAllowedNodeTypeModificationsCommand.ts @@ -33,7 +33,6 @@ export class ListAllowedNodeTypeModificationsCommand extends $Command< ListAllowedNodeTypeModificationsCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListAllowedNodeTypeModificationsCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ListTagsForResourceCommand.ts b/clients/client-elasticache/commands/ListTagsForResourceCommand.ts index cc60d0ca84c18..652e125d2e1fb 100644 --- a/clients/client-elasticache/commands/ListTagsForResourceCommand.ts +++ b/clients/client-elasticache/commands/ListTagsForResourceCommand.ts @@ -35,7 +35,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts b/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts index e51bb21a4af79..03841342e4c52 100644 --- a/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/ModifyCacheClusterCommand.ts @@ -30,7 +30,6 @@ export class ModifyCacheClusterCommand extends $Command< ModifyCacheClusterCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyCacheClusterCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts index 7b840dd8ba96b..551dc0649405a 100644 --- a/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyCacheParameterGroupCommand.ts @@ -30,7 +30,6 @@ export class ModifyCacheParameterGroupCommand extends $Command< ModifyCacheParameterGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyCacheParameterGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts b/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts index e4580f25bd707..76d9017950a73 100644 --- a/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyCacheSubnetGroupCommand.ts @@ -28,7 +28,6 @@ export class ModifyCacheSubnetGroupCommand extends $Command< ModifyCacheSubnetGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyCacheSubnetGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/ModifyGlobalReplicationGroupCommand.ts index 59cdc0be6270f..803951b89a96a 100644 --- a/clients/client-elasticache/commands/ModifyGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyGlobalReplicationGroupCommand.ts @@ -28,7 +28,6 @@ export class ModifyGlobalReplicationGroupCommand extends $Command< ModifyGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyGlobalReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts b/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts index 9488d2a42cb6e..3eab93a388339 100644 --- a/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyReplicationGroupCommand.ts @@ -44,7 +44,6 @@ export class ModifyReplicationGroupCommand extends $Command< ModifyReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class ModifyReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts b/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts index 67450d6281222..5bdfc4ef2ba77 100644 --- a/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts +++ b/clients/client-elasticache/commands/ModifyReplicationGroupShardConfigurationCommand.ts @@ -33,7 +33,6 @@ export class ModifyReplicationGroupShardConfigurationCommand extends $Command< ModifyReplicationGroupShardConfigurationCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ModifyReplicationGroupShardConfigurationCommand extends $Command< ModifyReplicationGroupShardConfigurationCommandInput, ModifyReplicationGroupShardConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyUserCommand.ts b/clients/client-elasticache/commands/ModifyUserCommand.ts index 495a469c89fea..0ffafd92c5a54 100644 --- a/clients/client-elasticache/commands/ModifyUserCommand.ts +++ b/clients/client-elasticache/commands/ModifyUserCommand.ts @@ -25,7 +25,6 @@ export class ModifyUserCommand extends $Command< ModifyUserCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ModifyUserCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ModifyUserGroupCommand.ts b/clients/client-elasticache/commands/ModifyUserGroupCommand.ts index 6b487cdd3bb82..329ad38bf8c31 100644 --- a/clients/client-elasticache/commands/ModifyUserGroupCommand.ts +++ b/clients/client-elasticache/commands/ModifyUserGroupCommand.ts @@ -28,7 +28,6 @@ export class ModifyUserGroupCommand extends $Command< ModifyUserGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyUserGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts b/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts index dca4ade247741..665f6e83c520a 100644 --- a/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts +++ b/clients/client-elasticache/commands/PurchaseReservedCacheNodesOfferingCommand.ts @@ -33,7 +33,6 @@ export class PurchaseReservedCacheNodesOfferingCommand extends $Command< PurchaseReservedCacheNodesOfferingCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PurchaseReservedCacheNodesOfferingCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/RebalanceSlotsInGlobalReplicationGroupCommand.ts b/clients/client-elasticache/commands/RebalanceSlotsInGlobalReplicationGroupCommand.ts index d82c4198d4afa..15f3cd635d595 100644 --- a/clients/client-elasticache/commands/RebalanceSlotsInGlobalReplicationGroupCommand.ts +++ b/clients/client-elasticache/commands/RebalanceSlotsInGlobalReplicationGroupCommand.ts @@ -32,7 +32,6 @@ export class RebalanceSlotsInGlobalReplicationGroupCommand extends $Command< RebalanceSlotsInGlobalReplicationGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RebalanceSlotsInGlobalReplicationGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/RebootCacheClusterCommand.ts b/clients/client-elasticache/commands/RebootCacheClusterCommand.ts index c42f2db5b416a..4439b43c5d7ca 100644 --- a/clients/client-elasticache/commands/RebootCacheClusterCommand.ts +++ b/clients/client-elasticache/commands/RebootCacheClusterCommand.ts @@ -40,7 +40,6 @@ export class RebootCacheClusterCommand extends $Command< RebootCacheClusterCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RebootCacheClusterCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts b/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts index 909046297aa1d..9981751a9b8ff 100644 --- a/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-elasticache/commands/RemoveTagsFromResourceCommand.ts @@ -29,7 +29,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts b/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts index e844b1b28b13b..80a951b7d63d4 100644 --- a/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts +++ b/clients/client-elasticache/commands/ResetCacheParameterGroupCommand.ts @@ -31,7 +31,6 @@ export class ResetCacheParameterGroupCommand extends $Command< ResetCacheParameterGroupCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ResetCacheParameterGroupCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts b/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts index bde201ca05f10..6fb2e2eae639d 100644 --- a/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts +++ b/clients/client-elasticache/commands/RevokeCacheSecurityGroupIngressCommand.ts @@ -30,7 +30,6 @@ export class RevokeCacheSecurityGroupIngressCommand extends $Command< RevokeCacheSecurityGroupIngressCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RevokeCacheSecurityGroupIngressCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/StartMigrationCommand.ts b/clients/client-elasticache/commands/StartMigrationCommand.ts index 3a3ce10a2f581..935d0677cf529 100644 --- a/clients/client-elasticache/commands/StartMigrationCommand.ts +++ b/clients/client-elasticache/commands/StartMigrationCommand.ts @@ -28,7 +28,6 @@ export class StartMigrationCommand extends $Command< StartMigrationCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartMigrationCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticache/commands/TestFailoverCommand.ts b/clients/client-elasticache/commands/TestFailoverCommand.ts index 1bffefb68bb35..3ab7e0edb4f77 100644 --- a/clients/client-elasticache/commands/TestFailoverCommand.ts +++ b/clients/client-elasticache/commands/TestFailoverCommand.ts @@ -87,7 +87,6 @@ export class TestFailoverCommand extends $Command< TestFailoverCommandOutput, ElastiCacheClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -105,10 +104,7 @@ export class TestFailoverCommand extends $Command< configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/AcceptInboundCrossClusterSearchConnectionCommand.ts b/clients/client-elasticsearch-service/commands/AcceptInboundCrossClusterSearchConnectionCommand.ts index 8ae9071294b78..00d8a9bdb1e8b 100644 --- a/clients/client-elasticsearch-service/commands/AcceptInboundCrossClusterSearchConnectionCommand.ts +++ b/clients/client-elasticsearch-service/commands/AcceptInboundCrossClusterSearchConnectionCommand.ts @@ -36,7 +36,6 @@ export class AcceptInboundCrossClusterSearchConnectionCommand extends $Command< AcceptInboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AcceptInboundCrossClusterSearchConnectionCommand extends $Command< AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/AddTagsCommand.ts b/clients/client-elasticsearch-service/commands/AddTagsCommand.ts index a0778d53fcab5..3d40cbd9a1468 100644 --- a/clients/client-elasticsearch-service/commands/AddTagsCommand.ts +++ b/clients/client-elasticsearch-service/commands/AddTagsCommand.ts @@ -33,7 +33,6 @@ export class AddTagsCommand extends $Command< AddTagsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AddTagsCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/AssociatePackageCommand.ts b/clients/client-elasticsearch-service/commands/AssociatePackageCommand.ts index f446430a409d1..336685aed71c1 100644 --- a/clients/client-elasticsearch-service/commands/AssociatePackageCommand.ts +++ b/clients/client-elasticsearch-service/commands/AssociatePackageCommand.ts @@ -32,7 +32,6 @@ export class AssociatePackageCommand extends $Command< AssociatePackageCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociatePackageCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts b/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts index 27ef26b722d2c..b7cc2adbee8e4 100644 --- a/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts +++ b/clients/client-elasticsearch-service/commands/CancelElasticsearchServiceSoftwareUpdateCommand.ts @@ -36,7 +36,6 @@ export class CancelElasticsearchServiceSoftwareUpdateCommand extends $Command< CancelElasticsearchServiceSoftwareUpdateCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CancelElasticsearchServiceSoftwareUpdateCommand extends $Command< CancelElasticsearchServiceSoftwareUpdateCommandInput, CancelElasticsearchServiceSoftwareUpdateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts index 68ccda979070c..47f8a93ff6626 100644 --- a/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/CreateElasticsearchDomainCommand.ts @@ -33,7 +33,6 @@ export class CreateElasticsearchDomainCommand extends $Command< CreateElasticsearchDomainCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateElasticsearchDomainCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/CreateOutboundCrossClusterSearchConnectionCommand.ts b/clients/client-elasticsearch-service/commands/CreateOutboundCrossClusterSearchConnectionCommand.ts index 085b7bc161a98..71f7d703f3204 100644 --- a/clients/client-elasticsearch-service/commands/CreateOutboundCrossClusterSearchConnectionCommand.ts +++ b/clients/client-elasticsearch-service/commands/CreateOutboundCrossClusterSearchConnectionCommand.ts @@ -36,7 +36,6 @@ export class CreateOutboundCrossClusterSearchConnectionCommand extends $Command< CreateOutboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateOutboundCrossClusterSearchConnectionCommand extends $Command< CreateOutboundCrossClusterSearchConnectionCommandInput, CreateOutboundCrossClusterSearchConnectionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/CreatePackageCommand.ts b/clients/client-elasticsearch-service/commands/CreatePackageCommand.ts index 244fe49fdf74f..50c49ff62a178 100644 --- a/clients/client-elasticsearch-service/commands/CreatePackageCommand.ts +++ b/clients/client-elasticsearch-service/commands/CreatePackageCommand.ts @@ -32,7 +32,6 @@ export class CreatePackageCommand extends $Command< CreatePackageCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreatePackageCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts index 30b906b32c4d7..c841fe0b9f1df 100644 --- a/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeleteElasticsearchDomainCommand.ts @@ -32,7 +32,6 @@ export class DeleteElasticsearchDomainCommand extends $Command< DeleteElasticsearchDomainCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteElasticsearchDomainCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts b/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts index f0de05c17f28d..5ff84bef021fe 100644 --- a/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeleteElasticsearchServiceRoleCommand.ts @@ -31,7 +31,6 @@ export class DeleteElasticsearchServiceRoleCommand extends $Command< DeleteElasticsearchServiceRoleCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteElasticsearchServiceRoleCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DeleteInboundCrossClusterSearchConnectionCommand.ts b/clients/client-elasticsearch-service/commands/DeleteInboundCrossClusterSearchConnectionCommand.ts index a8cf6ea190859..a7c8ac3342b1d 100644 --- a/clients/client-elasticsearch-service/commands/DeleteInboundCrossClusterSearchConnectionCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeleteInboundCrossClusterSearchConnectionCommand.ts @@ -36,7 +36,6 @@ export class DeleteInboundCrossClusterSearchConnectionCommand extends $Command< DeleteInboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteInboundCrossClusterSearchConnectionCommand extends $Command< DeleteInboundCrossClusterSearchConnectionCommandInput, DeleteInboundCrossClusterSearchConnectionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DeleteOutboundCrossClusterSearchConnectionCommand.ts b/clients/client-elasticsearch-service/commands/DeleteOutboundCrossClusterSearchConnectionCommand.ts index c85de47a40a77..ec5ed24e57b23 100644 --- a/clients/client-elasticsearch-service/commands/DeleteOutboundCrossClusterSearchConnectionCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeleteOutboundCrossClusterSearchConnectionCommand.ts @@ -36,7 +36,6 @@ export class DeleteOutboundCrossClusterSearchConnectionCommand extends $Command< DeleteOutboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteOutboundCrossClusterSearchConnectionCommand extends $Command< DeleteOutboundCrossClusterSearchConnectionCommandInput, DeleteOutboundCrossClusterSearchConnectionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DeletePackageCommand.ts b/clients/client-elasticsearch-service/commands/DeletePackageCommand.ts index 7c3ea381c0173..9c8e37704d74e 100644 --- a/clients/client-elasticsearch-service/commands/DeletePackageCommand.ts +++ b/clients/client-elasticsearch-service/commands/DeletePackageCommand.ts @@ -32,7 +32,6 @@ export class DeletePackageCommand extends $Command< DeletePackageCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeletePackageCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts index 9453454b70314..e31c174f785c3 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainCommand.ts @@ -32,7 +32,6 @@ export class DescribeElasticsearchDomainCommand extends $Command< DescribeElasticsearchDomainCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeElasticsearchDomainCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts index 248b3c38e5437..27d856225b56a 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainConfigCommand.ts @@ -36,7 +36,6 @@ export class DescribeElasticsearchDomainConfigCommand extends $Command< DescribeElasticsearchDomainConfigCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeElasticsearchDomainConfigCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts index e4bd4e4de6028..928bbf9f6c031 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchDomainsCommand.ts @@ -32,7 +32,6 @@ export class DescribeElasticsearchDomainsCommand extends $Command< DescribeElasticsearchDomainsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeElasticsearchDomainsCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts index e0142a0c9c49a..287df7af03350 100644 --- a/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeElasticsearchInstanceTypeLimitsCommand.ts @@ -43,7 +43,6 @@ export class DescribeElasticsearchInstanceTypeLimitsCommand extends $Command< DescribeElasticsearchInstanceTypeLimitsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DescribeElasticsearchInstanceTypeLimitsCommand extends $Command< DescribeElasticsearchInstanceTypeLimitsCommandInput, DescribeElasticsearchInstanceTypeLimitsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeInboundCrossClusterSearchConnectionsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeInboundCrossClusterSearchConnectionsCommand.ts index 8e7471479415c..c5b5a5a439e0b 100644 --- a/clients/client-elasticsearch-service/commands/DescribeInboundCrossClusterSearchConnectionsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeInboundCrossClusterSearchConnectionsCommand.ts @@ -36,7 +36,6 @@ export class DescribeInboundCrossClusterSearchConnectionsCommand extends $Comman DescribeInboundCrossClusterSearchConnectionsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeInboundCrossClusterSearchConnectionsCommand extends $Comman DescribeInboundCrossClusterSearchConnectionsCommandInput, DescribeInboundCrossClusterSearchConnectionsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.ts index 5fa89d76ccec8..c574b5db9148a 100644 --- a/clients/client-elasticsearch-service/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.ts @@ -36,7 +36,6 @@ export class DescribeOutboundCrossClusterSearchConnectionsCommand extends $Comma DescribeOutboundCrossClusterSearchConnectionsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeOutboundCrossClusterSearchConnectionsCommand extends $Comma DescribeOutboundCrossClusterSearchConnectionsCommandInput, DescribeOutboundCrossClusterSearchConnectionsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribePackagesCommand.ts b/clients/client-elasticsearch-service/commands/DescribePackagesCommand.ts index 1944a7a11529b..ab04a9054cea1 100644 --- a/clients/client-elasticsearch-service/commands/DescribePackagesCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribePackagesCommand.ts @@ -32,7 +32,6 @@ export class DescribePackagesCommand extends $Command< DescribePackagesCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribePackagesCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts index 68d5dcf1f9ffd..9518f7f920ede 100644 --- a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.ts @@ -36,7 +36,6 @@ export class DescribeReservedElasticsearchInstanceOfferingsCommand extends $Comm DescribeReservedElasticsearchInstanceOfferingsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeReservedElasticsearchInstanceOfferingsCommand extends $Comm DescribeReservedElasticsearchInstanceOfferingsCommandInput, DescribeReservedElasticsearchInstanceOfferingsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts index db84bbb8b0c0f..808a4e0372ce1 100644 --- a/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts +++ b/clients/client-elasticsearch-service/commands/DescribeReservedElasticsearchInstancesCommand.ts @@ -36,7 +36,6 @@ export class DescribeReservedElasticsearchInstancesCommand extends $Command< DescribeReservedElasticsearchInstancesCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeReservedElasticsearchInstancesCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/DissociatePackageCommand.ts b/clients/client-elasticsearch-service/commands/DissociatePackageCommand.ts index 3b3ff19c131fd..921dcccf2d409 100644 --- a/clients/client-elasticsearch-service/commands/DissociatePackageCommand.ts +++ b/clients/client-elasticsearch-service/commands/DissociatePackageCommand.ts @@ -32,7 +32,6 @@ export class DissociatePackageCommand extends $Command< DissociatePackageCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DissociatePackageCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts b/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts index 99cd4d5d5df17..7bd1a171b19f8 100644 --- a/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetCompatibleElasticsearchVersionsCommand.ts @@ -43,7 +43,6 @@ export class GetCompatibleElasticsearchVersionsCommand extends $Command< GetCompatibleElasticsearchVersionsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class GetCompatibleElasticsearchVersionsCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts b/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts index 256730ef44510..7c9cef37c7b8b 100644 --- a/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetPackageVersionHistoryCommand.ts @@ -32,7 +32,6 @@ export class GetPackageVersionHistoryCommand extends $Command< GetPackageVersionHistoryCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetPackageVersionHistoryCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts b/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts index 41ead172b6f9f..6d6797f8f6c87 100644 --- a/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetUpgradeHistoryCommand.ts @@ -32,7 +32,6 @@ export class GetUpgradeHistoryCommand extends $Command< GetUpgradeHistoryCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetUpgradeHistoryCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts b/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts index ea80d1600e5bb..be8b726905275 100644 --- a/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts +++ b/clients/client-elasticsearch-service/commands/GetUpgradeStatusCommand.ts @@ -32,7 +32,6 @@ export class GetUpgradeStatusCommand extends $Command< GetUpgradeStatusCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetUpgradeStatusCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts b/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts index 8495f1268ca10..16fcbcdc57b21 100644 --- a/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListDomainNamesCommand.ts @@ -32,7 +32,6 @@ export class ListDomainNamesCommand extends $Command< ListDomainNamesCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListDomainNamesCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/ListDomainsForPackageCommand.ts b/clients/client-elasticsearch-service/commands/ListDomainsForPackageCommand.ts index fc2f1a58bda8a..b168a2db4bd69 100644 --- a/clients/client-elasticsearch-service/commands/ListDomainsForPackageCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListDomainsForPackageCommand.ts @@ -32,7 +32,6 @@ export class ListDomainsForPackageCommand extends $Command< ListDomainsForPackageCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListDomainsForPackageCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts b/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts index da90a7e11ca2a..2c0cc298de13e 100644 --- a/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListElasticsearchInstanceTypesCommand.ts @@ -32,7 +32,6 @@ export class ListElasticsearchInstanceTypesCommand extends $Command< ListElasticsearchInstanceTypesCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListElasticsearchInstanceTypesCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts b/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts index aa0c618918caf..1cd489f611d5f 100644 --- a/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListElasticsearchVersionsCommand.ts @@ -32,7 +32,6 @@ export class ListElasticsearchVersionsCommand extends $Command< ListElasticsearchVersionsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListElasticsearchVersionsCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/ListPackagesForDomainCommand.ts b/clients/client-elasticsearch-service/commands/ListPackagesForDomainCommand.ts index 3ddd436a72000..6f7b51337c774 100644 --- a/clients/client-elasticsearch-service/commands/ListPackagesForDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListPackagesForDomainCommand.ts @@ -32,7 +32,6 @@ export class ListPackagesForDomainCommand extends $Command< ListPackagesForDomainCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPackagesForDomainCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/ListTagsCommand.ts b/clients/client-elasticsearch-service/commands/ListTagsCommand.ts index c53e7eed989c8..3d24674a08096 100644 --- a/clients/client-elasticsearch-service/commands/ListTagsCommand.ts +++ b/clients/client-elasticsearch-service/commands/ListTagsCommand.ts @@ -32,7 +32,6 @@ export class ListTagsCommand extends $Command< ListTagsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts b/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts index a5a78f0a71ae0..e0ac30015be66 100644 --- a/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts +++ b/clients/client-elasticsearch-service/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.ts @@ -36,7 +36,6 @@ export class PurchaseReservedElasticsearchInstanceOfferingCommand extends $Comma PurchaseReservedElasticsearchInstanceOfferingCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class PurchaseReservedElasticsearchInstanceOfferingCommand extends $Comma PurchaseReservedElasticsearchInstanceOfferingCommandInput, PurchaseReservedElasticsearchInstanceOfferingCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/RejectInboundCrossClusterSearchConnectionCommand.ts b/clients/client-elasticsearch-service/commands/RejectInboundCrossClusterSearchConnectionCommand.ts index 3acee3ac316cd..f572fde3d14f4 100644 --- a/clients/client-elasticsearch-service/commands/RejectInboundCrossClusterSearchConnectionCommand.ts +++ b/clients/client-elasticsearch-service/commands/RejectInboundCrossClusterSearchConnectionCommand.ts @@ -36,7 +36,6 @@ export class RejectInboundCrossClusterSearchConnectionCommand extends $Command< RejectInboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class RejectInboundCrossClusterSearchConnectionCommand extends $Command< RejectInboundCrossClusterSearchConnectionCommandInput, RejectInboundCrossClusterSearchConnectionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts b/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts index fc6cbf1542afa..78f94099b5e68 100644 --- a/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts +++ b/clients/client-elasticsearch-service/commands/RemoveTagsCommand.ts @@ -32,7 +32,6 @@ export class RemoveTagsCommand extends $Command< RemoveTagsCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RemoveTagsCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts b/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts index 98cc5a1d85a5c..13ba0382e4cda 100644 --- a/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts +++ b/clients/client-elasticsearch-service/commands/StartElasticsearchServiceSoftwareUpdateCommand.ts @@ -36,7 +36,6 @@ export class StartElasticsearchServiceSoftwareUpdateCommand extends $Command< StartElasticsearchServiceSoftwareUpdateCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class StartElasticsearchServiceSoftwareUpdateCommand extends $Command< StartElasticsearchServiceSoftwareUpdateCommandInput, StartElasticsearchServiceSoftwareUpdateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts b/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts index 6aea22fcd9ff6..cc4611b5013fb 100644 --- a/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts +++ b/clients/client-elasticsearch-service/commands/UpdateElasticsearchDomainConfigCommand.ts @@ -32,7 +32,6 @@ export class UpdateElasticsearchDomainConfigCommand extends $Command< UpdateElasticsearchDomainConfigCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateElasticsearchDomainConfigCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts b/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts index e704cfbb14e5d..1bbfec8dce51e 100644 --- a/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts +++ b/clients/client-elasticsearch-service/commands/UpdatePackageCommand.ts @@ -32,7 +32,6 @@ export class UpdatePackageCommand extends $Command< UpdatePackageCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdatePackageCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts b/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts index fc2a9ed70d463..c2d5071977b10 100644 --- a/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts +++ b/clients/client-elasticsearch-service/commands/UpgradeElasticsearchDomainCommand.ts @@ -32,7 +32,6 @@ export class UpgradeElasticsearchDomainCommand extends $Command< UpgradeElasticsearchDomainCommandOutput, ElasticsearchServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpgradeElasticsearchDomainCommand extends $Command< configuration: ElasticsearchServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/CancelJobRunCommand.ts b/clients/client-emr-containers/commands/CancelJobRunCommand.ts index 84fc62ce0f8f8..1f21bb5ce53f4 100644 --- a/clients/client-emr-containers/commands/CancelJobRunCommand.ts +++ b/clients/client-emr-containers/commands/CancelJobRunCommand.ts @@ -28,7 +28,6 @@ export class CancelJobRunCommand extends $Command< CancelJobRunCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelJobRunCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/CreateManagedEndpointCommand.ts b/clients/client-emr-containers/commands/CreateManagedEndpointCommand.ts index f0f9b31203099..b5161eeb23b90 100644 --- a/clients/client-emr-containers/commands/CreateManagedEndpointCommand.ts +++ b/clients/client-emr-containers/commands/CreateManagedEndpointCommand.ts @@ -28,7 +28,6 @@ export class CreateManagedEndpointCommand extends $Command< CreateManagedEndpointCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateManagedEndpointCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/CreateVirtualClusterCommand.ts b/clients/client-emr-containers/commands/CreateVirtualClusterCommand.ts index f1bcf4f578bc4..884dbae8c0a1f 100644 --- a/clients/client-emr-containers/commands/CreateVirtualClusterCommand.ts +++ b/clients/client-emr-containers/commands/CreateVirtualClusterCommand.ts @@ -28,7 +28,6 @@ export class CreateVirtualClusterCommand extends $Command< CreateVirtualClusterCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateVirtualClusterCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/DeleteManagedEndpointCommand.ts b/clients/client-emr-containers/commands/DeleteManagedEndpointCommand.ts index c83bcef0b071f..0bd1da1988ff8 100644 --- a/clients/client-emr-containers/commands/DeleteManagedEndpointCommand.ts +++ b/clients/client-emr-containers/commands/DeleteManagedEndpointCommand.ts @@ -28,7 +28,6 @@ export class DeleteManagedEndpointCommand extends $Command< DeleteManagedEndpointCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteManagedEndpointCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/DeleteVirtualClusterCommand.ts b/clients/client-emr-containers/commands/DeleteVirtualClusterCommand.ts index 3e9f7b843eddc..66b29186130bb 100644 --- a/clients/client-emr-containers/commands/DeleteVirtualClusterCommand.ts +++ b/clients/client-emr-containers/commands/DeleteVirtualClusterCommand.ts @@ -28,7 +28,6 @@ export class DeleteVirtualClusterCommand extends $Command< DeleteVirtualClusterCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVirtualClusterCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/DescribeJobRunCommand.ts b/clients/client-emr-containers/commands/DescribeJobRunCommand.ts index 340ed440c638d..56e4b71e6a486 100644 --- a/clients/client-emr-containers/commands/DescribeJobRunCommand.ts +++ b/clients/client-emr-containers/commands/DescribeJobRunCommand.ts @@ -28,7 +28,6 @@ export class DescribeJobRunCommand extends $Command< DescribeJobRunCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeJobRunCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/DescribeManagedEndpointCommand.ts b/clients/client-emr-containers/commands/DescribeManagedEndpointCommand.ts index e7f8a591b4ae1..aa9d2e38473fe 100644 --- a/clients/client-emr-containers/commands/DescribeManagedEndpointCommand.ts +++ b/clients/client-emr-containers/commands/DescribeManagedEndpointCommand.ts @@ -28,7 +28,6 @@ export class DescribeManagedEndpointCommand extends $Command< DescribeManagedEndpointCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeManagedEndpointCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/DescribeVirtualClusterCommand.ts b/clients/client-emr-containers/commands/DescribeVirtualClusterCommand.ts index 693f32c2ab624..b8e67adee235e 100644 --- a/clients/client-emr-containers/commands/DescribeVirtualClusterCommand.ts +++ b/clients/client-emr-containers/commands/DescribeVirtualClusterCommand.ts @@ -28,7 +28,6 @@ export class DescribeVirtualClusterCommand extends $Command< DescribeVirtualClusterCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeVirtualClusterCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/ListJobRunsCommand.ts b/clients/client-emr-containers/commands/ListJobRunsCommand.ts index d709b98cf6ec3..793309183b839 100644 --- a/clients/client-emr-containers/commands/ListJobRunsCommand.ts +++ b/clients/client-emr-containers/commands/ListJobRunsCommand.ts @@ -28,7 +28,6 @@ export class ListJobRunsCommand extends $Command< ListJobRunsCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobRunsCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/ListManagedEndpointsCommand.ts b/clients/client-emr-containers/commands/ListManagedEndpointsCommand.ts index 10c563164c7c2..a590fd45f8aad 100644 --- a/clients/client-emr-containers/commands/ListManagedEndpointsCommand.ts +++ b/clients/client-emr-containers/commands/ListManagedEndpointsCommand.ts @@ -28,7 +28,6 @@ export class ListManagedEndpointsCommand extends $Command< ListManagedEndpointsCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListManagedEndpointsCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/ListTagsForResourceCommand.ts b/clients/client-emr-containers/commands/ListTagsForResourceCommand.ts index ccc1ba6a699e7..4865beb7c6db7 100644 --- a/clients/client-emr-containers/commands/ListTagsForResourceCommand.ts +++ b/clients/client-emr-containers/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/ListVirtualClustersCommand.ts b/clients/client-emr-containers/commands/ListVirtualClustersCommand.ts index 314ca55b4e418..46edb61df46a5 100644 --- a/clients/client-emr-containers/commands/ListVirtualClustersCommand.ts +++ b/clients/client-emr-containers/commands/ListVirtualClustersCommand.ts @@ -28,7 +28,6 @@ export class ListVirtualClustersCommand extends $Command< ListVirtualClustersCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVirtualClustersCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/StartJobRunCommand.ts b/clients/client-emr-containers/commands/StartJobRunCommand.ts index ce2544fc6e57d..469b4eb0b4841 100644 --- a/clients/client-emr-containers/commands/StartJobRunCommand.ts +++ b/clients/client-emr-containers/commands/StartJobRunCommand.ts @@ -28,7 +28,6 @@ export class StartJobRunCommand extends $Command< StartJobRunCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartJobRunCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/TagResourceCommand.ts b/clients/client-emr-containers/commands/TagResourceCommand.ts index 576e1063f5f7f..c3c71e8d370e7 100644 --- a/clients/client-emr-containers/commands/TagResourceCommand.ts +++ b/clients/client-emr-containers/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr-containers/commands/UntagResourceCommand.ts b/clients/client-emr-containers/commands/UntagResourceCommand.ts index a8d39d3576235..4066caee151eb 100644 --- a/clients/client-emr-containers/commands/UntagResourceCommand.ts +++ b/clients/client-emr-containers/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, EMRContainersClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: EMRContainersClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/AddInstanceFleetCommand.ts b/clients/client-emr/commands/AddInstanceFleetCommand.ts index 7d01a4c9ba7fd..9ae52575d145c 100644 --- a/clients/client-emr/commands/AddInstanceFleetCommand.ts +++ b/clients/client-emr/commands/AddInstanceFleetCommand.ts @@ -32,7 +32,6 @@ export class AddInstanceFleetCommand extends $Command< AddInstanceFleetCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AddInstanceFleetCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/AddInstanceGroupsCommand.ts b/clients/client-emr/commands/AddInstanceGroupsCommand.ts index 5176b24b0261f..8652ed37d7dd0 100644 --- a/clients/client-emr/commands/AddInstanceGroupsCommand.ts +++ b/clients/client-emr/commands/AddInstanceGroupsCommand.ts @@ -28,7 +28,6 @@ export class AddInstanceGroupsCommand extends $Command< AddInstanceGroupsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddInstanceGroupsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/AddJobFlowStepsCommand.ts b/clients/client-emr/commands/AddJobFlowStepsCommand.ts index f653d05d8619c..c99fc14e4a060 100644 --- a/clients/client-emr/commands/AddJobFlowStepsCommand.ts +++ b/clients/client-emr/commands/AddJobFlowStepsCommand.ts @@ -44,7 +44,6 @@ export class AddJobFlowStepsCommand extends $Command< AddJobFlowStepsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class AddJobFlowStepsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/AddTagsCommand.ts b/clients/client-emr/commands/AddTagsCommand.ts index f7d9ce6254c6a..c450a68d4597d 100644 --- a/clients/client-emr/commands/AddTagsCommand.ts +++ b/clients/client-emr/commands/AddTagsCommand.ts @@ -23,7 +23,6 @@ export type AddTagsCommandOutput = AddTagsOutput & __MetadataBearer; * For more information, see Tag Clusters.

*/ export class AddTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class AddTagsCommand 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-emr/commands/CancelStepsCommand.ts b/clients/client-emr/commands/CancelStepsCommand.ts index 73e781b4243f6..1f11ee22a67d9 100644 --- a/clients/client-emr/commands/CancelStepsCommand.ts +++ b/clients/client-emr/commands/CancelStepsCommand.ts @@ -32,7 +32,6 @@ export class CancelStepsCommand extends $Command< CancelStepsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CancelStepsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts b/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts index 04e40c67583b8..a32aaf2f3d0dc 100644 --- a/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts +++ b/clients/client-emr/commands/CreateSecurityConfigurationCommand.ts @@ -29,7 +29,6 @@ export class CreateSecurityConfigurationCommand extends $Command< CreateSecurityConfigurationCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateSecurityConfigurationCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/CreateStudioCommand.ts b/clients/client-emr/commands/CreateStudioCommand.ts index 46bd02588e3ef..b9d7e20dbd7fc 100644 --- a/clients/client-emr/commands/CreateStudioCommand.ts +++ b/clients/client-emr/commands/CreateStudioCommand.ts @@ -32,7 +32,6 @@ export class CreateStudioCommand extends $Command< CreateStudioCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateStudioCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/CreateStudioSessionMappingCommand.ts b/clients/client-emr/commands/CreateStudioSessionMappingCommand.ts index e5e39c5360eff..c5e87f78ac53a 100644 --- a/clients/client-emr/commands/CreateStudioSessionMappingCommand.ts +++ b/clients/client-emr/commands/CreateStudioSessionMappingCommand.ts @@ -33,7 +33,6 @@ export class CreateStudioSessionMappingCommand extends $Command< CreateStudioSessionMappingCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateStudioSessionMappingCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts b/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts index 4a15f54931a80..60b1e54786a70 100644 --- a/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts +++ b/clients/client-emr/commands/DeleteSecurityConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteSecurityConfigurationCommand extends $Command< DeleteSecurityConfigurationCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSecurityConfigurationCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DeleteStudioCommand.ts b/clients/client-emr/commands/DeleteStudioCommand.ts index cbbf285c2672e..51770e54ba242 100644 --- a/clients/client-emr/commands/DeleteStudioCommand.ts +++ b/clients/client-emr/commands/DeleteStudioCommand.ts @@ -32,7 +32,6 @@ export class DeleteStudioCommand extends $Command< DeleteStudioCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteStudioCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DeleteStudioSessionMappingCommand.ts b/clients/client-emr/commands/DeleteStudioSessionMappingCommand.ts index fde386e62e2ba..d2f1e9ad0724a 100644 --- a/clients/client-emr/commands/DeleteStudioSessionMappingCommand.ts +++ b/clients/client-emr/commands/DeleteStudioSessionMappingCommand.ts @@ -32,7 +32,6 @@ export class DeleteStudioSessionMappingCommand extends $Command< DeleteStudioSessionMappingCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteStudioSessionMappingCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DescribeClusterCommand.ts b/clients/client-emr/commands/DescribeClusterCommand.ts index 1d0a18bdd3a2f..61e95ff2a247a 100644 --- a/clients/client-emr/commands/DescribeClusterCommand.ts +++ b/clients/client-emr/commands/DescribeClusterCommand.ts @@ -29,7 +29,6 @@ export class DescribeClusterCommand extends $Command< DescribeClusterCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeClusterCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DescribeJobFlowsCommand.ts b/clients/client-emr/commands/DescribeJobFlowsCommand.ts index c443adb45149f..2b6945207cc8f 100644 --- a/clients/client-emr/commands/DescribeJobFlowsCommand.ts +++ b/clients/client-emr/commands/DescribeJobFlowsCommand.ts @@ -50,7 +50,6 @@ export class DescribeJobFlowsCommand extends $Command< DescribeJobFlowsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DescribeJobFlowsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DescribeNotebookExecutionCommand.ts b/clients/client-emr/commands/DescribeNotebookExecutionCommand.ts index 76f890624b53d..dcf577cc64de9 100644 --- a/clients/client-emr/commands/DescribeNotebookExecutionCommand.ts +++ b/clients/client-emr/commands/DescribeNotebookExecutionCommand.ts @@ -28,7 +28,6 @@ export class DescribeNotebookExecutionCommand extends $Command< DescribeNotebookExecutionCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNotebookExecutionCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts b/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts index 9b4a57b657c6e..2698f8eb86bf0 100644 --- a/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts +++ b/clients/client-emr/commands/DescribeSecurityConfigurationCommand.ts @@ -29,7 +29,6 @@ export class DescribeSecurityConfigurationCommand extends $Command< DescribeSecurityConfigurationCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSecurityConfigurationCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DescribeStepCommand.ts b/clients/client-emr/commands/DescribeStepCommand.ts index 591c8139e3125..4e5c98e74bb28 100644 --- a/clients/client-emr/commands/DescribeStepCommand.ts +++ b/clients/client-emr/commands/DescribeStepCommand.ts @@ -28,7 +28,6 @@ export class DescribeStepCommand extends $Command< DescribeStepCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStepCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/DescribeStudioCommand.ts b/clients/client-emr/commands/DescribeStudioCommand.ts index 93ee670945d04..b1c5ab676413b 100644 --- a/clients/client-emr/commands/DescribeStudioCommand.ts +++ b/clients/client-emr/commands/DescribeStudioCommand.ts @@ -33,7 +33,6 @@ export class DescribeStudioCommand extends $Command< DescribeStudioCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeStudioCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts b/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts index 33faf27646069..a39df094e1144 100644 --- a/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts +++ b/clients/client-emr/commands/GetBlockPublicAccessConfigurationCommand.ts @@ -31,7 +31,6 @@ export class GetBlockPublicAccessConfigurationCommand extends $Command< GetBlockPublicAccessConfigurationCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetBlockPublicAccessConfigurationCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/GetManagedScalingPolicyCommand.ts b/clients/client-emr/commands/GetManagedScalingPolicyCommand.ts index 7cc0b68a3a20a..f6dbfb872fe16 100644 --- a/clients/client-emr/commands/GetManagedScalingPolicyCommand.ts +++ b/clients/client-emr/commands/GetManagedScalingPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetManagedScalingPolicyCommand extends $Command< GetManagedScalingPolicyCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetManagedScalingPolicyCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/GetStudioSessionMappingCommand.ts b/clients/client-emr/commands/GetStudioSessionMappingCommand.ts index f4a9319224b65..cca9c38f3b686 100644 --- a/clients/client-emr/commands/GetStudioSessionMappingCommand.ts +++ b/clients/client-emr/commands/GetStudioSessionMappingCommand.ts @@ -33,7 +33,6 @@ export class GetStudioSessionMappingCommand extends $Command< GetStudioSessionMappingCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetStudioSessionMappingCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListBootstrapActionsCommand.ts b/clients/client-emr/commands/ListBootstrapActionsCommand.ts index 5904496de4aa4..217d59a0d47f8 100644 --- a/clients/client-emr/commands/ListBootstrapActionsCommand.ts +++ b/clients/client-emr/commands/ListBootstrapActionsCommand.ts @@ -28,7 +28,6 @@ export class ListBootstrapActionsCommand extends $Command< ListBootstrapActionsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBootstrapActionsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListClustersCommand.ts b/clients/client-emr/commands/ListClustersCommand.ts index 293f30ed1bd5e..e722e5eb0fce1 100644 --- a/clients/client-emr/commands/ListClustersCommand.ts +++ b/clients/client-emr/commands/ListClustersCommand.ts @@ -32,7 +32,6 @@ export class ListClustersCommand extends $Command< ListClustersCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListClustersCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListInstanceFleetsCommand.ts b/clients/client-emr/commands/ListInstanceFleetsCommand.ts index 6bfca039c4f80..5dc16c13bf86f 100644 --- a/clients/client-emr/commands/ListInstanceFleetsCommand.ts +++ b/clients/client-emr/commands/ListInstanceFleetsCommand.ts @@ -32,7 +32,6 @@ export class ListInstanceFleetsCommand extends $Command< ListInstanceFleetsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListInstanceFleetsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListInstanceGroupsCommand.ts b/clients/client-emr/commands/ListInstanceGroupsCommand.ts index 5f49c649c4af6..c5512d184d3b4 100644 --- a/clients/client-emr/commands/ListInstanceGroupsCommand.ts +++ b/clients/client-emr/commands/ListInstanceGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListInstanceGroupsCommand extends $Command< ListInstanceGroupsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInstanceGroupsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListInstancesCommand.ts b/clients/client-emr/commands/ListInstancesCommand.ts index 9bb025c4a2bc1..27093a1664820 100644 --- a/clients/client-emr/commands/ListInstancesCommand.ts +++ b/clients/client-emr/commands/ListInstancesCommand.ts @@ -30,7 +30,6 @@ export class ListInstancesCommand extends $Command< ListInstancesCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListInstancesCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListNotebookExecutionsCommand.ts b/clients/client-emr/commands/ListNotebookExecutionsCommand.ts index dccdb909e5663..9497f1a57b69c 100644 --- a/clients/client-emr/commands/ListNotebookExecutionsCommand.ts +++ b/clients/client-emr/commands/ListNotebookExecutionsCommand.ts @@ -31,7 +31,6 @@ export class ListNotebookExecutionsCommand extends $Command< ListNotebookExecutionsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListNotebookExecutionsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts b/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts index da365fb2b930a..9603faadf5008 100644 --- a/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts +++ b/clients/client-emr/commands/ListSecurityConfigurationsCommand.ts @@ -31,7 +31,6 @@ export class ListSecurityConfigurationsCommand extends $Command< ListSecurityConfigurationsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListSecurityConfigurationsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListStepsCommand.ts b/clients/client-emr/commands/ListStepsCommand.ts index bea5e0a9c7585..159dfff10e239 100644 --- a/clients/client-emr/commands/ListStepsCommand.ts +++ b/clients/client-emr/commands/ListStepsCommand.ts @@ -23,7 +23,6 @@ export type ListStepsCommandOutput = ListStepsOutput & __MetadataBearer; * specify a maximum of ten stepIDs.

*/ export class ListStepsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class ListStepsCommand 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-emr/commands/ListStudioSessionMappingsCommand.ts b/clients/client-emr/commands/ListStudioSessionMappingsCommand.ts index 90a5bffb2d40c..ea61821cbfeb5 100644 --- a/clients/client-emr/commands/ListStudioSessionMappingsCommand.ts +++ b/clients/client-emr/commands/ListStudioSessionMappingsCommand.ts @@ -33,7 +33,6 @@ export class ListStudioSessionMappingsCommand extends $Command< ListStudioSessionMappingsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListStudioSessionMappingsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ListStudiosCommand.ts b/clients/client-emr/commands/ListStudiosCommand.ts index c7b655e849d9c..a5b3ce9f7de9f 100644 --- a/clients/client-emr/commands/ListStudiosCommand.ts +++ b/clients/client-emr/commands/ListStudiosCommand.ts @@ -33,7 +33,6 @@ export class ListStudiosCommand extends $Command< ListStudiosCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListStudiosCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ModifyClusterCommand.ts b/clients/client-emr/commands/ModifyClusterCommand.ts index ca449f601502d..212cfa216efc5 100644 --- a/clients/client-emr/commands/ModifyClusterCommand.ts +++ b/clients/client-emr/commands/ModifyClusterCommand.ts @@ -29,7 +29,6 @@ export class ModifyClusterCommand extends $Command< ModifyClusterCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyClusterCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ModifyInstanceFleetCommand.ts b/clients/client-emr/commands/ModifyInstanceFleetCommand.ts index e7f04a85214c8..5258c0cbaa36a 100644 --- a/clients/client-emr/commands/ModifyInstanceFleetCommand.ts +++ b/clients/client-emr/commands/ModifyInstanceFleetCommand.ts @@ -34,7 +34,6 @@ export class ModifyInstanceFleetCommand extends $Command< ModifyInstanceFleetCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ModifyInstanceFleetCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts b/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts index 1fc39a6775890..b8a39c1cb5032 100644 --- a/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts +++ b/clients/client-emr/commands/ModifyInstanceGroupsCommand.ts @@ -30,7 +30,6 @@ export class ModifyInstanceGroupsCommand extends $Command< ModifyInstanceGroupsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyInstanceGroupsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts b/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts index 90442e78f1a44..73e4bebb50a32 100644 --- a/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts +++ b/clients/client-emr/commands/PutAutoScalingPolicyCommand.ts @@ -31,7 +31,6 @@ export class PutAutoScalingPolicyCommand extends $Command< PutAutoScalingPolicyCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutAutoScalingPolicyCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts b/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts index fd9ce8bf21b5d..c29a3605acf21 100644 --- a/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts +++ b/clients/client-emr/commands/PutBlockPublicAccessConfigurationCommand.ts @@ -31,7 +31,6 @@ export class PutBlockPublicAccessConfigurationCommand extends $Command< PutBlockPublicAccessConfigurationCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutBlockPublicAccessConfigurationCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/PutManagedScalingPolicyCommand.ts b/clients/client-emr/commands/PutManagedScalingPolicyCommand.ts index ed5969142071c..ba5e22fd1ba57 100644 --- a/clients/client-emr/commands/PutManagedScalingPolicyCommand.ts +++ b/clients/client-emr/commands/PutManagedScalingPolicyCommand.ts @@ -31,7 +31,6 @@ export class PutManagedScalingPolicyCommand extends $Command< PutManagedScalingPolicyCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PutManagedScalingPolicyCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts b/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts index f95edaf063124..384b6f83df067 100644 --- a/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts +++ b/clients/client-emr/commands/RemoveAutoScalingPolicyCommand.ts @@ -29,7 +29,6 @@ export class RemoveAutoScalingPolicyCommand extends $Command< RemoveAutoScalingPolicyCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemoveAutoScalingPolicyCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/RemoveManagedScalingPolicyCommand.ts b/clients/client-emr/commands/RemoveManagedScalingPolicyCommand.ts index 03566a8f7e105..172bbaf538a78 100644 --- a/clients/client-emr/commands/RemoveManagedScalingPolicyCommand.ts +++ b/clients/client-emr/commands/RemoveManagedScalingPolicyCommand.ts @@ -28,7 +28,6 @@ export class RemoveManagedScalingPolicyCommand extends $Command< RemoveManagedScalingPolicyCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveManagedScalingPolicyCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/RemoveTagsCommand.ts b/clients/client-emr/commands/RemoveTagsCommand.ts index c8bb36c7fc1d9..02cff0b5c1939 100644 --- a/clients/client-emr/commands/RemoveTagsCommand.ts +++ b/clients/client-emr/commands/RemoveTagsCommand.ts @@ -31,7 +31,6 @@ export class RemoveTagsCommand extends $Command< RemoveTagsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RemoveTagsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/RunJobFlowCommand.ts b/clients/client-emr/commands/RunJobFlowCommand.ts index e76252f6c4ac4..5a03fab12d246 100644 --- a/clients/client-emr/commands/RunJobFlowCommand.ts +++ b/clients/client-emr/commands/RunJobFlowCommand.ts @@ -50,7 +50,6 @@ export class RunJobFlowCommand extends $Command< RunJobFlowCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class RunJobFlowCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/SetTerminationProtectionCommand.ts b/clients/client-emr/commands/SetTerminationProtectionCommand.ts index 98a133afca5b8..b42f70ffe5850 100644 --- a/clients/client-emr/commands/SetTerminationProtectionCommand.ts +++ b/clients/client-emr/commands/SetTerminationProtectionCommand.ts @@ -42,7 +42,6 @@ export class SetTerminationProtectionCommand extends $Command< SetTerminationProtectionCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class SetTerminationProtectionCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts b/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts index 32a8c94967a98..7907aa73fcfbd 100644 --- a/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts +++ b/clients/client-emr/commands/SetVisibleToAllUsersCommand.ts @@ -36,7 +36,6 @@ export class SetVisibleToAllUsersCommand extends $Command< SetVisibleToAllUsersCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class SetVisibleToAllUsersCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/StartNotebookExecutionCommand.ts b/clients/client-emr/commands/StartNotebookExecutionCommand.ts index ce5d487cc3846..87d497ff526d2 100644 --- a/clients/client-emr/commands/StartNotebookExecutionCommand.ts +++ b/clients/client-emr/commands/StartNotebookExecutionCommand.ts @@ -28,7 +28,6 @@ export class StartNotebookExecutionCommand extends $Command< StartNotebookExecutionCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartNotebookExecutionCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/StopNotebookExecutionCommand.ts b/clients/client-emr/commands/StopNotebookExecutionCommand.ts index 927149ab7683e..093a6f9881c34 100644 --- a/clients/client-emr/commands/StopNotebookExecutionCommand.ts +++ b/clients/client-emr/commands/StopNotebookExecutionCommand.ts @@ -28,7 +28,6 @@ export class StopNotebookExecutionCommand extends $Command< StopNotebookExecutionCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopNotebookExecutionCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/TerminateJobFlowsCommand.ts b/clients/client-emr/commands/TerminateJobFlowsCommand.ts index 090d3fb108c3d..7cebde9158a2d 100644 --- a/clients/client-emr/commands/TerminateJobFlowsCommand.ts +++ b/clients/client-emr/commands/TerminateJobFlowsCommand.ts @@ -35,7 +35,6 @@ export class TerminateJobFlowsCommand extends $Command< TerminateJobFlowsCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class TerminateJobFlowsCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-emr/commands/UpdateStudioSessionMappingCommand.ts b/clients/client-emr/commands/UpdateStudioSessionMappingCommand.ts index 731d7754b0125..72b71c02a689b 100644 --- a/clients/client-emr/commands/UpdateStudioSessionMappingCommand.ts +++ b/clients/client-emr/commands/UpdateStudioSessionMappingCommand.ts @@ -33,7 +33,6 @@ export class UpdateStudioSessionMappingCommand extends $Command< UpdateStudioSessionMappingCommandOutput, EMRClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateStudioSessionMappingCommand extends $Command< configuration: EMRClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts b/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts index 5be4e34cc7efd..d4e6a0a571dc1 100644 --- a/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/ActivateEventSourceCommand.ts @@ -29,7 +29,6 @@ export class ActivateEventSourceCommand extends $Command< ActivateEventSourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ActivateEventSourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/CancelReplayCommand.ts b/clients/client-eventbridge/commands/CancelReplayCommand.ts index f2e3c7e5f20b6..567861ae8d9bd 100644 --- a/clients/client-eventbridge/commands/CancelReplayCommand.ts +++ b/clients/client-eventbridge/commands/CancelReplayCommand.ts @@ -28,7 +28,6 @@ export class CancelReplayCommand extends $Command< CancelReplayCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelReplayCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/CreateArchiveCommand.ts b/clients/client-eventbridge/commands/CreateArchiveCommand.ts index ad37cc7881761..1705f29ee14cd 100644 --- a/clients/client-eventbridge/commands/CreateArchiveCommand.ts +++ b/clients/client-eventbridge/commands/CreateArchiveCommand.ts @@ -30,7 +30,6 @@ export class CreateArchiveCommand extends $Command< CreateArchiveCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateArchiveCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/CreateEventBusCommand.ts b/clients/client-eventbridge/commands/CreateEventBusCommand.ts index 68a5916cf600b..73e32690c4589 100644 --- a/clients/client-eventbridge/commands/CreateEventBusCommand.ts +++ b/clients/client-eventbridge/commands/CreateEventBusCommand.ts @@ -30,7 +30,6 @@ export class CreateEventBusCommand extends $Command< CreateEventBusCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateEventBusCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts b/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts index cfcd9bffb15da..ee7f8db145028 100644 --- a/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/CreatePartnerEventSourceCommand.ts @@ -51,7 +51,6 @@ export class CreatePartnerEventSourceCommand extends $Command< CreatePartnerEventSourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class CreatePartnerEventSourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts b/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts index 6994d578dadaf..bbd48db03e105 100644 --- a/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DeactivateEventSourceCommand.ts @@ -32,7 +32,6 @@ export class DeactivateEventSourceCommand extends $Command< DeactivateEventSourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeactivateEventSourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DeleteArchiveCommand.ts b/clients/client-eventbridge/commands/DeleteArchiveCommand.ts index 0a4a072b18690..b9ac2f5978ff9 100644 --- a/clients/client-eventbridge/commands/DeleteArchiveCommand.ts +++ b/clients/client-eventbridge/commands/DeleteArchiveCommand.ts @@ -28,7 +28,6 @@ export class DeleteArchiveCommand extends $Command< DeleteArchiveCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteArchiveCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DeleteEventBusCommand.ts b/clients/client-eventbridge/commands/DeleteEventBusCommand.ts index bebe7f007f223..e74baed381fae 100644 --- a/clients/client-eventbridge/commands/DeleteEventBusCommand.ts +++ b/clients/client-eventbridge/commands/DeleteEventBusCommand.ts @@ -30,7 +30,6 @@ export class DeleteEventBusCommand extends $Command< DeleteEventBusCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEventBusCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts b/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts index 48b6fd53bcba3..cb8bd602fa1b1 100644 --- a/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DeletePartnerEventSourceCommand.ts @@ -32,7 +32,6 @@ export class DeletePartnerEventSourceCommand extends $Command< DeletePartnerEventSourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeletePartnerEventSourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DeleteRuleCommand.ts b/clients/client-eventbridge/commands/DeleteRuleCommand.ts index 3cce08754082d..be689a73b1ec3 100644 --- a/clients/client-eventbridge/commands/DeleteRuleCommand.ts +++ b/clients/client-eventbridge/commands/DeleteRuleCommand.ts @@ -37,7 +37,6 @@ export class DeleteRuleCommand extends $Command< DeleteRuleCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteRuleCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DescribeArchiveCommand.ts b/clients/client-eventbridge/commands/DescribeArchiveCommand.ts index 5727351371dee..5f54fa6d45ce7 100644 --- a/clients/client-eventbridge/commands/DescribeArchiveCommand.ts +++ b/clients/client-eventbridge/commands/DescribeArchiveCommand.ts @@ -28,7 +28,6 @@ export class DescribeArchiveCommand extends $Command< DescribeArchiveCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeArchiveCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DescribeEventBusCommand.ts b/clients/client-eventbridge/commands/DescribeEventBusCommand.ts index 0dc612602e979..e6b5da74d77a6 100644 --- a/clients/client-eventbridge/commands/DescribeEventBusCommand.ts +++ b/clients/client-eventbridge/commands/DescribeEventBusCommand.ts @@ -34,7 +34,6 @@ export class DescribeEventBusCommand extends $Command< DescribeEventBusCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeEventBusCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts b/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts index a6ecb38ea44fb..ea0b7177158e8 100644 --- a/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DescribeEventSourceCommand.ts @@ -29,7 +29,6 @@ export class DescribeEventSourceCommand extends $Command< DescribeEventSourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEventSourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts b/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts index 83f6f0f878158..6d150dcd9b5fb 100644 --- a/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts +++ b/clients/client-eventbridge/commands/DescribePartnerEventSourceCommand.ts @@ -31,7 +31,6 @@ export class DescribePartnerEventSourceCommand extends $Command< DescribePartnerEventSourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribePartnerEventSourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DescribeReplayCommand.ts b/clients/client-eventbridge/commands/DescribeReplayCommand.ts index d353d2d52322c..4eb76f462e21f 100644 --- a/clients/client-eventbridge/commands/DescribeReplayCommand.ts +++ b/clients/client-eventbridge/commands/DescribeReplayCommand.ts @@ -36,7 +36,6 @@ export class DescribeReplayCommand extends $Command< DescribeReplayCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeReplayCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DescribeRuleCommand.ts b/clients/client-eventbridge/commands/DescribeRuleCommand.ts index 3c124962a927f..3f7554c8299af 100644 --- a/clients/client-eventbridge/commands/DescribeRuleCommand.ts +++ b/clients/client-eventbridge/commands/DescribeRuleCommand.ts @@ -30,7 +30,6 @@ export class DescribeRuleCommand extends $Command< DescribeRuleCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeRuleCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/DisableRuleCommand.ts b/clients/client-eventbridge/commands/DisableRuleCommand.ts index 66994fd7d2f52..4c604396d4dad 100644 --- a/clients/client-eventbridge/commands/DisableRuleCommand.ts +++ b/clients/client-eventbridge/commands/DisableRuleCommand.ts @@ -32,7 +32,6 @@ export class DisableRuleCommand extends $Command< DisableRuleCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisableRuleCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/EnableRuleCommand.ts b/clients/client-eventbridge/commands/EnableRuleCommand.ts index dc14d1be9d255..79e507e7d12a0 100644 --- a/clients/client-eventbridge/commands/EnableRuleCommand.ts +++ b/clients/client-eventbridge/commands/EnableRuleCommand.ts @@ -32,7 +32,6 @@ export class EnableRuleCommand extends $Command< EnableRuleCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class EnableRuleCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListArchivesCommand.ts b/clients/client-eventbridge/commands/ListArchivesCommand.ts index afe351f378434..2ddc3075c61ac 100644 --- a/clients/client-eventbridge/commands/ListArchivesCommand.ts +++ b/clients/client-eventbridge/commands/ListArchivesCommand.ts @@ -29,7 +29,6 @@ export class ListArchivesCommand extends $Command< ListArchivesCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListArchivesCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListEventBusesCommand.ts b/clients/client-eventbridge/commands/ListEventBusesCommand.ts index 0d088c099dbb7..0a20b11a42d20 100644 --- a/clients/client-eventbridge/commands/ListEventBusesCommand.ts +++ b/clients/client-eventbridge/commands/ListEventBusesCommand.ts @@ -29,7 +29,6 @@ export class ListEventBusesCommand extends $Command< ListEventBusesCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventBusesCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListEventSourcesCommand.ts b/clients/client-eventbridge/commands/ListEventSourcesCommand.ts index d64900596d5ba..ee4c71e2ac19e 100644 --- a/clients/client-eventbridge/commands/ListEventSourcesCommand.ts +++ b/clients/client-eventbridge/commands/ListEventSourcesCommand.ts @@ -29,7 +29,6 @@ export class ListEventSourcesCommand extends $Command< ListEventSourcesCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventSourcesCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts b/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts index 80d4381d09f53..2c8dee33ba266 100644 --- a/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts +++ b/clients/client-eventbridge/commands/ListPartnerEventSourceAccountsCommand.ts @@ -30,7 +30,6 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< ListPartnerEventSourceAccountsCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListPartnerEventSourceAccountsCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts b/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts index 662d314a23b70..8a5f5e20ebd51 100644 --- a/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts +++ b/clients/client-eventbridge/commands/ListPartnerEventSourcesCommand.ts @@ -29,7 +29,6 @@ export class ListPartnerEventSourcesCommand extends $Command< ListPartnerEventSourcesCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPartnerEventSourcesCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListReplaysCommand.ts b/clients/client-eventbridge/commands/ListReplaysCommand.ts index 26f225137dba2..54f6e1a34b7b5 100644 --- a/clients/client-eventbridge/commands/ListReplaysCommand.ts +++ b/clients/client-eventbridge/commands/ListReplaysCommand.ts @@ -29,7 +29,6 @@ export class ListReplaysCommand extends $Command< ListReplaysCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListReplaysCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts b/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts index 71bd1556265ca..046a48f91d6ec 100644 --- a/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts +++ b/clients/client-eventbridge/commands/ListRuleNamesByTargetCommand.ts @@ -29,7 +29,6 @@ export class ListRuleNamesByTargetCommand extends $Command< ListRuleNamesByTargetCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRuleNamesByTargetCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListRulesCommand.ts b/clients/client-eventbridge/commands/ListRulesCommand.ts index d06ebe7069f58..b8baeca2f9908 100644 --- a/clients/client-eventbridge/commands/ListRulesCommand.ts +++ b/clients/client-eventbridge/commands/ListRulesCommand.ts @@ -29,7 +29,6 @@ export class ListRulesCommand extends $Command< ListRulesCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRulesCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts b/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts index 6f0a6c45ca067..28bd8f4e169ea 100644 --- a/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts +++ b/clients/client-eventbridge/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts b/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts index 8f05cad1e1c47..d632666793f94 100644 --- a/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts +++ b/clients/client-eventbridge/commands/ListTargetsByRuleCommand.ts @@ -28,7 +28,6 @@ export class ListTargetsByRuleCommand extends $Command< ListTargetsByRuleCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTargetsByRuleCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/PutEventsCommand.ts b/clients/client-eventbridge/commands/PutEventsCommand.ts index 0da6683f3d3f1..a89ebe3d32133 100644 --- a/clients/client-eventbridge/commands/PutEventsCommand.ts +++ b/clients/client-eventbridge/commands/PutEventsCommand.ts @@ -26,7 +26,6 @@ export class PutEventsCommand extends $Command< PutEventsCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class PutEventsCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts b/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts index 020857eb89170..0fabffb75c536 100644 --- a/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts +++ b/clients/client-eventbridge/commands/PutPartnerEventsCommand.ts @@ -29,7 +29,6 @@ export class PutPartnerEventsCommand extends $Command< PutPartnerEventsCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutPartnerEventsCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/PutPermissionCommand.ts b/clients/client-eventbridge/commands/PutPermissionCommand.ts index 3c25a81ea4abb..f6f9965632107 100644 --- a/clients/client-eventbridge/commands/PutPermissionCommand.ts +++ b/clients/client-eventbridge/commands/PutPermissionCommand.ts @@ -49,7 +49,6 @@ export class PutPermissionCommand extends $Command< PutPermissionCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class PutPermissionCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/PutRuleCommand.ts b/clients/client-eventbridge/commands/PutRuleCommand.ts index 906b9b5336c7e..65b0731d0f46a 100644 --- a/clients/client-eventbridge/commands/PutRuleCommand.ts +++ b/clients/client-eventbridge/commands/PutRuleCommand.ts @@ -74,7 +74,6 @@ export class PutRuleCommand extends $Command< PutRuleCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class PutRuleCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/PutTargetsCommand.ts b/clients/client-eventbridge/commands/PutTargetsCommand.ts index f77077f92a0b0..9a2dc21d0ea71 100644 --- a/clients/client-eventbridge/commands/PutTargetsCommand.ts +++ b/clients/client-eventbridge/commands/PutTargetsCommand.ts @@ -173,7 +173,6 @@ export class PutTargetsCommand extends $Command< PutTargetsCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -191,10 +190,7 @@ export class PutTargetsCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/RemovePermissionCommand.ts b/clients/client-eventbridge/commands/RemovePermissionCommand.ts index 9bd4ee259d9ef..92c01444ee7eb 100644 --- a/clients/client-eventbridge/commands/RemovePermissionCommand.ts +++ b/clients/client-eventbridge/commands/RemovePermissionCommand.ts @@ -31,7 +31,6 @@ export class RemovePermissionCommand extends $Command< RemovePermissionCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RemovePermissionCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/RemoveTargetsCommand.ts b/clients/client-eventbridge/commands/RemoveTargetsCommand.ts index fdae724c0bcce..4ee37b4f04181 100644 --- a/clients/client-eventbridge/commands/RemoveTargetsCommand.ts +++ b/clients/client-eventbridge/commands/RemoveTargetsCommand.ts @@ -38,7 +38,6 @@ export class RemoveTargetsCommand extends $Command< RemoveTargetsCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class RemoveTargetsCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/StartReplayCommand.ts b/clients/client-eventbridge/commands/StartReplayCommand.ts index b30886201b5b1..a4214e4284160 100644 --- a/clients/client-eventbridge/commands/StartReplayCommand.ts +++ b/clients/client-eventbridge/commands/StartReplayCommand.ts @@ -36,7 +36,6 @@ export class StartReplayCommand extends $Command< StartReplayCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartReplayCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/TagResourceCommand.ts b/clients/client-eventbridge/commands/TagResourceCommand.ts index a79e1fb281746..2d474c8c1f4f7 100644 --- a/clients/client-eventbridge/commands/TagResourceCommand.ts +++ b/clients/client-eventbridge/commands/TagResourceCommand.ts @@ -38,7 +38,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class TagResourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/TestEventPatternCommand.ts b/clients/client-eventbridge/commands/TestEventPatternCommand.ts index ae72248fd6126..6943ac944477e 100644 --- a/clients/client-eventbridge/commands/TestEventPatternCommand.ts +++ b/clients/client-eventbridge/commands/TestEventPatternCommand.ts @@ -32,7 +32,6 @@ export class TestEventPatternCommand extends $Command< TestEventPatternCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TestEventPatternCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/UntagResourceCommand.ts b/clients/client-eventbridge/commands/UntagResourceCommand.ts index aca74e1a21f67..737f37b4e16f2 100644 --- a/clients/client-eventbridge/commands/UntagResourceCommand.ts +++ b/clients/client-eventbridge/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-eventbridge/commands/UpdateArchiveCommand.ts b/clients/client-eventbridge/commands/UpdateArchiveCommand.ts index d120328827265..7470406b6ac20 100644 --- a/clients/client-eventbridge/commands/UpdateArchiveCommand.ts +++ b/clients/client-eventbridge/commands/UpdateArchiveCommand.ts @@ -28,7 +28,6 @@ export class UpdateArchiveCommand extends $Command< UpdateArchiveCommandOutput, EventBridgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateArchiveCommand extends $Command< configuration: EventBridgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts b/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts index 0bd84922ac754..ceed34e9ddeb7 100644 --- a/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/CreateDeliveryStreamCommand.ts @@ -96,7 +96,6 @@ export class CreateDeliveryStreamCommand extends $Command< CreateDeliveryStreamCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -114,10 +113,7 @@ export class CreateDeliveryStreamCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts b/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts index 42be5a4d49faf..074d5d3a26059 100644 --- a/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/DeleteDeliveryStreamCommand.ts @@ -37,7 +37,6 @@ export class DeleteDeliveryStreamCommand extends $Command< DeleteDeliveryStreamCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteDeliveryStreamCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts b/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts index 20fb63fbd5943..1cab14f0725b4 100644 --- a/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/DescribeDeliveryStreamCommand.ts @@ -34,7 +34,6 @@ export class DescribeDeliveryStreamCommand extends $Command< DescribeDeliveryStreamCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeDeliveryStreamCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts b/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts index 56c1bbaac40ca..3475d4f721f8e 100644 --- a/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts +++ b/clients/client-firehose/commands/ListDeliveryStreamsCommand.ts @@ -35,7 +35,6 @@ export class ListDeliveryStreamsCommand extends $Command< ListDeliveryStreamsCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListDeliveryStreamsCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts b/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts index a40374111bedf..49555da859017 100644 --- a/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/ListTagsForDeliveryStreamCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForDeliveryStreamCommand extends $Command< ListTagsForDeliveryStreamCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForDeliveryStreamCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/PutRecordBatchCommand.ts b/clients/client-firehose/commands/PutRecordBatchCommand.ts index 4a71ba78f3484..224219260cf00 100644 --- a/clients/client-firehose/commands/PutRecordBatchCommand.ts +++ b/clients/client-firehose/commands/PutRecordBatchCommand.ts @@ -78,7 +78,6 @@ export class PutRecordBatchCommand extends $Command< PutRecordBatchCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -96,10 +95,7 @@ export class PutRecordBatchCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/PutRecordCommand.ts b/clients/client-firehose/commands/PutRecordCommand.ts index 1cdb3233ff539..49f08c67309dc 100644 --- a/clients/client-firehose/commands/PutRecordCommand.ts +++ b/clients/client-firehose/commands/PutRecordCommand.ts @@ -56,7 +56,6 @@ export class PutRecordCommand extends $Command< PutRecordCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class PutRecordCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts b/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts index e67302ec42199..d8c79e6e59130 100644 --- a/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts +++ b/clients/client-firehose/commands/StartDeliveryStreamEncryptionCommand.ts @@ -63,7 +63,6 @@ export class StartDeliveryStreamEncryptionCommand extends $Command< StartDeliveryStreamEncryptionCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class StartDeliveryStreamEncryptionCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts b/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts index 4e1bc261c0659..0fce9bf4d4ca6 100644 --- a/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts +++ b/clients/client-firehose/commands/StopDeliveryStreamEncryptionCommand.ts @@ -47,7 +47,6 @@ export class StopDeliveryStreamEncryptionCommand extends $Command< StopDeliveryStreamEncryptionCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class StopDeliveryStreamEncryptionCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/TagDeliveryStreamCommand.ts b/clients/client-firehose/commands/TagDeliveryStreamCommand.ts index 19d1700a173b8..8719cb4a1011b 100644 --- a/clients/client-firehose/commands/TagDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/TagDeliveryStreamCommand.ts @@ -36,7 +36,6 @@ export class TagDeliveryStreamCommand extends $Command< TagDeliveryStreamCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class TagDeliveryStreamCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts b/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts index 52388543ef9e3..c3a28915b0576 100644 --- a/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts +++ b/clients/client-firehose/commands/UntagDeliveryStreamCommand.ts @@ -31,7 +31,6 @@ export class UntagDeliveryStreamCommand extends $Command< UntagDeliveryStreamCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UntagDeliveryStreamCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-firehose/commands/UpdateDestinationCommand.ts b/clients/client-firehose/commands/UpdateDestinationCommand.ts index c8aa10e61ecce..0ca899c306589 100644 --- a/clients/client-firehose/commands/UpdateDestinationCommand.ts +++ b/clients/client-firehose/commands/UpdateDestinationCommand.ts @@ -51,7 +51,6 @@ export class UpdateDestinationCommand extends $Command< UpdateDestinationCommandOutput, FirehoseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class UpdateDestinationCommand extends $Command< configuration: FirehoseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/AssociateAdminAccountCommand.ts b/clients/client-fms/commands/AssociateAdminAccountCommand.ts index 3c72c67e94989..5af9419f4f6f0 100644 --- a/clients/client-fms/commands/AssociateAdminAccountCommand.ts +++ b/clients/client-fms/commands/AssociateAdminAccountCommand.ts @@ -34,7 +34,6 @@ export class AssociateAdminAccountCommand extends $Command< AssociateAdminAccountCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AssociateAdminAccountCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/DeleteAppsListCommand.ts b/clients/client-fms/commands/DeleteAppsListCommand.ts index b0d46dc189735..2b3933df06764 100644 --- a/clients/client-fms/commands/DeleteAppsListCommand.ts +++ b/clients/client-fms/commands/DeleteAppsListCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppsListCommand extends $Command< DeleteAppsListCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppsListCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/DeleteNotificationChannelCommand.ts b/clients/client-fms/commands/DeleteNotificationChannelCommand.ts index 80f2b76682cd5..0b63935735e99 100644 --- a/clients/client-fms/commands/DeleteNotificationChannelCommand.ts +++ b/clients/client-fms/commands/DeleteNotificationChannelCommand.ts @@ -29,7 +29,6 @@ export class DeleteNotificationChannelCommand extends $Command< DeleteNotificationChannelCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteNotificationChannelCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/DeletePolicyCommand.ts b/clients/client-fms/commands/DeletePolicyCommand.ts index 55a3297728f54..fdbfef37e8f99 100644 --- a/clients/client-fms/commands/DeletePolicyCommand.ts +++ b/clients/client-fms/commands/DeletePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeletePolicyCommand extends $Command< DeletePolicyCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePolicyCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/DeleteProtocolsListCommand.ts b/clients/client-fms/commands/DeleteProtocolsListCommand.ts index 61eb94700e7c9..715f457f89204 100644 --- a/clients/client-fms/commands/DeleteProtocolsListCommand.ts +++ b/clients/client-fms/commands/DeleteProtocolsListCommand.ts @@ -28,7 +28,6 @@ export class DeleteProtocolsListCommand extends $Command< DeleteProtocolsListCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProtocolsListCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/DisassociateAdminAccountCommand.ts b/clients/client-fms/commands/DisassociateAdminAccountCommand.ts index a9fa15863bc2f..8819fee5dcff9 100644 --- a/clients/client-fms/commands/DisassociateAdminAccountCommand.ts +++ b/clients/client-fms/commands/DisassociateAdminAccountCommand.ts @@ -30,7 +30,6 @@ export class DisassociateAdminAccountCommand extends $Command< DisassociateAdminAccountCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociateAdminAccountCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetAdminAccountCommand.ts b/clients/client-fms/commands/GetAdminAccountCommand.ts index 7d773f8925019..57d7ffd7806d2 100644 --- a/clients/client-fms/commands/GetAdminAccountCommand.ts +++ b/clients/client-fms/commands/GetAdminAccountCommand.ts @@ -29,7 +29,6 @@ export class GetAdminAccountCommand extends $Command< GetAdminAccountCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAdminAccountCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetAppsListCommand.ts b/clients/client-fms/commands/GetAppsListCommand.ts index 176e7da2b4a7d..222b2b0aa6623 100644 --- a/clients/client-fms/commands/GetAppsListCommand.ts +++ b/clients/client-fms/commands/GetAppsListCommand.ts @@ -28,7 +28,6 @@ export class GetAppsListCommand extends $Command< GetAppsListCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAppsListCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetComplianceDetailCommand.ts b/clients/client-fms/commands/GetComplianceDetailCommand.ts index 75e5535045ba5..5b2f02c781d78 100644 --- a/clients/client-fms/commands/GetComplianceDetailCommand.ts +++ b/clients/client-fms/commands/GetComplianceDetailCommand.ts @@ -36,7 +36,6 @@ export class GetComplianceDetailCommand extends $Command< GetComplianceDetailCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetComplianceDetailCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetNotificationChannelCommand.ts b/clients/client-fms/commands/GetNotificationChannelCommand.ts index 2fa37f0d828c5..0f56ae22feb6e 100644 --- a/clients/client-fms/commands/GetNotificationChannelCommand.ts +++ b/clients/client-fms/commands/GetNotificationChannelCommand.ts @@ -30,7 +30,6 @@ export class GetNotificationChannelCommand extends $Command< GetNotificationChannelCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetNotificationChannelCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetPolicyCommand.ts b/clients/client-fms/commands/GetPolicyCommand.ts index b51ca6e638356..31b092fc48497 100644 --- a/clients/client-fms/commands/GetPolicyCommand.ts +++ b/clients/client-fms/commands/GetPolicyCommand.ts @@ -21,7 +21,6 @@ export type GetPolicyCommandOutput = GetPolicyResponse & __MetadataBearer; *

Returns information about the specified AWS Firewall Manager policy.

*/ export class GetPolicyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetPolicyCommand 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-fms/commands/GetProtectionStatusCommand.ts b/clients/client-fms/commands/GetProtectionStatusCommand.ts index e93b7c598ef3c..1ecba3ec4045a 100644 --- a/clients/client-fms/commands/GetProtectionStatusCommand.ts +++ b/clients/client-fms/commands/GetProtectionStatusCommand.ts @@ -29,7 +29,6 @@ export class GetProtectionStatusCommand extends $Command< GetProtectionStatusCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetProtectionStatusCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetProtocolsListCommand.ts b/clients/client-fms/commands/GetProtocolsListCommand.ts index d3f2d2e1ff1f4..03964db93f0db 100644 --- a/clients/client-fms/commands/GetProtocolsListCommand.ts +++ b/clients/client-fms/commands/GetProtocolsListCommand.ts @@ -28,7 +28,6 @@ export class GetProtocolsListCommand extends $Command< GetProtocolsListCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProtocolsListCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/GetViolationDetailsCommand.ts b/clients/client-fms/commands/GetViolationDetailsCommand.ts index bfdfac619ed55..46c664bf89fec 100644 --- a/clients/client-fms/commands/GetViolationDetailsCommand.ts +++ b/clients/client-fms/commands/GetViolationDetailsCommand.ts @@ -28,7 +28,6 @@ export class GetViolationDetailsCommand extends $Command< GetViolationDetailsCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetViolationDetailsCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/ListAppsListsCommand.ts b/clients/client-fms/commands/ListAppsListsCommand.ts index 9c8d847886ce4..d783cfd20c1d3 100644 --- a/clients/client-fms/commands/ListAppsListsCommand.ts +++ b/clients/client-fms/commands/ListAppsListsCommand.ts @@ -28,7 +28,6 @@ export class ListAppsListsCommand extends $Command< ListAppsListsCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAppsListsCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/ListComplianceStatusCommand.ts b/clients/client-fms/commands/ListComplianceStatusCommand.ts index b3886f57ed704..0f72401331451 100644 --- a/clients/client-fms/commands/ListComplianceStatusCommand.ts +++ b/clients/client-fms/commands/ListComplianceStatusCommand.ts @@ -30,7 +30,6 @@ export class ListComplianceStatusCommand extends $Command< ListComplianceStatusCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListComplianceStatusCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/ListMemberAccountsCommand.ts b/clients/client-fms/commands/ListMemberAccountsCommand.ts index 47fb9f111c9a6..e7f562139d81b 100644 --- a/clients/client-fms/commands/ListMemberAccountsCommand.ts +++ b/clients/client-fms/commands/ListMemberAccountsCommand.ts @@ -31,7 +31,6 @@ export class ListMemberAccountsCommand extends $Command< ListMemberAccountsCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListMemberAccountsCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/ListPoliciesCommand.ts b/clients/client-fms/commands/ListPoliciesCommand.ts index 89ff640099df7..7464a7a6adf7e 100644 --- a/clients/client-fms/commands/ListPoliciesCommand.ts +++ b/clients/client-fms/commands/ListPoliciesCommand.ts @@ -28,7 +28,6 @@ export class ListPoliciesCommand extends $Command< ListPoliciesCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPoliciesCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/ListProtocolsListsCommand.ts b/clients/client-fms/commands/ListProtocolsListsCommand.ts index f25939c08803e..af0d2223bdaaf 100644 --- a/clients/client-fms/commands/ListProtocolsListsCommand.ts +++ b/clients/client-fms/commands/ListProtocolsListsCommand.ts @@ -28,7 +28,6 @@ export class ListProtocolsListsCommand extends $Command< ListProtocolsListsCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProtocolsListsCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/ListTagsForResourceCommand.ts b/clients/client-fms/commands/ListTagsForResourceCommand.ts index e9a2c9cb42b6f..63e32afb41bdc 100644 --- a/clients/client-fms/commands/ListTagsForResourceCommand.ts +++ b/clients/client-fms/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/PutAppsListCommand.ts b/clients/client-fms/commands/PutAppsListCommand.ts index d59b89436f3aa..a23e0b2a6363a 100644 --- a/clients/client-fms/commands/PutAppsListCommand.ts +++ b/clients/client-fms/commands/PutAppsListCommand.ts @@ -28,7 +28,6 @@ export class PutAppsListCommand extends $Command< PutAppsListCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAppsListCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/PutNotificationChannelCommand.ts b/clients/client-fms/commands/PutNotificationChannelCommand.ts index ae7bae790a042..cfb9120a10229 100644 --- a/clients/client-fms/commands/PutNotificationChannelCommand.ts +++ b/clients/client-fms/commands/PutNotificationChannelCommand.ts @@ -32,7 +32,6 @@ export class PutNotificationChannelCommand extends $Command< PutNotificationChannelCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutNotificationChannelCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/PutPolicyCommand.ts b/clients/client-fms/commands/PutPolicyCommand.ts index f7c7017f39e36..2f8425603972a 100644 --- a/clients/client-fms/commands/PutPolicyCommand.ts +++ b/clients/client-fms/commands/PutPolicyCommand.ts @@ -49,7 +49,6 @@ export type PutPolicyCommandOutput = PutPolicyResponse & __MetadataBearer; * CreateSubscription.

*/ export class PutPolicyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class PutPolicyCommand 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-fms/commands/PutProtocolsListCommand.ts b/clients/client-fms/commands/PutProtocolsListCommand.ts index e64c8a7177561..c6f7d570ceb73 100644 --- a/clients/client-fms/commands/PutProtocolsListCommand.ts +++ b/clients/client-fms/commands/PutProtocolsListCommand.ts @@ -28,7 +28,6 @@ export class PutProtocolsListCommand extends $Command< PutProtocolsListCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutProtocolsListCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/TagResourceCommand.ts b/clients/client-fms/commands/TagResourceCommand.ts index 74c70338334c4..de3219a981e3a 100644 --- a/clients/client-fms/commands/TagResourceCommand.ts +++ b/clients/client-fms/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fms/commands/UntagResourceCommand.ts b/clients/client-fms/commands/UntagResourceCommand.ts index bdd9696299ac0..0e5cfdea41017 100644 --- a/clients/client-fms/commands/UntagResourceCommand.ts +++ b/clients/client-fms/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, FMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreateDatasetCommand.ts b/clients/client-forecast/commands/CreateDatasetCommand.ts index b8d318773bc51..1c4e4b2e3d525 100644 --- a/clients/client-forecast/commands/CreateDatasetCommand.ts +++ b/clients/client-forecast/commands/CreateDatasetCommand.ts @@ -69,7 +69,6 @@ export class CreateDatasetCommand extends $Command< CreateDatasetCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class CreateDatasetCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreateDatasetGroupCommand.ts b/clients/client-forecast/commands/CreateDatasetGroupCommand.ts index 25e05859b7246..748f8783a2aa7 100644 --- a/clients/client-forecast/commands/CreateDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/CreateDatasetGroupCommand.ts @@ -37,7 +37,6 @@ export class CreateDatasetGroupCommand extends $Command< CreateDatasetGroupCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateDatasetGroupCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts b/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts index 5f217fd77fc01..2c44dc41cb17f 100644 --- a/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts +++ b/clients/client-forecast/commands/CreateDatasetImportJobCommand.ts @@ -47,7 +47,6 @@ export class CreateDatasetImportJobCommand extends $Command< CreateDatasetImportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateDatasetImportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreateForecastCommand.ts b/clients/client-forecast/commands/CreateForecastCommand.ts index cec5d1bea2e80..fc36386645ec2 100644 --- a/clients/client-forecast/commands/CreateForecastCommand.ts +++ b/clients/client-forecast/commands/CreateForecastCommand.ts @@ -46,7 +46,6 @@ export class CreateForecastCommand extends $Command< CreateForecastCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreateForecastCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreateForecastExportJobCommand.ts b/clients/client-forecast/commands/CreateForecastExportJobCommand.ts index b0a1b26c6bc4e..9b2f970ebfb52 100644 --- a/clients/client-forecast/commands/CreateForecastExportJobCommand.ts +++ b/clients/client-forecast/commands/CreateForecastExportJobCommand.ts @@ -41,7 +41,6 @@ export class CreateForecastExportJobCommand extends $Command< CreateForecastExportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateForecastExportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreatePredictorBacktestExportJobCommand.ts b/clients/client-forecast/commands/CreatePredictorBacktestExportJobCommand.ts index 0b702b2a438bd..8b8865f27c2b6 100644 --- a/clients/client-forecast/commands/CreatePredictorBacktestExportJobCommand.ts +++ b/clients/client-forecast/commands/CreatePredictorBacktestExportJobCommand.ts @@ -32,7 +32,6 @@ export class CreatePredictorBacktestExportJobCommand extends $Command< CreatePredictorBacktestExportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreatePredictorBacktestExportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/CreatePredictorCommand.ts b/clients/client-forecast/commands/CreatePredictorCommand.ts index 6c3529120f804..7d60f55e67c13 100644 --- a/clients/client-forecast/commands/CreatePredictorCommand.ts +++ b/clients/client-forecast/commands/CreatePredictorCommand.ts @@ -89,7 +89,6 @@ export class CreatePredictorCommand extends $Command< CreatePredictorCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -107,10 +106,7 @@ export class CreatePredictorCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeleteDatasetCommand.ts b/clients/client-forecast/commands/DeleteDatasetCommand.ts index 00d99435cb292..65bd35f2cc835 100644 --- a/clients/client-forecast/commands/DeleteDatasetCommand.ts +++ b/clients/client-forecast/commands/DeleteDatasetCommand.ts @@ -36,7 +36,6 @@ export class DeleteDatasetCommand extends $Command< DeleteDatasetCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteDatasetCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts b/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts index a0930a319310c..d50b41075beaf 100644 --- a/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/DeleteDatasetGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteDatasetGroupCommand extends $Command< DeleteDatasetGroupCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDatasetGroupCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts b/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts index 7bb6a5ac7994e..8b847b37b2400 100644 --- a/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts +++ b/clients/client-forecast/commands/DeleteDatasetImportJobCommand.ts @@ -30,7 +30,6 @@ export class DeleteDatasetImportJobCommand extends $Command< DeleteDatasetImportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDatasetImportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeleteForecastCommand.ts b/clients/client-forecast/commands/DeleteForecastCommand.ts index 98adf1f8bd044..54ce5b4240e2b 100644 --- a/clients/client-forecast/commands/DeleteForecastCommand.ts +++ b/clients/client-forecast/commands/DeleteForecastCommand.ts @@ -32,7 +32,6 @@ export class DeleteForecastCommand extends $Command< DeleteForecastCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteForecastCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts b/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts index e816e4d8ef71c..2b6b01a4a4458 100644 --- a/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts +++ b/clients/client-forecast/commands/DeleteForecastExportJobCommand.ts @@ -30,7 +30,6 @@ export class DeleteForecastExportJobCommand extends $Command< DeleteForecastExportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteForecastExportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeletePredictorBacktestExportJobCommand.ts b/clients/client-forecast/commands/DeletePredictorBacktestExportJobCommand.ts index ac5355f05e732..64d83cec072b4 100644 --- a/clients/client-forecast/commands/DeletePredictorBacktestExportJobCommand.ts +++ b/clients/client-forecast/commands/DeletePredictorBacktestExportJobCommand.ts @@ -28,7 +28,6 @@ export class DeletePredictorBacktestExportJobCommand extends $Command< DeletePredictorBacktestExportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePredictorBacktestExportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DeletePredictorCommand.ts b/clients/client-forecast/commands/DeletePredictorCommand.ts index 8b7fcd3108b46..e9df7385efbac 100644 --- a/clients/client-forecast/commands/DeletePredictorCommand.ts +++ b/clients/client-forecast/commands/DeletePredictorCommand.ts @@ -30,7 +30,6 @@ export class DeletePredictorCommand extends $Command< DeletePredictorCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeletePredictorCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribeDatasetCommand.ts b/clients/client-forecast/commands/DescribeDatasetCommand.ts index 8d4591ca8d4bc..3b38da11c9cf2 100644 --- a/clients/client-forecast/commands/DescribeDatasetCommand.ts +++ b/clients/client-forecast/commands/DescribeDatasetCommand.ts @@ -48,7 +48,6 @@ export class DescribeDatasetCommand extends $Command< DescribeDatasetCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DescribeDatasetCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts b/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts index 21ed905aea65f..e09976a9251cb 100644 --- a/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/DescribeDatasetGroupCommand.ts @@ -52,7 +52,6 @@ export class DescribeDatasetGroupCommand extends $Command< DescribeDatasetGroupCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DescribeDatasetGroupCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts b/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts index c4bbc4a3e91f4..d2c2936d94154 100644 --- a/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts +++ b/clients/client-forecast/commands/DescribeDatasetImportJobCommand.ts @@ -62,7 +62,6 @@ export class DescribeDatasetImportJobCommand extends $Command< DescribeDatasetImportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DescribeDatasetImportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribeForecastCommand.ts b/clients/client-forecast/commands/DescribeForecastCommand.ts index 864bf0cbca7a8..c3db02e941373 100644 --- a/clients/client-forecast/commands/DescribeForecastCommand.ts +++ b/clients/client-forecast/commands/DescribeForecastCommand.ts @@ -56,7 +56,6 @@ export class DescribeForecastCommand extends $Command< DescribeForecastCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class DescribeForecastCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts b/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts index d6295b8998d83..102ff476681ec 100644 --- a/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts +++ b/clients/client-forecast/commands/DescribeForecastExportJobCommand.ts @@ -52,7 +52,6 @@ export class DescribeForecastExportJobCommand extends $Command< DescribeForecastExportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DescribeForecastExportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribePredictorBacktestExportJobCommand.ts b/clients/client-forecast/commands/DescribePredictorBacktestExportJobCommand.ts index de30b40b2def2..834666a31c62e 100644 --- a/clients/client-forecast/commands/DescribePredictorBacktestExportJobCommand.ts +++ b/clients/client-forecast/commands/DescribePredictorBacktestExportJobCommand.ts @@ -56,7 +56,6 @@ export class DescribePredictorBacktestExportJobCommand extends $Command< DescribePredictorBacktestExportJobCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class DescribePredictorBacktestExportJobCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/DescribePredictorCommand.ts b/clients/client-forecast/commands/DescribePredictorCommand.ts index fcfaa0290684d..95e2e29a6d984 100644 --- a/clients/client-forecast/commands/DescribePredictorCommand.ts +++ b/clients/client-forecast/commands/DescribePredictorCommand.ts @@ -62,7 +62,6 @@ export class DescribePredictorCommand extends $Command< DescribePredictorCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DescribePredictorCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts b/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts index 78e93b6c1af8e..c14be8c935471 100644 --- a/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts +++ b/clients/client-forecast/commands/GetAccuracyMetricsCommand.ts @@ -47,7 +47,6 @@ export class GetAccuracyMetricsCommand extends $Command< GetAccuracyMetricsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class GetAccuracyMetricsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListDatasetGroupsCommand.ts b/clients/client-forecast/commands/ListDatasetGroupsCommand.ts index eb7333308c16a..3b5452b253fc3 100644 --- a/clients/client-forecast/commands/ListDatasetGroupsCommand.ts +++ b/clients/client-forecast/commands/ListDatasetGroupsCommand.ts @@ -31,7 +31,6 @@ export class ListDatasetGroupsCommand extends $Command< ListDatasetGroupsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListDatasetGroupsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts b/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts index abdea8d450151..d0f7f0619d7ca 100644 --- a/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts +++ b/clients/client-forecast/commands/ListDatasetImportJobsCommand.ts @@ -31,7 +31,6 @@ export class ListDatasetImportJobsCommand extends $Command< ListDatasetImportJobsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListDatasetImportJobsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListDatasetsCommand.ts b/clients/client-forecast/commands/ListDatasetsCommand.ts index 9ec10960c0f51..2cb282b74fe4c 100644 --- a/clients/client-forecast/commands/ListDatasetsCommand.ts +++ b/clients/client-forecast/commands/ListDatasetsCommand.ts @@ -30,7 +30,6 @@ export class ListDatasetsCommand extends $Command< ListDatasetsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDatasetsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListForecastExportJobsCommand.ts b/clients/client-forecast/commands/ListForecastExportJobsCommand.ts index bd9ceff3e415d..b59eadd72d127 100644 --- a/clients/client-forecast/commands/ListForecastExportJobsCommand.ts +++ b/clients/client-forecast/commands/ListForecastExportJobsCommand.ts @@ -31,7 +31,6 @@ export class ListForecastExportJobsCommand extends $Command< ListForecastExportJobsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListForecastExportJobsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListForecastsCommand.ts b/clients/client-forecast/commands/ListForecastsCommand.ts index 37a6f47fe1012..b6ee75250b387 100644 --- a/clients/client-forecast/commands/ListForecastsCommand.ts +++ b/clients/client-forecast/commands/ListForecastsCommand.ts @@ -32,7 +32,6 @@ export class ListForecastsCommand extends $Command< ListForecastsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListForecastsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListPredictorBacktestExportJobsCommand.ts b/clients/client-forecast/commands/ListPredictorBacktestExportJobsCommand.ts index 36f58da7c6270..2d38876c74e83 100644 --- a/clients/client-forecast/commands/ListPredictorBacktestExportJobsCommand.ts +++ b/clients/client-forecast/commands/ListPredictorBacktestExportJobsCommand.ts @@ -31,7 +31,6 @@ export class ListPredictorBacktestExportJobsCommand extends $Command< ListPredictorBacktestExportJobsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListPredictorBacktestExportJobsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListPredictorsCommand.ts b/clients/client-forecast/commands/ListPredictorsCommand.ts index 2cdf04f8a75c8..672dbeddb847c 100644 --- a/clients/client-forecast/commands/ListPredictorsCommand.ts +++ b/clients/client-forecast/commands/ListPredictorsCommand.ts @@ -32,7 +32,6 @@ export class ListPredictorsCommand extends $Command< ListPredictorsCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPredictorsCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/ListTagsForResourceCommand.ts b/clients/client-forecast/commands/ListTagsForResourceCommand.ts index 014c03bce89a8..58c1f0033dc45 100644 --- a/clients/client-forecast/commands/ListTagsForResourceCommand.ts +++ b/clients/client-forecast/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/TagResourceCommand.ts b/clients/client-forecast/commands/TagResourceCommand.ts index 096774ae15f69..e273ed0abe735 100644 --- a/clients/client-forecast/commands/TagResourceCommand.ts +++ b/clients/client-forecast/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/UntagResourceCommand.ts b/clients/client-forecast/commands/UntagResourceCommand.ts index 6749c96448c1e..86f7ea1cdf7ec 100644 --- a/clients/client-forecast/commands/UntagResourceCommand.ts +++ b/clients/client-forecast/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts b/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts index 2b65951afcc19..1de6edd6181dd 100644 --- a/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts +++ b/clients/client-forecast/commands/UpdateDatasetGroupCommand.ts @@ -33,7 +33,6 @@ export class UpdateDatasetGroupCommand extends $Command< UpdateDatasetGroupCommandOutput, ForecastClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateDatasetGroupCommand extends $Command< configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-forecastquery/commands/QueryForecastCommand.ts b/clients/client-forecastquery/commands/QueryForecastCommand.ts index 025f0ee33d6f5..fe61609013cbf 100644 --- a/clients/client-forecastquery/commands/QueryForecastCommand.ts +++ b/clients/client-forecastquery/commands/QueryForecastCommand.ts @@ -39,7 +39,6 @@ export class QueryForecastCommand extends $Command< QueryForecastCommandOutput, ForecastqueryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class QueryForecastCommand extends $Command< configuration: ForecastqueryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts b/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts index 036655e742ae5..92f2e6609b6c1 100644 --- a/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts +++ b/clients/client-frauddetector/commands/BatchCreateVariableCommand.ts @@ -28,7 +28,6 @@ export class BatchCreateVariableCommand extends $Command< BatchCreateVariableCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchCreateVariableCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/BatchGetVariableCommand.ts b/clients/client-frauddetector/commands/BatchGetVariableCommand.ts index d21df58303138..802a85e0cca31 100644 --- a/clients/client-frauddetector/commands/BatchGetVariableCommand.ts +++ b/clients/client-frauddetector/commands/BatchGetVariableCommand.ts @@ -28,7 +28,6 @@ export class BatchGetVariableCommand extends $Command< BatchGetVariableCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetVariableCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts b/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts index e39a8a7b4c447..221639c868bec 100644 --- a/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/CreateDetectorVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateDetectorVersionCommand extends $Command< CreateDetectorVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDetectorVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/CreateModelCommand.ts b/clients/client-frauddetector/commands/CreateModelCommand.ts index fa09ee9b8923f..ecd57109149fa 100644 --- a/clients/client-frauddetector/commands/CreateModelCommand.ts +++ b/clients/client-frauddetector/commands/CreateModelCommand.ts @@ -28,7 +28,6 @@ export class CreateModelCommand extends $Command< CreateModelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateModelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/CreateModelVersionCommand.ts b/clients/client-frauddetector/commands/CreateModelVersionCommand.ts index 067f128bd8a42..1ebfceadbba27 100644 --- a/clients/client-frauddetector/commands/CreateModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/CreateModelVersionCommand.ts @@ -29,7 +29,6 @@ export class CreateModelVersionCommand extends $Command< CreateModelVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateModelVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/CreateRuleCommand.ts b/clients/client-frauddetector/commands/CreateRuleCommand.ts index 1d86109086a94..98ffd6cc404e7 100644 --- a/clients/client-frauddetector/commands/CreateRuleCommand.ts +++ b/clients/client-frauddetector/commands/CreateRuleCommand.ts @@ -28,7 +28,6 @@ export class CreateRuleCommand extends $Command< CreateRuleCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRuleCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/CreateVariableCommand.ts b/clients/client-frauddetector/commands/CreateVariableCommand.ts index 9da677eda3059..7926a5ffb16a3 100644 --- a/clients/client-frauddetector/commands/CreateVariableCommand.ts +++ b/clients/client-frauddetector/commands/CreateVariableCommand.ts @@ -28,7 +28,6 @@ export class CreateVariableCommand extends $Command< CreateVariableCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateVariableCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteDetectorCommand.ts b/clients/client-frauddetector/commands/DeleteDetectorCommand.ts index 8b32ec889bb66..da75fdf50937b 100644 --- a/clients/client-frauddetector/commands/DeleteDetectorCommand.ts +++ b/clients/client-frauddetector/commands/DeleteDetectorCommand.ts @@ -29,7 +29,6 @@ export class DeleteDetectorCommand extends $Command< DeleteDetectorCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDetectorCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts b/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts index f74fbde5ebfb1..d70b97150d994 100644 --- a/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/DeleteDetectorVersionCommand.ts @@ -29,7 +29,6 @@ export class DeleteDetectorVersionCommand extends $Command< DeleteDetectorVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDetectorVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteEntityTypeCommand.ts b/clients/client-frauddetector/commands/DeleteEntityTypeCommand.ts index 85e1764f391df..ea74da4e9fd36 100644 --- a/clients/client-frauddetector/commands/DeleteEntityTypeCommand.ts +++ b/clients/client-frauddetector/commands/DeleteEntityTypeCommand.ts @@ -30,7 +30,6 @@ export class DeleteEntityTypeCommand extends $Command< DeleteEntityTypeCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEntityTypeCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteEventCommand.ts b/clients/client-frauddetector/commands/DeleteEventCommand.ts index c02e285b8f3c7..8f3946cf2c8ed 100644 --- a/clients/client-frauddetector/commands/DeleteEventCommand.ts +++ b/clients/client-frauddetector/commands/DeleteEventCommand.ts @@ -29,7 +29,6 @@ export class DeleteEventCommand extends $Command< DeleteEventCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteEventCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteEventTypeCommand.ts b/clients/client-frauddetector/commands/DeleteEventTypeCommand.ts index 8cbeaee3558fa..67f3804640b3f 100644 --- a/clients/client-frauddetector/commands/DeleteEventTypeCommand.ts +++ b/clients/client-frauddetector/commands/DeleteEventTypeCommand.ts @@ -30,7 +30,6 @@ export class DeleteEventTypeCommand extends $Command< DeleteEventTypeCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEventTypeCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteExternalModelCommand.ts b/clients/client-frauddetector/commands/DeleteExternalModelCommand.ts index e2d64d3a94791..4b1bc886af13e 100644 --- a/clients/client-frauddetector/commands/DeleteExternalModelCommand.ts +++ b/clients/client-frauddetector/commands/DeleteExternalModelCommand.ts @@ -29,7 +29,6 @@ export class DeleteExternalModelCommand extends $Command< DeleteExternalModelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteExternalModelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteLabelCommand.ts b/clients/client-frauddetector/commands/DeleteLabelCommand.ts index daac2c665fa07..01fd3592a3b86 100644 --- a/clients/client-frauddetector/commands/DeleteLabelCommand.ts +++ b/clients/client-frauddetector/commands/DeleteLabelCommand.ts @@ -32,7 +32,6 @@ export class DeleteLabelCommand extends $Command< DeleteLabelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLabelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteModelCommand.ts b/clients/client-frauddetector/commands/DeleteModelCommand.ts index d4bedc5cee596..e9ab6a51fb0d6 100644 --- a/clients/client-frauddetector/commands/DeleteModelCommand.ts +++ b/clients/client-frauddetector/commands/DeleteModelCommand.ts @@ -30,7 +30,6 @@ export class DeleteModelCommand extends $Command< DeleteModelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteModelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteModelVersionCommand.ts b/clients/client-frauddetector/commands/DeleteModelVersionCommand.ts index 73f21a8751ba2..64d5bc5c65902 100644 --- a/clients/client-frauddetector/commands/DeleteModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/DeleteModelVersionCommand.ts @@ -30,7 +30,6 @@ export class DeleteModelVersionCommand extends $Command< DeleteModelVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteModelVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteOutcomeCommand.ts b/clients/client-frauddetector/commands/DeleteOutcomeCommand.ts index 2a1dcc3ab3808..5fef2e0ac98e0 100644 --- a/clients/client-frauddetector/commands/DeleteOutcomeCommand.ts +++ b/clients/client-frauddetector/commands/DeleteOutcomeCommand.ts @@ -30,7 +30,6 @@ export class DeleteOutcomeCommand extends $Command< DeleteOutcomeCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteOutcomeCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteRuleCommand.ts b/clients/client-frauddetector/commands/DeleteRuleCommand.ts index 0b3b7312b023d..f6c73a62b04d1 100644 --- a/clients/client-frauddetector/commands/DeleteRuleCommand.ts +++ b/clients/client-frauddetector/commands/DeleteRuleCommand.ts @@ -29,7 +29,6 @@ export class DeleteRuleCommand extends $Command< DeleteRuleCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteRuleCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DeleteVariableCommand.ts b/clients/client-frauddetector/commands/DeleteVariableCommand.ts index 246dadc4ba0f2..6bb655beb5626 100644 --- a/clients/client-frauddetector/commands/DeleteVariableCommand.ts +++ b/clients/client-frauddetector/commands/DeleteVariableCommand.ts @@ -31,7 +31,6 @@ export class DeleteVariableCommand extends $Command< DeleteVariableCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteVariableCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DescribeDetectorCommand.ts b/clients/client-frauddetector/commands/DescribeDetectorCommand.ts index 2d02fdddc7f7a..6fa562ce653ca 100644 --- a/clients/client-frauddetector/commands/DescribeDetectorCommand.ts +++ b/clients/client-frauddetector/commands/DescribeDetectorCommand.ts @@ -28,7 +28,6 @@ export class DescribeDetectorCommand extends $Command< DescribeDetectorCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDetectorCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts b/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts index da7c5c792e51f..a9c612ee429b8 100644 --- a/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts +++ b/clients/client-frauddetector/commands/DescribeModelVersionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeModelVersionsCommand extends $Command< DescribeModelVersionsCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeModelVersionsCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts b/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts index c596f32cc622b..f75a77d6fa1e1 100644 --- a/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/GetDetectorVersionCommand.ts @@ -28,7 +28,6 @@ export class GetDetectorVersionCommand extends $Command< GetDetectorVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDetectorVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetDetectorsCommand.ts b/clients/client-frauddetector/commands/GetDetectorsCommand.ts index ee308bac10b2d..7c7190506d7c9 100644 --- a/clients/client-frauddetector/commands/GetDetectorsCommand.ts +++ b/clients/client-frauddetector/commands/GetDetectorsCommand.ts @@ -33,7 +33,6 @@ export class GetDetectorsCommand extends $Command< GetDetectorsCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetDetectorsCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetEntityTypesCommand.ts b/clients/client-frauddetector/commands/GetEntityTypesCommand.ts index 879c0d0992e88..30ab554816fc3 100644 --- a/clients/client-frauddetector/commands/GetEntityTypesCommand.ts +++ b/clients/client-frauddetector/commands/GetEntityTypesCommand.ts @@ -33,7 +33,6 @@ export class GetEntityTypesCommand extends $Command< GetEntityTypesCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetEntityTypesCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetEventPredictionCommand.ts b/clients/client-frauddetector/commands/GetEventPredictionCommand.ts index f95af8e14bdeb..9e572c166adb1 100644 --- a/clients/client-frauddetector/commands/GetEventPredictionCommand.ts +++ b/clients/client-frauddetector/commands/GetEventPredictionCommand.ts @@ -28,7 +28,6 @@ export class GetEventPredictionCommand extends $Command< GetEventPredictionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEventPredictionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetEventTypesCommand.ts b/clients/client-frauddetector/commands/GetEventTypesCommand.ts index 1fe292817c47f..15e811fa4dbd5 100644 --- a/clients/client-frauddetector/commands/GetEventTypesCommand.ts +++ b/clients/client-frauddetector/commands/GetEventTypesCommand.ts @@ -33,7 +33,6 @@ export class GetEventTypesCommand extends $Command< GetEventTypesCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetEventTypesCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetExternalModelsCommand.ts b/clients/client-frauddetector/commands/GetExternalModelsCommand.ts index 2774cafe1c3b4..c8620799e3811 100644 --- a/clients/client-frauddetector/commands/GetExternalModelsCommand.ts +++ b/clients/client-frauddetector/commands/GetExternalModelsCommand.ts @@ -33,7 +33,6 @@ export class GetExternalModelsCommand extends $Command< GetExternalModelsCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetExternalModelsCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetKMSEncryptionKeyCommand.ts b/clients/client-frauddetector/commands/GetKMSEncryptionKeyCommand.ts index c54dd60f6f3c8..fa87ed2507e4c 100644 --- a/clients/client-frauddetector/commands/GetKMSEncryptionKeyCommand.ts +++ b/clients/client-frauddetector/commands/GetKMSEncryptionKeyCommand.ts @@ -28,7 +28,6 @@ export class GetKMSEncryptionKeyCommand extends $Command< GetKMSEncryptionKeyCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetKMSEncryptionKeyCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetLabelsCommand.ts b/clients/client-frauddetector/commands/GetLabelsCommand.ts index 9c79fdb73fdf6..8077e2fca3699 100644 --- a/clients/client-frauddetector/commands/GetLabelsCommand.ts +++ b/clients/client-frauddetector/commands/GetLabelsCommand.ts @@ -30,7 +30,6 @@ export class GetLabelsCommand extends $Command< GetLabelsCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetLabelsCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetModelVersionCommand.ts b/clients/client-frauddetector/commands/GetModelVersionCommand.ts index ab05c9fc10ac1..7e177b1a7d573 100644 --- a/clients/client-frauddetector/commands/GetModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/GetModelVersionCommand.ts @@ -28,7 +28,6 @@ export class GetModelVersionCommand extends $Command< GetModelVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetModelVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetModelsCommand.ts b/clients/client-frauddetector/commands/GetModelsCommand.ts index 7a22736b624be..6956e8f0e5908 100644 --- a/clients/client-frauddetector/commands/GetModelsCommand.ts +++ b/clients/client-frauddetector/commands/GetModelsCommand.ts @@ -31,7 +31,6 @@ export class GetModelsCommand extends $Command< GetModelsCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetModelsCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetOutcomesCommand.ts b/clients/client-frauddetector/commands/GetOutcomesCommand.ts index b74e902b6d18d..c842e9e2c6c7f 100644 --- a/clients/client-frauddetector/commands/GetOutcomesCommand.ts +++ b/clients/client-frauddetector/commands/GetOutcomesCommand.ts @@ -33,7 +33,6 @@ export class GetOutcomesCommand extends $Command< GetOutcomesCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetOutcomesCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetRulesCommand.ts b/clients/client-frauddetector/commands/GetRulesCommand.ts index ad289f7f06a2a..08c09b61fe602 100644 --- a/clients/client-frauddetector/commands/GetRulesCommand.ts +++ b/clients/client-frauddetector/commands/GetRulesCommand.ts @@ -26,7 +26,6 @@ export class GetRulesCommand extends $Command< GetRulesCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class GetRulesCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/GetVariablesCommand.ts b/clients/client-frauddetector/commands/GetVariablesCommand.ts index 722b797e4036a..b5560ffc47cdb 100644 --- a/clients/client-frauddetector/commands/GetVariablesCommand.ts +++ b/clients/client-frauddetector/commands/GetVariablesCommand.ts @@ -33,7 +33,6 @@ export class GetVariablesCommand extends $Command< GetVariablesCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetVariablesCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/ListTagsForResourceCommand.ts b/clients/client-frauddetector/commands/ListTagsForResourceCommand.ts index a818db33e49d9..cddae270577f3 100644 --- a/clients/client-frauddetector/commands/ListTagsForResourceCommand.ts +++ b/clients/client-frauddetector/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutDetectorCommand.ts b/clients/client-frauddetector/commands/PutDetectorCommand.ts index 4ae70cde71cf4..d36e35460e3aa 100644 --- a/clients/client-frauddetector/commands/PutDetectorCommand.ts +++ b/clients/client-frauddetector/commands/PutDetectorCommand.ts @@ -28,7 +28,6 @@ export class PutDetectorCommand extends $Command< PutDetectorCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutDetectorCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutEntityTypeCommand.ts b/clients/client-frauddetector/commands/PutEntityTypeCommand.ts index eea51fd111363..b558093d0b345 100644 --- a/clients/client-frauddetector/commands/PutEntityTypeCommand.ts +++ b/clients/client-frauddetector/commands/PutEntityTypeCommand.ts @@ -28,7 +28,6 @@ export class PutEntityTypeCommand extends $Command< PutEntityTypeCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEntityTypeCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutEventTypeCommand.ts b/clients/client-frauddetector/commands/PutEventTypeCommand.ts index 761a838c0c0bb..8f1e050d970ac 100644 --- a/clients/client-frauddetector/commands/PutEventTypeCommand.ts +++ b/clients/client-frauddetector/commands/PutEventTypeCommand.ts @@ -28,7 +28,6 @@ export class PutEventTypeCommand extends $Command< PutEventTypeCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEventTypeCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutExternalModelCommand.ts b/clients/client-frauddetector/commands/PutExternalModelCommand.ts index 3927f8d7374ff..e6302dbd56c7a 100644 --- a/clients/client-frauddetector/commands/PutExternalModelCommand.ts +++ b/clients/client-frauddetector/commands/PutExternalModelCommand.ts @@ -28,7 +28,6 @@ export class PutExternalModelCommand extends $Command< PutExternalModelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutExternalModelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutKMSEncryptionKeyCommand.ts b/clients/client-frauddetector/commands/PutKMSEncryptionKeyCommand.ts index 4afcb3a99ef0a..d411fabd28a30 100644 --- a/clients/client-frauddetector/commands/PutKMSEncryptionKeyCommand.ts +++ b/clients/client-frauddetector/commands/PutKMSEncryptionKeyCommand.ts @@ -28,7 +28,6 @@ export class PutKMSEncryptionKeyCommand extends $Command< PutKMSEncryptionKeyCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutKMSEncryptionKeyCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutLabelCommand.ts b/clients/client-frauddetector/commands/PutLabelCommand.ts index 3a0a4599e3dd9..a5776a139764b 100644 --- a/clients/client-frauddetector/commands/PutLabelCommand.ts +++ b/clients/client-frauddetector/commands/PutLabelCommand.ts @@ -25,7 +25,6 @@ export class PutLabelCommand extends $Command< PutLabelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class PutLabelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/PutOutcomeCommand.ts b/clients/client-frauddetector/commands/PutOutcomeCommand.ts index 6cc19e76ea16b..00bed0e405628 100644 --- a/clients/client-frauddetector/commands/PutOutcomeCommand.ts +++ b/clients/client-frauddetector/commands/PutOutcomeCommand.ts @@ -28,7 +28,6 @@ export class PutOutcomeCommand extends $Command< PutOutcomeCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutOutcomeCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/TagResourceCommand.ts b/clients/client-frauddetector/commands/TagResourceCommand.ts index 3ee8cda765616..ff2b476b06292 100644 --- a/clients/client-frauddetector/commands/TagResourceCommand.ts +++ b/clients/client-frauddetector/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UntagResourceCommand.ts b/clients/client-frauddetector/commands/UntagResourceCommand.ts index d44c68075ab39..c4585365691d6 100644 --- a/clients/client-frauddetector/commands/UntagResourceCommand.ts +++ b/clients/client-frauddetector/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts b/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts index fd2f472c424e8..927ca822e5a46 100644 --- a/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts +++ b/clients/client-frauddetector/commands/UpdateDetectorVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateDetectorVersionCommand extends $Command< UpdateDetectorVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDetectorVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts b/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts index f3ad36870f338..2791471f98fca 100644 --- a/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts +++ b/clients/client-frauddetector/commands/UpdateDetectorVersionMetadataCommand.ts @@ -29,7 +29,6 @@ export class UpdateDetectorVersionMetadataCommand extends $Command< UpdateDetectorVersionMetadataCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDetectorVersionMetadataCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts b/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts index 2a21d6808ae0f..b64e6f519ff6e 100644 --- a/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts +++ b/clients/client-frauddetector/commands/UpdateDetectorVersionStatusCommand.ts @@ -29,7 +29,6 @@ export class UpdateDetectorVersionStatusCommand extends $Command< UpdateDetectorVersionStatusCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDetectorVersionStatusCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateModelCommand.ts b/clients/client-frauddetector/commands/UpdateModelCommand.ts index 25482611a9fc0..f908ea9b56d0b 100644 --- a/clients/client-frauddetector/commands/UpdateModelCommand.ts +++ b/clients/client-frauddetector/commands/UpdateModelCommand.ts @@ -28,7 +28,6 @@ export class UpdateModelCommand extends $Command< UpdateModelCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateModelCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts b/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts index f72f20d1f7560..fd3943f9db279 100644 --- a/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts +++ b/clients/client-frauddetector/commands/UpdateModelVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateModelVersionCommand extends $Command< UpdateModelVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateModelVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateModelVersionStatusCommand.ts b/clients/client-frauddetector/commands/UpdateModelVersionStatusCommand.ts index 308facd7eb69d..2dcfffafeba4c 100644 --- a/clients/client-frauddetector/commands/UpdateModelVersionStatusCommand.ts +++ b/clients/client-frauddetector/commands/UpdateModelVersionStatusCommand.ts @@ -37,7 +37,6 @@ export class UpdateModelVersionStatusCommand extends $Command< UpdateModelVersionStatusCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateModelVersionStatusCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts b/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts index fbe80aff000ec..fdf5b1ab15214 100644 --- a/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts +++ b/clients/client-frauddetector/commands/UpdateRuleMetadataCommand.ts @@ -28,7 +28,6 @@ export class UpdateRuleMetadataCommand extends $Command< UpdateRuleMetadataCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRuleMetadataCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts b/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts index 840565351c29b..a813eaa79fa84 100644 --- a/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts +++ b/clients/client-frauddetector/commands/UpdateRuleVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateRuleVersionCommand extends $Command< UpdateRuleVersionCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRuleVersionCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-frauddetector/commands/UpdateVariableCommand.ts b/clients/client-frauddetector/commands/UpdateVariableCommand.ts index b112f5955e4b1..43a252f5c36d7 100644 --- a/clients/client-frauddetector/commands/UpdateVariableCommand.ts +++ b/clients/client-frauddetector/commands/UpdateVariableCommand.ts @@ -28,7 +28,6 @@ export class UpdateVariableCommand extends $Command< UpdateVariableCommandOutput, FraudDetectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVariableCommand extends $Command< configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts b/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts index c2a06b980131f..64913036133f6 100644 --- a/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts +++ b/clients/client-fsx/commands/AssociateFileSystemAliasesCommand.ts @@ -38,7 +38,6 @@ export class AssociateFileSystemAliasesCommand extends $Command< AssociateFileSystemAliasesCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AssociateFileSystemAliasesCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts b/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts index a9bfd79d732b0..46832c65c3a29 100644 --- a/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts +++ b/clients/client-fsx/commands/CancelDataRepositoryTaskCommand.ts @@ -40,7 +40,6 @@ export class CancelDataRepositoryTaskCommand extends $Command< CancelDataRepositoryTaskCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CancelDataRepositoryTaskCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/CreateBackupCommand.ts b/clients/client-fsx/commands/CreateBackupCommand.ts index 9e1c30b32c88d..8fa82ddb238d8 100644 --- a/clients/client-fsx/commands/CreateBackupCommand.ts +++ b/clients/client-fsx/commands/CreateBackupCommand.ts @@ -71,7 +71,6 @@ export class CreateBackupCommand extends $Command< CreateBackupCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class CreateBackupCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts b/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts index 467e420e9e2d6..108fe4e19dbc0 100644 --- a/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts +++ b/clients/client-fsx/commands/CreateDataRepositoryTaskCommand.ts @@ -36,7 +36,6 @@ export class CreateDataRepositoryTaskCommand extends $Command< CreateDataRepositoryTaskCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateDataRepositoryTaskCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/CreateFileSystemCommand.ts b/clients/client-fsx/commands/CreateFileSystemCommand.ts index 24ab345da6f33..da762fa810139 100644 --- a/clients/client-fsx/commands/CreateFileSystemCommand.ts +++ b/clients/client-fsx/commands/CreateFileSystemCommand.ts @@ -60,7 +60,6 @@ export class CreateFileSystemCommand extends $Command< CreateFileSystemCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class CreateFileSystemCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts b/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts index f1d7e5fdf559a..b268937314866 100644 --- a/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts +++ b/clients/client-fsx/commands/CreateFileSystemFromBackupCommand.ts @@ -63,7 +63,6 @@ export class CreateFileSystemFromBackupCommand extends $Command< CreateFileSystemFromBackupCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class CreateFileSystemFromBackupCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DeleteBackupCommand.ts b/clients/client-fsx/commands/DeleteBackupCommand.ts index 95ebaecf5272e..4e8c51225edb9 100644 --- a/clients/client-fsx/commands/DeleteBackupCommand.ts +++ b/clients/client-fsx/commands/DeleteBackupCommand.ts @@ -36,7 +36,6 @@ export class DeleteBackupCommand extends $Command< DeleteBackupCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteBackupCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DeleteFileSystemCommand.ts b/clients/client-fsx/commands/DeleteFileSystemCommand.ts index cdb3875814389..80c66468e60e5 100644 --- a/clients/client-fsx/commands/DeleteFileSystemCommand.ts +++ b/clients/client-fsx/commands/DeleteFileSystemCommand.ts @@ -50,7 +50,6 @@ export class DeleteFileSystemCommand extends $Command< DeleteFileSystemCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DeleteFileSystemCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DescribeBackupsCommand.ts b/clients/client-fsx/commands/DescribeBackupsCommand.ts index a404b4545fd6e..b734f83f8ba4b 100644 --- a/clients/client-fsx/commands/DescribeBackupsCommand.ts +++ b/clients/client-fsx/commands/DescribeBackupsCommand.ts @@ -58,7 +58,6 @@ export class DescribeBackupsCommand extends $Command< DescribeBackupsCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class DescribeBackupsCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts b/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts index f65765abbfc95..f88dbb931898f 100644 --- a/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts +++ b/clients/client-fsx/commands/DescribeDataRepositoryTasksCommand.ts @@ -38,7 +38,6 @@ export class DescribeDataRepositoryTasksCommand extends $Command< DescribeDataRepositoryTasksCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeDataRepositoryTasksCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts b/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts index 588cc54c88383..688785da5ff45 100644 --- a/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts +++ b/clients/client-fsx/commands/DescribeFileSystemAliasesCommand.ts @@ -30,7 +30,6 @@ export class DescribeFileSystemAliasesCommand extends $Command< DescribeFileSystemAliasesCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeFileSystemAliasesCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DescribeFileSystemsCommand.ts b/clients/client-fsx/commands/DescribeFileSystemsCommand.ts index 04524a15b3012..9b9a45141bbf0 100644 --- a/clients/client-fsx/commands/DescribeFileSystemsCommand.ts +++ b/clients/client-fsx/commands/DescribeFileSystemsCommand.ts @@ -59,7 +59,6 @@ export class DescribeFileSystemsCommand extends $Command< DescribeFileSystemsCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class DescribeFileSystemsCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts b/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts index f4197c0a6a01c..a8f313ca1b5db 100644 --- a/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts +++ b/clients/client-fsx/commands/DisassociateFileSystemAliasesCommand.ts @@ -36,7 +36,6 @@ export class DisassociateFileSystemAliasesCommand extends $Command< DisassociateFileSystemAliasesCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisassociateFileSystemAliasesCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/ListTagsForResourceCommand.ts b/clients/client-fsx/commands/ListTagsForResourceCommand.ts index f9d4debd0ae61..798b07f5d7c54 100644 --- a/clients/client-fsx/commands/ListTagsForResourceCommand.ts +++ b/clients/client-fsx/commands/ListTagsForResourceCommand.ts @@ -56,7 +56,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/TagResourceCommand.ts b/clients/client-fsx/commands/TagResourceCommand.ts index 4c4ef50e37f2a..fcae6f1b3029b 100644 --- a/clients/client-fsx/commands/TagResourceCommand.ts +++ b/clients/client-fsx/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/UntagResourceCommand.ts b/clients/client-fsx/commands/UntagResourceCommand.ts index 3f7d7cd4386f3..4740f9dacfd3b 100644 --- a/clients/client-fsx/commands/UntagResourceCommand.ts +++ b/clients/client-fsx/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-fsx/commands/UpdateFileSystemCommand.ts b/clients/client-fsx/commands/UpdateFileSystemCommand.ts index 61c6cf7aaa66b..b6d7591398f03 100644 --- a/clients/client-fsx/commands/UpdateFileSystemCommand.ts +++ b/clients/client-fsx/commands/UpdateFileSystemCommand.ts @@ -70,7 +70,6 @@ export class UpdateFileSystemCommand extends $Command< UpdateFileSystemCommandOutput, FSxClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class UpdateFileSystemCommand extends $Command< configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/AcceptMatchCommand.ts b/clients/client-gamelift/commands/AcceptMatchCommand.ts index 6f8b971e92f46..28ed6d2107fd4 100644 --- a/clients/client-gamelift/commands/AcceptMatchCommand.ts +++ b/clients/client-gamelift/commands/AcceptMatchCommand.ts @@ -86,7 +86,6 @@ export class AcceptMatchCommand extends $Command< AcceptMatchCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class AcceptMatchCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ClaimGameServerCommand.ts b/clients/client-gamelift/commands/ClaimGameServerCommand.ts index 88379fd0c1fc9..244aca99e049a 100644 --- a/clients/client-gamelift/commands/ClaimGameServerCommand.ts +++ b/clients/client-gamelift/commands/ClaimGameServerCommand.ts @@ -103,7 +103,6 @@ export class ClaimGameServerCommand extends $Command< ClaimGameServerCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -121,10 +120,7 @@ export class ClaimGameServerCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateAliasCommand.ts b/clients/client-gamelift/commands/CreateAliasCommand.ts index ec728ad8da522..e4515ffb2832c 100644 --- a/clients/client-gamelift/commands/CreateAliasCommand.ts +++ b/clients/client-gamelift/commands/CreateAliasCommand.ts @@ -73,7 +73,6 @@ export class CreateAliasCommand extends $Command< CreateAliasCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -91,10 +90,7 @@ export class CreateAliasCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateBuildCommand.ts b/clients/client-gamelift/commands/CreateBuildCommand.ts index 579680c290549..18e768a6e22d9 100644 --- a/clients/client-gamelift/commands/CreateBuildCommand.ts +++ b/clients/client-gamelift/commands/CreateBuildCommand.ts @@ -100,7 +100,6 @@ export class CreateBuildCommand extends $Command< CreateBuildCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -118,10 +117,7 @@ export class CreateBuildCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateFleetCommand.ts b/clients/client-gamelift/commands/CreateFleetCommand.ts index 56f756f35ab47..9e78beb9df444 100644 --- a/clients/client-gamelift/commands/CreateFleetCommand.ts +++ b/clients/client-gamelift/commands/CreateFleetCommand.ts @@ -111,7 +111,6 @@ export class CreateFleetCommand extends $Command< CreateFleetCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -129,10 +128,7 @@ export class CreateFleetCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateGameServerGroupCommand.ts b/clients/client-gamelift/commands/CreateGameServerGroupCommand.ts index db55fb8549331..3bec63c93c42a 100644 --- a/clients/client-gamelift/commands/CreateGameServerGroupCommand.ts +++ b/clients/client-gamelift/commands/CreateGameServerGroupCommand.ts @@ -112,7 +112,6 @@ export class CreateGameServerGroupCommand extends $Command< CreateGameServerGroupCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -130,10 +129,7 @@ export class CreateGameServerGroupCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateGameSessionCommand.ts b/clients/client-gamelift/commands/CreateGameSessionCommand.ts index d148a9830fcde..4461bdbbe3168 100644 --- a/clients/client-gamelift/commands/CreateGameSessionCommand.ts +++ b/clients/client-gamelift/commands/CreateGameSessionCommand.ts @@ -108,7 +108,6 @@ export class CreateGameSessionCommand extends $Command< CreateGameSessionCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -126,10 +125,7 @@ export class CreateGameSessionCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts b/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts index 41b8d89508168..7ebcad418d75f 100644 --- a/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts +++ b/clients/client-gamelift/commands/CreateGameSessionQueueCommand.ts @@ -91,7 +91,6 @@ export class CreateGameSessionQueueCommand extends $Command< CreateGameSessionQueueCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class CreateGameSessionQueueCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts b/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts index 613c505de04e2..519e3f383f53a 100644 --- a/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts +++ b/clients/client-gamelift/commands/CreateMatchmakingConfigurationCommand.ts @@ -104,7 +104,6 @@ export class CreateMatchmakingConfigurationCommand extends $Command< CreateMatchmakingConfigurationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -122,10 +121,7 @@ export class CreateMatchmakingConfigurationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts b/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts index cec6e264f7415..a22a4f492501d 100644 --- a/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts +++ b/clients/client-gamelift/commands/CreateMatchmakingRuleSetCommand.ts @@ -105,7 +105,6 @@ export class CreateMatchmakingRuleSetCommand extends $Command< CreateMatchmakingRuleSetCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -123,10 +122,7 @@ export class CreateMatchmakingRuleSetCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts b/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts index 56eb9de39f0b7..387cdbf11614e 100644 --- a/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts +++ b/clients/client-gamelift/commands/CreatePlayerSessionCommand.ts @@ -77,7 +77,6 @@ export class CreatePlayerSessionCommand extends $Command< CreatePlayerSessionCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class CreatePlayerSessionCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts b/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts index ed225bff2c41b..c3a7302ed3711 100644 --- a/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts +++ b/clients/client-gamelift/commands/CreatePlayerSessionsCommand.ts @@ -77,7 +77,6 @@ export class CreatePlayerSessionsCommand extends $Command< CreatePlayerSessionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class CreatePlayerSessionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateScriptCommand.ts b/clients/client-gamelift/commands/CreateScriptCommand.ts index 75b4c82442056..6760845cd8939 100644 --- a/clients/client-gamelift/commands/CreateScriptCommand.ts +++ b/clients/client-gamelift/commands/CreateScriptCommand.ts @@ -90,7 +90,6 @@ export class CreateScriptCommand extends $Command< CreateScriptCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -108,10 +107,7 @@ export class CreateScriptCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts b/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts index 6b85d81aab614..562d3359002e1 100644 --- a/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts +++ b/clients/client-gamelift/commands/CreateVpcPeeringAuthorizationCommand.ts @@ -81,7 +81,6 @@ export class CreateVpcPeeringAuthorizationCommand extends $Command< CreateVpcPeeringAuthorizationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -99,10 +98,7 @@ export class CreateVpcPeeringAuthorizationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts b/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts index d80a88ef3f8c2..cdfe1f245ae22 100644 --- a/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts +++ b/clients/client-gamelift/commands/CreateVpcPeeringConnectionCommand.ts @@ -78,7 +78,6 @@ export class CreateVpcPeeringConnectionCommand extends $Command< CreateVpcPeeringConnectionCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -96,10 +95,7 @@ export class CreateVpcPeeringConnectionCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteAliasCommand.ts b/clients/client-gamelift/commands/DeleteAliasCommand.ts index b4faf5a9679fd..ddf0ff5769bd4 100644 --- a/clients/client-gamelift/commands/DeleteAliasCommand.ts +++ b/clients/client-gamelift/commands/DeleteAliasCommand.ts @@ -62,7 +62,6 @@ export class DeleteAliasCommand extends $Command< DeleteAliasCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DeleteAliasCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteBuildCommand.ts b/clients/client-gamelift/commands/DeleteBuildCommand.ts index a3230183fbfa2..1de7c4056ace2 100644 --- a/clients/client-gamelift/commands/DeleteBuildCommand.ts +++ b/clients/client-gamelift/commands/DeleteBuildCommand.ts @@ -68,7 +68,6 @@ export class DeleteBuildCommand extends $Command< DeleteBuildCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class DeleteBuildCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteFleetCommand.ts b/clients/client-gamelift/commands/DeleteFleetCommand.ts index a6344eb400b7a..9593ca343e57f 100644 --- a/clients/client-gamelift/commands/DeleteFleetCommand.ts +++ b/clients/client-gamelift/commands/DeleteFleetCommand.ts @@ -76,7 +76,6 @@ export class DeleteFleetCommand extends $Command< DeleteFleetCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -94,10 +93,7 @@ export class DeleteFleetCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteGameServerGroupCommand.ts b/clients/client-gamelift/commands/DeleteGameServerGroupCommand.ts index df2fa4146efad..bc6fed57d0c30 100644 --- a/clients/client-gamelift/commands/DeleteGameServerGroupCommand.ts +++ b/clients/client-gamelift/commands/DeleteGameServerGroupCommand.ts @@ -106,7 +106,6 @@ export class DeleteGameServerGroupCommand extends $Command< DeleteGameServerGroupCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -124,10 +123,7 @@ export class DeleteGameServerGroupCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts b/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts index 3fa2f307e6811..12d4d541ad817 100644 --- a/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts +++ b/clients/client-gamelift/commands/DeleteGameSessionQueueCommand.ts @@ -61,7 +61,6 @@ export class DeleteGameSessionQueueCommand extends $Command< DeleteGameSessionQueueCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class DeleteGameSessionQueueCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts b/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts index e757a8c2c81f6..f0d882e0c8775 100644 --- a/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts +++ b/clients/client-gamelift/commands/DeleteMatchmakingConfigurationCommand.ts @@ -75,7 +75,6 @@ export class DeleteMatchmakingConfigurationCommand extends $Command< DeleteMatchmakingConfigurationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class DeleteMatchmakingConfigurationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts b/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts index 111016581829b..65835e822d5f0 100644 --- a/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts +++ b/clients/client-gamelift/commands/DeleteMatchmakingRuleSetCommand.ts @@ -86,7 +86,6 @@ export class DeleteMatchmakingRuleSetCommand extends $Command< DeleteMatchmakingRuleSetCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class DeleteMatchmakingRuleSetCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts b/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts index 5ba4c71381eaa..e2b869d90fd5f 100644 --- a/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts +++ b/clients/client-gamelift/commands/DeleteScalingPolicyCommand.ts @@ -81,7 +81,6 @@ export class DeleteScalingPolicyCommand extends $Command< DeleteScalingPolicyCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -99,10 +98,7 @@ export class DeleteScalingPolicyCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteScriptCommand.ts b/clients/client-gamelift/commands/DeleteScriptCommand.ts index 4d8375e06ba5e..081d26180d6de 100644 --- a/clients/client-gamelift/commands/DeleteScriptCommand.ts +++ b/clients/client-gamelift/commands/DeleteScriptCommand.ts @@ -70,7 +70,6 @@ export class DeleteScriptCommand extends $Command< DeleteScriptCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class DeleteScriptCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts b/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts index 7db16abfc77b5..b0e74d86c224d 100644 --- a/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts +++ b/clients/client-gamelift/commands/DeleteVpcPeeringAuthorizationCommand.ts @@ -61,7 +61,6 @@ export class DeleteVpcPeeringAuthorizationCommand extends $Command< DeleteVpcPeeringAuthorizationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class DeleteVpcPeeringAuthorizationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts b/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts index e95453f102a65..e777922ff2c30 100644 --- a/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts +++ b/clients/client-gamelift/commands/DeleteVpcPeeringConnectionCommand.ts @@ -66,7 +66,6 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< DeleteVpcPeeringConnectionCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class DeleteVpcPeeringConnectionCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DeregisterGameServerCommand.ts b/clients/client-gamelift/commands/DeregisterGameServerCommand.ts index a6aff465b6ad4..bb5ebb37b6256 100644 --- a/clients/client-gamelift/commands/DeregisterGameServerCommand.ts +++ b/clients/client-gamelift/commands/DeregisterGameServerCommand.ts @@ -77,7 +77,6 @@ export class DeregisterGameServerCommand extends $Command< DeregisterGameServerCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class DeregisterGameServerCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeAliasCommand.ts b/clients/client-gamelift/commands/DescribeAliasCommand.ts index ae4dbb425d8af..3143da3976cc2 100644 --- a/clients/client-gamelift/commands/DescribeAliasCommand.ts +++ b/clients/client-gamelift/commands/DescribeAliasCommand.ts @@ -63,7 +63,6 @@ export class DescribeAliasCommand extends $Command< DescribeAliasCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class DescribeAliasCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeBuildCommand.ts b/clients/client-gamelift/commands/DescribeBuildCommand.ts index c12069850ed2f..ef37dfe731ea2 100644 --- a/clients/client-gamelift/commands/DescribeBuildCommand.ts +++ b/clients/client-gamelift/commands/DescribeBuildCommand.ts @@ -66,7 +66,6 @@ export class DescribeBuildCommand extends $Command< DescribeBuildCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class DescribeBuildCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts b/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts index cc1e6416f15ac..760f853f0e46b 100644 --- a/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts +++ b/clients/client-gamelift/commands/DescribeEC2InstanceLimitsCommand.ts @@ -80,7 +80,6 @@ export class DescribeEC2InstanceLimitsCommand extends $Command< DescribeEC2InstanceLimitsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,10 +97,7 @@ export class DescribeEC2InstanceLimitsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts b/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts index d2cc883b85076..f83e566ea0879 100644 --- a/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetAttributesCommand.ts @@ -114,7 +114,6 @@ export class DescribeFleetAttributesCommand extends $Command< DescribeFleetAttributesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -132,10 +131,7 @@ export class DescribeFleetAttributesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts b/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts index 02eb66acaeed8..6578d59eaae33 100644 --- a/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetCapacityCommand.ts @@ -119,7 +119,6 @@ export class DescribeFleetCapacityCommand extends $Command< DescribeFleetCapacityCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -137,10 +136,7 @@ export class DescribeFleetCapacityCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts b/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts index bb1783beac95d..b733f34b10561 100644 --- a/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetEventsCommand.ts @@ -107,7 +107,6 @@ export class DescribeFleetEventsCommand extends $Command< DescribeFleetEventsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -125,10 +124,7 @@ export class DescribeFleetEventsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts b/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts index f98d942814d82..6bb38f7cc91f9 100644 --- a/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetPortSettingsCommand.ts @@ -111,7 +111,6 @@ export class DescribeFleetPortSettingsCommand extends $Command< DescribeFleetPortSettingsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -129,10 +128,7 @@ export class DescribeFleetPortSettingsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts b/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts index ffff216d16686..bc03fd8ad9b6f 100644 --- a/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts +++ b/clients/client-gamelift/commands/DescribeFleetUtilizationCommand.ts @@ -118,7 +118,6 @@ export class DescribeFleetUtilizationCommand extends $Command< DescribeFleetUtilizationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -136,10 +135,7 @@ export class DescribeFleetUtilizationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameServerCommand.ts b/clients/client-gamelift/commands/DescribeGameServerCommand.ts index 59d26e526bd48..d3653cba8f13d 100644 --- a/clients/client-gamelift/commands/DescribeGameServerCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameServerCommand.ts @@ -75,7 +75,6 @@ export class DescribeGameServerCommand extends $Command< DescribeGameServerCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class DescribeGameServerCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameServerGroupCommand.ts b/clients/client-gamelift/commands/DescribeGameServerGroupCommand.ts index c7559b65572f3..ab9c7a97e2bc9 100644 --- a/clients/client-gamelift/commands/DescribeGameServerGroupCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameServerGroupCommand.ts @@ -87,7 +87,6 @@ export class DescribeGameServerGroupCommand extends $Command< DescribeGameServerGroupCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -105,10 +104,7 @@ export class DescribeGameServerGroupCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameServerInstancesCommand.ts b/clients/client-gamelift/commands/DescribeGameServerInstancesCommand.ts index 097347b7ff361..4b1ee2332a0c8 100644 --- a/clients/client-gamelift/commands/DescribeGameServerInstancesCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameServerInstancesCommand.ts @@ -97,7 +97,6 @@ export class DescribeGameServerInstancesCommand extends $Command< DescribeGameServerInstancesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -115,10 +114,7 @@ export class DescribeGameServerInstancesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts index 62d1838eb1dc2..b43e8a5ec833d 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionDetailsCommand.ts @@ -89,7 +89,6 @@ export class DescribeGameSessionDetailsCommand extends $Command< DescribeGameSessionDetailsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -107,10 +106,7 @@ export class DescribeGameSessionDetailsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts index f96ca0acf6257..f769727040183 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionPlacementCommand.ts @@ -81,7 +81,6 @@ export class DescribeGameSessionPlacementCommand extends $Command< DescribeGameSessionPlacementCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -99,10 +98,7 @@ export class DescribeGameSessionPlacementCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts index 4e6683fc34071..5209a21a42958 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionQueuesCommand.ts @@ -64,7 +64,6 @@ export class DescribeGameSessionQueuesCommand extends $Command< DescribeGameSessionQueuesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class DescribeGameSessionQueuesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts b/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts index c958cbbbf2596..4735bcbd066e9 100644 --- a/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts +++ b/clients/client-gamelift/commands/DescribeGameSessionsCommand.ts @@ -90,7 +90,6 @@ export class DescribeGameSessionsCommand extends $Command< DescribeGameSessionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -108,10 +107,7 @@ export class DescribeGameSessionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeInstancesCommand.ts b/clients/client-gamelift/commands/DescribeInstancesCommand.ts index 41785781f38ab..778e204d5bf3d 100644 --- a/clients/client-gamelift/commands/DescribeInstancesCommand.ts +++ b/clients/client-gamelift/commands/DescribeInstancesCommand.ts @@ -58,7 +58,6 @@ export class DescribeInstancesCommand extends $Command< DescribeInstancesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class DescribeInstancesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts b/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts index 1b2d7f9df185d..a523936c4c781 100644 --- a/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts +++ b/clients/client-gamelift/commands/DescribeMatchmakingCommand.ts @@ -82,7 +82,6 @@ export class DescribeMatchmakingCommand extends $Command< DescribeMatchmakingCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class DescribeMatchmakingCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts b/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts index dbadfe6004c23..ca546d0907f88 100644 --- a/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts +++ b/clients/client-gamelift/commands/DescribeMatchmakingConfigurationsCommand.ts @@ -86,7 +86,6 @@ export class DescribeMatchmakingConfigurationsCommand extends $Command< DescribeMatchmakingConfigurationsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class DescribeMatchmakingConfigurationsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts b/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts index ac30e41f6872b..ca731913703bc 100644 --- a/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts +++ b/clients/client-gamelift/commands/DescribeMatchmakingRuleSetsCommand.ts @@ -87,7 +87,6 @@ export class DescribeMatchmakingRuleSetsCommand extends $Command< DescribeMatchmakingRuleSetsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -105,10 +104,7 @@ export class DescribeMatchmakingRuleSetsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts b/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts index 156aae67ac271..f4949b4b5fa75 100644 --- a/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts +++ b/clients/client-gamelift/commands/DescribePlayerSessionsCommand.ts @@ -78,7 +78,6 @@ export class DescribePlayerSessionsCommand extends $Command< DescribePlayerSessionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -96,10 +95,7 @@ export class DescribePlayerSessionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts b/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts index 45cac52fff141..650ca8f8a4a32 100644 --- a/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts +++ b/clients/client-gamelift/commands/DescribeRuntimeConfigurationCommand.ts @@ -111,7 +111,6 @@ export class DescribeRuntimeConfigurationCommand extends $Command< DescribeRuntimeConfigurationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -129,10 +128,7 @@ export class DescribeRuntimeConfigurationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts b/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts index 6d1dd33581e5c..ac85869fbcd00 100644 --- a/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts +++ b/clients/client-gamelift/commands/DescribeScalingPoliciesCommand.ts @@ -85,7 +85,6 @@ export class DescribeScalingPoliciesCommand extends $Command< DescribeScalingPoliciesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -103,10 +102,7 @@ export class DescribeScalingPoliciesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeScriptCommand.ts b/clients/client-gamelift/commands/DescribeScriptCommand.ts index 155102c764e3b..fbe1190d02234 100644 --- a/clients/client-gamelift/commands/DescribeScriptCommand.ts +++ b/clients/client-gamelift/commands/DescribeScriptCommand.ts @@ -66,7 +66,6 @@ export class DescribeScriptCommand extends $Command< DescribeScriptCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class DescribeScriptCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts b/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts index 1e8bb4440635a..8da241758427f 100644 --- a/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts +++ b/clients/client-gamelift/commands/DescribeVpcPeeringAuthorizationsCommand.ts @@ -62,7 +62,6 @@ export class DescribeVpcPeeringAuthorizationsCommand extends $Command< DescribeVpcPeeringAuthorizationsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DescribeVpcPeeringAuthorizationsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts b/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts index ec27687fec635..d7c9cdc2ff308 100644 --- a/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts +++ b/clients/client-gamelift/commands/DescribeVpcPeeringConnectionsCommand.ts @@ -66,7 +66,6 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< DescribeVpcPeeringConnectionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class DescribeVpcPeeringConnectionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts b/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts index c2114072601d3..d9602e39b0b73 100644 --- a/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts +++ b/clients/client-gamelift/commands/GetGameSessionLogUrlCommand.ts @@ -87,7 +87,6 @@ export class GetGameSessionLogUrlCommand extends $Command< GetGameSessionLogUrlCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -105,10 +104,7 @@ export class GetGameSessionLogUrlCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/GetInstanceAccessCommand.ts b/clients/client-gamelift/commands/GetInstanceAccessCommand.ts index 05fcde1b2da16..58fbf436b6e84 100644 --- a/clients/client-gamelift/commands/GetInstanceAccessCommand.ts +++ b/clients/client-gamelift/commands/GetInstanceAccessCommand.ts @@ -67,7 +67,6 @@ export class GetInstanceAccessCommand extends $Command< GetInstanceAccessCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class GetInstanceAccessCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListAliasesCommand.ts b/clients/client-gamelift/commands/ListAliasesCommand.ts index 3d9873a3a8121..6a236934d518a 100644 --- a/clients/client-gamelift/commands/ListAliasesCommand.ts +++ b/clients/client-gamelift/commands/ListAliasesCommand.ts @@ -65,7 +65,6 @@ export class ListAliasesCommand extends $Command< ListAliasesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class ListAliasesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListBuildsCommand.ts b/clients/client-gamelift/commands/ListBuildsCommand.ts index 4f112cc840cb1..47f828eb5323d 100644 --- a/clients/client-gamelift/commands/ListBuildsCommand.ts +++ b/clients/client-gamelift/commands/ListBuildsCommand.ts @@ -71,7 +71,6 @@ export class ListBuildsCommand extends $Command< ListBuildsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class ListBuildsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListFleetsCommand.ts b/clients/client-gamelift/commands/ListFleetsCommand.ts index 86b0842a407d1..d081e686bbcea 100644 --- a/clients/client-gamelift/commands/ListFleetsCommand.ts +++ b/clients/client-gamelift/commands/ListFleetsCommand.ts @@ -74,7 +74,6 @@ export class ListFleetsCommand extends $Command< ListFleetsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class ListFleetsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListGameServerGroupsCommand.ts b/clients/client-gamelift/commands/ListGameServerGroupsCommand.ts index 27a32ba1653e4..ce4e82ab6f16f 100644 --- a/clients/client-gamelift/commands/ListGameServerGroupsCommand.ts +++ b/clients/client-gamelift/commands/ListGameServerGroupsCommand.ts @@ -84,7 +84,6 @@ export class ListGameServerGroupsCommand extends $Command< ListGameServerGroupsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -102,10 +101,7 @@ export class ListGameServerGroupsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListGameServersCommand.ts b/clients/client-gamelift/commands/ListGameServersCommand.ts index ff45fc2fa729b..2b47a7cabf022 100644 --- a/clients/client-gamelift/commands/ListGameServersCommand.ts +++ b/clients/client-gamelift/commands/ListGameServersCommand.ts @@ -74,7 +74,6 @@ export class ListGameServersCommand extends $Command< ListGameServersCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class ListGameServersCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListScriptsCommand.ts b/clients/client-gamelift/commands/ListScriptsCommand.ts index f8d05a816d133..a861a3e2e2a33 100644 --- a/clients/client-gamelift/commands/ListScriptsCommand.ts +++ b/clients/client-gamelift/commands/ListScriptsCommand.ts @@ -64,7 +64,6 @@ export class ListScriptsCommand extends $Command< ListScriptsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class ListScriptsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ListTagsForResourceCommand.ts b/clients/client-gamelift/commands/ListTagsForResourceCommand.ts index d9e1f99236d2a..ecfee921841a6 100644 --- a/clients/client-gamelift/commands/ListTagsForResourceCommand.ts +++ b/clients/client-gamelift/commands/ListTagsForResourceCommand.ts @@ -87,7 +87,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -105,10 +104,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/PutScalingPolicyCommand.ts b/clients/client-gamelift/commands/PutScalingPolicyCommand.ts index 9139a59db961f..6dfe29314db03 100644 --- a/clients/client-gamelift/commands/PutScalingPolicyCommand.ts +++ b/clients/client-gamelift/commands/PutScalingPolicyCommand.ts @@ -139,7 +139,6 @@ export class PutScalingPolicyCommand extends $Command< PutScalingPolicyCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -157,10 +156,7 @@ export class PutScalingPolicyCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/RegisterGameServerCommand.ts b/clients/client-gamelift/commands/RegisterGameServerCommand.ts index 8807324bb9c5d..32ef2013d573c 100644 --- a/clients/client-gamelift/commands/RegisterGameServerCommand.ts +++ b/clients/client-gamelift/commands/RegisterGameServerCommand.ts @@ -85,7 +85,6 @@ export class RegisterGameServerCommand extends $Command< RegisterGameServerCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -103,10 +102,7 @@ export class RegisterGameServerCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts b/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts index 234443258c33a..96cdfcd496527 100644 --- a/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts +++ b/clients/client-gamelift/commands/RequestUploadCredentialsCommand.ts @@ -70,7 +70,6 @@ export class RequestUploadCredentialsCommand extends $Command< RequestUploadCredentialsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class RequestUploadCredentialsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ResolveAliasCommand.ts b/clients/client-gamelift/commands/ResolveAliasCommand.ts index 71bdc8453e479..0c62c24c8f9e3 100644 --- a/clients/client-gamelift/commands/ResolveAliasCommand.ts +++ b/clients/client-gamelift/commands/ResolveAliasCommand.ts @@ -60,7 +60,6 @@ export class ResolveAliasCommand extends $Command< ResolveAliasCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class ResolveAliasCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ResumeGameServerGroupCommand.ts b/clients/client-gamelift/commands/ResumeGameServerGroupCommand.ts index b1b9ab43a66ee..222deb6b587b3 100644 --- a/clients/client-gamelift/commands/ResumeGameServerGroupCommand.ts +++ b/clients/client-gamelift/commands/ResumeGameServerGroupCommand.ts @@ -90,7 +90,6 @@ export class ResumeGameServerGroupCommand extends $Command< ResumeGameServerGroupCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -108,10 +107,7 @@ export class ResumeGameServerGroupCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/SearchGameSessionsCommand.ts b/clients/client-gamelift/commands/SearchGameSessionsCommand.ts index a93050b707094..0e637fbdcdf60 100644 --- a/clients/client-gamelift/commands/SearchGameSessionsCommand.ts +++ b/clients/client-gamelift/commands/SearchGameSessionsCommand.ts @@ -147,7 +147,6 @@ export class SearchGameSessionsCommand extends $Command< SearchGameSessionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -165,10 +164,7 @@ export class SearchGameSessionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StartFleetActionsCommand.ts b/clients/client-gamelift/commands/StartFleetActionsCommand.ts index 6dc3da9bfd308..df09f343f33dd 100644 --- a/clients/client-gamelift/commands/StartFleetActionsCommand.ts +++ b/clients/client-gamelift/commands/StartFleetActionsCommand.ts @@ -75,7 +75,6 @@ export class StartFleetActionsCommand extends $Command< StartFleetActionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class StartFleetActionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts b/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts index 2dae1c54e07f7..e023ac44429d5 100644 --- a/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts +++ b/clients/client-gamelift/commands/StartGameSessionPlacementCommand.ts @@ -119,7 +119,6 @@ export class StartGameSessionPlacementCommand extends $Command< StartGameSessionPlacementCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -137,10 +136,7 @@ export class StartGameSessionPlacementCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StartMatchBackfillCommand.ts b/clients/client-gamelift/commands/StartMatchBackfillCommand.ts index 55e15d6f85812..acfa14c8b0f99 100644 --- a/clients/client-gamelift/commands/StartMatchBackfillCommand.ts +++ b/clients/client-gamelift/commands/StartMatchBackfillCommand.ts @@ -87,7 +87,6 @@ export class StartMatchBackfillCommand extends $Command< StartMatchBackfillCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -105,10 +104,7 @@ export class StartMatchBackfillCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StartMatchmakingCommand.ts b/clients/client-gamelift/commands/StartMatchmakingCommand.ts index 830ebab0b26ae..a365e485734d9 100644 --- a/clients/client-gamelift/commands/StartMatchmakingCommand.ts +++ b/clients/client-gamelift/commands/StartMatchmakingCommand.ts @@ -91,7 +91,6 @@ export class StartMatchmakingCommand extends $Command< StartMatchmakingCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class StartMatchmakingCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StopFleetActionsCommand.ts b/clients/client-gamelift/commands/StopFleetActionsCommand.ts index a68a09ee865c1..942b82554c025 100644 --- a/clients/client-gamelift/commands/StopFleetActionsCommand.ts +++ b/clients/client-gamelift/commands/StopFleetActionsCommand.ts @@ -74,7 +74,6 @@ export class StopFleetActionsCommand extends $Command< StopFleetActionsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class StopFleetActionsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts b/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts index 65d7e755c855b..4169fd87c792d 100644 --- a/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts +++ b/clients/client-gamelift/commands/StopGameSessionPlacementCommand.ts @@ -82,7 +82,6 @@ export class StopGameSessionPlacementCommand extends $Command< StopGameSessionPlacementCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class StopGameSessionPlacementCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/StopMatchmakingCommand.ts b/clients/client-gamelift/commands/StopMatchmakingCommand.ts index 011c8bcab858d..456184bfa74f1 100644 --- a/clients/client-gamelift/commands/StopMatchmakingCommand.ts +++ b/clients/client-gamelift/commands/StopMatchmakingCommand.ts @@ -76,7 +76,6 @@ export class StopMatchmakingCommand extends $Command< StopMatchmakingCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -94,10 +93,7 @@ export class StopMatchmakingCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/SuspendGameServerGroupCommand.ts b/clients/client-gamelift/commands/SuspendGameServerGroupCommand.ts index 28100540cbe70..b7d5a980fa1e3 100644 --- a/clients/client-gamelift/commands/SuspendGameServerGroupCommand.ts +++ b/clients/client-gamelift/commands/SuspendGameServerGroupCommand.ts @@ -100,7 +100,6 @@ export class SuspendGameServerGroupCommand extends $Command< SuspendGameServerGroupCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -118,10 +117,7 @@ export class SuspendGameServerGroupCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/TagResourceCommand.ts b/clients/client-gamelift/commands/TagResourceCommand.ts index 8b8bb2a329b70..b5ace786d3967 100644 --- a/clients/client-gamelift/commands/TagResourceCommand.ts +++ b/clients/client-gamelift/commands/TagResourceCommand.ts @@ -89,7 +89,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -107,10 +106,7 @@ export class TagResourceCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UntagResourceCommand.ts b/clients/client-gamelift/commands/UntagResourceCommand.ts index 49a405ff3a263..2101546637bc2 100644 --- a/clients/client-gamelift/commands/UntagResourceCommand.ts +++ b/clients/client-gamelift/commands/UntagResourceCommand.ts @@ -89,7 +89,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -107,10 +106,7 @@ export class UntagResourceCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateAliasCommand.ts b/clients/client-gamelift/commands/UpdateAliasCommand.ts index f56b99d325773..6021666039157 100644 --- a/clients/client-gamelift/commands/UpdateAliasCommand.ts +++ b/clients/client-gamelift/commands/UpdateAliasCommand.ts @@ -63,7 +63,6 @@ export class UpdateAliasCommand extends $Command< UpdateAliasCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class UpdateAliasCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateBuildCommand.ts b/clients/client-gamelift/commands/UpdateBuildCommand.ts index 2ddc608c71c1f..5dfb51c190f54 100644 --- a/clients/client-gamelift/commands/UpdateBuildCommand.ts +++ b/clients/client-gamelift/commands/UpdateBuildCommand.ts @@ -67,7 +67,6 @@ export class UpdateBuildCommand extends $Command< UpdateBuildCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class UpdateBuildCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts b/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts index 461440ae20b63..032d2a6a16615 100644 --- a/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts +++ b/clients/client-gamelift/commands/UpdateFleetAttributesCommand.ts @@ -91,7 +91,6 @@ export class UpdateFleetAttributesCommand extends $Command< UpdateFleetAttributesCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class UpdateFleetAttributesCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts b/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts index 90a6808d095ca..9c2fd5abd8fc9 100644 --- a/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts +++ b/clients/client-gamelift/commands/UpdateFleetCapacityCommand.ts @@ -102,7 +102,6 @@ export class UpdateFleetCapacityCommand extends $Command< UpdateFleetCapacityCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -120,10 +119,7 @@ export class UpdateFleetCapacityCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts b/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts index ee9da8adf6c99..1ec117386becb 100644 --- a/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts +++ b/clients/client-gamelift/commands/UpdateFleetPortSettingsCommand.ts @@ -94,7 +94,6 @@ export class UpdateFleetPortSettingsCommand extends $Command< UpdateFleetPortSettingsCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -112,10 +111,7 @@ export class UpdateFleetPortSettingsCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateGameServerCommand.ts b/clients/client-gamelift/commands/UpdateGameServerCommand.ts index d941357feae54..3cd2806327844 100644 --- a/clients/client-gamelift/commands/UpdateGameServerCommand.ts +++ b/clients/client-gamelift/commands/UpdateGameServerCommand.ts @@ -96,7 +96,6 @@ export class UpdateGameServerCommand extends $Command< UpdateGameServerCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -114,10 +113,7 @@ export class UpdateGameServerCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateGameServerGroupCommand.ts b/clients/client-gamelift/commands/UpdateGameServerGroupCommand.ts index 02ebfc651651d..e7488ca6d4f17 100644 --- a/clients/client-gamelift/commands/UpdateGameServerGroupCommand.ts +++ b/clients/client-gamelift/commands/UpdateGameServerGroupCommand.ts @@ -88,7 +88,6 @@ export class UpdateGameServerGroupCommand extends $Command< UpdateGameServerGroupCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -106,10 +105,7 @@ export class UpdateGameServerGroupCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateGameSessionCommand.ts b/clients/client-gamelift/commands/UpdateGameSessionCommand.ts index 9cf48f05c25ad..bac4e8534d25d 100644 --- a/clients/client-gamelift/commands/UpdateGameSessionCommand.ts +++ b/clients/client-gamelift/commands/UpdateGameSessionCommand.ts @@ -85,7 +85,6 @@ export class UpdateGameSessionCommand extends $Command< UpdateGameSessionCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -103,10 +102,7 @@ export class UpdateGameSessionCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts b/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts index b21244ec3b16e..fe383609cdc94 100644 --- a/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts +++ b/clients/client-gamelift/commands/UpdateGameSessionQueueCommand.ts @@ -63,7 +63,6 @@ export class UpdateGameSessionQueueCommand extends $Command< UpdateGameSessionQueueCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class UpdateGameSessionQueueCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts b/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts index 7378a7925bf11..788ac487f2031 100644 --- a/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts +++ b/clients/client-gamelift/commands/UpdateMatchmakingConfigurationCommand.ts @@ -82,7 +82,6 @@ export class UpdateMatchmakingConfigurationCommand extends $Command< UpdateMatchmakingConfigurationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class UpdateMatchmakingConfigurationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts b/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts index 6c5d9877fb919..5b020a4cc61f4 100644 --- a/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts +++ b/clients/client-gamelift/commands/UpdateRuntimeConfigurationCommand.ts @@ -100,7 +100,6 @@ export class UpdateRuntimeConfigurationCommand extends $Command< UpdateRuntimeConfigurationCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -118,10 +117,7 @@ export class UpdateRuntimeConfigurationCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/UpdateScriptCommand.ts b/clients/client-gamelift/commands/UpdateScriptCommand.ts index 986d52e7d113b..2273c8e643ca8 100644 --- a/clients/client-gamelift/commands/UpdateScriptCommand.ts +++ b/clients/client-gamelift/commands/UpdateScriptCommand.ts @@ -73,7 +73,6 @@ export class UpdateScriptCommand extends $Command< UpdateScriptCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -91,10 +90,7 @@ export class UpdateScriptCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts b/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts index 4e30e16d4ab4e..26b3eef620a63 100644 --- a/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts +++ b/clients/client-gamelift/commands/ValidateMatchmakingRuleSetCommand.ts @@ -86,7 +86,6 @@ export class ValidateMatchmakingRuleSetCommand extends $Command< ValidateMatchmakingRuleSetCommandOutput, GameLiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class ValidateMatchmakingRuleSetCommand extends $Command< configuration: GameLiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/AbortMultipartUploadCommand.ts b/clients/client-glacier/commands/AbortMultipartUploadCommand.ts index 9c14687be73a1..67423b077a05a 100644 --- a/clients/client-glacier/commands/AbortMultipartUploadCommand.ts +++ b/clients/client-glacier/commands/AbortMultipartUploadCommand.ts @@ -45,7 +45,6 @@ export class AbortMultipartUploadCommand extends $Command< AbortMultipartUploadCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class AbortMultipartUploadCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/AbortVaultLockCommand.ts b/clients/client-glacier/commands/AbortVaultLockCommand.ts index e3910bb48963c..02e16def89610 100644 --- a/clients/client-glacier/commands/AbortVaultLockCommand.ts +++ b/clients/client-glacier/commands/AbortVaultLockCommand.ts @@ -41,7 +41,6 @@ export class AbortVaultLockCommand extends $Command< AbortVaultLockCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class AbortVaultLockCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/AddTagsToVaultCommand.ts b/clients/client-glacier/commands/AddTagsToVaultCommand.ts index 3dd41e787ad01..8a6b2cc6ec789 100644 --- a/clients/client-glacier/commands/AddTagsToVaultCommand.ts +++ b/clients/client-glacier/commands/AddTagsToVaultCommand.ts @@ -33,7 +33,6 @@ export class AddTagsToVaultCommand extends $Command< AddTagsToVaultCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AddTagsToVaultCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts b/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts index b0c20ca07fecc..71ac387fe212b 100644 --- a/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts +++ b/clients/client-glacier/commands/CompleteMultipartUploadCommand.ts @@ -65,7 +65,6 @@ export class CompleteMultipartUploadCommand extends $Command< CompleteMultipartUploadCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class CompleteMultipartUploadCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/CompleteVaultLockCommand.ts b/clients/client-glacier/commands/CompleteVaultLockCommand.ts index 9822c45508e60..f34514dd6ff13 100644 --- a/clients/client-glacier/commands/CompleteVaultLockCommand.ts +++ b/clients/client-glacier/commands/CompleteVaultLockCommand.ts @@ -41,7 +41,6 @@ export class CompleteVaultLockCommand extends $Command< CompleteVaultLockCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CompleteVaultLockCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/CreateVaultCommand.ts b/clients/client-glacier/commands/CreateVaultCommand.ts index 7ce68a66f30c4..0587d8a68dc5a 100644 --- a/clients/client-glacier/commands/CreateVaultCommand.ts +++ b/clients/client-glacier/commands/CreateVaultCommand.ts @@ -51,7 +51,6 @@ export class CreateVaultCommand extends $Command< CreateVaultCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class CreateVaultCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/DeleteArchiveCommand.ts b/clients/client-glacier/commands/DeleteArchiveCommand.ts index 293a0b7d10004..bc169dd3f873e 100644 --- a/clients/client-glacier/commands/DeleteArchiveCommand.ts +++ b/clients/client-glacier/commands/DeleteArchiveCommand.ts @@ -54,7 +54,6 @@ export class DeleteArchiveCommand extends $Command< DeleteArchiveCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class DeleteArchiveCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts b/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts index cd674a1b205ff..c159569f6d000 100644 --- a/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts +++ b/clients/client-glacier/commands/DeleteVaultAccessPolicyCommand.ts @@ -34,7 +34,6 @@ export class DeleteVaultAccessPolicyCommand extends $Command< DeleteVaultAccessPolicyCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteVaultAccessPolicyCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/DeleteVaultCommand.ts b/clients/client-glacier/commands/DeleteVaultCommand.ts index dad359282bae9..436e77d0e30c7 100644 --- a/clients/client-glacier/commands/DeleteVaultCommand.ts +++ b/clients/client-glacier/commands/DeleteVaultCommand.ts @@ -47,7 +47,6 @@ export class DeleteVaultCommand extends $Command< DeleteVaultCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DeleteVaultCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts b/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts index c1757a27d2612..f4b69a1ad138b 100644 --- a/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts +++ b/clients/client-glacier/commands/DeleteVaultNotificationsCommand.ts @@ -40,7 +40,6 @@ export class DeleteVaultNotificationsCommand extends $Command< DeleteVaultNotificationsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteVaultNotificationsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/DescribeJobCommand.ts b/clients/client-glacier/commands/DescribeJobCommand.ts index e5726735f229d..153f1cb074caa 100644 --- a/clients/client-glacier/commands/DescribeJobCommand.ts +++ b/clients/client-glacier/commands/DescribeJobCommand.ts @@ -51,7 +51,6 @@ export class DescribeJobCommand extends $Command< DescribeJobCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DescribeJobCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/DescribeVaultCommand.ts b/clients/client-glacier/commands/DescribeVaultCommand.ts index f5ae3429c9bfd..ed980bf9d78bc 100644 --- a/clients/client-glacier/commands/DescribeVaultCommand.ts +++ b/clients/client-glacier/commands/DescribeVaultCommand.ts @@ -45,7 +45,6 @@ export class DescribeVaultCommand extends $Command< DescribeVaultCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DescribeVaultCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts b/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts index 40ee6b726e475..6e626e8e551be 100644 --- a/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts +++ b/clients/client-glacier/commands/GetDataRetrievalPolicyCommand.ts @@ -30,7 +30,6 @@ export class GetDataRetrievalPolicyCommand extends $Command< GetDataRetrievalPolicyCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDataRetrievalPolicyCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/GetJobOutputCommand.ts b/clients/client-glacier/commands/GetJobOutputCommand.ts index 47ad58919eb20..726ea5d523033 100644 --- a/clients/client-glacier/commands/GetJobOutputCommand.ts +++ b/clients/client-glacier/commands/GetJobOutputCommand.ts @@ -64,7 +64,6 @@ export class GetJobOutputCommand extends $Command< GetJobOutputCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class GetJobOutputCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts b/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts index 8e51253ce0a0b..bb17b4e4fab9a 100644 --- a/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts +++ b/clients/client-glacier/commands/GetVaultAccessPolicyCommand.ts @@ -33,7 +33,6 @@ export class GetVaultAccessPolicyCommand extends $Command< GetVaultAccessPolicyCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetVaultAccessPolicyCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/GetVaultLockCommand.ts b/clients/client-glacier/commands/GetVaultLockCommand.ts index 345345ebd4f43..9a03ee050855e 100644 --- a/clients/client-glacier/commands/GetVaultLockCommand.ts +++ b/clients/client-glacier/commands/GetVaultLockCommand.ts @@ -55,7 +55,6 @@ export class GetVaultLockCommand extends $Command< GetVaultLockCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class GetVaultLockCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/GetVaultNotificationsCommand.ts b/clients/client-glacier/commands/GetVaultNotificationsCommand.ts index 3ac76efc4d364..11b6288dc62d6 100644 --- a/clients/client-glacier/commands/GetVaultNotificationsCommand.ts +++ b/clients/client-glacier/commands/GetVaultNotificationsCommand.ts @@ -43,7 +43,6 @@ export class GetVaultNotificationsCommand extends $Command< GetVaultNotificationsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class GetVaultNotificationsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/InitiateJobCommand.ts b/clients/client-glacier/commands/InitiateJobCommand.ts index 01032fb66cd92..1d312a023ea0b 100644 --- a/clients/client-glacier/commands/InitiateJobCommand.ts +++ b/clients/client-glacier/commands/InitiateJobCommand.ts @@ -32,7 +32,6 @@ export class InitiateJobCommand extends $Command< InitiateJobCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class InitiateJobCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts b/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts index afdd9da39f761..06d1e9d003214 100644 --- a/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts +++ b/clients/client-glacier/commands/InitiateMultipartUploadCommand.ts @@ -61,7 +61,6 @@ export class InitiateMultipartUploadCommand extends $Command< InitiateMultipartUploadCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class InitiateMultipartUploadCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/InitiateVaultLockCommand.ts b/clients/client-glacier/commands/InitiateVaultLockCommand.ts index 13aaef1fb428a..35ecf0ac90a12 100644 --- a/clients/client-glacier/commands/InitiateVaultLockCommand.ts +++ b/clients/client-glacier/commands/InitiateVaultLockCommand.ts @@ -62,7 +62,6 @@ export class InitiateVaultLockCommand extends $Command< InitiateVaultLockCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class InitiateVaultLockCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/ListJobsCommand.ts b/clients/client-glacier/commands/ListJobsCommand.ts index f41f2121f893c..3ec142e16fc0e 100644 --- a/clients/client-glacier/commands/ListJobsCommand.ts +++ b/clients/client-glacier/commands/ListJobsCommand.ts @@ -63,7 +63,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class ListJobsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/ListMultipartUploadsCommand.ts b/clients/client-glacier/commands/ListMultipartUploadsCommand.ts index 49c103f7582df..f4c54b0c82d54 100644 --- a/clients/client-glacier/commands/ListMultipartUploadsCommand.ts +++ b/clients/client-glacier/commands/ListMultipartUploadsCommand.ts @@ -53,7 +53,6 @@ export class ListMultipartUploadsCommand extends $Command< ListMultipartUploadsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class ListMultipartUploadsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/ListPartsCommand.ts b/clients/client-glacier/commands/ListPartsCommand.ts index 1f7293f235b97..f5aef115a65a7 100644 --- a/clients/client-glacier/commands/ListPartsCommand.ts +++ b/clients/client-glacier/commands/ListPartsCommand.ts @@ -49,7 +49,6 @@ export class ListPartsCommand extends $Command< ListPartsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class ListPartsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts b/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts index 407103bbbf188..902a794610301 100644 --- a/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts +++ b/clients/client-glacier/commands/ListProvisionedCapacityCommand.ts @@ -29,7 +29,6 @@ export class ListProvisionedCapacityCommand extends $Command< ListProvisionedCapacityCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListProvisionedCapacityCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/ListTagsForVaultCommand.ts b/clients/client-glacier/commands/ListTagsForVaultCommand.ts index 0d674275a9b68..73a367d806623 100644 --- a/clients/client-glacier/commands/ListTagsForVaultCommand.ts +++ b/clients/client-glacier/commands/ListTagsForVaultCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForVaultCommand extends $Command< ListTagsForVaultCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForVaultCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/ListVaultsCommand.ts b/clients/client-glacier/commands/ListVaultsCommand.ts index dd05c8502c269..02c2fe963234e 100644 --- a/clients/client-glacier/commands/ListVaultsCommand.ts +++ b/clients/client-glacier/commands/ListVaultsCommand.ts @@ -46,7 +46,6 @@ export class ListVaultsCommand extends $Command< ListVaultsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class ListVaultsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts b/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts index 2590cb8febab7..90292d2f58180 100644 --- a/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts +++ b/clients/client-glacier/commands/PurchaseProvisionedCapacityCommand.ts @@ -28,7 +28,6 @@ export class PurchaseProvisionedCapacityCommand extends $Command< PurchaseProvisionedCapacityCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PurchaseProvisionedCapacityCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts b/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts index 1cd7ed6855718..8c373d9869ebf 100644 --- a/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts +++ b/clients/client-glacier/commands/RemoveTagsFromVaultCommand.ts @@ -31,7 +31,6 @@ export class RemoveTagsFromVaultCommand extends $Command< RemoveTagsFromVaultCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RemoveTagsFromVaultCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts b/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts index 4fe878014eb77..84948056c9719 100644 --- a/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts +++ b/clients/client-glacier/commands/SetDataRetrievalPolicyCommand.ts @@ -33,7 +33,6 @@ export class SetDataRetrievalPolicyCommand extends $Command< SetDataRetrievalPolicyCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetDataRetrievalPolicyCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts b/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts index 6dc4334b385a3..ca0d318121f9c 100644 --- a/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts +++ b/clients/client-glacier/commands/SetVaultAccessPolicyCommand.ts @@ -33,7 +33,6 @@ export class SetVaultAccessPolicyCommand extends $Command< SetVaultAccessPolicyCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetVaultAccessPolicyCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/SetVaultNotificationsCommand.ts b/clients/client-glacier/commands/SetVaultNotificationsCommand.ts index 6c9b8e8f87da4..04f979a833039 100644 --- a/clients/client-glacier/commands/SetVaultNotificationsCommand.ts +++ b/clients/client-glacier/commands/SetVaultNotificationsCommand.ts @@ -65,7 +65,6 @@ export class SetVaultNotificationsCommand extends $Command< SetVaultNotificationsCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class SetVaultNotificationsCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/UploadArchiveCommand.ts b/clients/client-glacier/commands/UploadArchiveCommand.ts index 57d55923fe454..e705a345892c5 100644 --- a/clients/client-glacier/commands/UploadArchiveCommand.ts +++ b/clients/client-glacier/commands/UploadArchiveCommand.ts @@ -61,7 +61,6 @@ export class UploadArchiveCommand extends $Command< UploadArchiveCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class UploadArchiveCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glacier/commands/UploadMultipartPartCommand.ts b/clients/client-glacier/commands/UploadMultipartPartCommand.ts index c07914ad12147..74a8d834ef78f 100644 --- a/clients/client-glacier/commands/UploadMultipartPartCommand.ts +++ b/clients/client-glacier/commands/UploadMultipartPartCommand.ts @@ -80,7 +80,6 @@ export class UploadMultipartPartCommand extends $Command< UploadMultipartPartCommandOutput, GlacierClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,10 +97,7 @@ export class UploadMultipartPartCommand extends $Command< configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/AddCustomRoutingEndpointsCommand.ts b/clients/client-global-accelerator/commands/AddCustomRoutingEndpointsCommand.ts index 420e34e887c66..fde3f4041a7cb 100644 --- a/clients/client-global-accelerator/commands/AddCustomRoutingEndpointsCommand.ts +++ b/clients/client-global-accelerator/commands/AddCustomRoutingEndpointsCommand.ts @@ -42,7 +42,6 @@ export class AddCustomRoutingEndpointsCommand extends $Command< AddCustomRoutingEndpointsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class AddCustomRoutingEndpointsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/AdvertiseByoipCidrCommand.ts b/clients/client-global-accelerator/commands/AdvertiseByoipCidrCommand.ts index 6c461c4a82af7..d2696ce233f20 100644 --- a/clients/client-global-accelerator/commands/AdvertiseByoipCidrCommand.ts +++ b/clients/client-global-accelerator/commands/AdvertiseByoipCidrCommand.ts @@ -38,7 +38,6 @@ export class AdvertiseByoipCidrCommand extends $Command< AdvertiseByoipCidrCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AdvertiseByoipCidrCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/AllowCustomRoutingTrafficCommand.ts b/clients/client-global-accelerator/commands/AllowCustomRoutingTrafficCommand.ts index 2b2a1b31fbfbd..9bbac44cd5f98 100644 --- a/clients/client-global-accelerator/commands/AllowCustomRoutingTrafficCommand.ts +++ b/clients/client-global-accelerator/commands/AllowCustomRoutingTrafficCommand.ts @@ -37,7 +37,6 @@ export class AllowCustomRoutingTrafficCommand extends $Command< AllowCustomRoutingTrafficCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AllowCustomRoutingTrafficCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts b/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts index e02235e52be29..2f5a4586281a8 100644 --- a/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/CreateAcceleratorCommand.ts @@ -37,7 +37,6 @@ export class CreateAcceleratorCommand extends $Command< CreateAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/CreateCustomRoutingAcceleratorCommand.ts b/clients/client-global-accelerator/commands/CreateCustomRoutingAcceleratorCommand.ts index 0841abd0c9a3a..4456b543ddc7d 100644 --- a/clients/client-global-accelerator/commands/CreateCustomRoutingAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/CreateCustomRoutingAcceleratorCommand.ts @@ -37,7 +37,6 @@ export class CreateCustomRoutingAcceleratorCommand extends $Command< CreateCustomRoutingAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateCustomRoutingAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/CreateCustomRoutingEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/CreateCustomRoutingEndpointGroupCommand.ts index fdf080dad0c9d..7918a82db0a20 100644 --- a/clients/client-global-accelerator/commands/CreateCustomRoutingEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/CreateCustomRoutingEndpointGroupCommand.ts @@ -34,7 +34,6 @@ export class CreateCustomRoutingEndpointGroupCommand extends $Command< CreateCustomRoutingEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateCustomRoutingEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/CreateCustomRoutingListenerCommand.ts b/clients/client-global-accelerator/commands/CreateCustomRoutingListenerCommand.ts index 0a9891c1f9b8f..aabc9652f88cb 100644 --- a/clients/client-global-accelerator/commands/CreateCustomRoutingListenerCommand.ts +++ b/clients/client-global-accelerator/commands/CreateCustomRoutingListenerCommand.ts @@ -33,7 +33,6 @@ export class CreateCustomRoutingListenerCommand extends $Command< CreateCustomRoutingListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateCustomRoutingListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts index 063b40388fe5a..d4f5933986a5a 100644 --- a/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/CreateEndpointGroupCommand.ts @@ -33,7 +33,6 @@ export class CreateEndpointGroupCommand extends $Command< CreateEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/CreateListenerCommand.ts b/clients/client-global-accelerator/commands/CreateListenerCommand.ts index 9c2cff8adc0f6..159cbac08d33f 100644 --- a/clients/client-global-accelerator/commands/CreateListenerCommand.ts +++ b/clients/client-global-accelerator/commands/CreateListenerCommand.ts @@ -33,7 +33,6 @@ export class CreateListenerCommand extends $Command< CreateListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts b/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts index 7db29942ced39..3d1e65e2516b9 100644 --- a/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteAcceleratorCommand.ts @@ -45,7 +45,6 @@ export class DeleteAcceleratorCommand extends $Command< DeleteAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DeleteAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeleteCustomRoutingAcceleratorCommand.ts b/clients/client-global-accelerator/commands/DeleteCustomRoutingAcceleratorCommand.ts index ad910790b21b9..0bd1ad6e6eb41 100644 --- a/clients/client-global-accelerator/commands/DeleteCustomRoutingAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteCustomRoutingAcceleratorCommand.ts @@ -45,7 +45,6 @@ export class DeleteCustomRoutingAcceleratorCommand extends $Command< DeleteCustomRoutingAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DeleteCustomRoutingAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeleteCustomRoutingEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/DeleteCustomRoutingEndpointGroupCommand.ts index 8e03b14c16bd7..b0b209b4affd7 100644 --- a/clients/client-global-accelerator/commands/DeleteCustomRoutingEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteCustomRoutingEndpointGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteCustomRoutingEndpointGroupCommand extends $Command< DeleteCustomRoutingEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteCustomRoutingEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeleteCustomRoutingListenerCommand.ts b/clients/client-global-accelerator/commands/DeleteCustomRoutingListenerCommand.ts index b9e4c3f3e0652..cf202d3294516 100644 --- a/clients/client-global-accelerator/commands/DeleteCustomRoutingListenerCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteCustomRoutingListenerCommand.ts @@ -32,7 +32,6 @@ export class DeleteCustomRoutingListenerCommand extends $Command< DeleteCustomRoutingListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteCustomRoutingListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts index 532de22d285c9..e158ea73de86d 100644 --- a/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteEndpointGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteEndpointGroupCommand extends $Command< DeleteEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeleteListenerCommand.ts b/clients/client-global-accelerator/commands/DeleteListenerCommand.ts index 2ff2c18e27a71..f2e44a2bc4afe 100644 --- a/clients/client-global-accelerator/commands/DeleteListenerCommand.ts +++ b/clients/client-global-accelerator/commands/DeleteListenerCommand.ts @@ -32,7 +32,6 @@ export class DeleteListenerCommand extends $Command< DeleteListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DenyCustomRoutingTrafficCommand.ts b/clients/client-global-accelerator/commands/DenyCustomRoutingTrafficCommand.ts index f12051c4fd673..981dd7ab849ec 100644 --- a/clients/client-global-accelerator/commands/DenyCustomRoutingTrafficCommand.ts +++ b/clients/client-global-accelerator/commands/DenyCustomRoutingTrafficCommand.ts @@ -37,7 +37,6 @@ export class DenyCustomRoutingTrafficCommand extends $Command< DenyCustomRoutingTrafficCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DenyCustomRoutingTrafficCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DeprovisionByoipCidrCommand.ts b/clients/client-global-accelerator/commands/DeprovisionByoipCidrCommand.ts index 5ee2cff12b7bd..a8e28fac9813f 100644 --- a/clients/client-global-accelerator/commands/DeprovisionByoipCidrCommand.ts +++ b/clients/client-global-accelerator/commands/DeprovisionByoipCidrCommand.ts @@ -38,7 +38,6 @@ export class DeprovisionByoipCidrCommand extends $Command< DeprovisionByoipCidrCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeprovisionByoipCidrCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts b/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts index 54674097046a4..a592cc44bb71f 100644 --- a/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeAcceleratorAttributesCommand.ts @@ -33,7 +33,6 @@ export class DescribeAcceleratorAttributesCommand extends $Command< DescribeAcceleratorAttributesCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeAcceleratorAttributesCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts b/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts index bfa13c24eacde..370ee6ddf1d0e 100644 --- a/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeAcceleratorCommand.ts @@ -32,7 +32,6 @@ export class DescribeAcceleratorCommand extends $Command< DescribeAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorAttributesCommand.ts b/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorAttributesCommand.ts index 07bedf0243123..f8f7bf55cdd0f 100644 --- a/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorAttributesCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorAttributesCommand.ts @@ -36,7 +36,6 @@ export class DescribeCustomRoutingAcceleratorAttributesCommand extends $Command< DescribeCustomRoutingAcceleratorAttributesCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeCustomRoutingAcceleratorAttributesCommand extends $Command< DescribeCustomRoutingAcceleratorAttributesCommandInput, DescribeCustomRoutingAcceleratorAttributesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorCommand.ts b/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorCommand.ts index d610274ad78ce..9aedc4a5dd411 100644 --- a/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeCustomRoutingAcceleratorCommand.ts @@ -32,7 +32,6 @@ export class DescribeCustomRoutingAcceleratorCommand extends $Command< DescribeCustomRoutingAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeCustomRoutingAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeCustomRoutingEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/DescribeCustomRoutingEndpointGroupCommand.ts index 10973cbb6fa0c..131f55989b3ac 100644 --- a/clients/client-global-accelerator/commands/DescribeCustomRoutingEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeCustomRoutingEndpointGroupCommand.ts @@ -36,7 +36,6 @@ export class DescribeCustomRoutingEndpointGroupCommand extends $Command< DescribeCustomRoutingEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeCustomRoutingEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeCustomRoutingListenerCommand.ts b/clients/client-global-accelerator/commands/DescribeCustomRoutingListenerCommand.ts index 8c8660c1ec8a7..0183edce8092f 100644 --- a/clients/client-global-accelerator/commands/DescribeCustomRoutingListenerCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeCustomRoutingListenerCommand.ts @@ -32,7 +32,6 @@ export class DescribeCustomRoutingListenerCommand extends $Command< DescribeCustomRoutingListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeCustomRoutingListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts index 2c9aca505f37e..1b83c0beac43d 100644 --- a/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeEndpointGroupCommand.ts @@ -32,7 +32,6 @@ export class DescribeEndpointGroupCommand extends $Command< DescribeEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/DescribeListenerCommand.ts b/clients/client-global-accelerator/commands/DescribeListenerCommand.ts index 4dcd0cb480b50..ec08dd26b0a51 100644 --- a/clients/client-global-accelerator/commands/DescribeListenerCommand.ts +++ b/clients/client-global-accelerator/commands/DescribeListenerCommand.ts @@ -32,7 +32,6 @@ export class DescribeListenerCommand extends $Command< DescribeListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts b/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts index 8fcf5790dfb8f..947f83538dab5 100644 --- a/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts +++ b/clients/client-global-accelerator/commands/ListAcceleratorsCommand.ts @@ -32,7 +32,6 @@ export class ListAcceleratorsCommand extends $Command< ListAcceleratorsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListAcceleratorsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListByoipCidrsCommand.ts b/clients/client-global-accelerator/commands/ListByoipCidrsCommand.ts index c5283f09a083f..ecbc539914695 100644 --- a/clients/client-global-accelerator/commands/ListByoipCidrsCommand.ts +++ b/clients/client-global-accelerator/commands/ListByoipCidrsCommand.ts @@ -33,7 +33,6 @@ export class ListByoipCidrsCommand extends $Command< ListByoipCidrsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListByoipCidrsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListCustomRoutingAcceleratorsCommand.ts b/clients/client-global-accelerator/commands/ListCustomRoutingAcceleratorsCommand.ts index 31cba5bc8e4d6..5e87b2c3f6d2d 100644 --- a/clients/client-global-accelerator/commands/ListCustomRoutingAcceleratorsCommand.ts +++ b/clients/client-global-accelerator/commands/ListCustomRoutingAcceleratorsCommand.ts @@ -32,7 +32,6 @@ export class ListCustomRoutingAcceleratorsCommand extends $Command< ListCustomRoutingAcceleratorsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListCustomRoutingAcceleratorsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListCustomRoutingEndpointGroupsCommand.ts b/clients/client-global-accelerator/commands/ListCustomRoutingEndpointGroupsCommand.ts index 6d28783599b03..31e3c1b6f4c75 100644 --- a/clients/client-global-accelerator/commands/ListCustomRoutingEndpointGroupsCommand.ts +++ b/clients/client-global-accelerator/commands/ListCustomRoutingEndpointGroupsCommand.ts @@ -32,7 +32,6 @@ export class ListCustomRoutingEndpointGroupsCommand extends $Command< ListCustomRoutingEndpointGroupsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListCustomRoutingEndpointGroupsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListCustomRoutingListenersCommand.ts b/clients/client-global-accelerator/commands/ListCustomRoutingListenersCommand.ts index 3a5d6c52af8d9..e2131d8923b97 100644 --- a/clients/client-global-accelerator/commands/ListCustomRoutingListenersCommand.ts +++ b/clients/client-global-accelerator/commands/ListCustomRoutingListenersCommand.ts @@ -32,7 +32,6 @@ export class ListCustomRoutingListenersCommand extends $Command< ListCustomRoutingListenersCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListCustomRoutingListenersCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsByDestinationCommand.ts b/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsByDestinationCommand.ts index 760f2a5db5701..98e22864d8109 100644 --- a/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsByDestinationCommand.ts +++ b/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsByDestinationCommand.ts @@ -39,7 +39,6 @@ export class ListCustomRoutingPortMappingsByDestinationCommand extends $Command< ListCustomRoutingPortMappingsByDestinationCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListCustomRoutingPortMappingsByDestinationCommand extends $Command< ListCustomRoutingPortMappingsByDestinationCommandInput, ListCustomRoutingPortMappingsByDestinationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsCommand.ts b/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsCommand.ts index 9231ca7a62655..91961589775da 100644 --- a/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsCommand.ts +++ b/clients/client-global-accelerator/commands/ListCustomRoutingPortMappingsCommand.ts @@ -40,7 +40,6 @@ export class ListCustomRoutingPortMappingsCommand extends $Command< ListCustomRoutingPortMappingsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListCustomRoutingPortMappingsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts b/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts index 1ad1bb9125e75..1693d8c6b89f9 100644 --- a/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts +++ b/clients/client-global-accelerator/commands/ListEndpointGroupsCommand.ts @@ -32,7 +32,6 @@ export class ListEndpointGroupsCommand extends $Command< ListEndpointGroupsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListEndpointGroupsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListListenersCommand.ts b/clients/client-global-accelerator/commands/ListListenersCommand.ts index 329c62ae45343..39f9515084428 100644 --- a/clients/client-global-accelerator/commands/ListListenersCommand.ts +++ b/clients/client-global-accelerator/commands/ListListenersCommand.ts @@ -32,7 +32,6 @@ export class ListListenersCommand extends $Command< ListListenersCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListListenersCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ListTagsForResourceCommand.ts b/clients/client-global-accelerator/commands/ListTagsForResourceCommand.ts index 6ebf0004408fa..e814ee539f469 100644 --- a/clients/client-global-accelerator/commands/ListTagsForResourceCommand.ts +++ b/clients/client-global-accelerator/commands/ListTagsForResourceCommand.ts @@ -34,7 +34,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/ProvisionByoipCidrCommand.ts b/clients/client-global-accelerator/commands/ProvisionByoipCidrCommand.ts index 6fffa6814c8a3..77aa896ec375e 100644 --- a/clients/client-global-accelerator/commands/ProvisionByoipCidrCommand.ts +++ b/clients/client-global-accelerator/commands/ProvisionByoipCidrCommand.ts @@ -37,7 +37,6 @@ export class ProvisionByoipCidrCommand extends $Command< ProvisionByoipCidrCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ProvisionByoipCidrCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/RemoveCustomRoutingEndpointsCommand.ts b/clients/client-global-accelerator/commands/RemoveCustomRoutingEndpointsCommand.ts index ab298b9e56a46..e36eb4fd39b5d 100644 --- a/clients/client-global-accelerator/commands/RemoveCustomRoutingEndpointsCommand.ts +++ b/clients/client-global-accelerator/commands/RemoveCustomRoutingEndpointsCommand.ts @@ -32,7 +32,6 @@ export class RemoveCustomRoutingEndpointsCommand extends $Command< RemoveCustomRoutingEndpointsCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RemoveCustomRoutingEndpointsCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/TagResourceCommand.ts b/clients/client-global-accelerator/commands/TagResourceCommand.ts index 4a3cde7f6ce06..6ce36cbf7b118 100644 --- a/clients/client-global-accelerator/commands/TagResourceCommand.ts +++ b/clients/client-global-accelerator/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UntagResourceCommand.ts b/clients/client-global-accelerator/commands/UntagResourceCommand.ts index d135b99067dbe..ece3fcc0d6dee 100644 --- a/clients/client-global-accelerator/commands/UntagResourceCommand.ts +++ b/clients/client-global-accelerator/commands/UntagResourceCommand.ts @@ -35,7 +35,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UntagResourceCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts b/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts index 80e7ea090db78..af6ce41d2d5cb 100644 --- a/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateAcceleratorAttributesCommand.ts @@ -32,7 +32,6 @@ export class UpdateAcceleratorAttributesCommand extends $Command< UpdateAcceleratorAttributesCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateAcceleratorAttributesCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts b/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts index e8184087834b1..c9ca197c6ff2a 100644 --- a/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateAcceleratorCommand.ts @@ -37,7 +37,6 @@ export class UpdateAcceleratorCommand extends $Command< UpdateAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorAttributesCommand.ts b/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorAttributesCommand.ts index 57b3399b19418..7b245209facf6 100644 --- a/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorAttributesCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorAttributesCommand.ts @@ -36,7 +36,6 @@ export class UpdateCustomRoutingAcceleratorAttributesCommand extends $Command< UpdateCustomRoutingAcceleratorAttributesCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class UpdateCustomRoutingAcceleratorAttributesCommand extends $Command< UpdateCustomRoutingAcceleratorAttributesCommandInput, UpdateCustomRoutingAcceleratorAttributesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorCommand.ts b/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorCommand.ts index 6a95aa3af22c3..45cbb412890b1 100644 --- a/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateCustomRoutingAcceleratorCommand.ts @@ -32,7 +32,6 @@ export class UpdateCustomRoutingAcceleratorCommand extends $Command< UpdateCustomRoutingAcceleratorCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateCustomRoutingAcceleratorCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateCustomRoutingListenerCommand.ts b/clients/client-global-accelerator/commands/UpdateCustomRoutingListenerCommand.ts index ca8bf72ed72a8..2c29e6d355699 100644 --- a/clients/client-global-accelerator/commands/UpdateCustomRoutingListenerCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateCustomRoutingListenerCommand.ts @@ -32,7 +32,6 @@ export class UpdateCustomRoutingListenerCommand extends $Command< UpdateCustomRoutingListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateCustomRoutingListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts b/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts index aa5f22d89ec3d..27e0a8e4b08af 100644 --- a/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateEndpointGroupCommand.ts @@ -32,7 +32,6 @@ export class UpdateEndpointGroupCommand extends $Command< UpdateEndpointGroupCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateEndpointGroupCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/UpdateListenerCommand.ts b/clients/client-global-accelerator/commands/UpdateListenerCommand.ts index 341640a0dc565..d6988a6aeabfb 100644 --- a/clients/client-global-accelerator/commands/UpdateListenerCommand.ts +++ b/clients/client-global-accelerator/commands/UpdateListenerCommand.ts @@ -32,7 +32,6 @@ export class UpdateListenerCommand extends $Command< UpdateListenerCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateListenerCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-global-accelerator/commands/WithdrawByoipCidrCommand.ts b/clients/client-global-accelerator/commands/WithdrawByoipCidrCommand.ts index 70a00bc936cde..3f06a8f54aa9f 100644 --- a/clients/client-global-accelerator/commands/WithdrawByoipCidrCommand.ts +++ b/clients/client-global-accelerator/commands/WithdrawByoipCidrCommand.ts @@ -38,7 +38,6 @@ export class WithdrawByoipCidrCommand extends $Command< WithdrawByoipCidrCommandOutput, GlobalAcceleratorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class WithdrawByoipCidrCommand extends $Command< configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchCreatePartitionCommand.ts b/clients/client-glue/commands/BatchCreatePartitionCommand.ts index b44202285846b..63d965cd66fcb 100644 --- a/clients/client-glue/commands/BatchCreatePartitionCommand.ts +++ b/clients/client-glue/commands/BatchCreatePartitionCommand.ts @@ -28,7 +28,6 @@ export class BatchCreatePartitionCommand extends $Command< BatchCreatePartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchCreatePartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchDeleteConnectionCommand.ts b/clients/client-glue/commands/BatchDeleteConnectionCommand.ts index 016383a8da08e..62c2d802e9d89 100644 --- a/clients/client-glue/commands/BatchDeleteConnectionCommand.ts +++ b/clients/client-glue/commands/BatchDeleteConnectionCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteConnectionCommand extends $Command< BatchDeleteConnectionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteConnectionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchDeletePartitionCommand.ts b/clients/client-glue/commands/BatchDeletePartitionCommand.ts index 716bf76b4c486..400b72b04317f 100644 --- a/clients/client-glue/commands/BatchDeletePartitionCommand.ts +++ b/clients/client-glue/commands/BatchDeletePartitionCommand.ts @@ -28,7 +28,6 @@ export class BatchDeletePartitionCommand extends $Command< BatchDeletePartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeletePartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchDeleteTableCommand.ts b/clients/client-glue/commands/BatchDeleteTableCommand.ts index 612042b7fd1c1..863fe43cfcee9 100644 --- a/clients/client-glue/commands/BatchDeleteTableCommand.ts +++ b/clients/client-glue/commands/BatchDeleteTableCommand.ts @@ -38,7 +38,6 @@ export class BatchDeleteTableCommand extends $Command< BatchDeleteTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class BatchDeleteTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts b/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts index 7767ac2b3e10b..ddb39ce772892 100644 --- a/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts +++ b/clients/client-glue/commands/BatchDeleteTableVersionCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteTableVersionCommand extends $Command< BatchDeleteTableVersionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteTableVersionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchGetCrawlersCommand.ts b/clients/client-glue/commands/BatchGetCrawlersCommand.ts index 1a242947a33d8..dc1aabd6c58c5 100644 --- a/clients/client-glue/commands/BatchGetCrawlersCommand.ts +++ b/clients/client-glue/commands/BatchGetCrawlersCommand.ts @@ -28,7 +28,6 @@ export class BatchGetCrawlersCommand extends $Command< BatchGetCrawlersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetCrawlersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts b/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts index 1fa1d95095480..bf5fe955fed2e 100644 --- a/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts +++ b/clients/client-glue/commands/BatchGetDevEndpointsCommand.ts @@ -31,7 +31,6 @@ export class BatchGetDevEndpointsCommand extends $Command< BatchGetDevEndpointsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class BatchGetDevEndpointsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchGetJobsCommand.ts b/clients/client-glue/commands/BatchGetJobsCommand.ts index fd86fc835818e..f3fd18b7983a6 100644 --- a/clients/client-glue/commands/BatchGetJobsCommand.ts +++ b/clients/client-glue/commands/BatchGetJobsCommand.ts @@ -29,7 +29,6 @@ export class BatchGetJobsCommand extends $Command< BatchGetJobsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BatchGetJobsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchGetPartitionCommand.ts b/clients/client-glue/commands/BatchGetPartitionCommand.ts index a199c87d0fcc9..6f8f1569bfd8a 100644 --- a/clients/client-glue/commands/BatchGetPartitionCommand.ts +++ b/clients/client-glue/commands/BatchGetPartitionCommand.ts @@ -28,7 +28,6 @@ export class BatchGetPartitionCommand extends $Command< BatchGetPartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetPartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchGetTriggersCommand.ts b/clients/client-glue/commands/BatchGetTriggersCommand.ts index 6ce93b6d9eee0..a3fa4ea4c3092 100644 --- a/clients/client-glue/commands/BatchGetTriggersCommand.ts +++ b/clients/client-glue/commands/BatchGetTriggersCommand.ts @@ -28,7 +28,6 @@ export class BatchGetTriggersCommand extends $Command< BatchGetTriggersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetTriggersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchGetWorkflowsCommand.ts b/clients/client-glue/commands/BatchGetWorkflowsCommand.ts index ce69c0e51872d..3c8ed7f627da1 100644 --- a/clients/client-glue/commands/BatchGetWorkflowsCommand.ts +++ b/clients/client-glue/commands/BatchGetWorkflowsCommand.ts @@ -28,7 +28,6 @@ export class BatchGetWorkflowsCommand extends $Command< BatchGetWorkflowsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetWorkflowsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchStopJobRunCommand.ts b/clients/client-glue/commands/BatchStopJobRunCommand.ts index a94ce73f812ab..4eb23af4385a6 100644 --- a/clients/client-glue/commands/BatchStopJobRunCommand.ts +++ b/clients/client-glue/commands/BatchStopJobRunCommand.ts @@ -28,7 +28,6 @@ export class BatchStopJobRunCommand extends $Command< BatchStopJobRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchStopJobRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/BatchUpdatePartitionCommand.ts b/clients/client-glue/commands/BatchUpdatePartitionCommand.ts index e64deb20987a5..a7dbeb8b924e7 100644 --- a/clients/client-glue/commands/BatchUpdatePartitionCommand.ts +++ b/clients/client-glue/commands/BatchUpdatePartitionCommand.ts @@ -28,7 +28,6 @@ export class BatchUpdatePartitionCommand extends $Command< BatchUpdatePartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchUpdatePartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CancelMLTaskRunCommand.ts b/clients/client-glue/commands/CancelMLTaskRunCommand.ts index 01d606a47fd58..071c1bc116c32 100644 --- a/clients/client-glue/commands/CancelMLTaskRunCommand.ts +++ b/clients/client-glue/commands/CancelMLTaskRunCommand.ts @@ -31,7 +31,6 @@ export class CancelMLTaskRunCommand extends $Command< CancelMLTaskRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CancelMLTaskRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CheckSchemaVersionValidityCommand.ts b/clients/client-glue/commands/CheckSchemaVersionValidityCommand.ts index 463c70ed8e532..4f853e0c0b710 100644 --- a/clients/client-glue/commands/CheckSchemaVersionValidityCommand.ts +++ b/clients/client-glue/commands/CheckSchemaVersionValidityCommand.ts @@ -28,7 +28,6 @@ export class CheckSchemaVersionValidityCommand extends $Command< CheckSchemaVersionValidityCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CheckSchemaVersionValidityCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateClassifierCommand.ts b/clients/client-glue/commands/CreateClassifierCommand.ts index 2297c75de2fe8..d1dcd5799f7c8 100644 --- a/clients/client-glue/commands/CreateClassifierCommand.ts +++ b/clients/client-glue/commands/CreateClassifierCommand.ts @@ -30,7 +30,6 @@ export class CreateClassifierCommand extends $Command< CreateClassifierCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateClassifierCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateConnectionCommand.ts b/clients/client-glue/commands/CreateConnectionCommand.ts index b80cf966b8b36..8e6f145068dbb 100644 --- a/clients/client-glue/commands/CreateConnectionCommand.ts +++ b/clients/client-glue/commands/CreateConnectionCommand.ts @@ -28,7 +28,6 @@ export class CreateConnectionCommand extends $Command< CreateConnectionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConnectionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateCrawlerCommand.ts b/clients/client-glue/commands/CreateCrawlerCommand.ts index f74fc64147de1..8364f5c9d8056 100644 --- a/clients/client-glue/commands/CreateCrawlerCommand.ts +++ b/clients/client-glue/commands/CreateCrawlerCommand.ts @@ -30,7 +30,6 @@ export class CreateCrawlerCommand extends $Command< CreateCrawlerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateCrawlerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateDatabaseCommand.ts b/clients/client-glue/commands/CreateDatabaseCommand.ts index 9b3e4f8d2f4c6..89105cc5cf5c0 100644 --- a/clients/client-glue/commands/CreateDatabaseCommand.ts +++ b/clients/client-glue/commands/CreateDatabaseCommand.ts @@ -28,7 +28,6 @@ export class CreateDatabaseCommand extends $Command< CreateDatabaseCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDatabaseCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateDevEndpointCommand.ts b/clients/client-glue/commands/CreateDevEndpointCommand.ts index 9fb153d01a48a..ac3340924432f 100644 --- a/clients/client-glue/commands/CreateDevEndpointCommand.ts +++ b/clients/client-glue/commands/CreateDevEndpointCommand.ts @@ -28,7 +28,6 @@ export class CreateDevEndpointCommand extends $Command< CreateDevEndpointCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDevEndpointCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateJobCommand.ts b/clients/client-glue/commands/CreateJobCommand.ts index c3050f975f5d7..91fbd4166d85f 100644 --- a/clients/client-glue/commands/CreateJobCommand.ts +++ b/clients/client-glue/commands/CreateJobCommand.ts @@ -25,7 +25,6 @@ export class CreateJobCommand extends $Command< CreateJobCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CreateJobCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateMLTransformCommand.ts b/clients/client-glue/commands/CreateMLTransformCommand.ts index 68c3670fb72b8..f55a1eb4badd3 100644 --- a/clients/client-glue/commands/CreateMLTransformCommand.ts +++ b/clients/client-glue/commands/CreateMLTransformCommand.ts @@ -40,7 +40,6 @@ export class CreateMLTransformCommand extends $Command< CreateMLTransformCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateMLTransformCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreatePartitionCommand.ts b/clients/client-glue/commands/CreatePartitionCommand.ts index dab52764152e7..187018ec578d4 100644 --- a/clients/client-glue/commands/CreatePartitionCommand.ts +++ b/clients/client-glue/commands/CreatePartitionCommand.ts @@ -28,7 +28,6 @@ export class CreatePartitionCommand extends $Command< CreatePartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreatePartitionIndexCommand.ts b/clients/client-glue/commands/CreatePartitionIndexCommand.ts index 0d7209c43e5ad..23a855cb5d977 100644 --- a/clients/client-glue/commands/CreatePartitionIndexCommand.ts +++ b/clients/client-glue/commands/CreatePartitionIndexCommand.ts @@ -28,7 +28,6 @@ export class CreatePartitionIndexCommand extends $Command< CreatePartitionIndexCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePartitionIndexCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateRegistryCommand.ts b/clients/client-glue/commands/CreateRegistryCommand.ts index 181bb929cb9d5..768b3f4cfb63e 100644 --- a/clients/client-glue/commands/CreateRegistryCommand.ts +++ b/clients/client-glue/commands/CreateRegistryCommand.ts @@ -28,7 +28,6 @@ export class CreateRegistryCommand extends $Command< CreateRegistryCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRegistryCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateSchemaCommand.ts b/clients/client-glue/commands/CreateSchemaCommand.ts index 1365a1bd6a6b0..836f3e3e576a6 100644 --- a/clients/client-glue/commands/CreateSchemaCommand.ts +++ b/clients/client-glue/commands/CreateSchemaCommand.ts @@ -30,7 +30,6 @@ export class CreateSchemaCommand extends $Command< CreateSchemaCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateSchemaCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateScriptCommand.ts b/clients/client-glue/commands/CreateScriptCommand.ts index 6df020a006d60..56a76c6439e52 100644 --- a/clients/client-glue/commands/CreateScriptCommand.ts +++ b/clients/client-glue/commands/CreateScriptCommand.ts @@ -28,7 +28,6 @@ export class CreateScriptCommand extends $Command< CreateScriptCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateScriptCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts b/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts index f543afab74920..f56b1cf47bacc 100644 --- a/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts +++ b/clients/client-glue/commands/CreateSecurityConfigurationCommand.ts @@ -28,7 +28,6 @@ export class CreateSecurityConfigurationCommand extends $Command< CreateSecurityConfigurationCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSecurityConfigurationCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateTableCommand.ts b/clients/client-glue/commands/CreateTableCommand.ts index de4ca81fdc9b3..df5cdb8d2fd25 100644 --- a/clients/client-glue/commands/CreateTableCommand.ts +++ b/clients/client-glue/commands/CreateTableCommand.ts @@ -28,7 +28,6 @@ export class CreateTableCommand extends $Command< CreateTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateTriggerCommand.ts b/clients/client-glue/commands/CreateTriggerCommand.ts index 5027df8043ab1..6284e601cf25a 100644 --- a/clients/client-glue/commands/CreateTriggerCommand.ts +++ b/clients/client-glue/commands/CreateTriggerCommand.ts @@ -28,7 +28,6 @@ export class CreateTriggerCommand extends $Command< CreateTriggerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTriggerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts b/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts index 2c577f172cd99..cf81c6ddc2d70 100644 --- a/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/CreateUserDefinedFunctionCommand.ts @@ -28,7 +28,6 @@ export class CreateUserDefinedFunctionCommand extends $Command< CreateUserDefinedFunctionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUserDefinedFunctionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/CreateWorkflowCommand.ts b/clients/client-glue/commands/CreateWorkflowCommand.ts index 782110423d91d..58394efd3b247 100644 --- a/clients/client-glue/commands/CreateWorkflowCommand.ts +++ b/clients/client-glue/commands/CreateWorkflowCommand.ts @@ -28,7 +28,6 @@ export class CreateWorkflowCommand extends $Command< CreateWorkflowCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWorkflowCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteClassifierCommand.ts b/clients/client-glue/commands/DeleteClassifierCommand.ts index b83dea46e2287..3224210c2075b 100644 --- a/clients/client-glue/commands/DeleteClassifierCommand.ts +++ b/clients/client-glue/commands/DeleteClassifierCommand.ts @@ -28,7 +28,6 @@ export class DeleteClassifierCommand extends $Command< DeleteClassifierCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteClassifierCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteColumnStatisticsForPartitionCommand.ts b/clients/client-glue/commands/DeleteColumnStatisticsForPartitionCommand.ts index f0dacd909e2d6..dbb530d59cf10 100644 --- a/clients/client-glue/commands/DeleteColumnStatisticsForPartitionCommand.ts +++ b/clients/client-glue/commands/DeleteColumnStatisticsForPartitionCommand.ts @@ -34,7 +34,6 @@ export class DeleteColumnStatisticsForPartitionCommand extends $Command< DeleteColumnStatisticsForPartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteColumnStatisticsForPartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteColumnStatisticsForTableCommand.ts b/clients/client-glue/commands/DeleteColumnStatisticsForTableCommand.ts index 65341bc88a44d..d0dd5c39a560b 100644 --- a/clients/client-glue/commands/DeleteColumnStatisticsForTableCommand.ts +++ b/clients/client-glue/commands/DeleteColumnStatisticsForTableCommand.ts @@ -30,7 +30,6 @@ export class DeleteColumnStatisticsForTableCommand extends $Command< DeleteColumnStatisticsForTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteColumnStatisticsForTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteConnectionCommand.ts b/clients/client-glue/commands/DeleteConnectionCommand.ts index 303b0147b3adc..e1294c82350ce 100644 --- a/clients/client-glue/commands/DeleteConnectionCommand.ts +++ b/clients/client-glue/commands/DeleteConnectionCommand.ts @@ -28,7 +28,6 @@ export class DeleteConnectionCommand extends $Command< DeleteConnectionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConnectionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteCrawlerCommand.ts b/clients/client-glue/commands/DeleteCrawlerCommand.ts index c0317e1f176a1..2e86634a39fa7 100644 --- a/clients/client-glue/commands/DeleteCrawlerCommand.ts +++ b/clients/client-glue/commands/DeleteCrawlerCommand.ts @@ -29,7 +29,6 @@ export class DeleteCrawlerCommand extends $Command< DeleteCrawlerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteCrawlerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteDatabaseCommand.ts b/clients/client-glue/commands/DeleteDatabaseCommand.ts index 69bec5bf48468..a1caaeca9f014 100644 --- a/clients/client-glue/commands/DeleteDatabaseCommand.ts +++ b/clients/client-glue/commands/DeleteDatabaseCommand.ts @@ -40,7 +40,6 @@ export class DeleteDatabaseCommand extends $Command< DeleteDatabaseCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteDatabaseCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteDevEndpointCommand.ts b/clients/client-glue/commands/DeleteDevEndpointCommand.ts index c98a8268e3d94..bb66f6eda0633 100644 --- a/clients/client-glue/commands/DeleteDevEndpointCommand.ts +++ b/clients/client-glue/commands/DeleteDevEndpointCommand.ts @@ -28,7 +28,6 @@ export class DeleteDevEndpointCommand extends $Command< DeleteDevEndpointCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDevEndpointCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteJobCommand.ts b/clients/client-glue/commands/DeleteJobCommand.ts index 1cc700531f2f9..3402595f87f7c 100644 --- a/clients/client-glue/commands/DeleteJobCommand.ts +++ b/clients/client-glue/commands/DeleteJobCommand.ts @@ -26,7 +26,6 @@ export class DeleteJobCommand extends $Command< DeleteJobCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DeleteJobCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteMLTransformCommand.ts b/clients/client-glue/commands/DeleteMLTransformCommand.ts index a273a9f67c35d..e95c2b4ad227c 100644 --- a/clients/client-glue/commands/DeleteMLTransformCommand.ts +++ b/clients/client-glue/commands/DeleteMLTransformCommand.ts @@ -33,7 +33,6 @@ export class DeleteMLTransformCommand extends $Command< DeleteMLTransformCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteMLTransformCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeletePartitionCommand.ts b/clients/client-glue/commands/DeletePartitionCommand.ts index 5afc6260445cc..c1dc6eef02e43 100644 --- a/clients/client-glue/commands/DeletePartitionCommand.ts +++ b/clients/client-glue/commands/DeletePartitionCommand.ts @@ -28,7 +28,6 @@ export class DeletePartitionCommand extends $Command< DeletePartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeletePartitionIndexCommand.ts b/clients/client-glue/commands/DeletePartitionIndexCommand.ts index 147449e894324..7a6839b562562 100644 --- a/clients/client-glue/commands/DeletePartitionIndexCommand.ts +++ b/clients/client-glue/commands/DeletePartitionIndexCommand.ts @@ -28,7 +28,6 @@ export class DeletePartitionIndexCommand extends $Command< DeletePartitionIndexCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePartitionIndexCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteRegistryCommand.ts b/clients/client-glue/commands/DeleteRegistryCommand.ts index cf2d3b75ed9a1..968ef437e7a90 100644 --- a/clients/client-glue/commands/DeleteRegistryCommand.ts +++ b/clients/client-glue/commands/DeleteRegistryCommand.ts @@ -28,7 +28,6 @@ export class DeleteRegistryCommand extends $Command< DeleteRegistryCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRegistryCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteResourcePolicyCommand.ts b/clients/client-glue/commands/DeleteResourcePolicyCommand.ts index b36c3d44b136c..ddc06e93fd5ec 100644 --- a/clients/client-glue/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-glue/commands/DeleteResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourcePolicyCommand extends $Command< DeleteResourcePolicyCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourcePolicyCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteSchemaCommand.ts b/clients/client-glue/commands/DeleteSchemaCommand.ts index 9df801af40d4e..60a31383baa67 100644 --- a/clients/client-glue/commands/DeleteSchemaCommand.ts +++ b/clients/client-glue/commands/DeleteSchemaCommand.ts @@ -28,7 +28,6 @@ export class DeleteSchemaCommand extends $Command< DeleteSchemaCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSchemaCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteSchemaVersionsCommand.ts b/clients/client-glue/commands/DeleteSchemaVersionsCommand.ts index 56a43f1931956..f36137d298ec2 100644 --- a/clients/client-glue/commands/DeleteSchemaVersionsCommand.ts +++ b/clients/client-glue/commands/DeleteSchemaVersionsCommand.ts @@ -31,7 +31,6 @@ export class DeleteSchemaVersionsCommand extends $Command< DeleteSchemaVersionsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteSchemaVersionsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts b/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts index f801d7ff08ffa..e16c84414e5a7 100644 --- a/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts +++ b/clients/client-glue/commands/DeleteSecurityConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteSecurityConfigurationCommand extends $Command< DeleteSecurityConfigurationCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSecurityConfigurationCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteTableCommand.ts b/clients/client-glue/commands/DeleteTableCommand.ts index 2be44c4fab09c..643807bb5e2fc 100644 --- a/clients/client-glue/commands/DeleteTableCommand.ts +++ b/clients/client-glue/commands/DeleteTableCommand.ts @@ -38,7 +38,6 @@ export class DeleteTableCommand extends $Command< DeleteTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteTableVersionCommand.ts b/clients/client-glue/commands/DeleteTableVersionCommand.ts index 5b16648e979d1..1e7d3283dc48c 100644 --- a/clients/client-glue/commands/DeleteTableVersionCommand.ts +++ b/clients/client-glue/commands/DeleteTableVersionCommand.ts @@ -28,7 +28,6 @@ export class DeleteTableVersionCommand extends $Command< DeleteTableVersionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTableVersionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteTriggerCommand.ts b/clients/client-glue/commands/DeleteTriggerCommand.ts index 503cfaa3adb5c..a30119a22a13c 100644 --- a/clients/client-glue/commands/DeleteTriggerCommand.ts +++ b/clients/client-glue/commands/DeleteTriggerCommand.ts @@ -29,7 +29,6 @@ export class DeleteTriggerCommand extends $Command< DeleteTriggerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTriggerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts b/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts index d75127e60acdd..4167f7737febc 100644 --- a/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/DeleteUserDefinedFunctionCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserDefinedFunctionCommand extends $Command< DeleteUserDefinedFunctionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserDefinedFunctionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/DeleteWorkflowCommand.ts b/clients/client-glue/commands/DeleteWorkflowCommand.ts index 54eb906d45f3f..6fab936a3f222 100644 --- a/clients/client-glue/commands/DeleteWorkflowCommand.ts +++ b/clients/client-glue/commands/DeleteWorkflowCommand.ts @@ -28,7 +28,6 @@ export class DeleteWorkflowCommand extends $Command< DeleteWorkflowCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteWorkflowCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetCatalogImportStatusCommand.ts b/clients/client-glue/commands/GetCatalogImportStatusCommand.ts index ace2cbe41b630..6a3e4d1b43e97 100644 --- a/clients/client-glue/commands/GetCatalogImportStatusCommand.ts +++ b/clients/client-glue/commands/GetCatalogImportStatusCommand.ts @@ -28,7 +28,6 @@ export class GetCatalogImportStatusCommand extends $Command< GetCatalogImportStatusCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCatalogImportStatusCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetClassifierCommand.ts b/clients/client-glue/commands/GetClassifierCommand.ts index 30c538ca3538b..b8d373bcf36fb 100644 --- a/clients/client-glue/commands/GetClassifierCommand.ts +++ b/clients/client-glue/commands/GetClassifierCommand.ts @@ -28,7 +28,6 @@ export class GetClassifierCommand extends $Command< GetClassifierCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetClassifierCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetClassifiersCommand.ts b/clients/client-glue/commands/GetClassifiersCommand.ts index a14bc2f65974e..8d83e634249bb 100644 --- a/clients/client-glue/commands/GetClassifiersCommand.ts +++ b/clients/client-glue/commands/GetClassifiersCommand.ts @@ -28,7 +28,6 @@ export class GetClassifiersCommand extends $Command< GetClassifiersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetClassifiersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetColumnStatisticsForPartitionCommand.ts b/clients/client-glue/commands/GetColumnStatisticsForPartitionCommand.ts index 021e1be7c157d..7b83a44daad11 100644 --- a/clients/client-glue/commands/GetColumnStatisticsForPartitionCommand.ts +++ b/clients/client-glue/commands/GetColumnStatisticsForPartitionCommand.ts @@ -30,7 +30,6 @@ export class GetColumnStatisticsForPartitionCommand extends $Command< GetColumnStatisticsForPartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetColumnStatisticsForPartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetColumnStatisticsForTableCommand.ts b/clients/client-glue/commands/GetColumnStatisticsForTableCommand.ts index bfaf556ec75fc..e32d8914be2a7 100644 --- a/clients/client-glue/commands/GetColumnStatisticsForTableCommand.ts +++ b/clients/client-glue/commands/GetColumnStatisticsForTableCommand.ts @@ -30,7 +30,6 @@ export class GetColumnStatisticsForTableCommand extends $Command< GetColumnStatisticsForTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetColumnStatisticsForTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetConnectionCommand.ts b/clients/client-glue/commands/GetConnectionCommand.ts index 68f0dc85a5ce3..e3c9a38719338 100644 --- a/clients/client-glue/commands/GetConnectionCommand.ts +++ b/clients/client-glue/commands/GetConnectionCommand.ts @@ -28,7 +28,6 @@ export class GetConnectionCommand extends $Command< GetConnectionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetConnectionsCommand.ts b/clients/client-glue/commands/GetConnectionsCommand.ts index d3ccf35585b0f..268f319d37876 100644 --- a/clients/client-glue/commands/GetConnectionsCommand.ts +++ b/clients/client-glue/commands/GetConnectionsCommand.ts @@ -28,7 +28,6 @@ export class GetConnectionsCommand extends $Command< GetConnectionsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectionsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetCrawlerCommand.ts b/clients/client-glue/commands/GetCrawlerCommand.ts index ea548fdad9d3c..3c924db15c002 100644 --- a/clients/client-glue/commands/GetCrawlerCommand.ts +++ b/clients/client-glue/commands/GetCrawlerCommand.ts @@ -28,7 +28,6 @@ export class GetCrawlerCommand extends $Command< GetCrawlerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCrawlerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetCrawlerMetricsCommand.ts b/clients/client-glue/commands/GetCrawlerMetricsCommand.ts index 0b736fbbc240a..0ea9f3dc6b1ab 100644 --- a/clients/client-glue/commands/GetCrawlerMetricsCommand.ts +++ b/clients/client-glue/commands/GetCrawlerMetricsCommand.ts @@ -28,7 +28,6 @@ export class GetCrawlerMetricsCommand extends $Command< GetCrawlerMetricsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCrawlerMetricsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetCrawlersCommand.ts b/clients/client-glue/commands/GetCrawlersCommand.ts index 086fb4499a353..92615802a9bcf 100644 --- a/clients/client-glue/commands/GetCrawlersCommand.ts +++ b/clients/client-glue/commands/GetCrawlersCommand.ts @@ -29,7 +29,6 @@ export class GetCrawlersCommand extends $Command< GetCrawlersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetCrawlersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts b/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts index 91612dab127e0..7b317fb244e47 100644 --- a/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts +++ b/clients/client-glue/commands/GetDataCatalogEncryptionSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetDataCatalogEncryptionSettingsCommand extends $Command< GetDataCatalogEncryptionSettingsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataCatalogEncryptionSettingsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetDatabaseCommand.ts b/clients/client-glue/commands/GetDatabaseCommand.ts index d5a6b4ad3e06f..8b82fb95b03ea 100644 --- a/clients/client-glue/commands/GetDatabaseCommand.ts +++ b/clients/client-glue/commands/GetDatabaseCommand.ts @@ -28,7 +28,6 @@ export class GetDatabaseCommand extends $Command< GetDatabaseCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDatabaseCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetDatabasesCommand.ts b/clients/client-glue/commands/GetDatabasesCommand.ts index e06c7e89524b4..723f74cbaafb6 100644 --- a/clients/client-glue/commands/GetDatabasesCommand.ts +++ b/clients/client-glue/commands/GetDatabasesCommand.ts @@ -28,7 +28,6 @@ export class GetDatabasesCommand extends $Command< GetDatabasesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDatabasesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetDataflowGraphCommand.ts b/clients/client-glue/commands/GetDataflowGraphCommand.ts index ac0e868642a8f..57ca282a94503 100644 --- a/clients/client-glue/commands/GetDataflowGraphCommand.ts +++ b/clients/client-glue/commands/GetDataflowGraphCommand.ts @@ -28,7 +28,6 @@ export class GetDataflowGraphCommand extends $Command< GetDataflowGraphCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataflowGraphCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetDevEndpointCommand.ts b/clients/client-glue/commands/GetDevEndpointCommand.ts index 0a05f61fa8dea..f0aaf06389220 100644 --- a/clients/client-glue/commands/GetDevEndpointCommand.ts +++ b/clients/client-glue/commands/GetDevEndpointCommand.ts @@ -33,7 +33,6 @@ export class GetDevEndpointCommand extends $Command< GetDevEndpointCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetDevEndpointCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetDevEndpointsCommand.ts b/clients/client-glue/commands/GetDevEndpointsCommand.ts index 7afedaa548b81..6ad5bb5eeedcd 100644 --- a/clients/client-glue/commands/GetDevEndpointsCommand.ts +++ b/clients/client-glue/commands/GetDevEndpointsCommand.ts @@ -33,7 +33,6 @@ export class GetDevEndpointsCommand extends $Command< GetDevEndpointsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetDevEndpointsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetJobBookmarkCommand.ts b/clients/client-glue/commands/GetJobBookmarkCommand.ts index cfe0a85c1c079..4824dd8c7618f 100644 --- a/clients/client-glue/commands/GetJobBookmarkCommand.ts +++ b/clients/client-glue/commands/GetJobBookmarkCommand.ts @@ -29,7 +29,6 @@ export class GetJobBookmarkCommand extends $Command< GetJobBookmarkCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetJobBookmarkCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetJobCommand.ts b/clients/client-glue/commands/GetJobCommand.ts index dea0649ca3fb9..70c2bf0a621cf 100644 --- a/clients/client-glue/commands/GetJobCommand.ts +++ b/clients/client-glue/commands/GetJobCommand.ts @@ -21,7 +21,6 @@ export type GetJobCommandOutput = GetJobResponse & __MetadataBearer; *

Retrieves an existing job definition.

*/ 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-glue/commands/GetJobRunCommand.ts b/clients/client-glue/commands/GetJobRunCommand.ts index 732b43b652cf6..c3dd8d41a5aca 100644 --- a/clients/client-glue/commands/GetJobRunCommand.ts +++ b/clients/client-glue/commands/GetJobRunCommand.ts @@ -25,7 +25,6 @@ export class GetJobRunCommand extends $Command< GetJobRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetJobRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetJobRunsCommand.ts b/clients/client-glue/commands/GetJobRunsCommand.ts index 8816ed26f4b93..2e0b2cf4988e7 100644 --- a/clients/client-glue/commands/GetJobRunsCommand.ts +++ b/clients/client-glue/commands/GetJobRunsCommand.ts @@ -28,7 +28,6 @@ export class GetJobRunsCommand extends $Command< GetJobRunsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetJobRunsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetJobsCommand.ts b/clients/client-glue/commands/GetJobsCommand.ts index afd5294a3042c..46a060a84d79a 100644 --- a/clients/client-glue/commands/GetJobsCommand.ts +++ b/clients/client-glue/commands/GetJobsCommand.ts @@ -21,7 +21,6 @@ export type GetJobsCommandOutput = GetJobsResponse & __MetadataBearer; *

Retrieves all current job definitions.

*/ export class GetJobsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetJobsCommand 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-glue/commands/GetMLTaskRunCommand.ts b/clients/client-glue/commands/GetMLTaskRunCommand.ts index 8f62b8a11c115..fbf128e141202 100644 --- a/clients/client-glue/commands/GetMLTaskRunCommand.ts +++ b/clients/client-glue/commands/GetMLTaskRunCommand.ts @@ -32,7 +32,6 @@ export class GetMLTaskRunCommand extends $Command< GetMLTaskRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetMLTaskRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetMLTaskRunsCommand.ts b/clients/client-glue/commands/GetMLTaskRunsCommand.ts index d664638340fb9..476febb19a285 100644 --- a/clients/client-glue/commands/GetMLTaskRunsCommand.ts +++ b/clients/client-glue/commands/GetMLTaskRunsCommand.ts @@ -34,7 +34,6 @@ export class GetMLTaskRunsCommand extends $Command< GetMLTaskRunsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetMLTaskRunsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetMLTransformCommand.ts b/clients/client-glue/commands/GetMLTransformCommand.ts index beac40932451d..dfaec585c28b0 100644 --- a/clients/client-glue/commands/GetMLTransformCommand.ts +++ b/clients/client-glue/commands/GetMLTransformCommand.ts @@ -32,7 +32,6 @@ export class GetMLTransformCommand extends $Command< GetMLTransformCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetMLTransformCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetMLTransformsCommand.ts b/clients/client-glue/commands/GetMLTransformsCommand.ts index c5f10591fe947..a8aca057525d0 100644 --- a/clients/client-glue/commands/GetMLTransformsCommand.ts +++ b/clients/client-glue/commands/GetMLTransformsCommand.ts @@ -32,7 +32,6 @@ export class GetMLTransformsCommand extends $Command< GetMLTransformsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetMLTransformsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetMappingCommand.ts b/clients/client-glue/commands/GetMappingCommand.ts index 69771be665e5c..ff533820670d7 100644 --- a/clients/client-glue/commands/GetMappingCommand.ts +++ b/clients/client-glue/commands/GetMappingCommand.ts @@ -28,7 +28,6 @@ export class GetMappingCommand extends $Command< GetMappingCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMappingCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetPartitionCommand.ts b/clients/client-glue/commands/GetPartitionCommand.ts index ce976aaf9016c..ad997204284fc 100644 --- a/clients/client-glue/commands/GetPartitionCommand.ts +++ b/clients/client-glue/commands/GetPartitionCommand.ts @@ -28,7 +28,6 @@ export class GetPartitionCommand extends $Command< GetPartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetPartitionIndexesCommand.ts b/clients/client-glue/commands/GetPartitionIndexesCommand.ts index 5a4fb44106038..d3c3586a8f7b9 100644 --- a/clients/client-glue/commands/GetPartitionIndexesCommand.ts +++ b/clients/client-glue/commands/GetPartitionIndexesCommand.ts @@ -28,7 +28,6 @@ export class GetPartitionIndexesCommand extends $Command< GetPartitionIndexesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPartitionIndexesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetPartitionsCommand.ts b/clients/client-glue/commands/GetPartitionsCommand.ts index 7193efe1193af..df959688b1b03 100644 --- a/clients/client-glue/commands/GetPartitionsCommand.ts +++ b/clients/client-glue/commands/GetPartitionsCommand.ts @@ -28,7 +28,6 @@ export class GetPartitionsCommand extends $Command< GetPartitionsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPartitionsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetPlanCommand.ts b/clients/client-glue/commands/GetPlanCommand.ts index e186a80818c2f..402f7e99f0f30 100644 --- a/clients/client-glue/commands/GetPlanCommand.ts +++ b/clients/client-glue/commands/GetPlanCommand.ts @@ -21,7 +21,6 @@ export type GetPlanCommandOutput = GetPlanResponse & __MetadataBearer; *

Gets code to perform a specified mapping.

*/ export class GetPlanCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetPlanCommand 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-glue/commands/GetRegistryCommand.ts b/clients/client-glue/commands/GetRegistryCommand.ts index 1cdb1fdab191c..6a755069ed32d 100644 --- a/clients/client-glue/commands/GetRegistryCommand.ts +++ b/clients/client-glue/commands/GetRegistryCommand.ts @@ -28,7 +28,6 @@ export class GetRegistryCommand extends $Command< GetRegistryCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRegistryCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetResourcePoliciesCommand.ts b/clients/client-glue/commands/GetResourcePoliciesCommand.ts index d67b3c488f978..4812bb4b6e6bf 100644 --- a/clients/client-glue/commands/GetResourcePoliciesCommand.ts +++ b/clients/client-glue/commands/GetResourcePoliciesCommand.ts @@ -30,7 +30,6 @@ export class GetResourcePoliciesCommand extends $Command< GetResourcePoliciesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetResourcePoliciesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetResourcePolicyCommand.ts b/clients/client-glue/commands/GetResourcePolicyCommand.ts index af077154a1062..38dee10f9a0fe 100644 --- a/clients/client-glue/commands/GetResourcePolicyCommand.ts +++ b/clients/client-glue/commands/GetResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetResourcePolicyCommand extends $Command< GetResourcePolicyCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourcePolicyCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetSchemaByDefinitionCommand.ts b/clients/client-glue/commands/GetSchemaByDefinitionCommand.ts index 4fe9113f2e523..a9b0c958a03da 100644 --- a/clients/client-glue/commands/GetSchemaByDefinitionCommand.ts +++ b/clients/client-glue/commands/GetSchemaByDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetSchemaByDefinitionCommand extends $Command< GetSchemaByDefinitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSchemaByDefinitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetSchemaCommand.ts b/clients/client-glue/commands/GetSchemaCommand.ts index 77971b2cb14b5..255f5f296c103 100644 --- a/clients/client-glue/commands/GetSchemaCommand.ts +++ b/clients/client-glue/commands/GetSchemaCommand.ts @@ -25,7 +25,6 @@ export class GetSchemaCommand extends $Command< GetSchemaCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetSchemaCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetSchemaVersionCommand.ts b/clients/client-glue/commands/GetSchemaVersionCommand.ts index fb3adc6125be6..fbc42a9f514f6 100644 --- a/clients/client-glue/commands/GetSchemaVersionCommand.ts +++ b/clients/client-glue/commands/GetSchemaVersionCommand.ts @@ -28,7 +28,6 @@ export class GetSchemaVersionCommand extends $Command< GetSchemaVersionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSchemaVersionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetSchemaVersionsDiffCommand.ts b/clients/client-glue/commands/GetSchemaVersionsDiffCommand.ts index 5b78558c0ce46..afdd175a75b07 100644 --- a/clients/client-glue/commands/GetSchemaVersionsDiffCommand.ts +++ b/clients/client-glue/commands/GetSchemaVersionsDiffCommand.ts @@ -29,7 +29,6 @@ export class GetSchemaVersionsDiffCommand extends $Command< GetSchemaVersionsDiffCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSchemaVersionsDiffCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetSecurityConfigurationCommand.ts b/clients/client-glue/commands/GetSecurityConfigurationCommand.ts index 128a775a12cd5..12f60ae5ef83f 100644 --- a/clients/client-glue/commands/GetSecurityConfigurationCommand.ts +++ b/clients/client-glue/commands/GetSecurityConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetSecurityConfigurationCommand extends $Command< GetSecurityConfigurationCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSecurityConfigurationCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts b/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts index 96c09a57cf3a5..f40fc7707e2ca 100644 --- a/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts +++ b/clients/client-glue/commands/GetSecurityConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class GetSecurityConfigurationsCommand extends $Command< GetSecurityConfigurationsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSecurityConfigurationsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetTableCommand.ts b/clients/client-glue/commands/GetTableCommand.ts index 12dde711cc04d..823fec990da2c 100644 --- a/clients/client-glue/commands/GetTableCommand.ts +++ b/clients/client-glue/commands/GetTableCommand.ts @@ -22,7 +22,6 @@ export type GetTableCommandOutput = GetTableResponse & __MetadataBearer; * a specified table.

*/ export class GetTableCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class GetTableCommand 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-glue/commands/GetTableVersionCommand.ts b/clients/client-glue/commands/GetTableVersionCommand.ts index 0b5b78db43c68..8c62f49013772 100644 --- a/clients/client-glue/commands/GetTableVersionCommand.ts +++ b/clients/client-glue/commands/GetTableVersionCommand.ts @@ -28,7 +28,6 @@ export class GetTableVersionCommand extends $Command< GetTableVersionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTableVersionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetTableVersionsCommand.ts b/clients/client-glue/commands/GetTableVersionsCommand.ts index 2ac1280162e9d..b5f2a0b6375bd 100644 --- a/clients/client-glue/commands/GetTableVersionsCommand.ts +++ b/clients/client-glue/commands/GetTableVersionsCommand.ts @@ -29,7 +29,6 @@ export class GetTableVersionsCommand extends $Command< GetTableVersionsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetTableVersionsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetTablesCommand.ts b/clients/client-glue/commands/GetTablesCommand.ts index b7d70d261e2b0..913970ad1a489 100644 --- a/clients/client-glue/commands/GetTablesCommand.ts +++ b/clients/client-glue/commands/GetTablesCommand.ts @@ -26,7 +26,6 @@ export class GetTablesCommand extends $Command< GetTablesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class GetTablesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetTagsCommand.ts b/clients/client-glue/commands/GetTagsCommand.ts index 8ba3ade0f9918..c4609b31e8fcb 100644 --- a/clients/client-glue/commands/GetTagsCommand.ts +++ b/clients/client-glue/commands/GetTagsCommand.ts @@ -21,7 +21,6 @@ export type GetTagsCommandOutput = GetTagsResponse & __MetadataBearer; *

Retrieves a list of tags associated with a resource.

*/ export class GetTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetTagsCommand 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-glue/commands/GetTriggerCommand.ts b/clients/client-glue/commands/GetTriggerCommand.ts index aa0785d2512a2..d9c7e86817392 100644 --- a/clients/client-glue/commands/GetTriggerCommand.ts +++ b/clients/client-glue/commands/GetTriggerCommand.ts @@ -28,7 +28,6 @@ export class GetTriggerCommand extends $Command< GetTriggerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTriggerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetTriggersCommand.ts b/clients/client-glue/commands/GetTriggersCommand.ts index 8a69695e90901..e35da9f7f08bd 100644 --- a/clients/client-glue/commands/GetTriggersCommand.ts +++ b/clients/client-glue/commands/GetTriggersCommand.ts @@ -28,7 +28,6 @@ export class GetTriggersCommand extends $Command< GetTriggersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTriggersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts b/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts index c2698a322b749..0e8dd578bf342 100644 --- a/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/GetUserDefinedFunctionCommand.ts @@ -28,7 +28,6 @@ export class GetUserDefinedFunctionCommand extends $Command< GetUserDefinedFunctionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUserDefinedFunctionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts b/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts index 6f72d4225ea80..ab048c4664fa7 100644 --- a/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts +++ b/clients/client-glue/commands/GetUserDefinedFunctionsCommand.ts @@ -28,7 +28,6 @@ export class GetUserDefinedFunctionsCommand extends $Command< GetUserDefinedFunctionsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUserDefinedFunctionsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetWorkflowCommand.ts b/clients/client-glue/commands/GetWorkflowCommand.ts index 93b8d9e890a6a..a775108769bdc 100644 --- a/clients/client-glue/commands/GetWorkflowCommand.ts +++ b/clients/client-glue/commands/GetWorkflowCommand.ts @@ -28,7 +28,6 @@ export class GetWorkflowCommand extends $Command< GetWorkflowCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWorkflowCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetWorkflowRunCommand.ts b/clients/client-glue/commands/GetWorkflowRunCommand.ts index c55e3a657965a..b60e676af0c5d 100644 --- a/clients/client-glue/commands/GetWorkflowRunCommand.ts +++ b/clients/client-glue/commands/GetWorkflowRunCommand.ts @@ -28,7 +28,6 @@ export class GetWorkflowRunCommand extends $Command< GetWorkflowRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWorkflowRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts b/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts index 7ed57ce18eb88..d0c647b0353a8 100644 --- a/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts +++ b/clients/client-glue/commands/GetWorkflowRunPropertiesCommand.ts @@ -28,7 +28,6 @@ export class GetWorkflowRunPropertiesCommand extends $Command< GetWorkflowRunPropertiesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWorkflowRunPropertiesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/GetWorkflowRunsCommand.ts b/clients/client-glue/commands/GetWorkflowRunsCommand.ts index b390ac5539d27..ebfd0e1bb4c0a 100644 --- a/clients/client-glue/commands/GetWorkflowRunsCommand.ts +++ b/clients/client-glue/commands/GetWorkflowRunsCommand.ts @@ -28,7 +28,6 @@ export class GetWorkflowRunsCommand extends $Command< GetWorkflowRunsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWorkflowRunsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ImportCatalogToGlueCommand.ts b/clients/client-glue/commands/ImportCatalogToGlueCommand.ts index 89c729b590aed..9281c7517c3a9 100644 --- a/clients/client-glue/commands/ImportCatalogToGlueCommand.ts +++ b/clients/client-glue/commands/ImportCatalogToGlueCommand.ts @@ -28,7 +28,6 @@ export class ImportCatalogToGlueCommand extends $Command< ImportCatalogToGlueCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportCatalogToGlueCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListCrawlersCommand.ts b/clients/client-glue/commands/ListCrawlersCommand.ts index 196940e02813a..8973ad51e60e3 100644 --- a/clients/client-glue/commands/ListCrawlersCommand.ts +++ b/clients/client-glue/commands/ListCrawlersCommand.ts @@ -34,7 +34,6 @@ export class ListCrawlersCommand extends $Command< ListCrawlersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListCrawlersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListDevEndpointsCommand.ts b/clients/client-glue/commands/ListDevEndpointsCommand.ts index 88bf54fe54c8f..ef7880673e074 100644 --- a/clients/client-glue/commands/ListDevEndpointsCommand.ts +++ b/clients/client-glue/commands/ListDevEndpointsCommand.ts @@ -34,7 +34,6 @@ export class ListDevEndpointsCommand extends $Command< ListDevEndpointsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListDevEndpointsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListJobsCommand.ts b/clients/client-glue/commands/ListJobsCommand.ts index cb85a6735e5ae..a2642dd345c46 100644 --- a/clients/client-glue/commands/ListJobsCommand.ts +++ b/clients/client-glue/commands/ListJobsCommand.ts @@ -25,7 +25,6 @@ export type ListJobsCommandOutput = ListJobsResponse & __MetadataBearer; * filtering, only resources with the tag are retrieved.

*/ export class ListJobsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListJobsCommand 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-glue/commands/ListMLTransformsCommand.ts b/clients/client-glue/commands/ListMLTransformsCommand.ts index fcfd6b40dbc54..8d916549e3e57 100644 --- a/clients/client-glue/commands/ListMLTransformsCommand.ts +++ b/clients/client-glue/commands/ListMLTransformsCommand.ts @@ -32,7 +32,6 @@ export class ListMLTransformsCommand extends $Command< ListMLTransformsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListMLTransformsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListRegistriesCommand.ts b/clients/client-glue/commands/ListRegistriesCommand.ts index 01721d38e1be2..cff4426e982ce 100644 --- a/clients/client-glue/commands/ListRegistriesCommand.ts +++ b/clients/client-glue/commands/ListRegistriesCommand.ts @@ -28,7 +28,6 @@ export class ListRegistriesCommand extends $Command< ListRegistriesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRegistriesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListSchemaVersionsCommand.ts b/clients/client-glue/commands/ListSchemaVersionsCommand.ts index 9d2925921c612..2a96e7b6f2f74 100644 --- a/clients/client-glue/commands/ListSchemaVersionsCommand.ts +++ b/clients/client-glue/commands/ListSchemaVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListSchemaVersionsCommand extends $Command< ListSchemaVersionsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSchemaVersionsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListSchemasCommand.ts b/clients/client-glue/commands/ListSchemasCommand.ts index 7b6b128d7b440..f241879abc8cc 100644 --- a/clients/client-glue/commands/ListSchemasCommand.ts +++ b/clients/client-glue/commands/ListSchemasCommand.ts @@ -29,7 +29,6 @@ export class ListSchemasCommand extends $Command< ListSchemasCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSchemasCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListTriggersCommand.ts b/clients/client-glue/commands/ListTriggersCommand.ts index 934d887bdce17..947f9051a3247 100644 --- a/clients/client-glue/commands/ListTriggersCommand.ts +++ b/clients/client-glue/commands/ListTriggersCommand.ts @@ -32,7 +32,6 @@ export class ListTriggersCommand extends $Command< ListTriggersCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTriggersCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ListWorkflowsCommand.ts b/clients/client-glue/commands/ListWorkflowsCommand.ts index 8758f61cf2e0f..1b07af7ce3cc6 100644 --- a/clients/client-glue/commands/ListWorkflowsCommand.ts +++ b/clients/client-glue/commands/ListWorkflowsCommand.ts @@ -28,7 +28,6 @@ export class ListWorkflowsCommand extends $Command< ListWorkflowsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorkflowsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts b/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts index c9d124a51bfb6..2a7f37f037c00 100644 --- a/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts +++ b/clients/client-glue/commands/PutDataCatalogEncryptionSettingsCommand.ts @@ -29,7 +29,6 @@ export class PutDataCatalogEncryptionSettingsCommand extends $Command< PutDataCatalogEncryptionSettingsCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutDataCatalogEncryptionSettingsCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/PutResourcePolicyCommand.ts b/clients/client-glue/commands/PutResourcePolicyCommand.ts index ca578b76e0160..9c6407e235511 100644 --- a/clients/client-glue/commands/PutResourcePolicyCommand.ts +++ b/clients/client-glue/commands/PutResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class PutResourcePolicyCommand extends $Command< PutResourcePolicyCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutResourcePolicyCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/PutSchemaVersionMetadataCommand.ts b/clients/client-glue/commands/PutSchemaVersionMetadataCommand.ts index 7fbaa2defbe83..b25396a973309 100644 --- a/clients/client-glue/commands/PutSchemaVersionMetadataCommand.ts +++ b/clients/client-glue/commands/PutSchemaVersionMetadataCommand.ts @@ -28,7 +28,6 @@ export class PutSchemaVersionMetadataCommand extends $Command< PutSchemaVersionMetadataCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutSchemaVersionMetadataCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts b/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts index e013ae38426c7..2b8af54c8d98c 100644 --- a/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts +++ b/clients/client-glue/commands/PutWorkflowRunPropertiesCommand.ts @@ -28,7 +28,6 @@ export class PutWorkflowRunPropertiesCommand extends $Command< PutWorkflowRunPropertiesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutWorkflowRunPropertiesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/QuerySchemaVersionMetadataCommand.ts b/clients/client-glue/commands/QuerySchemaVersionMetadataCommand.ts index f88d3cef14e1a..9bda8340bbbf8 100644 --- a/clients/client-glue/commands/QuerySchemaVersionMetadataCommand.ts +++ b/clients/client-glue/commands/QuerySchemaVersionMetadataCommand.ts @@ -28,7 +28,6 @@ export class QuerySchemaVersionMetadataCommand extends $Command< QuerySchemaVersionMetadataCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class QuerySchemaVersionMetadataCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/RegisterSchemaVersionCommand.ts b/clients/client-glue/commands/RegisterSchemaVersionCommand.ts index 7a40ad19cda04..0f1eeeea54cb2 100644 --- a/clients/client-glue/commands/RegisterSchemaVersionCommand.ts +++ b/clients/client-glue/commands/RegisterSchemaVersionCommand.ts @@ -30,7 +30,6 @@ export class RegisterSchemaVersionCommand extends $Command< RegisterSchemaVersionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RegisterSchemaVersionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/RemoveSchemaVersionMetadataCommand.ts b/clients/client-glue/commands/RemoveSchemaVersionMetadataCommand.ts index d72222a7aa86e..ed7b7155a1f03 100644 --- a/clients/client-glue/commands/RemoveSchemaVersionMetadataCommand.ts +++ b/clients/client-glue/commands/RemoveSchemaVersionMetadataCommand.ts @@ -28,7 +28,6 @@ export class RemoveSchemaVersionMetadataCommand extends $Command< RemoveSchemaVersionMetadataCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveSchemaVersionMetadataCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ResetJobBookmarkCommand.ts b/clients/client-glue/commands/ResetJobBookmarkCommand.ts index ccc6574cc865c..b3920e9c1cfc9 100644 --- a/clients/client-glue/commands/ResetJobBookmarkCommand.ts +++ b/clients/client-glue/commands/ResetJobBookmarkCommand.ts @@ -28,7 +28,6 @@ export class ResetJobBookmarkCommand extends $Command< ResetJobBookmarkCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ResetJobBookmarkCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/ResumeWorkflowRunCommand.ts b/clients/client-glue/commands/ResumeWorkflowRunCommand.ts index ac897851c8ee7..453c9c35710be 100644 --- a/clients/client-glue/commands/ResumeWorkflowRunCommand.ts +++ b/clients/client-glue/commands/ResumeWorkflowRunCommand.ts @@ -28,7 +28,6 @@ export class ResumeWorkflowRunCommand extends $Command< ResumeWorkflowRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ResumeWorkflowRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/SearchTablesCommand.ts b/clients/client-glue/commands/SearchTablesCommand.ts index 0bf34ba43629c..63eab8cf5cb1d 100644 --- a/clients/client-glue/commands/SearchTablesCommand.ts +++ b/clients/client-glue/commands/SearchTablesCommand.ts @@ -29,7 +29,6 @@ export class SearchTablesCommand extends $Command< SearchTablesCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SearchTablesCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartCrawlerCommand.ts b/clients/client-glue/commands/StartCrawlerCommand.ts index 306be19001953..91557aa59157f 100644 --- a/clients/client-glue/commands/StartCrawlerCommand.ts +++ b/clients/client-glue/commands/StartCrawlerCommand.ts @@ -30,7 +30,6 @@ export class StartCrawlerCommand extends $Command< StartCrawlerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartCrawlerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartCrawlerScheduleCommand.ts b/clients/client-glue/commands/StartCrawlerScheduleCommand.ts index 61115dea18a2d..42a453d9edba7 100644 --- a/clients/client-glue/commands/StartCrawlerScheduleCommand.ts +++ b/clients/client-glue/commands/StartCrawlerScheduleCommand.ts @@ -30,7 +30,6 @@ export class StartCrawlerScheduleCommand extends $Command< StartCrawlerScheduleCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartCrawlerScheduleCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts b/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts index 4aaab31e9a35a..9dcc6132a2a12 100644 --- a/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts +++ b/clients/client-glue/commands/StartExportLabelsTaskRunCommand.ts @@ -36,7 +36,6 @@ export class StartExportLabelsTaskRunCommand extends $Command< StartExportLabelsTaskRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartExportLabelsTaskRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts b/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts index 9e3781b1b711c..1c2d1242c8056 100644 --- a/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts +++ b/clients/client-glue/commands/StartImportLabelsTaskRunCommand.ts @@ -52,7 +52,6 @@ export class StartImportLabelsTaskRunCommand extends $Command< StartImportLabelsTaskRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class StartImportLabelsTaskRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartJobRunCommand.ts b/clients/client-glue/commands/StartJobRunCommand.ts index faad12107b60e..1c4904414e543 100644 --- a/clients/client-glue/commands/StartJobRunCommand.ts +++ b/clients/client-glue/commands/StartJobRunCommand.ts @@ -28,7 +28,6 @@ export class StartJobRunCommand extends $Command< StartJobRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartJobRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts b/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts index c67360b1df77d..285924de4c706 100644 --- a/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts +++ b/clients/client-glue/commands/StartMLEvaluationTaskRunCommand.ts @@ -35,7 +35,6 @@ export class StartMLEvaluationTaskRunCommand extends $Command< StartMLEvaluationTaskRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartMLEvaluationTaskRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts b/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts index 011350b70dc54..dca8d10e821d5 100644 --- a/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts +++ b/clients/client-glue/commands/StartMLLabelingSetGenerationTaskRunCommand.ts @@ -45,7 +45,6 @@ export class StartMLLabelingSetGenerationTaskRunCommand extends $Command< StartMLLabelingSetGenerationTaskRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class StartMLLabelingSetGenerationTaskRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartTriggerCommand.ts b/clients/client-glue/commands/StartTriggerCommand.ts index 1c3d4fb548d32..15cb12a65d97e 100644 --- a/clients/client-glue/commands/StartTriggerCommand.ts +++ b/clients/client-glue/commands/StartTriggerCommand.ts @@ -30,7 +30,6 @@ export class StartTriggerCommand extends $Command< StartTriggerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartTriggerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StartWorkflowRunCommand.ts b/clients/client-glue/commands/StartWorkflowRunCommand.ts index 37c682044bf1a..b90c7e67ffcfe 100644 --- a/clients/client-glue/commands/StartWorkflowRunCommand.ts +++ b/clients/client-glue/commands/StartWorkflowRunCommand.ts @@ -28,7 +28,6 @@ export class StartWorkflowRunCommand extends $Command< StartWorkflowRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartWorkflowRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StopCrawlerCommand.ts b/clients/client-glue/commands/StopCrawlerCommand.ts index 15f8c192ee28f..a900ee4778fed 100644 --- a/clients/client-glue/commands/StopCrawlerCommand.ts +++ b/clients/client-glue/commands/StopCrawlerCommand.ts @@ -28,7 +28,6 @@ export class StopCrawlerCommand extends $Command< StopCrawlerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopCrawlerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StopCrawlerScheduleCommand.ts b/clients/client-glue/commands/StopCrawlerScheduleCommand.ts index 8e839019c916a..560e720632607 100644 --- a/clients/client-glue/commands/StopCrawlerScheduleCommand.ts +++ b/clients/client-glue/commands/StopCrawlerScheduleCommand.ts @@ -30,7 +30,6 @@ export class StopCrawlerScheduleCommand extends $Command< StopCrawlerScheduleCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StopCrawlerScheduleCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StopTriggerCommand.ts b/clients/client-glue/commands/StopTriggerCommand.ts index eec99a448b787..5d5dbffa97ad9 100644 --- a/clients/client-glue/commands/StopTriggerCommand.ts +++ b/clients/client-glue/commands/StopTriggerCommand.ts @@ -28,7 +28,6 @@ export class StopTriggerCommand extends $Command< StopTriggerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopTriggerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/StopWorkflowRunCommand.ts b/clients/client-glue/commands/StopWorkflowRunCommand.ts index 754265f04cfcc..0ae3d7a32214b 100644 --- a/clients/client-glue/commands/StopWorkflowRunCommand.ts +++ b/clients/client-glue/commands/StopWorkflowRunCommand.ts @@ -28,7 +28,6 @@ export class StopWorkflowRunCommand extends $Command< StopWorkflowRunCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopWorkflowRunCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/TagResourceCommand.ts b/clients/client-glue/commands/TagResourceCommand.ts index 3547a6012a5fc..e34ec77c0c988 100644 --- a/clients/client-glue/commands/TagResourceCommand.ts +++ b/clients/client-glue/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UntagResourceCommand.ts b/clients/client-glue/commands/UntagResourceCommand.ts index 7cdcfeac80229..49eabbbf8342c 100644 --- a/clients/client-glue/commands/UntagResourceCommand.ts +++ b/clients/client-glue/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateClassifierCommand.ts b/clients/client-glue/commands/UpdateClassifierCommand.ts index ef20e4f412996..c1784e63ca6af 100644 --- a/clients/client-glue/commands/UpdateClassifierCommand.ts +++ b/clients/client-glue/commands/UpdateClassifierCommand.ts @@ -30,7 +30,6 @@ export class UpdateClassifierCommand extends $Command< UpdateClassifierCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateClassifierCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateColumnStatisticsForPartitionCommand.ts b/clients/client-glue/commands/UpdateColumnStatisticsForPartitionCommand.ts index 2cff17b7c8ed8..b86b6122322ea 100644 --- a/clients/client-glue/commands/UpdateColumnStatisticsForPartitionCommand.ts +++ b/clients/client-glue/commands/UpdateColumnStatisticsForPartitionCommand.ts @@ -34,7 +34,6 @@ export class UpdateColumnStatisticsForPartitionCommand extends $Command< UpdateColumnStatisticsForPartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateColumnStatisticsForPartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateColumnStatisticsForTableCommand.ts b/clients/client-glue/commands/UpdateColumnStatisticsForTableCommand.ts index fe65e57ce3408..0ec31eff17753 100644 --- a/clients/client-glue/commands/UpdateColumnStatisticsForTableCommand.ts +++ b/clients/client-glue/commands/UpdateColumnStatisticsForTableCommand.ts @@ -30,7 +30,6 @@ export class UpdateColumnStatisticsForTableCommand extends $Command< UpdateColumnStatisticsForTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateColumnStatisticsForTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateConnectionCommand.ts b/clients/client-glue/commands/UpdateConnectionCommand.ts index 15f326b4b6912..7bf3a88b9f5a5 100644 --- a/clients/client-glue/commands/UpdateConnectionCommand.ts +++ b/clients/client-glue/commands/UpdateConnectionCommand.ts @@ -28,7 +28,6 @@ export class UpdateConnectionCommand extends $Command< UpdateConnectionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConnectionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateCrawlerCommand.ts b/clients/client-glue/commands/UpdateCrawlerCommand.ts index b9f44d5a7492e..5875ce62fb58a 100644 --- a/clients/client-glue/commands/UpdateCrawlerCommand.ts +++ b/clients/client-glue/commands/UpdateCrawlerCommand.ts @@ -30,7 +30,6 @@ export class UpdateCrawlerCommand extends $Command< UpdateCrawlerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateCrawlerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts b/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts index b3d893e1d3518..6e4d91dae0c16 100644 --- a/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts +++ b/clients/client-glue/commands/UpdateCrawlerScheduleCommand.ts @@ -28,7 +28,6 @@ export class UpdateCrawlerScheduleCommand extends $Command< UpdateCrawlerScheduleCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCrawlerScheduleCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateDatabaseCommand.ts b/clients/client-glue/commands/UpdateDatabaseCommand.ts index dd244f9cee441..b7cc5668f9f8a 100644 --- a/clients/client-glue/commands/UpdateDatabaseCommand.ts +++ b/clients/client-glue/commands/UpdateDatabaseCommand.ts @@ -28,7 +28,6 @@ export class UpdateDatabaseCommand extends $Command< UpdateDatabaseCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDatabaseCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateDevEndpointCommand.ts b/clients/client-glue/commands/UpdateDevEndpointCommand.ts index 8c302575bc40c..2ee632d243c80 100644 --- a/clients/client-glue/commands/UpdateDevEndpointCommand.ts +++ b/clients/client-glue/commands/UpdateDevEndpointCommand.ts @@ -28,7 +28,6 @@ export class UpdateDevEndpointCommand extends $Command< UpdateDevEndpointCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDevEndpointCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateJobCommand.ts b/clients/client-glue/commands/UpdateJobCommand.ts index 06484e40894a6..59a6850614266 100644 --- a/clients/client-glue/commands/UpdateJobCommand.ts +++ b/clients/client-glue/commands/UpdateJobCommand.ts @@ -25,7 +25,6 @@ export class UpdateJobCommand extends $Command< UpdateJobCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UpdateJobCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateMLTransformCommand.ts b/clients/client-glue/commands/UpdateMLTransformCommand.ts index 869e42b70baa1..1d0a3572946ea 100644 --- a/clients/client-glue/commands/UpdateMLTransformCommand.ts +++ b/clients/client-glue/commands/UpdateMLTransformCommand.ts @@ -32,7 +32,6 @@ export class UpdateMLTransformCommand extends $Command< UpdateMLTransformCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateMLTransformCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdatePartitionCommand.ts b/clients/client-glue/commands/UpdatePartitionCommand.ts index cdf36da2b8efe..8fedcd80e010a 100644 --- a/clients/client-glue/commands/UpdatePartitionCommand.ts +++ b/clients/client-glue/commands/UpdatePartitionCommand.ts @@ -28,7 +28,6 @@ export class UpdatePartitionCommand extends $Command< UpdatePartitionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePartitionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateRegistryCommand.ts b/clients/client-glue/commands/UpdateRegistryCommand.ts index d045086968532..17bba8e595231 100644 --- a/clients/client-glue/commands/UpdateRegistryCommand.ts +++ b/clients/client-glue/commands/UpdateRegistryCommand.ts @@ -28,7 +28,6 @@ export class UpdateRegistryCommand extends $Command< UpdateRegistryCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRegistryCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateSchemaCommand.ts b/clients/client-glue/commands/UpdateSchemaCommand.ts index 874d3430532d7..48e78cc3dff25 100644 --- a/clients/client-glue/commands/UpdateSchemaCommand.ts +++ b/clients/client-glue/commands/UpdateSchemaCommand.ts @@ -31,7 +31,6 @@ export class UpdateSchemaCommand extends $Command< UpdateSchemaCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateSchemaCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateTableCommand.ts b/clients/client-glue/commands/UpdateTableCommand.ts index 0d6ed47657979..757e89276cef4 100644 --- a/clients/client-glue/commands/UpdateTableCommand.ts +++ b/clients/client-glue/commands/UpdateTableCommand.ts @@ -28,7 +28,6 @@ export class UpdateTableCommand extends $Command< UpdateTableCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTableCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateTriggerCommand.ts b/clients/client-glue/commands/UpdateTriggerCommand.ts index 4d09538037107..79153a3d89c46 100644 --- a/clients/client-glue/commands/UpdateTriggerCommand.ts +++ b/clients/client-glue/commands/UpdateTriggerCommand.ts @@ -28,7 +28,6 @@ export class UpdateTriggerCommand extends $Command< UpdateTriggerCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTriggerCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts b/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts index c0af10ec358ae..987652a9fd7c5 100644 --- a/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts +++ b/clients/client-glue/commands/UpdateUserDefinedFunctionCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserDefinedFunctionCommand extends $Command< UpdateUserDefinedFunctionCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserDefinedFunctionCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-glue/commands/UpdateWorkflowCommand.ts b/clients/client-glue/commands/UpdateWorkflowCommand.ts index 8d4be7d44dc17..e8ab3532fcd9a 100644 --- a/clients/client-glue/commands/UpdateWorkflowCommand.ts +++ b/clients/client-glue/commands/UpdateWorkflowCommand.ts @@ -28,7 +28,6 @@ export class UpdateWorkflowCommand extends $Command< UpdateWorkflowCommandOutput, GlueClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateWorkflowCommand extends $Command< configuration: GlueClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts b/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts index 50df9302859dc..d9edea757f22f 100644 --- a/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts +++ b/clients/client-greengrass/commands/AssociateRoleToGroupCommand.ts @@ -28,7 +28,6 @@ export class AssociateRoleToGroupCommand extends $Command< AssociateRoleToGroupCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateRoleToGroupCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts b/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts index 60c76818009b1..7163ceadf65af 100644 --- a/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts +++ b/clients/client-greengrass/commands/AssociateServiceRoleToAccountCommand.ts @@ -28,7 +28,6 @@ export class AssociateServiceRoleToAccountCommand extends $Command< AssociateServiceRoleToAccountCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateServiceRoleToAccountCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts index f7957ab8ab000..8b3a5b16b6aa0 100644 --- a/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateConnectorDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateConnectorDefinitionCommand extends $Command< CreateConnectorDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConnectorDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts index 9f1f3e1ebb023..e8235391ccaed 100644 --- a/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateConnectorDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateConnectorDefinitionVersionCommand extends $Command< CreateConnectorDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConnectorDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts b/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts index 00dad335200ff..bed723618033d 100644 --- a/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateCoreDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateCoreDefinitionCommand extends $Command< CreateCoreDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCoreDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts index 3f98434084dd4..806546e878aaf 100644 --- a/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateCoreDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateCoreDefinitionVersionCommand extends $Command< CreateCoreDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCoreDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateDeploymentCommand.ts b/clients/client-greengrass/commands/CreateDeploymentCommand.ts index 5352fee8e4905..7788225fde179 100644 --- a/clients/client-greengrass/commands/CreateDeploymentCommand.ts +++ b/clients/client-greengrass/commands/CreateDeploymentCommand.ts @@ -28,7 +28,6 @@ export class CreateDeploymentCommand extends $Command< CreateDeploymentCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeploymentCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts index c37afe5fec799..14e357103a33d 100644 --- a/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateDeviceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateDeviceDefinitionCommand extends $Command< CreateDeviceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeviceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts index bec7b5045e0fd..1dece41553722 100644 --- a/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateDeviceDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateDeviceDefinitionVersionCommand extends $Command< CreateDeviceDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeviceDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts index c4ee4006a1e1c..421d2ee8015c7 100644 --- a/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateFunctionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateFunctionDefinitionCommand extends $Command< CreateFunctionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFunctionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts index 7ba6e43b73033..d6c1e94f3b73b 100644 --- a/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateFunctionDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateFunctionDefinitionVersionCommand extends $Command< CreateFunctionDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFunctionDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts b/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts index d06e17a101177..6ab97b991de1e 100644 --- a/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts +++ b/clients/client-greengrass/commands/CreateGroupCertificateAuthorityCommand.ts @@ -28,7 +28,6 @@ export class CreateGroupCertificateAuthorityCommand extends $Command< CreateGroupCertificateAuthorityCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGroupCertificateAuthorityCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateGroupCommand.ts b/clients/client-greengrass/commands/CreateGroupCommand.ts index 25dc697520844..bf3765273e2dd 100644 --- a/clients/client-greengrass/commands/CreateGroupCommand.ts +++ b/clients/client-greengrass/commands/CreateGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGroupCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateGroupVersionCommand.ts b/clients/client-greengrass/commands/CreateGroupVersionCommand.ts index e440c7f0e769d..c7e16c9026e90 100644 --- a/clients/client-greengrass/commands/CreateGroupVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateGroupVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateGroupVersionCommand extends $Command< CreateGroupVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGroupVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts index 66e1dc49c7139..7908a230d51bf 100644 --- a/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateLoggerDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateLoggerDefinitionCommand extends $Command< CreateLoggerDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLoggerDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts index 4b269b2689bf7..82a74205eef5e 100644 --- a/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateLoggerDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateLoggerDefinitionVersionCommand extends $Command< CreateLoggerDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLoggerDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts b/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts index ed4199f6fe6aa..aab56ba649513 100644 --- a/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateResourceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateResourceDefinitionCommand extends $Command< CreateResourceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateResourceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts index b6e1c4cd40a9a..687982c6819a6 100644 --- a/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateResourceDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateResourceDefinitionVersionCommand extends $Command< CreateResourceDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateResourceDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts b/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts index cff877b5a4a03..2b03c3714eb16 100644 --- a/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts +++ b/clients/client-greengrass/commands/CreateSoftwareUpdateJobCommand.ts @@ -28,7 +28,6 @@ export class CreateSoftwareUpdateJobCommand extends $Command< CreateSoftwareUpdateJobCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSoftwareUpdateJobCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts index 7ca629ca832d6..1fc62ebb2c6b4 100644 --- a/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/CreateSubscriptionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateSubscriptionDefinitionCommand extends $Command< CreateSubscriptionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSubscriptionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts index ab5b0b5e92925..cbeeb8120ee8f 100644 --- a/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/CreateSubscriptionDefinitionVersionCommand.ts @@ -32,7 +32,6 @@ export class CreateSubscriptionDefinitionVersionCommand extends $Command< CreateSubscriptionDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateSubscriptionDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts index 8f471a7a3b248..a0948971a1621 100644 --- a/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteConnectorDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteConnectorDefinitionCommand extends $Command< DeleteConnectorDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConnectorDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts index 3f2a5c4a6f7a1..4dd31cc7e41ea 100644 --- a/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteCoreDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteCoreDefinitionCommand extends $Command< DeleteCoreDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCoreDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts index a16886ccdcfd8..4999454d316f1 100644 --- a/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteDeviceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteDeviceDefinitionCommand extends $Command< DeleteDeviceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDeviceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts index e54e27d597d58..8346d199471b0 100644 --- a/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteFunctionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteFunctionDefinitionCommand extends $Command< DeleteFunctionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFunctionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteGroupCommand.ts b/clients/client-greengrass/commands/DeleteGroupCommand.ts index 0220d097401ea..bfff51a36d5e2 100644 --- a/clients/client-greengrass/commands/DeleteGroupCommand.ts +++ b/clients/client-greengrass/commands/DeleteGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGroupCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts index 3f83377d97648..1db9964166647 100644 --- a/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteLoggerDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteLoggerDefinitionCommand extends $Command< DeleteLoggerDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLoggerDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts index 3e0cb27fb40b1..672c67e8a937b 100644 --- a/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteResourceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourceDefinitionCommand extends $Command< DeleteResourceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts index 28d982ec869fe..4bcecc0908d5a 100644 --- a/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/DeleteSubscriptionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteSubscriptionDefinitionCommand extends $Command< DeleteSubscriptionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSubscriptionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts b/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts index 5b1f43c20628d..d52518655e441 100644 --- a/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts +++ b/clients/client-greengrass/commands/DisassociateRoleFromGroupCommand.ts @@ -28,7 +28,6 @@ export class DisassociateRoleFromGroupCommand extends $Command< DisassociateRoleFromGroupCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateRoleFromGroupCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts b/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts index 3eceb9c4f385a..6c0c418365464 100644 --- a/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts +++ b/clients/client-greengrass/commands/DisassociateServiceRoleFromAccountCommand.ts @@ -32,7 +32,6 @@ export class DisassociateServiceRoleFromAccountCommand extends $Command< DisassociateServiceRoleFromAccountCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateServiceRoleFromAccountCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts b/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts index 37474ef470963..3c0a9fb0eed23 100644 --- a/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts +++ b/clients/client-greengrass/commands/GetAssociatedRoleCommand.ts @@ -28,7 +28,6 @@ export class GetAssociatedRoleCommand extends $Command< GetAssociatedRoleCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAssociatedRoleCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts b/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts index 57c6d03866d0e..fe54208b002dc 100644 --- a/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts +++ b/clients/client-greengrass/commands/GetBulkDeploymentStatusCommand.ts @@ -28,7 +28,6 @@ export class GetBulkDeploymentStatusCommand extends $Command< GetBulkDeploymentStatusCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBulkDeploymentStatusCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts b/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts index e6fae85a5b25f..0ae494910dd34 100644 --- a/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts +++ b/clients/client-greengrass/commands/GetConnectivityInfoCommand.ts @@ -28,7 +28,6 @@ export class GetConnectivityInfoCommand extends $Command< GetConnectivityInfoCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectivityInfoCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts index 94d7013c02675..b9850e0e12a6d 100644 --- a/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetConnectorDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetConnectorDefinitionCommand extends $Command< GetConnectorDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectorDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts index 54c4fb725ff09..58dac9b5deb78 100644 --- a/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetConnectorDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetConnectorDefinitionVersionCommand extends $Command< GetConnectorDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectorDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts b/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts index da89ab401c51e..eae55af607aab 100644 --- a/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetCoreDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetCoreDefinitionCommand extends $Command< GetCoreDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCoreDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts index 30eda8f2063fd..34726d2c0a3d4 100644 --- a/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetCoreDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetCoreDefinitionVersionCommand extends $Command< GetCoreDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCoreDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts b/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts index 1712196ef38c2..3535e961d47b0 100644 --- a/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts +++ b/clients/client-greengrass/commands/GetDeploymentStatusCommand.ts @@ -28,7 +28,6 @@ export class GetDeploymentStatusCommand extends $Command< GetDeploymentStatusCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeploymentStatusCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts index 906d4fce9826a..83735b266044b 100644 --- a/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetDeviceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetDeviceDefinitionCommand extends $Command< GetDeviceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeviceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts index 9b9ec100bd247..0c1c1777d8a3e 100644 --- a/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetDeviceDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetDeviceDefinitionVersionCommand extends $Command< GetDeviceDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeviceDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts index fd6fff502c732..6c81a92bebddd 100644 --- a/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetFunctionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetFunctionDefinitionCommand extends $Command< GetFunctionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFunctionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts index 512ab76a4e1ae..d0a463bb46944 100644 --- a/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetFunctionDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetFunctionDefinitionVersionCommand extends $Command< GetFunctionDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFunctionDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts b/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts index 8b2b019465753..d700415563e5e 100644 --- a/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts +++ b/clients/client-greengrass/commands/GetGroupCertificateAuthorityCommand.ts @@ -28,7 +28,6 @@ export class GetGroupCertificateAuthorityCommand extends $Command< GetGroupCertificateAuthorityCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupCertificateAuthorityCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts b/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts index 856b9d205852c..d0833bf571675 100644 --- a/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts +++ b/clients/client-greengrass/commands/GetGroupCertificateConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetGroupCertificateConfigurationCommand extends $Command< GetGroupCertificateConfigurationCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupCertificateConfigurationCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetGroupCommand.ts b/clients/client-greengrass/commands/GetGroupCommand.ts index a97a70d0b4ad5..d04ebacf5ec59 100644 --- a/clients/client-greengrass/commands/GetGroupCommand.ts +++ b/clients/client-greengrass/commands/GetGroupCommand.ts @@ -28,7 +28,6 @@ export class GetGroupCommand extends $Command< GetGroupCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetGroupVersionCommand.ts b/clients/client-greengrass/commands/GetGroupVersionCommand.ts index 279b298e44316..446d4866c6f98 100644 --- a/clients/client-greengrass/commands/GetGroupVersionCommand.ts +++ b/clients/client-greengrass/commands/GetGroupVersionCommand.ts @@ -28,7 +28,6 @@ export class GetGroupVersionCommand extends $Command< GetGroupVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts index 58d22593124aa..e4e7ebe086252 100644 --- a/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetLoggerDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetLoggerDefinitionCommand extends $Command< GetLoggerDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLoggerDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts index ebc5f10bdddef..9a89b319102b2 100644 --- a/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetLoggerDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetLoggerDefinitionVersionCommand extends $Command< GetLoggerDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLoggerDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts b/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts index 96501c77349a0..052ccb26064f0 100644 --- a/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetResourceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetResourceDefinitionCommand extends $Command< GetResourceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts index a5832684ed7ac..38eb19bfaa997 100644 --- a/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetResourceDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetResourceDefinitionVersionCommand extends $Command< GetResourceDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourceDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts b/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts index 0bf28e1e5087a..f583d0573724f 100644 --- a/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts +++ b/clients/client-greengrass/commands/GetServiceRoleForAccountCommand.ts @@ -28,7 +28,6 @@ export class GetServiceRoleForAccountCommand extends $Command< GetServiceRoleForAccountCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetServiceRoleForAccountCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts index 042fcb06c877b..c349d2395454b 100644 --- a/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/GetSubscriptionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class GetSubscriptionDefinitionCommand extends $Command< GetSubscriptionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSubscriptionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts b/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts index d43fa6a6ae3b3..5c6547d3bce4a 100644 --- a/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts +++ b/clients/client-greengrass/commands/GetSubscriptionDefinitionVersionCommand.ts @@ -28,7 +28,6 @@ export class GetSubscriptionDefinitionVersionCommand extends $Command< GetSubscriptionDefinitionVersionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSubscriptionDefinitionVersionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/GetThingRuntimeConfigurationCommand.ts b/clients/client-greengrass/commands/GetThingRuntimeConfigurationCommand.ts index acd9cbb410da4..a7a7137c7fff3 100644 --- a/clients/client-greengrass/commands/GetThingRuntimeConfigurationCommand.ts +++ b/clients/client-greengrass/commands/GetThingRuntimeConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetThingRuntimeConfigurationCommand extends $Command< GetThingRuntimeConfigurationCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetThingRuntimeConfigurationCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts b/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts index 603c47ce18cce..aaf1d6c77e42a 100644 --- a/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts +++ b/clients/client-greengrass/commands/ListBulkDeploymentDetailedReportsCommand.ts @@ -32,7 +32,6 @@ export class ListBulkDeploymentDetailedReportsCommand extends $Command< ListBulkDeploymentDetailedReportsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListBulkDeploymentDetailedReportsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts b/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts index a82b2e65a9087..9b62d5621c3ce 100644 --- a/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts +++ b/clients/client-greengrass/commands/ListBulkDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class ListBulkDeploymentsCommand extends $Command< ListBulkDeploymentsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBulkDeploymentsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts index 9088384264778..7395be476fe5c 100644 --- a/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListConnectorDefinitionVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListConnectorDefinitionVersionsCommand extends $Command< ListConnectorDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConnectorDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts b/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts index 8a9b76f7101e5..58443b98b9e33 100644 --- a/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListConnectorDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListConnectorDefinitionsCommand extends $Command< ListConnectorDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConnectorDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts index c975a41acbe32..6ea1c8792fed5 100644 --- a/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListCoreDefinitionVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListCoreDefinitionVersionsCommand extends $Command< ListCoreDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCoreDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts b/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts index 561dc3e0dacc9..76d90e2f6e758 100644 --- a/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListCoreDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListCoreDefinitionsCommand extends $Command< ListCoreDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCoreDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListDeploymentsCommand.ts b/clients/client-greengrass/commands/ListDeploymentsCommand.ts index a5efd9d9172a3..625f19addd8fe 100644 --- a/clients/client-greengrass/commands/ListDeploymentsCommand.ts +++ b/clients/client-greengrass/commands/ListDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class ListDeploymentsCommand extends $Command< ListDeploymentsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeploymentsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts index 9171d35318203..b3e3b97a1cb7f 100644 --- a/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListDeviceDefinitionVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListDeviceDefinitionVersionsCommand extends $Command< ListDeviceDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeviceDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts b/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts index ddd130af85416..b0982db920fd9 100644 --- a/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListDeviceDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListDeviceDefinitionsCommand extends $Command< ListDeviceDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeviceDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts index 1279ec04e6b2e..2bc9489fcc10d 100644 --- a/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListFunctionDefinitionVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListFunctionDefinitionVersionsCommand extends $Command< ListFunctionDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFunctionDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts b/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts index 8374cda7d71be..6467c87a2790b 100644 --- a/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListFunctionDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListFunctionDefinitionsCommand extends $Command< ListFunctionDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFunctionDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts b/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts index 424441cea528e..347f69e871570 100644 --- a/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts +++ b/clients/client-greengrass/commands/ListGroupCertificateAuthoritiesCommand.ts @@ -28,7 +28,6 @@ export class ListGroupCertificateAuthoritiesCommand extends $Command< ListGroupCertificateAuthoritiesCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupCertificateAuthoritiesCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListGroupVersionsCommand.ts b/clients/client-greengrass/commands/ListGroupVersionsCommand.ts index 08407973307c7..58e8f3193dfeb 100644 --- a/clients/client-greengrass/commands/ListGroupVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListGroupVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupVersionsCommand extends $Command< ListGroupVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListGroupsCommand.ts b/clients/client-greengrass/commands/ListGroupsCommand.ts index 91477b1df610e..2fa316dd28b76 100644 --- a/clients/client-greengrass/commands/ListGroupsCommand.ts +++ b/clients/client-greengrass/commands/ListGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts index c4be1e405fa85..b7c0c0dbc833e 100644 --- a/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListLoggerDefinitionVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListLoggerDefinitionVersionsCommand extends $Command< ListLoggerDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLoggerDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts b/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts index 2fa11f54e2016..5a789544ca497 100644 --- a/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListLoggerDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListLoggerDefinitionsCommand extends $Command< ListLoggerDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLoggerDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts index 040b796f026c6..453726ffba4e5 100644 --- a/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListResourceDefinitionVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListResourceDefinitionVersionsCommand extends $Command< ListResourceDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourceDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts b/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts index af2bf4783d5a6..c8e833344b3dc 100644 --- a/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListResourceDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListResourceDefinitionsCommand extends $Command< ListResourceDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourceDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts b/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts index 5c3b592aa8277..3f13503df149e 100644 --- a/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts +++ b/clients/client-greengrass/commands/ListSubscriptionDefinitionVersionsCommand.ts @@ -32,7 +32,6 @@ export class ListSubscriptionDefinitionVersionsCommand extends $Command< ListSubscriptionDefinitionVersionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListSubscriptionDefinitionVersionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts b/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts index 9a838bbe54b71..95706b64b8fc9 100644 --- a/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts +++ b/clients/client-greengrass/commands/ListSubscriptionDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListSubscriptionDefinitionsCommand extends $Command< ListSubscriptionDefinitionsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSubscriptionDefinitionsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ListTagsForResourceCommand.ts b/clients/client-greengrass/commands/ListTagsForResourceCommand.ts index fea73350c0b28..fa29c2cbcdb48 100644 --- a/clients/client-greengrass/commands/ListTagsForResourceCommand.ts +++ b/clients/client-greengrass/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/ResetDeploymentsCommand.ts b/clients/client-greengrass/commands/ResetDeploymentsCommand.ts index 00cde797d6038..2c67d2019bcbb 100644 --- a/clients/client-greengrass/commands/ResetDeploymentsCommand.ts +++ b/clients/client-greengrass/commands/ResetDeploymentsCommand.ts @@ -28,7 +28,6 @@ export class ResetDeploymentsCommand extends $Command< ResetDeploymentsCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ResetDeploymentsCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts b/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts index 64bc3a32fd057..17b657a074e75 100644 --- a/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts +++ b/clients/client-greengrass/commands/StartBulkDeploymentCommand.ts @@ -28,7 +28,6 @@ export class StartBulkDeploymentCommand extends $Command< StartBulkDeploymentCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartBulkDeploymentCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts b/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts index e3ffe8f59fe49..cc7cdecf7a18e 100644 --- a/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts +++ b/clients/client-greengrass/commands/StopBulkDeploymentCommand.ts @@ -28,7 +28,6 @@ export class StopBulkDeploymentCommand extends $Command< StopBulkDeploymentCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopBulkDeploymentCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/TagResourceCommand.ts b/clients/client-greengrass/commands/TagResourceCommand.ts index c07db08238435..d1e21c65ea94e 100644 --- a/clients/client-greengrass/commands/TagResourceCommand.ts +++ b/clients/client-greengrass/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UntagResourceCommand.ts b/clients/client-greengrass/commands/UntagResourceCommand.ts index 9fb2962efc61f..0edc941e768b5 100644 --- a/clients/client-greengrass/commands/UntagResourceCommand.ts +++ b/clients/client-greengrass/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts b/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts index 403503d125013..fbf55be7f0047 100644 --- a/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts +++ b/clients/client-greengrass/commands/UpdateConnectivityInfoCommand.ts @@ -28,7 +28,6 @@ export class UpdateConnectivityInfoCommand extends $Command< UpdateConnectivityInfoCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConnectivityInfoCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts index 74d74382649fa..b49c38d4e02d3 100644 --- a/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateConnectorDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateConnectorDefinitionCommand extends $Command< UpdateConnectorDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConnectorDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts index b950dbe4adb18..082a61c523fda 100644 --- a/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateCoreDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateCoreDefinitionCommand extends $Command< UpdateCoreDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCoreDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts index 557463eb3c196..aeff2d8f8aa77 100644 --- a/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateDeviceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeviceDefinitionCommand extends $Command< UpdateDeviceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeviceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts index 4c5038ddaefb5..06c1c1cede5e1 100644 --- a/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateFunctionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateFunctionDefinitionCommand extends $Command< UpdateFunctionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFunctionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts b/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts index 946294706d7d1..7ab74ab80b365 100644 --- a/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts +++ b/clients/client-greengrass/commands/UpdateGroupCertificateConfigurationCommand.ts @@ -32,7 +32,6 @@ export class UpdateGroupCertificateConfigurationCommand extends $Command< UpdateGroupCertificateConfigurationCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateGroupCertificateConfigurationCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateGroupCommand.ts b/clients/client-greengrass/commands/UpdateGroupCommand.ts index fa54d2c95d1da..5a0b780491327 100644 --- a/clients/client-greengrass/commands/UpdateGroupCommand.ts +++ b/clients/client-greengrass/commands/UpdateGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateGroupCommand extends $Command< UpdateGroupCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGroupCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts index ba8b7d14516c4..8a29c1c3b076a 100644 --- a/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateLoggerDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateLoggerDefinitionCommand extends $Command< UpdateLoggerDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateLoggerDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts index d3cf795a9fb5b..806ea792f31f6 100644 --- a/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateResourceDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateResourceDefinitionCommand extends $Command< UpdateResourceDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateResourceDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts b/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts index 5d121e8067024..35be2803f9625 100644 --- a/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts +++ b/clients/client-greengrass/commands/UpdateSubscriptionDefinitionCommand.ts @@ -28,7 +28,6 @@ export class UpdateSubscriptionDefinitionCommand extends $Command< UpdateSubscriptionDefinitionCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSubscriptionDefinitionCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-greengrass/commands/UpdateThingRuntimeConfigurationCommand.ts b/clients/client-greengrass/commands/UpdateThingRuntimeConfigurationCommand.ts index ce5e40170e973..26f3ee1403ee8 100644 --- a/clients/client-greengrass/commands/UpdateThingRuntimeConfigurationCommand.ts +++ b/clients/client-greengrass/commands/UpdateThingRuntimeConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateThingRuntimeConfigurationCommand extends $Command< UpdateThingRuntimeConfigurationCommandOutput, GreengrassClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThingRuntimeConfigurationCommand extends $Command< configuration: GreengrassClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/CancelContactCommand.ts b/clients/client-groundstation/commands/CancelContactCommand.ts index 497d0293dcf88..75921fbc405b1 100644 --- a/clients/client-groundstation/commands/CancelContactCommand.ts +++ b/clients/client-groundstation/commands/CancelContactCommand.ts @@ -28,7 +28,6 @@ export class CancelContactCommand extends $Command< CancelContactCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelContactCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/CreateConfigCommand.ts b/clients/client-groundstation/commands/CreateConfigCommand.ts index 3fe1d4eeb312f..7f2d13edd57a0 100644 --- a/clients/client-groundstation/commands/CreateConfigCommand.ts +++ b/clients/client-groundstation/commands/CreateConfigCommand.ts @@ -29,7 +29,6 @@ export class CreateConfigCommand extends $Command< CreateConfigCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateConfigCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts b/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts index f601c8018ce1a..3f41fad2e1317 100644 --- a/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts +++ b/clients/client-groundstation/commands/CreateDataflowEndpointGroupCommand.ts @@ -32,7 +32,6 @@ export class CreateDataflowEndpointGroupCommand extends $Command< CreateDataflowEndpointGroupCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateDataflowEndpointGroupCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/CreateMissionProfileCommand.ts b/clients/client-groundstation/commands/CreateMissionProfileCommand.ts index 639974e0532ec..d30d229f5987a 100644 --- a/clients/client-groundstation/commands/CreateMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/CreateMissionProfileCommand.ts @@ -31,7 +31,6 @@ export class CreateMissionProfileCommand extends $Command< CreateMissionProfileCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateMissionProfileCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/DeleteConfigCommand.ts b/clients/client-groundstation/commands/DeleteConfigCommand.ts index 7512859dc1d50..378043a8b990a 100644 --- a/clients/client-groundstation/commands/DeleteConfigCommand.ts +++ b/clients/client-groundstation/commands/DeleteConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteConfigCommand extends $Command< DeleteConfigCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConfigCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts b/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts index d664773cb1dde..427a7ef964186 100644 --- a/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts +++ b/clients/client-groundstation/commands/DeleteDataflowEndpointGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteDataflowEndpointGroupCommand extends $Command< DeleteDataflowEndpointGroupCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDataflowEndpointGroupCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts b/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts index b88033d1b97ad..9cbd7d25ef9aa 100644 --- a/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/DeleteMissionProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteMissionProfileCommand extends $Command< DeleteMissionProfileCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMissionProfileCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/DescribeContactCommand.ts b/clients/client-groundstation/commands/DescribeContactCommand.ts index 17e6e20922d29..c4cc5357a0073 100644 --- a/clients/client-groundstation/commands/DescribeContactCommand.ts +++ b/clients/client-groundstation/commands/DescribeContactCommand.ts @@ -28,7 +28,6 @@ export class DescribeContactCommand extends $Command< DescribeContactCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeContactCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/GetConfigCommand.ts b/clients/client-groundstation/commands/GetConfigCommand.ts index 6b7de5e419b29..4ae73ec0f0ca7 100644 --- a/clients/client-groundstation/commands/GetConfigCommand.ts +++ b/clients/client-groundstation/commands/GetConfigCommand.ts @@ -29,7 +29,6 @@ export class GetConfigCommand extends $Command< GetConfigCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetConfigCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts b/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts index bfe05b5a8e1b8..023361f2ee86d 100644 --- a/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts +++ b/clients/client-groundstation/commands/GetDataflowEndpointGroupCommand.ts @@ -28,7 +28,6 @@ export class GetDataflowEndpointGroupCommand extends $Command< GetDataflowEndpointGroupCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataflowEndpointGroupCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/GetMinuteUsageCommand.ts b/clients/client-groundstation/commands/GetMinuteUsageCommand.ts index 53fbe4ae9b7c1..8b08dafddcee0 100644 --- a/clients/client-groundstation/commands/GetMinuteUsageCommand.ts +++ b/clients/client-groundstation/commands/GetMinuteUsageCommand.ts @@ -28,7 +28,6 @@ export class GetMinuteUsageCommand extends $Command< GetMinuteUsageCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMinuteUsageCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/GetMissionProfileCommand.ts b/clients/client-groundstation/commands/GetMissionProfileCommand.ts index fa2428a8c0eb8..8d666aae65d34 100644 --- a/clients/client-groundstation/commands/GetMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/GetMissionProfileCommand.ts @@ -28,7 +28,6 @@ export class GetMissionProfileCommand extends $Command< GetMissionProfileCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMissionProfileCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/GetSatelliteCommand.ts b/clients/client-groundstation/commands/GetSatelliteCommand.ts index 8d606a00b5ccc..f5641575b3dd4 100644 --- a/clients/client-groundstation/commands/GetSatelliteCommand.ts +++ b/clients/client-groundstation/commands/GetSatelliteCommand.ts @@ -28,7 +28,6 @@ export class GetSatelliteCommand extends $Command< GetSatelliteCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSatelliteCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListConfigsCommand.ts b/clients/client-groundstation/commands/ListConfigsCommand.ts index 0312c88841245..913f371cd192c 100644 --- a/clients/client-groundstation/commands/ListConfigsCommand.ts +++ b/clients/client-groundstation/commands/ListConfigsCommand.ts @@ -28,7 +28,6 @@ export class ListConfigsCommand extends $Command< ListConfigsCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigsCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListContactsCommand.ts b/clients/client-groundstation/commands/ListContactsCommand.ts index cabf5d3a4b5ee..f54e163205d00 100644 --- a/clients/client-groundstation/commands/ListContactsCommand.ts +++ b/clients/client-groundstation/commands/ListContactsCommand.ts @@ -31,7 +31,6 @@ export class ListContactsCommand extends $Command< ListContactsCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListContactsCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts b/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts index 24ce6a4a43dfd..ffdbafa6acb07 100644 --- a/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts +++ b/clients/client-groundstation/commands/ListDataflowEndpointGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListDataflowEndpointGroupsCommand extends $Command< ListDataflowEndpointGroupsCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataflowEndpointGroupsCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListGroundStationsCommand.ts b/clients/client-groundstation/commands/ListGroundStationsCommand.ts index 8f9f36d524444..3d1742929b41c 100644 --- a/clients/client-groundstation/commands/ListGroundStationsCommand.ts +++ b/clients/client-groundstation/commands/ListGroundStationsCommand.ts @@ -28,7 +28,6 @@ export class ListGroundStationsCommand extends $Command< ListGroundStationsCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroundStationsCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListMissionProfilesCommand.ts b/clients/client-groundstation/commands/ListMissionProfilesCommand.ts index 56f8e795e663c..12146be7f3bb3 100644 --- a/clients/client-groundstation/commands/ListMissionProfilesCommand.ts +++ b/clients/client-groundstation/commands/ListMissionProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListMissionProfilesCommand extends $Command< ListMissionProfilesCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMissionProfilesCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListSatellitesCommand.ts b/clients/client-groundstation/commands/ListSatellitesCommand.ts index 4c19e733f2967..368332d64698a 100644 --- a/clients/client-groundstation/commands/ListSatellitesCommand.ts +++ b/clients/client-groundstation/commands/ListSatellitesCommand.ts @@ -28,7 +28,6 @@ export class ListSatellitesCommand extends $Command< ListSatellitesCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSatellitesCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ListTagsForResourceCommand.ts b/clients/client-groundstation/commands/ListTagsForResourceCommand.ts index a8a6a3e2a8b34..480c8c49662d2 100644 --- a/clients/client-groundstation/commands/ListTagsForResourceCommand.ts +++ b/clients/client-groundstation/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/ReserveContactCommand.ts b/clients/client-groundstation/commands/ReserveContactCommand.ts index fd4c9a0ef6f60..8ee5ff977dd65 100644 --- a/clients/client-groundstation/commands/ReserveContactCommand.ts +++ b/clients/client-groundstation/commands/ReserveContactCommand.ts @@ -28,7 +28,6 @@ export class ReserveContactCommand extends $Command< ReserveContactCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ReserveContactCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/TagResourceCommand.ts b/clients/client-groundstation/commands/TagResourceCommand.ts index 74aa109034555..9468bba4af7b9 100644 --- a/clients/client-groundstation/commands/TagResourceCommand.ts +++ b/clients/client-groundstation/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/UntagResourceCommand.ts b/clients/client-groundstation/commands/UntagResourceCommand.ts index 69ac403fd1d58..5e78e83c9c8b2 100644 --- a/clients/client-groundstation/commands/UntagResourceCommand.ts +++ b/clients/client-groundstation/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/UpdateConfigCommand.ts b/clients/client-groundstation/commands/UpdateConfigCommand.ts index 0bebd2f9b55e2..7b805993e9b3b 100644 --- a/clients/client-groundstation/commands/UpdateConfigCommand.ts +++ b/clients/client-groundstation/commands/UpdateConfigCommand.ts @@ -30,7 +30,6 @@ export class UpdateConfigCommand extends $Command< UpdateConfigCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateConfigCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts b/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts index 966eab1646e35..c1de38e8104d3 100644 --- a/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts +++ b/clients/client-groundstation/commands/UpdateMissionProfileCommand.ts @@ -30,7 +30,6 @@ export class UpdateMissionProfileCommand extends $Command< UpdateMissionProfileCommandOutput, GroundStationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateMissionProfileCommand extends $Command< configuration: GroundStationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/AcceptInvitationCommand.ts b/clients/client-guardduty/commands/AcceptInvitationCommand.ts index 40be5e8a203f2..815a9640f4896 100644 --- a/clients/client-guardduty/commands/AcceptInvitationCommand.ts +++ b/clients/client-guardduty/commands/AcceptInvitationCommand.ts @@ -28,7 +28,6 @@ export class AcceptInvitationCommand extends $Command< AcceptInvitationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptInvitationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ArchiveFindingsCommand.ts b/clients/client-guardduty/commands/ArchiveFindingsCommand.ts index 3bc49a85ac8cd..3d481ace545d3 100644 --- a/clients/client-guardduty/commands/ArchiveFindingsCommand.ts +++ b/clients/client-guardduty/commands/ArchiveFindingsCommand.ts @@ -32,7 +32,6 @@ export class ArchiveFindingsCommand extends $Command< ArchiveFindingsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ArchiveFindingsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreateDetectorCommand.ts b/clients/client-guardduty/commands/CreateDetectorCommand.ts index 97daee89682ef..adad67abb1b26 100644 --- a/clients/client-guardduty/commands/CreateDetectorCommand.ts +++ b/clients/client-guardduty/commands/CreateDetectorCommand.ts @@ -31,7 +31,6 @@ export class CreateDetectorCommand extends $Command< CreateDetectorCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDetectorCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreateFilterCommand.ts b/clients/client-guardduty/commands/CreateFilterCommand.ts index 4af1d10e7427e..08d246a82aeda 100644 --- a/clients/client-guardduty/commands/CreateFilterCommand.ts +++ b/clients/client-guardduty/commands/CreateFilterCommand.ts @@ -28,7 +28,6 @@ export class CreateFilterCommand extends $Command< CreateFilterCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFilterCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreateIPSetCommand.ts b/clients/client-guardduty/commands/CreateIPSetCommand.ts index 9a8f43c7a4418..bece06db81554 100644 --- a/clients/client-guardduty/commands/CreateIPSetCommand.ts +++ b/clients/client-guardduty/commands/CreateIPSetCommand.ts @@ -31,7 +31,6 @@ export class CreateIPSetCommand extends $Command< CreateIPSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateIPSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreateMembersCommand.ts b/clients/client-guardduty/commands/CreateMembersCommand.ts index a2b857e076846..d7616181b97f7 100644 --- a/clients/client-guardduty/commands/CreateMembersCommand.ts +++ b/clients/client-guardduty/commands/CreateMembersCommand.ts @@ -39,7 +39,6 @@ export class CreateMembersCommand extends $Command< CreateMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts b/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts index e2a574338c314..1a35dc3b736b3 100644 --- a/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/CreatePublishingDestinationCommand.ts @@ -29,7 +29,6 @@ export class CreatePublishingDestinationCommand extends $Command< CreatePublishingDestinationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreatePublishingDestinationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts b/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts index 4a30ea7915611..f796ed1400f5d 100644 --- a/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts +++ b/clients/client-guardduty/commands/CreateSampleFindingsCommand.ts @@ -30,7 +30,6 @@ export class CreateSampleFindingsCommand extends $Command< CreateSampleFindingsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateSampleFindingsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts b/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts index 0061bc9ec38eb..fa31ba8958ba1 100644 --- a/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/CreateThreatIntelSetCommand.ts @@ -30,7 +30,6 @@ export class CreateThreatIntelSetCommand extends $Command< CreateThreatIntelSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateThreatIntelSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeclineInvitationsCommand.ts b/clients/client-guardduty/commands/DeclineInvitationsCommand.ts index b9a444c8eb2d9..bd5adbc8b5f31 100644 --- a/clients/client-guardduty/commands/DeclineInvitationsCommand.ts +++ b/clients/client-guardduty/commands/DeclineInvitationsCommand.ts @@ -29,7 +29,6 @@ export class DeclineInvitationsCommand extends $Command< DeclineInvitationsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeclineInvitationsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeleteDetectorCommand.ts b/clients/client-guardduty/commands/DeleteDetectorCommand.ts index b5678c00a9c78..c495af7f82446 100644 --- a/clients/client-guardduty/commands/DeleteDetectorCommand.ts +++ b/clients/client-guardduty/commands/DeleteDetectorCommand.ts @@ -28,7 +28,6 @@ export class DeleteDetectorCommand extends $Command< DeleteDetectorCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDetectorCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeleteFilterCommand.ts b/clients/client-guardduty/commands/DeleteFilterCommand.ts index acb365eb16097..26a36dc1d2437 100644 --- a/clients/client-guardduty/commands/DeleteFilterCommand.ts +++ b/clients/client-guardduty/commands/DeleteFilterCommand.ts @@ -28,7 +28,6 @@ export class DeleteFilterCommand extends $Command< DeleteFilterCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFilterCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeleteIPSetCommand.ts b/clients/client-guardduty/commands/DeleteIPSetCommand.ts index d1473ceaf45bd..1c1048a901943 100644 --- a/clients/client-guardduty/commands/DeleteIPSetCommand.ts +++ b/clients/client-guardduty/commands/DeleteIPSetCommand.ts @@ -29,7 +29,6 @@ export class DeleteIPSetCommand extends $Command< DeleteIPSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteIPSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeleteInvitationsCommand.ts b/clients/client-guardduty/commands/DeleteInvitationsCommand.ts index d0a07704de165..7c30f47e7ead3 100644 --- a/clients/client-guardduty/commands/DeleteInvitationsCommand.ts +++ b/clients/client-guardduty/commands/DeleteInvitationsCommand.ts @@ -29,7 +29,6 @@ export class DeleteInvitationsCommand extends $Command< DeleteInvitationsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteInvitationsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeleteMembersCommand.ts b/clients/client-guardduty/commands/DeleteMembersCommand.ts index 4c4bd4c3b3b10..f8e61749652ac 100644 --- a/clients/client-guardduty/commands/DeleteMembersCommand.ts +++ b/clients/client-guardduty/commands/DeleteMembersCommand.ts @@ -29,7 +29,6 @@ export class DeleteMembersCommand extends $Command< DeleteMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts b/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts index c0f50701b32d9..487b4a5ec7536 100644 --- a/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/DeletePublishingDestinationCommand.ts @@ -28,7 +28,6 @@ export class DeletePublishingDestinationCommand extends $Command< DeletePublishingDestinationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePublishingDestinationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts b/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts index 31352fc4a0425..e8d9139718b6e 100644 --- a/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/DeleteThreatIntelSetCommand.ts @@ -28,7 +28,6 @@ export class DeleteThreatIntelSetCommand extends $Command< DeleteThreatIntelSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteThreatIntelSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DescribeOrganizationConfigurationCommand.ts b/clients/client-guardduty/commands/DescribeOrganizationConfigurationCommand.ts index 160f42fa47e8b..972091aa54394 100644 --- a/clients/client-guardduty/commands/DescribeOrganizationConfigurationCommand.ts +++ b/clients/client-guardduty/commands/DescribeOrganizationConfigurationCommand.ts @@ -33,7 +33,6 @@ export class DescribeOrganizationConfigurationCommand extends $Command< DescribeOrganizationConfigurationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeOrganizationConfigurationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts b/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts index 1d1694383a145..8562979593447 100644 --- a/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/DescribePublishingDestinationCommand.ts @@ -29,7 +29,6 @@ export class DescribePublishingDestinationCommand extends $Command< DescribePublishingDestinationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePublishingDestinationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DisableOrganizationAdminAccountCommand.ts b/clients/client-guardduty/commands/DisableOrganizationAdminAccountCommand.ts index b59e50e7396bc..69885fcf3b0f4 100644 --- a/clients/client-guardduty/commands/DisableOrganizationAdminAccountCommand.ts +++ b/clients/client-guardduty/commands/DisableOrganizationAdminAccountCommand.ts @@ -29,7 +29,6 @@ export class DisableOrganizationAdminAccountCommand extends $Command< DisableOrganizationAdminAccountCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableOrganizationAdminAccountCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts b/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts index 52a5aa3e10197..b0c91bbd6db1f 100644 --- a/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts +++ b/clients/client-guardduty/commands/DisassociateFromMasterAccountCommand.ts @@ -28,7 +28,6 @@ export class DisassociateFromMasterAccountCommand extends $Command< DisassociateFromMasterAccountCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/DisassociateMembersCommand.ts b/clients/client-guardduty/commands/DisassociateMembersCommand.ts index 83f5cd93bd5e9..c6c2b7cbc3a98 100644 --- a/clients/client-guardduty/commands/DisassociateMembersCommand.ts +++ b/clients/client-guardduty/commands/DisassociateMembersCommand.ts @@ -29,7 +29,6 @@ export class DisassociateMembersCommand extends $Command< DisassociateMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/EnableOrganizationAdminAccountCommand.ts b/clients/client-guardduty/commands/EnableOrganizationAdminAccountCommand.ts index 4e393d350f034..03e002d2b4603 100644 --- a/clients/client-guardduty/commands/EnableOrganizationAdminAccountCommand.ts +++ b/clients/client-guardduty/commands/EnableOrganizationAdminAccountCommand.ts @@ -29,7 +29,6 @@ export class EnableOrganizationAdminAccountCommand extends $Command< EnableOrganizationAdminAccountCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableOrganizationAdminAccountCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetDetectorCommand.ts b/clients/client-guardduty/commands/GetDetectorCommand.ts index ada8dc7a18c7e..37dc87025a761 100644 --- a/clients/client-guardduty/commands/GetDetectorCommand.ts +++ b/clients/client-guardduty/commands/GetDetectorCommand.ts @@ -28,7 +28,6 @@ export class GetDetectorCommand extends $Command< GetDetectorCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDetectorCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetFilterCommand.ts b/clients/client-guardduty/commands/GetFilterCommand.ts index e4cefbf8d0312..b3b3bfa59c055 100644 --- a/clients/client-guardduty/commands/GetFilterCommand.ts +++ b/clients/client-guardduty/commands/GetFilterCommand.ts @@ -28,7 +28,6 @@ export class GetFilterCommand extends $Command< GetFilterCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFilterCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetFindingsCommand.ts b/clients/client-guardduty/commands/GetFindingsCommand.ts index f1a8d13314c1d..8f833cef20133 100644 --- a/clients/client-guardduty/commands/GetFindingsCommand.ts +++ b/clients/client-guardduty/commands/GetFindingsCommand.ts @@ -28,7 +28,6 @@ export class GetFindingsCommand extends $Command< GetFindingsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFindingsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts b/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts index 20283844f027d..ec340a7ebd672 100644 --- a/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts +++ b/clients/client-guardduty/commands/GetFindingsStatisticsCommand.ts @@ -28,7 +28,6 @@ export class GetFindingsStatisticsCommand extends $Command< GetFindingsStatisticsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFindingsStatisticsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetIPSetCommand.ts b/clients/client-guardduty/commands/GetIPSetCommand.ts index bffce2163463c..7f34807017c54 100644 --- a/clients/client-guardduty/commands/GetIPSetCommand.ts +++ b/clients/client-guardduty/commands/GetIPSetCommand.ts @@ -28,7 +28,6 @@ export class GetIPSetCommand extends $Command< GetIPSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIPSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetInvitationsCountCommand.ts b/clients/client-guardduty/commands/GetInvitationsCountCommand.ts index 7bc0915ea7ff8..42526c758d451 100644 --- a/clients/client-guardduty/commands/GetInvitationsCountCommand.ts +++ b/clients/client-guardduty/commands/GetInvitationsCountCommand.ts @@ -29,7 +29,6 @@ export class GetInvitationsCountCommand extends $Command< GetInvitationsCountCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInvitationsCountCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetMasterAccountCommand.ts b/clients/client-guardduty/commands/GetMasterAccountCommand.ts index 0c01be533dcfa..3b407b5a1ef3e 100644 --- a/clients/client-guardduty/commands/GetMasterAccountCommand.ts +++ b/clients/client-guardduty/commands/GetMasterAccountCommand.ts @@ -29,7 +29,6 @@ export class GetMasterAccountCommand extends $Command< GetMasterAccountCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetMasterAccountCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetMemberDetectorsCommand.ts b/clients/client-guardduty/commands/GetMemberDetectorsCommand.ts index 2fa51d30eca39..139cb40f0b69a 100644 --- a/clients/client-guardduty/commands/GetMemberDetectorsCommand.ts +++ b/clients/client-guardduty/commands/GetMemberDetectorsCommand.ts @@ -28,7 +28,6 @@ export class GetMemberDetectorsCommand extends $Command< GetMemberDetectorsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMemberDetectorsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetMembersCommand.ts b/clients/client-guardduty/commands/GetMembersCommand.ts index 128392be1155e..0f0f2195d8841 100644 --- a/clients/client-guardduty/commands/GetMembersCommand.ts +++ b/clients/client-guardduty/commands/GetMembersCommand.ts @@ -29,7 +29,6 @@ export class GetMembersCommand extends $Command< GetMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts b/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts index 07d9fe16727dc..56a3df8603243 100644 --- a/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/GetThreatIntelSetCommand.ts @@ -28,7 +28,6 @@ export class GetThreatIntelSetCommand extends $Command< GetThreatIntelSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetThreatIntelSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/GetUsageStatisticsCommand.ts b/clients/client-guardduty/commands/GetUsageStatisticsCommand.ts index b338fa6a9e69c..25098db3341e1 100644 --- a/clients/client-guardduty/commands/GetUsageStatisticsCommand.ts +++ b/clients/client-guardduty/commands/GetUsageStatisticsCommand.ts @@ -31,7 +31,6 @@ export class GetUsageStatisticsCommand extends $Command< GetUsageStatisticsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetUsageStatisticsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/InviteMembersCommand.ts b/clients/client-guardduty/commands/InviteMembersCommand.ts index ca0a59c6618f3..5c1ea342ab766 100644 --- a/clients/client-guardduty/commands/InviteMembersCommand.ts +++ b/clients/client-guardduty/commands/InviteMembersCommand.ts @@ -30,7 +30,6 @@ export class InviteMembersCommand extends $Command< InviteMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class InviteMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListDetectorsCommand.ts b/clients/client-guardduty/commands/ListDetectorsCommand.ts index e3ec9c1ae10c0..f4f0a47b3ff5b 100644 --- a/clients/client-guardduty/commands/ListDetectorsCommand.ts +++ b/clients/client-guardduty/commands/ListDetectorsCommand.ts @@ -28,7 +28,6 @@ export class ListDetectorsCommand extends $Command< ListDetectorsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDetectorsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListFiltersCommand.ts b/clients/client-guardduty/commands/ListFiltersCommand.ts index 13f400309add4..49b50e90b7fac 100644 --- a/clients/client-guardduty/commands/ListFiltersCommand.ts +++ b/clients/client-guardduty/commands/ListFiltersCommand.ts @@ -28,7 +28,6 @@ export class ListFiltersCommand extends $Command< ListFiltersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFiltersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListFindingsCommand.ts b/clients/client-guardduty/commands/ListFindingsCommand.ts index 6238eade84366..30da3d98ece7f 100644 --- a/clients/client-guardduty/commands/ListFindingsCommand.ts +++ b/clients/client-guardduty/commands/ListFindingsCommand.ts @@ -28,7 +28,6 @@ export class ListFindingsCommand extends $Command< ListFindingsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFindingsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListIPSetsCommand.ts b/clients/client-guardduty/commands/ListIPSetsCommand.ts index 07d093c9dfd78..828fcb87efbb0 100644 --- a/clients/client-guardduty/commands/ListIPSetsCommand.ts +++ b/clients/client-guardduty/commands/ListIPSetsCommand.ts @@ -30,7 +30,6 @@ export class ListIPSetsCommand extends $Command< ListIPSetsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListIPSetsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListInvitationsCommand.ts b/clients/client-guardduty/commands/ListInvitationsCommand.ts index 095c42f9d6fbd..f8d287e9cee8f 100644 --- a/clients/client-guardduty/commands/ListInvitationsCommand.ts +++ b/clients/client-guardduty/commands/ListInvitationsCommand.ts @@ -29,7 +29,6 @@ export class ListInvitationsCommand extends $Command< ListInvitationsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListInvitationsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListMembersCommand.ts b/clients/client-guardduty/commands/ListMembersCommand.ts index da30a8844984d..e8198f691641f 100644 --- a/clients/client-guardduty/commands/ListMembersCommand.ts +++ b/clients/client-guardduty/commands/ListMembersCommand.ts @@ -28,7 +28,6 @@ export class ListMembersCommand extends $Command< ListMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListOrganizationAdminAccountsCommand.ts b/clients/client-guardduty/commands/ListOrganizationAdminAccountsCommand.ts index f7f7a73cdec44..ff3e69dbea600 100644 --- a/clients/client-guardduty/commands/ListOrganizationAdminAccountsCommand.ts +++ b/clients/client-guardduty/commands/ListOrganizationAdminAccountsCommand.ts @@ -28,7 +28,6 @@ export class ListOrganizationAdminAccountsCommand extends $Command< ListOrganizationAdminAccountsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOrganizationAdminAccountsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts b/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts index 76eefa80ad8a1..b6c417b052087 100644 --- a/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts +++ b/clients/client-guardduty/commands/ListPublishingDestinationsCommand.ts @@ -29,7 +29,6 @@ export class ListPublishingDestinationsCommand extends $Command< ListPublishingDestinationsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPublishingDestinationsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListTagsForResourceCommand.ts b/clients/client-guardduty/commands/ListTagsForResourceCommand.ts index 993ba17cdc9b6..f8f6b19980ba6 100644 --- a/clients/client-guardduty/commands/ListTagsForResourceCommand.ts +++ b/clients/client-guardduty/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts b/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts index b41d58f867188..3176a325d1b2d 100644 --- a/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts +++ b/clients/client-guardduty/commands/ListThreatIntelSetsCommand.ts @@ -30,7 +30,6 @@ export class ListThreatIntelSetsCommand extends $Command< ListThreatIntelSetsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListThreatIntelSetsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts b/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts index 760e139e07c41..bb1aba0eb8165 100644 --- a/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts +++ b/clients/client-guardduty/commands/StartMonitoringMembersCommand.ts @@ -30,7 +30,6 @@ export class StartMonitoringMembersCommand extends $Command< StartMonitoringMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartMonitoringMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts b/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts index 419c6014159e8..a78f4773cce39 100644 --- a/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts +++ b/clients/client-guardduty/commands/StopMonitoringMembersCommand.ts @@ -30,7 +30,6 @@ export class StopMonitoringMembersCommand extends $Command< StopMonitoringMembersCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StopMonitoringMembersCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/TagResourceCommand.ts b/clients/client-guardduty/commands/TagResourceCommand.ts index 3f8a79aa4ef2f..90b685f358912 100644 --- a/clients/client-guardduty/commands/TagResourceCommand.ts +++ b/clients/client-guardduty/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts b/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts index 70675a2d89889..671c7039b6665 100644 --- a/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts +++ b/clients/client-guardduty/commands/UnarchiveFindingsCommand.ts @@ -28,7 +28,6 @@ export class UnarchiveFindingsCommand extends $Command< UnarchiveFindingsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UnarchiveFindingsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UntagResourceCommand.ts b/clients/client-guardduty/commands/UntagResourceCommand.ts index cca7194ad3c5e..d96973820adc3 100644 --- a/clients/client-guardduty/commands/UntagResourceCommand.ts +++ b/clients/client-guardduty/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateDetectorCommand.ts b/clients/client-guardduty/commands/UpdateDetectorCommand.ts index 4569711415f0b..de7e5ba214d5c 100644 --- a/clients/client-guardduty/commands/UpdateDetectorCommand.ts +++ b/clients/client-guardduty/commands/UpdateDetectorCommand.ts @@ -28,7 +28,6 @@ export class UpdateDetectorCommand extends $Command< UpdateDetectorCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDetectorCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateFilterCommand.ts b/clients/client-guardduty/commands/UpdateFilterCommand.ts index 64a0ca1b24f74..d77c63c7ab5f2 100644 --- a/clients/client-guardduty/commands/UpdateFilterCommand.ts +++ b/clients/client-guardduty/commands/UpdateFilterCommand.ts @@ -28,7 +28,6 @@ export class UpdateFilterCommand extends $Command< UpdateFilterCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFilterCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts b/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts index f54546e8e2ef8..f0d079729aa0e 100644 --- a/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts +++ b/clients/client-guardduty/commands/UpdateFindingsFeedbackCommand.ts @@ -28,7 +28,6 @@ export class UpdateFindingsFeedbackCommand extends $Command< UpdateFindingsFeedbackCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFindingsFeedbackCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateIPSetCommand.ts b/clients/client-guardduty/commands/UpdateIPSetCommand.ts index cbcbcf43f4e72..2873829ff1dff 100644 --- a/clients/client-guardduty/commands/UpdateIPSetCommand.ts +++ b/clients/client-guardduty/commands/UpdateIPSetCommand.ts @@ -28,7 +28,6 @@ export class UpdateIPSetCommand extends $Command< UpdateIPSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIPSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateMemberDetectorsCommand.ts b/clients/client-guardduty/commands/UpdateMemberDetectorsCommand.ts index cd240c15bc03f..7b891e7d535de 100644 --- a/clients/client-guardduty/commands/UpdateMemberDetectorsCommand.ts +++ b/clients/client-guardduty/commands/UpdateMemberDetectorsCommand.ts @@ -28,7 +28,6 @@ export class UpdateMemberDetectorsCommand extends $Command< UpdateMemberDetectorsCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMemberDetectorsCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateOrganizationConfigurationCommand.ts b/clients/client-guardduty/commands/UpdateOrganizationConfigurationCommand.ts index 48f1d2f180d18..db87ae890bdfc 100644 --- a/clients/client-guardduty/commands/UpdateOrganizationConfigurationCommand.ts +++ b/clients/client-guardduty/commands/UpdateOrganizationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateOrganizationConfigurationCommand extends $Command< UpdateOrganizationConfigurationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateOrganizationConfigurationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts b/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts index 57e71a94179f8..d7bdd650ec202 100644 --- a/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts +++ b/clients/client-guardduty/commands/UpdatePublishingDestinationCommand.ts @@ -29,7 +29,6 @@ export class UpdatePublishingDestinationCommand extends $Command< UpdatePublishingDestinationCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdatePublishingDestinationCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts b/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts index 810c9de6cc957..145c62063bc1a 100644 --- a/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts +++ b/clients/client-guardduty/commands/UpdateThreatIntelSetCommand.ts @@ -28,7 +28,6 @@ export class UpdateThreatIntelSetCommand extends $Command< UpdateThreatIntelSetCommandOutput, GuardDutyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThreatIntelSetCommand extends $Command< configuration: GuardDutyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts b/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts index ee70ebfe1b411..7cef1f2e23929 100644 --- a/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeAffectedAccountsForOrganizationCommand.ts @@ -41,7 +41,6 @@ export class DescribeAffectedAccountsForOrganizationCommand extends $Command< DescribeAffectedAccountsForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DescribeAffectedAccountsForOrganizationCommand extends $Command< DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts b/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts index 8a0ae1cfd4fa5..7cfb39469c643 100644 --- a/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts +++ b/clients/client-health/commands/DescribeAffectedEntitiesCommand.ts @@ -38,7 +38,6 @@ export class DescribeAffectedEntitiesCommand extends $Command< DescribeAffectedEntitiesCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeAffectedEntitiesCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts b/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts index 0abe1f81f6155..f4f713658ba66 100644 --- a/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeAffectedEntitiesForOrganizationCommand.ts @@ -44,7 +44,6 @@ export class DescribeAffectedEntitiesForOrganizationCommand extends $Command< DescribeAffectedEntitiesForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeAffectedEntitiesForOrganizationCommand extends $Command< DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEntityAggregatesCommand.ts b/clients/client-health/commands/DescribeEntityAggregatesCommand.ts index 0e66749869f1a..9cdd51bd6c2e1 100644 --- a/clients/client-health/commands/DescribeEntityAggregatesCommand.ts +++ b/clients/client-health/commands/DescribeEntityAggregatesCommand.ts @@ -29,7 +29,6 @@ export class DescribeEntityAggregatesCommand extends $Command< DescribeEntityAggregatesCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEntityAggregatesCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEventAggregatesCommand.ts b/clients/client-health/commands/DescribeEventAggregatesCommand.ts index 1fb9724642ee0..23b91c3d95c36 100644 --- a/clients/client-health/commands/DescribeEventAggregatesCommand.ts +++ b/clients/client-health/commands/DescribeEventAggregatesCommand.ts @@ -34,7 +34,6 @@ export class DescribeEventAggregatesCommand extends $Command< DescribeEventAggregatesCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeEventAggregatesCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEventDetailsCommand.ts b/clients/client-health/commands/DescribeEventDetailsCommand.ts index 388225200a27f..bd6e6fbd3ddc5 100644 --- a/clients/client-health/commands/DescribeEventDetailsCommand.ts +++ b/clients/client-health/commands/DescribeEventDetailsCommand.ts @@ -33,7 +33,6 @@ export class DescribeEventDetailsCommand extends $Command< DescribeEventDetailsCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEventDetailsCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts b/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts index c2cd82d462e5b..0914f248c41ae 100644 --- a/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeEventDetailsForOrganizationCommand.ts @@ -57,7 +57,6 @@ export class DescribeEventDetailsForOrganizationCommand extends $Command< DescribeEventDetailsForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class DescribeEventDetailsForOrganizationCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEventTypesCommand.ts b/clients/client-health/commands/DescribeEventTypesCommand.ts index 166a81d18a538..1f66904e1a1dd 100644 --- a/clients/client-health/commands/DescribeEventTypesCommand.ts +++ b/clients/client-health/commands/DescribeEventTypesCommand.ts @@ -33,7 +33,6 @@ export class DescribeEventTypesCommand extends $Command< DescribeEventTypesCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEventTypesCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEventsCommand.ts b/clients/client-health/commands/DescribeEventsCommand.ts index 9a396960e66e1..f10be0a15613b 100644 --- a/clients/client-health/commands/DescribeEventsCommand.ts +++ b/clients/client-health/commands/DescribeEventsCommand.ts @@ -51,7 +51,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DescribeEventsCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts b/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts index 8cd1fa7546965..2818de7947e3c 100644 --- a/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeEventsForOrganizationCommand.ts @@ -59,7 +59,6 @@ export class DescribeEventsForOrganizationCommand extends $Command< DescribeEventsForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class DescribeEventsForOrganizationCommand extends $Command< configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts b/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts index 16e93a8440e63..8ab5f72ac1eef 100644 --- a/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts +++ b/clients/client-health/commands/DescribeHealthServiceStatusForOrganizationCommand.ts @@ -32,7 +32,6 @@ export class DescribeHealthServiceStatusForOrganizationCommand extends $Command< DescribeHealthServiceStatusForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeHealthServiceStatusForOrganizationCommand extends $Command< DescribeHealthServiceStatusForOrganizationCommandInput, DescribeHealthServiceStatusForOrganizationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts b/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts index 54a62e6721d3e..1bc35d2ff104e 100644 --- a/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts +++ b/clients/client-health/commands/DisableHealthServiceAccessForOrganizationCommand.ts @@ -42,7 +42,6 @@ export class DisableHealthServiceAccessForOrganizationCommand extends $Command< DisableHealthServiceAccessForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DisableHealthServiceAccessForOrganizationCommand extends $Command< DisableHealthServiceAccessForOrganizationCommandInput, DisableHealthServiceAccessForOrganizationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts b/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts index b551cd250a1e4..69adb98f4f28d 100644 --- a/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts +++ b/clients/client-health/commands/EnableHealthServiceAccessForOrganizationCommand.ts @@ -32,7 +32,6 @@ export class EnableHealthServiceAccessForOrganizationCommand extends $Command< EnableHealthServiceAccessForOrganizationCommandOutput, HealthClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class EnableHealthServiceAccessForOrganizationCommand extends $Command< EnableHealthServiceAccessForOrganizationCommandInput, EnableHealthServiceAccessForOrganizationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-healthlake/commands/CreateFHIRDatastoreCommand.ts b/clients/client-healthlake/commands/CreateFHIRDatastoreCommand.ts index f9d9ea5ea7de8..a62f585770703 100644 --- a/clients/client-healthlake/commands/CreateFHIRDatastoreCommand.ts +++ b/clients/client-healthlake/commands/CreateFHIRDatastoreCommand.ts @@ -28,7 +28,6 @@ export class CreateFHIRDatastoreCommand extends $Command< CreateFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFHIRDatastoreCommand extends $Command< configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-healthlake/commands/DeleteFHIRDatastoreCommand.ts b/clients/client-healthlake/commands/DeleteFHIRDatastoreCommand.ts index 7c2c755ab8f3c..dde601a93c6cb 100644 --- a/clients/client-healthlake/commands/DeleteFHIRDatastoreCommand.ts +++ b/clients/client-healthlake/commands/DeleteFHIRDatastoreCommand.ts @@ -28,7 +28,6 @@ export class DeleteFHIRDatastoreCommand extends $Command< DeleteFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFHIRDatastoreCommand extends $Command< configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-healthlake/commands/DescribeFHIRDatastoreCommand.ts b/clients/client-healthlake/commands/DescribeFHIRDatastoreCommand.ts index df7057cb203d9..51a4a1997f106 100644 --- a/clients/client-healthlake/commands/DescribeFHIRDatastoreCommand.ts +++ b/clients/client-healthlake/commands/DescribeFHIRDatastoreCommand.ts @@ -30,7 +30,6 @@ export class DescribeFHIRDatastoreCommand extends $Command< DescribeFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeFHIRDatastoreCommand extends $Command< configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts b/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts index d8592140033d9..9b9210cd8229a 100644 --- a/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts +++ b/clients/client-healthlake/commands/DescribeFHIRImportJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeFHIRImportJobCommand extends $Command< DescribeFHIRImportJobCommandOutput, HealthLakeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFHIRImportJobCommand extends $Command< configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-healthlake/commands/ListFHIRDatastoresCommand.ts b/clients/client-healthlake/commands/ListFHIRDatastoresCommand.ts index 212891348c568..d4a124ce89424 100644 --- a/clients/client-healthlake/commands/ListFHIRDatastoresCommand.ts +++ b/clients/client-healthlake/commands/ListFHIRDatastoresCommand.ts @@ -29,7 +29,6 @@ export class ListFHIRDatastoresCommand extends $Command< ListFHIRDatastoresCommandOutput, HealthLakeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListFHIRDatastoresCommand extends $Command< configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-healthlake/commands/StartFHIRImportJobCommand.ts b/clients/client-healthlake/commands/StartFHIRImportJobCommand.ts index c048d44efb629..28235b2ddf791 100644 --- a/clients/client-healthlake/commands/StartFHIRImportJobCommand.ts +++ b/clients/client-healthlake/commands/StartFHIRImportJobCommand.ts @@ -28,7 +28,6 @@ export class StartFHIRImportJobCommand extends $Command< StartFHIRImportJobCommandOutput, HealthLakeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartFHIRImportJobCommand extends $Command< configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/BatchCreateTableRowsCommand.ts b/clients/client-honeycode/commands/BatchCreateTableRowsCommand.ts index de2b0adc975bc..35dcec2c12128 100644 --- a/clients/client-honeycode/commands/BatchCreateTableRowsCommand.ts +++ b/clients/client-honeycode/commands/BatchCreateTableRowsCommand.ts @@ -37,7 +37,6 @@ export class BatchCreateTableRowsCommand extends $Command< BatchCreateTableRowsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class BatchCreateTableRowsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/BatchDeleteTableRowsCommand.ts b/clients/client-honeycode/commands/BatchDeleteTableRowsCommand.ts index 4b918d17afd4c..83ef177895a0b 100644 --- a/clients/client-honeycode/commands/BatchDeleteTableRowsCommand.ts +++ b/clients/client-honeycode/commands/BatchDeleteTableRowsCommand.ts @@ -31,7 +31,6 @@ export class BatchDeleteTableRowsCommand extends $Command< BatchDeleteTableRowsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class BatchDeleteTableRowsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/BatchUpdateTableRowsCommand.ts b/clients/client-honeycode/commands/BatchUpdateTableRowsCommand.ts index 81849bce8ef7a..3b5bb14a57cd4 100644 --- a/clients/client-honeycode/commands/BatchUpdateTableRowsCommand.ts +++ b/clients/client-honeycode/commands/BatchUpdateTableRowsCommand.ts @@ -37,7 +37,6 @@ export class BatchUpdateTableRowsCommand extends $Command< BatchUpdateTableRowsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class BatchUpdateTableRowsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/BatchUpsertTableRowsCommand.ts b/clients/client-honeycode/commands/BatchUpsertTableRowsCommand.ts index 40ee2c5f8713a..9a7c38f331213 100644 --- a/clients/client-honeycode/commands/BatchUpsertTableRowsCommand.ts +++ b/clients/client-honeycode/commands/BatchUpsertTableRowsCommand.ts @@ -40,7 +40,6 @@ export class BatchUpsertTableRowsCommand extends $Command< BatchUpsertTableRowsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class BatchUpsertTableRowsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/DescribeTableDataImportJobCommand.ts b/clients/client-honeycode/commands/DescribeTableDataImportJobCommand.ts index 628319e939b03..49eb26f810801 100644 --- a/clients/client-honeycode/commands/DescribeTableDataImportJobCommand.ts +++ b/clients/client-honeycode/commands/DescribeTableDataImportJobCommand.ts @@ -30,7 +30,6 @@ export class DescribeTableDataImportJobCommand extends $Command< DescribeTableDataImportJobCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeTableDataImportJobCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/GetScreenDataCommand.ts b/clients/client-honeycode/commands/GetScreenDataCommand.ts index 5c90e1545f46e..9420582fd4ac2 100644 --- a/clients/client-honeycode/commands/GetScreenDataCommand.ts +++ b/clients/client-honeycode/commands/GetScreenDataCommand.ts @@ -32,7 +32,6 @@ export class GetScreenDataCommand extends $Command< GetScreenDataCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetScreenDataCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/InvokeScreenAutomationCommand.ts b/clients/client-honeycode/commands/InvokeScreenAutomationCommand.ts index 2d691147fde69..d4921e0d8650a 100644 --- a/clients/client-honeycode/commands/InvokeScreenAutomationCommand.ts +++ b/clients/client-honeycode/commands/InvokeScreenAutomationCommand.ts @@ -32,7 +32,6 @@ export class InvokeScreenAutomationCommand extends $Command< InvokeScreenAutomationCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class InvokeScreenAutomationCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/ListTableColumnsCommand.ts b/clients/client-honeycode/commands/ListTableColumnsCommand.ts index 1383d8c65ab35..0f91483fc6ab5 100644 --- a/clients/client-honeycode/commands/ListTableColumnsCommand.ts +++ b/clients/client-honeycode/commands/ListTableColumnsCommand.ts @@ -30,7 +30,6 @@ export class ListTableColumnsCommand extends $Command< ListTableColumnsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTableColumnsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/ListTableRowsCommand.ts b/clients/client-honeycode/commands/ListTableRowsCommand.ts index 3b2a0c2e5ff1d..5c71145bfbe30 100644 --- a/clients/client-honeycode/commands/ListTableRowsCommand.ts +++ b/clients/client-honeycode/commands/ListTableRowsCommand.ts @@ -30,7 +30,6 @@ export class ListTableRowsCommand extends $Command< ListTableRowsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTableRowsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/ListTablesCommand.ts b/clients/client-honeycode/commands/ListTablesCommand.ts index 46da4ee3440e9..b4702b14b2297 100644 --- a/clients/client-honeycode/commands/ListTablesCommand.ts +++ b/clients/client-honeycode/commands/ListTablesCommand.ts @@ -30,7 +30,6 @@ export class ListTablesCommand extends $Command< ListTablesCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTablesCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/QueryTableRowsCommand.ts b/clients/client-honeycode/commands/QueryTableRowsCommand.ts index aefb1bbc959cf..a865afe4b43d2 100644 --- a/clients/client-honeycode/commands/QueryTableRowsCommand.ts +++ b/clients/client-honeycode/commands/QueryTableRowsCommand.ts @@ -30,7 +30,6 @@ export class QueryTableRowsCommand extends $Command< QueryTableRowsCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class QueryTableRowsCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-honeycode/commands/StartTableDataImportJobCommand.ts b/clients/client-honeycode/commands/StartTableDataImportJobCommand.ts index 61616a2c8ed91..2e069270778e6 100644 --- a/clients/client-honeycode/commands/StartTableDataImportJobCommand.ts +++ b/clients/client-honeycode/commands/StartTableDataImportJobCommand.ts @@ -32,7 +32,6 @@ export class StartTableDataImportJobCommand extends $Command< StartTableDataImportJobCommandOutput, HoneycodeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartTableDataImportJobCommand extends $Command< configuration: HoneycodeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts index 3c3f07a3b2bbd..745bcb9598c42 100644 --- a/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/AddClientIDToOpenIDConnectProviderCommand.ts @@ -31,7 +31,6 @@ export class AddClientIDToOpenIDConnectProviderCommand extends $Command< AddClientIDToOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AddClientIDToOpenIDConnectProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts b/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts index dbd60b5f8f525..07751cd035bd8 100644 --- a/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts +++ b/clients/client-iam/commands/AddRoleToInstanceProfileCommand.ts @@ -40,7 +40,6 @@ export class AddRoleToInstanceProfileCommand extends $Command< AddRoleToInstanceProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class AddRoleToInstanceProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/AddUserToGroupCommand.ts b/clients/client-iam/commands/AddUserToGroupCommand.ts index 6f2989984d821..e6366054438f6 100644 --- a/clients/client-iam/commands/AddUserToGroupCommand.ts +++ b/clients/client-iam/commands/AddUserToGroupCommand.ts @@ -28,7 +28,6 @@ export class AddUserToGroupCommand extends $Command< AddUserToGroupCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddUserToGroupCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/AttachGroupPolicyCommand.ts b/clients/client-iam/commands/AttachGroupPolicyCommand.ts index 3610999278eb5..957815b8a2fc8 100644 --- a/clients/client-iam/commands/AttachGroupPolicyCommand.ts +++ b/clients/client-iam/commands/AttachGroupPolicyCommand.ts @@ -32,7 +32,6 @@ export class AttachGroupPolicyCommand extends $Command< AttachGroupPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AttachGroupPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/AttachRolePolicyCommand.ts b/clients/client-iam/commands/AttachRolePolicyCommand.ts index ab623fe70349c..5d4ae0bfcd81e 100644 --- a/clients/client-iam/commands/AttachRolePolicyCommand.ts +++ b/clients/client-iam/commands/AttachRolePolicyCommand.ts @@ -39,7 +39,6 @@ export class AttachRolePolicyCommand extends $Command< AttachRolePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AttachRolePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/AttachUserPolicyCommand.ts b/clients/client-iam/commands/AttachUserPolicyCommand.ts index 390123a5c15ab..30ca2efd4a3c5 100644 --- a/clients/client-iam/commands/AttachUserPolicyCommand.ts +++ b/clients/client-iam/commands/AttachUserPolicyCommand.ts @@ -32,7 +32,6 @@ export class AttachUserPolicyCommand extends $Command< AttachUserPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AttachUserPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ChangePasswordCommand.ts b/clients/client-iam/commands/ChangePasswordCommand.ts index eda0deec5a9ee..0f60a410e808d 100644 --- a/clients/client-iam/commands/ChangePasswordCommand.ts +++ b/clients/client-iam/commands/ChangePasswordCommand.ts @@ -32,7 +32,6 @@ export class ChangePasswordCommand extends $Command< ChangePasswordCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ChangePasswordCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateAccessKeyCommand.ts b/clients/client-iam/commands/CreateAccessKeyCommand.ts index 83f566e03186f..49c4fb966855a 100644 --- a/clients/client-iam/commands/CreateAccessKeyCommand.ts +++ b/clients/client-iam/commands/CreateAccessKeyCommand.ts @@ -40,7 +40,6 @@ export class CreateAccessKeyCommand extends $Command< CreateAccessKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateAccessKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateAccountAliasCommand.ts b/clients/client-iam/commands/CreateAccountAliasCommand.ts index 1ca681c8342f7..c97ea87b70594 100644 --- a/clients/client-iam/commands/CreateAccountAliasCommand.ts +++ b/clients/client-iam/commands/CreateAccountAliasCommand.ts @@ -31,7 +31,6 @@ export class CreateAccountAliasCommand extends $Command< CreateAccountAliasCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateAccountAliasCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateGroupCommand.ts b/clients/client-iam/commands/CreateGroupCommand.ts index c884a4ee0e5f5..7e727dd9f3479 100644 --- a/clients/client-iam/commands/CreateGroupCommand.ts +++ b/clients/client-iam/commands/CreateGroupCommand.ts @@ -26,7 +26,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class CreateGroupCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateInstanceProfileCommand.ts b/clients/client-iam/commands/CreateInstanceProfileCommand.ts index f708b7a56866c..21681e61df92a 100644 --- a/clients/client-iam/commands/CreateInstanceProfileCommand.ts +++ b/clients/client-iam/commands/CreateInstanceProfileCommand.ts @@ -30,7 +30,6 @@ export class CreateInstanceProfileCommand extends $Command< CreateInstanceProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateInstanceProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateLoginProfileCommand.ts b/clients/client-iam/commands/CreateLoginProfileCommand.ts index be2acf01c7b77..1c4481dab282b 100644 --- a/clients/client-iam/commands/CreateLoginProfileCommand.ts +++ b/clients/client-iam/commands/CreateLoginProfileCommand.ts @@ -30,7 +30,6 @@ export class CreateLoginProfileCommand extends $Command< CreateLoginProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateLoginProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts index 1a03cdd28e8d2..155034158f413 100644 --- a/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/CreateOpenIDConnectProviderCommand.ts @@ -50,7 +50,6 @@ export class CreateOpenIDConnectProviderCommand extends $Command< CreateOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class CreateOpenIDConnectProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreatePolicyCommand.ts b/clients/client-iam/commands/CreatePolicyCommand.ts index b9c193723675d..c39ee2c1ba857 100644 --- a/clients/client-iam/commands/CreatePolicyCommand.ts +++ b/clients/client-iam/commands/CreatePolicyCommand.ts @@ -31,7 +31,6 @@ export class CreatePolicyCommand extends $Command< CreatePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreatePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreatePolicyVersionCommand.ts b/clients/client-iam/commands/CreatePolicyVersionCommand.ts index ae1cd6c7a5e96..af97b2d046855 100644 --- a/clients/client-iam/commands/CreatePolicyVersionCommand.ts +++ b/clients/client-iam/commands/CreatePolicyVersionCommand.ts @@ -35,7 +35,6 @@ export class CreatePolicyVersionCommand extends $Command< CreatePolicyVersionCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreatePolicyVersionCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateRoleCommand.ts b/clients/client-iam/commands/CreateRoleCommand.ts index 16935d206f7ff..5e77c624aa725 100644 --- a/clients/client-iam/commands/CreateRoleCommand.ts +++ b/clients/client-iam/commands/CreateRoleCommand.ts @@ -27,7 +27,6 @@ export class CreateRoleCommand extends $Command< CreateRoleCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class CreateRoleCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateSAMLProviderCommand.ts b/clients/client-iam/commands/CreateSAMLProviderCommand.ts index 7052c706a2a95..cd4eed94b128b 100644 --- a/clients/client-iam/commands/CreateSAMLProviderCommand.ts +++ b/clients/client-iam/commands/CreateSAMLProviderCommand.ts @@ -45,7 +45,6 @@ export class CreateSAMLProviderCommand extends $Command< CreateSAMLProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateSAMLProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts b/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts index cb6c7926fd050..44a647513e1b3 100644 --- a/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts +++ b/clients/client-iam/commands/CreateServiceLinkedRoleCommand.ts @@ -36,7 +36,6 @@ export class CreateServiceLinkedRoleCommand extends $Command< CreateServiceLinkedRoleCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateServiceLinkedRoleCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts index 7e2cf809c0d71..cb471d2ee01f4 100644 --- a/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/CreateServiceSpecificCredentialCommand.ts @@ -37,7 +37,6 @@ export class CreateServiceSpecificCredentialCommand extends $Command< CreateServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateServiceSpecificCredentialCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateUserCommand.ts b/clients/client-iam/commands/CreateUserCommand.ts index 579596ffee996..953035ae2ad4e 100644 --- a/clients/client-iam/commands/CreateUserCommand.ts +++ b/clients/client-iam/commands/CreateUserCommand.ts @@ -26,7 +26,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class CreateUserCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts b/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts index 15e772416f9f3..83e35a563666c 100644 --- a/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts +++ b/clients/client-iam/commands/CreateVirtualMFADeviceCommand.ts @@ -39,7 +39,6 @@ export class CreateVirtualMFADeviceCommand extends $Command< CreateVirtualMFADeviceCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateVirtualMFADeviceCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeactivateMFADeviceCommand.ts b/clients/client-iam/commands/DeactivateMFADeviceCommand.ts index 936144aabcf44..78a0cc4222e79 100644 --- a/clients/client-iam/commands/DeactivateMFADeviceCommand.ts +++ b/clients/client-iam/commands/DeactivateMFADeviceCommand.ts @@ -32,7 +32,6 @@ export class DeactivateMFADeviceCommand extends $Command< DeactivateMFADeviceCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeactivateMFADeviceCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteAccessKeyCommand.ts b/clients/client-iam/commands/DeleteAccessKeyCommand.ts index b21037cb1db35..fbdc731ebbbea 100644 --- a/clients/client-iam/commands/DeleteAccessKeyCommand.ts +++ b/clients/client-iam/commands/DeleteAccessKeyCommand.ts @@ -32,7 +32,6 @@ export class DeleteAccessKeyCommand extends $Command< DeleteAccessKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteAccessKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteAccountAliasCommand.ts b/clients/client-iam/commands/DeleteAccountAliasCommand.ts index 3ef766cb92078..c7c889855411e 100644 --- a/clients/client-iam/commands/DeleteAccountAliasCommand.ts +++ b/clients/client-iam/commands/DeleteAccountAliasCommand.ts @@ -31,7 +31,6 @@ export class DeleteAccountAliasCommand extends $Command< DeleteAccountAliasCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteAccountAliasCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts b/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts index 0578df9ebeb09..e38fd2003d137 100644 --- a/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts +++ b/clients/client-iam/commands/DeleteAccountPasswordPolicyCommand.ts @@ -27,7 +27,6 @@ export class DeleteAccountPasswordPolicyCommand extends $Command< DeleteAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class DeleteAccountPasswordPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteGroupCommand.ts b/clients/client-iam/commands/DeleteGroupCommand.ts index 93c18b089860d..e67ce8a6db244 100644 --- a/clients/client-iam/commands/DeleteGroupCommand.ts +++ b/clients/client-iam/commands/DeleteGroupCommand.ts @@ -26,7 +26,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DeleteGroupCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteGroupPolicyCommand.ts b/clients/client-iam/commands/DeleteGroupPolicyCommand.ts index 5e6c43bed58a0..546368981e420 100644 --- a/clients/client-iam/commands/DeleteGroupPolicyCommand.ts +++ b/clients/client-iam/commands/DeleteGroupPolicyCommand.ts @@ -34,7 +34,6 @@ export class DeleteGroupPolicyCommand extends $Command< DeleteGroupPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteGroupPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteInstanceProfileCommand.ts b/clients/client-iam/commands/DeleteInstanceProfileCommand.ts index 80f1fb5c2fc22..b6a688c4f2048 100644 --- a/clients/client-iam/commands/DeleteInstanceProfileCommand.ts +++ b/clients/client-iam/commands/DeleteInstanceProfileCommand.ts @@ -35,7 +35,6 @@ export class DeleteInstanceProfileCommand extends $Command< DeleteInstanceProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteInstanceProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteLoginProfileCommand.ts b/clients/client-iam/commands/DeleteLoginProfileCommand.ts index e4ef2680120c9..b7814b1c5278b 100644 --- a/clients/client-iam/commands/DeleteLoginProfileCommand.ts +++ b/clients/client-iam/commands/DeleteLoginProfileCommand.ts @@ -35,7 +35,6 @@ export class DeleteLoginProfileCommand extends $Command< DeleteLoginProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteLoginProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts index 2327548f6e5b6..cda9d6188553e 100644 --- a/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/DeleteOpenIDConnectProviderCommand.ts @@ -33,7 +33,6 @@ export class DeleteOpenIDConnectProviderCommand extends $Command< DeleteOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteOpenIDConnectProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeletePolicyCommand.ts b/clients/client-iam/commands/DeletePolicyCommand.ts index 3f2cfa0ee453e..cc26873d1c975 100644 --- a/clients/client-iam/commands/DeletePolicyCommand.ts +++ b/clients/client-iam/commands/DeletePolicyCommand.ts @@ -48,7 +48,6 @@ export class DeletePolicyCommand extends $Command< DeletePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DeletePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeletePolicyVersionCommand.ts b/clients/client-iam/commands/DeletePolicyVersionCommand.ts index cb0323500f165..e0bbcd150b438 100644 --- a/clients/client-iam/commands/DeletePolicyVersionCommand.ts +++ b/clients/client-iam/commands/DeletePolicyVersionCommand.ts @@ -33,7 +33,6 @@ export class DeletePolicyVersionCommand extends $Command< DeletePolicyVersionCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeletePolicyVersionCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteRoleCommand.ts b/clients/client-iam/commands/DeleteRoleCommand.ts index 5a6c5820ec6fc..72e1d67103379 100644 --- a/clients/client-iam/commands/DeleteRoleCommand.ts +++ b/clients/client-iam/commands/DeleteRoleCommand.ts @@ -31,7 +31,6 @@ export class DeleteRoleCommand extends $Command< DeleteRoleCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteRoleCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts b/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts index e01af6de487ca..3aafd9d509116 100644 --- a/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/DeleteRolePermissionsBoundaryCommand.ts @@ -33,7 +33,6 @@ export class DeleteRolePermissionsBoundaryCommand extends $Command< DeleteRolePermissionsBoundaryCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteRolePermissionsBoundaryCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteRolePolicyCommand.ts b/clients/client-iam/commands/DeleteRolePolicyCommand.ts index 03c6572464560..b01efb8362ee4 100644 --- a/clients/client-iam/commands/DeleteRolePolicyCommand.ts +++ b/clients/client-iam/commands/DeleteRolePolicyCommand.ts @@ -33,7 +33,6 @@ export class DeleteRolePolicyCommand extends $Command< DeleteRolePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteRolePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteSAMLProviderCommand.ts b/clients/client-iam/commands/DeleteSAMLProviderCommand.ts index e812184170101..2db5419a6b385 100644 --- a/clients/client-iam/commands/DeleteSAMLProviderCommand.ts +++ b/clients/client-iam/commands/DeleteSAMLProviderCommand.ts @@ -34,7 +34,6 @@ export class DeleteSAMLProviderCommand extends $Command< DeleteSAMLProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteSAMLProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts b/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts index d617bd908a7ad..556b5957e4924 100644 --- a/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/DeleteSSHPublicKeyCommand.ts @@ -32,7 +32,6 @@ export class DeleteSSHPublicKeyCommand extends $Command< DeleteSSHPublicKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteSSHPublicKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteServerCertificateCommand.ts b/clients/client-iam/commands/DeleteServerCertificateCommand.ts index 6d8f449d4e595..52135d34a9b92 100644 --- a/clients/client-iam/commands/DeleteServerCertificateCommand.ts +++ b/clients/client-iam/commands/DeleteServerCertificateCommand.ts @@ -41,7 +41,6 @@ export class DeleteServerCertificateCommand extends $Command< DeleteServerCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DeleteServerCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts b/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts index 0cafc79b8f86f..2dc5e8e729854 100644 --- a/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts +++ b/clients/client-iam/commands/DeleteServiceLinkedRoleCommand.ts @@ -42,7 +42,6 @@ export class DeleteServiceLinkedRoleCommand extends $Command< DeleteServiceLinkedRoleCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DeleteServiceLinkedRoleCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts index 528f70605d482..01336605274ff 100644 --- a/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/DeleteServiceSpecificCredentialCommand.ts @@ -28,7 +28,6 @@ export class DeleteServiceSpecificCredentialCommand extends $Command< DeleteServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteServiceSpecificCredentialCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteSigningCertificateCommand.ts b/clients/client-iam/commands/DeleteSigningCertificateCommand.ts index a8162e7069362..51995df760b01 100644 --- a/clients/client-iam/commands/DeleteSigningCertificateCommand.ts +++ b/clients/client-iam/commands/DeleteSigningCertificateCommand.ts @@ -32,7 +32,6 @@ export class DeleteSigningCertificateCommand extends $Command< DeleteSigningCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteSigningCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteUserCommand.ts b/clients/client-iam/commands/DeleteUserCommand.ts index bdb71c72c9260..c611cf49c7d53 100644 --- a/clients/client-iam/commands/DeleteUserCommand.ts +++ b/clients/client-iam/commands/DeleteUserCommand.ts @@ -58,7 +58,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class DeleteUserCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts b/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts index 4d68d98088d57..f70e7d096dacf 100644 --- a/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/DeleteUserPermissionsBoundaryCommand.ts @@ -33,7 +33,6 @@ export class DeleteUserPermissionsBoundaryCommand extends $Command< DeleteUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteUserPermissionsBoundaryCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteUserPolicyCommand.ts b/clients/client-iam/commands/DeleteUserPolicyCommand.ts index e4caa2119d7e9..b0d9ceaf17658 100644 --- a/clients/client-iam/commands/DeleteUserPolicyCommand.ts +++ b/clients/client-iam/commands/DeleteUserPolicyCommand.ts @@ -33,7 +33,6 @@ export class DeleteUserPolicyCommand extends $Command< DeleteUserPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteUserPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts b/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts index 1ea7d31554810..687d5794be350 100644 --- a/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts +++ b/clients/client-iam/commands/DeleteVirtualMFADeviceCommand.ts @@ -33,7 +33,6 @@ export class DeleteVirtualMFADeviceCommand extends $Command< DeleteVirtualMFADeviceCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteVirtualMFADeviceCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DetachGroupPolicyCommand.ts b/clients/client-iam/commands/DetachGroupPolicyCommand.ts index 67041bf620cd7..3521e20adf32f 100644 --- a/clients/client-iam/commands/DetachGroupPolicyCommand.ts +++ b/clients/client-iam/commands/DetachGroupPolicyCommand.ts @@ -32,7 +32,6 @@ export class DetachGroupPolicyCommand extends $Command< DetachGroupPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DetachGroupPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DetachRolePolicyCommand.ts b/clients/client-iam/commands/DetachRolePolicyCommand.ts index 4101dc216ae22..5c4408c63366f 100644 --- a/clients/client-iam/commands/DetachRolePolicyCommand.ts +++ b/clients/client-iam/commands/DetachRolePolicyCommand.ts @@ -32,7 +32,6 @@ export class DetachRolePolicyCommand extends $Command< DetachRolePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DetachRolePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/DetachUserPolicyCommand.ts b/clients/client-iam/commands/DetachUserPolicyCommand.ts index 5fdb76418a948..85420ec0494e7 100644 --- a/clients/client-iam/commands/DetachUserPolicyCommand.ts +++ b/clients/client-iam/commands/DetachUserPolicyCommand.ts @@ -32,7 +32,6 @@ export class DetachUserPolicyCommand extends $Command< DetachUserPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DetachUserPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/EnableMFADeviceCommand.ts b/clients/client-iam/commands/EnableMFADeviceCommand.ts index fc30d261fe64f..67e37c578542f 100644 --- a/clients/client-iam/commands/EnableMFADeviceCommand.ts +++ b/clients/client-iam/commands/EnableMFADeviceCommand.ts @@ -30,7 +30,6 @@ export class EnableMFADeviceCommand extends $Command< EnableMFADeviceCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class EnableMFADeviceCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GenerateCredentialReportCommand.ts b/clients/client-iam/commands/GenerateCredentialReportCommand.ts index b0e773b89adb1..fd65202e7b4de 100644 --- a/clients/client-iam/commands/GenerateCredentialReportCommand.ts +++ b/clients/client-iam/commands/GenerateCredentialReportCommand.ts @@ -30,7 +30,6 @@ export class GenerateCredentialReportCommand extends $Command< GenerateCredentialReportCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GenerateCredentialReportCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts b/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts index 3627fce3a8fa2..7bf97c38b8ba1 100644 --- a/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts +++ b/clients/client-iam/commands/GenerateOrganizationsAccessReportCommand.ts @@ -157,7 +157,6 @@ export class GenerateOrganizationsAccessReportCommand extends $Command< GenerateOrganizationsAccessReportCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -175,10 +174,7 @@ export class GenerateOrganizationsAccessReportCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts b/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts index fd9f0908c17f2..1a2b117652adc 100644 --- a/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts +++ b/clients/client-iam/commands/GenerateServiceLastAccessedDetailsCommand.ts @@ -82,7 +82,6 @@ export class GenerateServiceLastAccessedDetailsCommand extends $Command< GenerateServiceLastAccessedDetailsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class GenerateServiceLastAccessedDetailsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts b/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts index 1186b75629914..5ffd881d57e00 100644 --- a/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts +++ b/clients/client-iam/commands/GetAccessKeyLastUsedCommand.ts @@ -30,7 +30,6 @@ export class GetAccessKeyLastUsedCommand extends $Command< GetAccessKeyLastUsedCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAccessKeyLastUsedCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts b/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts index 8488243235fdc..d1982663fb709 100644 --- a/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts +++ b/clients/client-iam/commands/GetAccountAuthorizationDetailsCommand.ts @@ -41,7 +41,6 @@ export class GetAccountAuthorizationDetailsCommand extends $Command< GetAccountAuthorizationDetailsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetAccountAuthorizationDetailsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts b/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts index ff143422dd1ad..da6b6692fadde 100644 --- a/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts +++ b/clients/client-iam/commands/GetAccountPasswordPolicyCommand.ts @@ -30,7 +30,6 @@ export class GetAccountPasswordPolicyCommand extends $Command< GetAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAccountPasswordPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetAccountSummaryCommand.ts b/clients/client-iam/commands/GetAccountSummaryCommand.ts index cb55a337f2a9c..7987ad877a3ec 100644 --- a/clients/client-iam/commands/GetAccountSummaryCommand.ts +++ b/clients/client-iam/commands/GetAccountSummaryCommand.ts @@ -30,7 +30,6 @@ export class GetAccountSummaryCommand extends $Command< GetAccountSummaryCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAccountSummaryCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts b/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts index 890216b41b95b..7eb41b5a684a2 100644 --- a/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts +++ b/clients/client-iam/commands/GetContextKeysForCustomPolicyCommand.ts @@ -36,7 +36,6 @@ export class GetContextKeysForCustomPolicyCommand extends $Command< GetContextKeysForCustomPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetContextKeysForCustomPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts b/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts index 95e52f72dfc87..502e41087b2cb 100644 --- a/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts +++ b/clients/client-iam/commands/GetContextKeysForPrincipalPolicyCommand.ts @@ -43,7 +43,6 @@ export class GetContextKeysForPrincipalPolicyCommand extends $Command< GetContextKeysForPrincipalPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class GetContextKeysForPrincipalPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetCredentialReportCommand.ts b/clients/client-iam/commands/GetCredentialReportCommand.ts index 9305138839fed..c2c14e9b8aee9 100644 --- a/clients/client-iam/commands/GetCredentialReportCommand.ts +++ b/clients/client-iam/commands/GetCredentialReportCommand.ts @@ -30,7 +30,6 @@ export class GetCredentialReportCommand extends $Command< GetCredentialReportCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetCredentialReportCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetGroupCommand.ts b/clients/client-iam/commands/GetGroupCommand.ts index eda4bc00ce552..d74dfda1322cb 100644 --- a/clients/client-iam/commands/GetGroupCommand.ts +++ b/clients/client-iam/commands/GetGroupCommand.ts @@ -22,7 +22,6 @@ export type GetGroupCommandOutput = GetGroupResponse & __MetadataBearer; * the results using the MaxItems and Marker parameters.

*/ export class GetGroupCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class GetGroupCommand 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-iam/commands/GetGroupPolicyCommand.ts b/clients/client-iam/commands/GetGroupPolicyCommand.ts index 0e439e1999266..dc7e694dde165 100644 --- a/clients/client-iam/commands/GetGroupPolicyCommand.ts +++ b/clients/client-iam/commands/GetGroupPolicyCommand.ts @@ -41,7 +41,6 @@ export class GetGroupPolicyCommand extends $Command< GetGroupPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetGroupPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetInstanceProfileCommand.ts b/clients/client-iam/commands/GetInstanceProfileCommand.ts index 60867aecaea54..b02c7d39cd549 100644 --- a/clients/client-iam/commands/GetInstanceProfileCommand.ts +++ b/clients/client-iam/commands/GetInstanceProfileCommand.ts @@ -31,7 +31,6 @@ export class GetInstanceProfileCommand extends $Command< GetInstanceProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetInstanceProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetLoginProfileCommand.ts b/clients/client-iam/commands/GetLoginProfileCommand.ts index a8635b446f336..2f6a52b07dfbf 100644 --- a/clients/client-iam/commands/GetLoginProfileCommand.ts +++ b/clients/client-iam/commands/GetLoginProfileCommand.ts @@ -30,7 +30,6 @@ export class GetLoginProfileCommand extends $Command< GetLoginProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetLoginProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts index 1a5237040ee95..f7de94abfeff0 100644 --- a/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/GetOpenIDConnectProviderCommand.ts @@ -29,7 +29,6 @@ export class GetOpenIDConnectProviderCommand extends $Command< GetOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetOpenIDConnectProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts b/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts index 7a04b86b406c5..b67ad16d67abc 100644 --- a/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts +++ b/clients/client-iam/commands/GetOrganizationsAccessReportCommand.ts @@ -44,7 +44,6 @@ export class GetOrganizationsAccessReportCommand extends $Command< GetOrganizationsAccessReportCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class GetOrganizationsAccessReportCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetPolicyCommand.ts b/clients/client-iam/commands/GetPolicyCommand.ts index fb55b7ca9a88f..3de9c6cdb3236 100644 --- a/clients/client-iam/commands/GetPolicyCommand.ts +++ b/clients/client-iam/commands/GetPolicyCommand.ts @@ -30,7 +30,6 @@ export type GetPolicyCommandOutput = GetPolicyResponse & __MetadataBearer; * Policies in the IAM User Guide.

*/ export class GetPolicyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetPolicyCommand 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-iam/commands/GetPolicyVersionCommand.ts b/clients/client-iam/commands/GetPolicyVersionCommand.ts index 61b43a09bd798..77e73e64929bf 100644 --- a/clients/client-iam/commands/GetPolicyVersionCommand.ts +++ b/clients/client-iam/commands/GetPolicyVersionCommand.ts @@ -44,7 +44,6 @@ export class GetPolicyVersionCommand extends $Command< GetPolicyVersionCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class GetPolicyVersionCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetRoleCommand.ts b/clients/client-iam/commands/GetRoleCommand.ts index dc6a45725d9de..fc9cfd56b7c4e 100644 --- a/clients/client-iam/commands/GetRoleCommand.ts +++ b/clients/client-iam/commands/GetRoleCommand.ts @@ -30,7 +30,6 @@ export type GetRoleCommandOutput = GetRoleResponse & __MetadataBearer; * */ export class GetRoleCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetRoleCommand 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-iam/commands/GetRolePolicyCommand.ts b/clients/client-iam/commands/GetRolePolicyCommand.ts index dd3ec110c94e8..6086a8fed871d 100644 --- a/clients/client-iam/commands/GetRolePolicyCommand.ts +++ b/clients/client-iam/commands/GetRolePolicyCommand.ts @@ -42,7 +42,6 @@ export class GetRolePolicyCommand extends $Command< GetRolePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetRolePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetSAMLProviderCommand.ts b/clients/client-iam/commands/GetSAMLProviderCommand.ts index 9586a97297600..33b21eee03ee6 100644 --- a/clients/client-iam/commands/GetSAMLProviderCommand.ts +++ b/clients/client-iam/commands/GetSAMLProviderCommand.ts @@ -32,7 +32,6 @@ export class GetSAMLProviderCommand extends $Command< GetSAMLProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetSAMLProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetSSHPublicKeyCommand.ts b/clients/client-iam/commands/GetSSHPublicKeyCommand.ts index 5969d3abb7485..8447fd1964354 100644 --- a/clients/client-iam/commands/GetSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/GetSSHPublicKeyCommand.ts @@ -32,7 +32,6 @@ export class GetSSHPublicKeyCommand extends $Command< GetSSHPublicKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetSSHPublicKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetServerCertificateCommand.ts b/clients/client-iam/commands/GetServerCertificateCommand.ts index 2452fc93a8ae4..f4b293558a631 100644 --- a/clients/client-iam/commands/GetServerCertificateCommand.ts +++ b/clients/client-iam/commands/GetServerCertificateCommand.ts @@ -32,7 +32,6 @@ export class GetServerCertificateCommand extends $Command< GetServerCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetServerCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts b/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts index 3c364c3a5b4c6..e226724823ecc 100644 --- a/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts +++ b/clients/client-iam/commands/GetServiceLastAccessedDetailsCommand.ts @@ -79,7 +79,6 @@ export class GetServiceLastAccessedDetailsCommand extends $Command< GetServiceLastAccessedDetailsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class GetServiceLastAccessedDetailsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts b/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts index 865790f999788..8a22b3147b2d1 100644 --- a/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts +++ b/clients/client-iam/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.ts @@ -56,7 +56,6 @@ export class GetServiceLastAccessedDetailsWithEntitiesCommand extends $Command< GetServiceLastAccessedDetailsWithEntitiesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class GetServiceLastAccessedDetailsWithEntitiesCommand extends $Command< GetServiceLastAccessedDetailsWithEntitiesCommandInput, GetServiceLastAccessedDetailsWithEntitiesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts b/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts index 4babeb46b8feb..1f98c609d71e9 100644 --- a/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts +++ b/clients/client-iam/commands/GetServiceLinkedRoleDeletionStatusCommand.ts @@ -36,7 +36,6 @@ export class GetServiceLinkedRoleDeletionStatusCommand extends $Command< GetServiceLinkedRoleDeletionStatusCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetServiceLinkedRoleDeletionStatusCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/GetUserCommand.ts b/clients/client-iam/commands/GetUserCommand.ts index a5b5ece0ca850..c9fd117571d38 100644 --- a/clients/client-iam/commands/GetUserCommand.ts +++ b/clients/client-iam/commands/GetUserCommand.ts @@ -24,7 +24,6 @@ export type GetUserCommandOutput = GetUserResponse & __MetadataBearer; * the AWS access key ID used to sign the request to this API.

*/ export class GetUserCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetUserCommand 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-iam/commands/GetUserPolicyCommand.ts b/clients/client-iam/commands/GetUserPolicyCommand.ts index b9ac09e008849..132513bd626bd 100644 --- a/clients/client-iam/commands/GetUserPolicyCommand.ts +++ b/clients/client-iam/commands/GetUserPolicyCommand.ts @@ -40,7 +40,6 @@ export class GetUserPolicyCommand extends $Command< GetUserPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetUserPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListAccessKeysCommand.ts b/clients/client-iam/commands/ListAccessKeysCommand.ts index 53704a65aa8f4..2bae5ac7c5ec0 100644 --- a/clients/client-iam/commands/ListAccessKeysCommand.ts +++ b/clients/client-iam/commands/ListAccessKeysCommand.ts @@ -40,7 +40,6 @@ export class ListAccessKeysCommand extends $Command< ListAccessKeysCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListAccessKeysCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListAccountAliasesCommand.ts b/clients/client-iam/commands/ListAccountAliasesCommand.ts index 26e8d56efe3f6..7d53ade02417f 100644 --- a/clients/client-iam/commands/ListAccountAliasesCommand.ts +++ b/clients/client-iam/commands/ListAccountAliasesCommand.ts @@ -30,7 +30,6 @@ export class ListAccountAliasesCommand extends $Command< ListAccountAliasesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAccountAliasesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts b/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts index 04fddad201d2a..e2d28efc48cbc 100644 --- a/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts +++ b/clients/client-iam/commands/ListAttachedGroupPoliciesCommand.ts @@ -37,7 +37,6 @@ export class ListAttachedGroupPoliciesCommand extends $Command< ListAttachedGroupPoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListAttachedGroupPoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts b/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts index 7d29534c112a4..924bb0e3d9814 100644 --- a/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts +++ b/clients/client-iam/commands/ListAttachedRolePoliciesCommand.ts @@ -37,7 +37,6 @@ export class ListAttachedRolePoliciesCommand extends $Command< ListAttachedRolePoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListAttachedRolePoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts b/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts index 0e0e3d97c95cc..4c91e8645bc9a 100644 --- a/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts +++ b/clients/client-iam/commands/ListAttachedUserPoliciesCommand.ts @@ -37,7 +37,6 @@ export class ListAttachedUserPoliciesCommand extends $Command< ListAttachedUserPoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListAttachedUserPoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts b/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts index 6aa951c9568ad..1db31d7a4f0c2 100644 --- a/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts +++ b/clients/client-iam/commands/ListEntitiesForPolicyCommand.ts @@ -35,7 +35,6 @@ export class ListEntitiesForPolicyCommand extends $Command< ListEntitiesForPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListEntitiesForPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListGroupPoliciesCommand.ts b/clients/client-iam/commands/ListGroupPoliciesCommand.ts index 4ad0a6ca93b00..8e99285a6afbe 100644 --- a/clients/client-iam/commands/ListGroupPoliciesCommand.ts +++ b/clients/client-iam/commands/ListGroupPoliciesCommand.ts @@ -36,7 +36,6 @@ export class ListGroupPoliciesCommand extends $Command< ListGroupPoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListGroupPoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListGroupsCommand.ts b/clients/client-iam/commands/ListGroupsCommand.ts index 63cef386bb875..dd12eb01d25f1 100644 --- a/clients/client-iam/commands/ListGroupsCommand.ts +++ b/clients/client-iam/commands/ListGroupsCommand.ts @@ -27,7 +27,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class ListGroupsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListGroupsForUserCommand.ts b/clients/client-iam/commands/ListGroupsForUserCommand.ts index 7e7390cd75232..6aa8ccefeb5ed 100644 --- a/clients/client-iam/commands/ListGroupsForUserCommand.ts +++ b/clients/client-iam/commands/ListGroupsForUserCommand.ts @@ -30,7 +30,6 @@ export class ListGroupsForUserCommand extends $Command< ListGroupsForUserCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListGroupsForUserCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListInstanceProfilesCommand.ts b/clients/client-iam/commands/ListInstanceProfilesCommand.ts index 271d205570bf7..22222c95bf0ee 100644 --- a/clients/client-iam/commands/ListInstanceProfilesCommand.ts +++ b/clients/client-iam/commands/ListInstanceProfilesCommand.ts @@ -32,7 +32,6 @@ export class ListInstanceProfilesCommand extends $Command< ListInstanceProfilesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListInstanceProfilesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts b/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts index 2037413911a61..b64c2bbba7b85 100644 --- a/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts +++ b/clients/client-iam/commands/ListInstanceProfilesForRoleCommand.ts @@ -33,7 +33,6 @@ export class ListInstanceProfilesForRoleCommand extends $Command< ListInstanceProfilesForRoleCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListInstanceProfilesForRoleCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListMFADevicesCommand.ts b/clients/client-iam/commands/ListMFADevicesCommand.ts index 548c04467bf59..856e555cb1a11 100644 --- a/clients/client-iam/commands/ListMFADevicesCommand.ts +++ b/clients/client-iam/commands/ListMFADevicesCommand.ts @@ -33,7 +33,6 @@ export class ListMFADevicesCommand extends $Command< ListMFADevicesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListMFADevicesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts b/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts index 862e8ccdd1400..455a81d6c068d 100644 --- a/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts +++ b/clients/client-iam/commands/ListOpenIDConnectProvidersCommand.ts @@ -29,7 +29,6 @@ export class ListOpenIDConnectProvidersCommand extends $Command< ListOpenIDConnectProvidersCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListOpenIDConnectProvidersCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListPoliciesCommand.ts b/clients/client-iam/commands/ListPoliciesCommand.ts index 65c1bd77c0409..c537a99940a91 100644 --- a/clients/client-iam/commands/ListPoliciesCommand.ts +++ b/clients/client-iam/commands/ListPoliciesCommand.ts @@ -35,7 +35,6 @@ export class ListPoliciesCommand extends $Command< ListPoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListPoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts b/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts index a76f522fbcf23..545caadac3fc9 100644 --- a/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts +++ b/clients/client-iam/commands/ListPoliciesGrantingServiceAccessCommand.ts @@ -71,7 +71,6 @@ export class ListPoliciesGrantingServiceAccessCommand extends $Command< ListPoliciesGrantingServiceAccessCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class ListPoliciesGrantingServiceAccessCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListPolicyVersionsCommand.ts b/clients/client-iam/commands/ListPolicyVersionsCommand.ts index 3e142e8bc5175..a53f9eedc3946 100644 --- a/clients/client-iam/commands/ListPolicyVersionsCommand.ts +++ b/clients/client-iam/commands/ListPolicyVersionsCommand.ts @@ -31,7 +31,6 @@ export class ListPolicyVersionsCommand extends $Command< ListPolicyVersionsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListPolicyVersionsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListRolePoliciesCommand.ts b/clients/client-iam/commands/ListRolePoliciesCommand.ts index 6d6280a7385e6..0e5243ab9244d 100644 --- a/clients/client-iam/commands/ListRolePoliciesCommand.ts +++ b/clients/client-iam/commands/ListRolePoliciesCommand.ts @@ -36,7 +36,6 @@ export class ListRolePoliciesCommand extends $Command< ListRolePoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRolePoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListRoleTagsCommand.ts b/clients/client-iam/commands/ListRoleTagsCommand.ts index cd72229878e29..2f5e21ab0b59b 100644 --- a/clients/client-iam/commands/ListRoleTagsCommand.ts +++ b/clients/client-iam/commands/ListRoleTagsCommand.ts @@ -27,7 +27,6 @@ export class ListRoleTagsCommand extends $Command< ListRoleTagsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class ListRoleTagsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListRolesCommand.ts b/clients/client-iam/commands/ListRolesCommand.ts index 62014a12350da..c8f409d206961 100644 --- a/clients/client-iam/commands/ListRolesCommand.ts +++ b/clients/client-iam/commands/ListRolesCommand.ts @@ -25,7 +25,6 @@ export type ListRolesCommandOutput = ListRolesResponse & __MetadataBearer; * parameters.

*/ export class ListRolesCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListRolesCommand 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-iam/commands/ListSAMLProvidersCommand.ts b/clients/client-iam/commands/ListSAMLProvidersCommand.ts index a9efd82ff4aff..fe50f61aa5265 100644 --- a/clients/client-iam/commands/ListSAMLProvidersCommand.ts +++ b/clients/client-iam/commands/ListSAMLProvidersCommand.ts @@ -31,7 +31,6 @@ export class ListSAMLProvidersCommand extends $Command< ListSAMLProvidersCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListSAMLProvidersCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListSSHPublicKeysCommand.ts b/clients/client-iam/commands/ListSSHPublicKeysCommand.ts index c342db2af7077..a8addbbbbdbbe 100644 --- a/clients/client-iam/commands/ListSSHPublicKeysCommand.ts +++ b/clients/client-iam/commands/ListSSHPublicKeysCommand.ts @@ -35,7 +35,6 @@ export class ListSSHPublicKeysCommand extends $Command< ListSSHPublicKeysCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListSSHPublicKeysCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListServerCertificatesCommand.ts b/clients/client-iam/commands/ListServerCertificatesCommand.ts index 7bf11e4249a1b..41a42d76235b2 100644 --- a/clients/client-iam/commands/ListServerCertificatesCommand.ts +++ b/clients/client-iam/commands/ListServerCertificatesCommand.ts @@ -35,7 +35,6 @@ export class ListServerCertificatesCommand extends $Command< ListServerCertificatesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListServerCertificatesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts b/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts index 2298dff525221..851849d581162 100644 --- a/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts +++ b/clients/client-iam/commands/ListServiceSpecificCredentialsCommand.ts @@ -33,7 +33,6 @@ export class ListServiceSpecificCredentialsCommand extends $Command< ListServiceSpecificCredentialsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListServiceSpecificCredentialsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListSigningCertificatesCommand.ts b/clients/client-iam/commands/ListSigningCertificatesCommand.ts index 6571f19f41749..db8214d9ef493 100644 --- a/clients/client-iam/commands/ListSigningCertificatesCommand.ts +++ b/clients/client-iam/commands/ListSigningCertificatesCommand.ts @@ -37,7 +37,6 @@ export class ListSigningCertificatesCommand extends $Command< ListSigningCertificatesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListSigningCertificatesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListUserPoliciesCommand.ts b/clients/client-iam/commands/ListUserPoliciesCommand.ts index 750d38e7f1bcf..88e8433178ea6 100644 --- a/clients/client-iam/commands/ListUserPoliciesCommand.ts +++ b/clients/client-iam/commands/ListUserPoliciesCommand.ts @@ -35,7 +35,6 @@ export class ListUserPoliciesCommand extends $Command< ListUserPoliciesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListUserPoliciesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListUserTagsCommand.ts b/clients/client-iam/commands/ListUserTagsCommand.ts index 450cc492896dc..0885a7e8cd41a 100644 --- a/clients/client-iam/commands/ListUserTagsCommand.ts +++ b/clients/client-iam/commands/ListUserTagsCommand.ts @@ -27,7 +27,6 @@ export class ListUserTagsCommand extends $Command< ListUserTagsCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class ListUserTagsCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ListUsersCommand.ts b/clients/client-iam/commands/ListUsersCommand.ts index 45da41d7a7a90..041814dce869c 100644 --- a/clients/client-iam/commands/ListUsersCommand.ts +++ b/clients/client-iam/commands/ListUsersCommand.ts @@ -25,7 +25,6 @@ export type ListUsersCommandOutput = ListUsersResponse & __MetadataBearer; * parameters.

*/ export class ListUsersCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListUsersCommand 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-iam/commands/ListVirtualMFADevicesCommand.ts b/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts index 6aaa584238060..d0a1e5853d99e 100644 --- a/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts +++ b/clients/client-iam/commands/ListVirtualMFADevicesCommand.ts @@ -33,7 +33,6 @@ export class ListVirtualMFADevicesCommand extends $Command< ListVirtualMFADevicesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListVirtualMFADevicesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/PutGroupPolicyCommand.ts b/clients/client-iam/commands/PutGroupPolicyCommand.ts index 3e9eb87e307ee..8da28c1fb28e1 100644 --- a/clients/client-iam/commands/PutGroupPolicyCommand.ts +++ b/clients/client-iam/commands/PutGroupPolicyCommand.ts @@ -42,7 +42,6 @@ export class PutGroupPolicyCommand extends $Command< PutGroupPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class PutGroupPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts b/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts index bd16d44fc206f..50f2873194094 100644 --- a/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/PutRolePermissionsBoundaryCommand.ts @@ -39,7 +39,6 @@ export class PutRolePermissionsBoundaryCommand extends $Command< PutRolePermissionsBoundaryCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class PutRolePermissionsBoundaryCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/PutRolePolicyCommand.ts b/clients/client-iam/commands/PutRolePolicyCommand.ts index e1c8836ca4c26..2048cdd66ed15 100644 --- a/clients/client-iam/commands/PutRolePolicyCommand.ts +++ b/clients/client-iam/commands/PutRolePolicyCommand.ts @@ -48,7 +48,6 @@ export class PutRolePolicyCommand extends $Command< PutRolePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class PutRolePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts b/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts index ff445423c32fa..c0c6138c6c8dc 100644 --- a/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts +++ b/clients/client-iam/commands/PutUserPermissionsBoundaryCommand.ts @@ -38,7 +38,6 @@ export class PutUserPermissionsBoundaryCommand extends $Command< PutUserPermissionsBoundaryCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutUserPermissionsBoundaryCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/PutUserPolicyCommand.ts b/clients/client-iam/commands/PutUserPolicyCommand.ts index 89097bc07909f..018603f86d9bd 100644 --- a/clients/client-iam/commands/PutUserPolicyCommand.ts +++ b/clients/client-iam/commands/PutUserPolicyCommand.ts @@ -43,7 +43,6 @@ export class PutUserPolicyCommand extends $Command< PutUserPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class PutUserPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts b/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts index 486c6c5e79a8e..1bd22f74081bd 100644 --- a/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts +++ b/clients/client-iam/commands/RemoveClientIDFromOpenIDConnectProviderCommand.ts @@ -31,7 +31,6 @@ export class RemoveClientIDFromOpenIDConnectProviderCommand extends $Command< RemoveClientIDFromOpenIDConnectProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RemoveClientIDFromOpenIDConnectProviderCommand extends $Command< RemoveClientIDFromOpenIDConnectProviderCommandInput, RemoveClientIDFromOpenIDConnectProviderCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts b/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts index 6b4a67f49bf20..b25d3e1d66a7d 100644 --- a/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts +++ b/clients/client-iam/commands/RemoveRoleFromInstanceProfileCommand.ts @@ -36,7 +36,6 @@ export class RemoveRoleFromInstanceProfileCommand extends $Command< RemoveRoleFromInstanceProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class RemoveRoleFromInstanceProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/RemoveUserFromGroupCommand.ts b/clients/client-iam/commands/RemoveUserFromGroupCommand.ts index 7507ac820b276..f5ef2a4e2e285 100644 --- a/clients/client-iam/commands/RemoveUserFromGroupCommand.ts +++ b/clients/client-iam/commands/RemoveUserFromGroupCommand.ts @@ -28,7 +28,6 @@ export class RemoveUserFromGroupCommand extends $Command< RemoveUserFromGroupCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveUserFromGroupCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts index 5399dcee3268c..ed4a92781662a 100644 --- a/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/ResetServiceSpecificCredentialCommand.ts @@ -30,7 +30,6 @@ export class ResetServiceSpecificCredentialCommand extends $Command< ResetServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ResetServiceSpecificCredentialCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/ResyncMFADeviceCommand.ts b/clients/client-iam/commands/ResyncMFADeviceCommand.ts index 8d9684398619c..18a21d9d7c5f1 100644 --- a/clients/client-iam/commands/ResyncMFADeviceCommand.ts +++ b/clients/client-iam/commands/ResyncMFADeviceCommand.ts @@ -31,7 +31,6 @@ export class ResyncMFADeviceCommand extends $Command< ResyncMFADeviceCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ResyncMFADeviceCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts b/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts index f3dc97364a3a7..64167f211e17a 100644 --- a/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts +++ b/clients/client-iam/commands/SetDefaultPolicyVersionCommand.ts @@ -33,7 +33,6 @@ export class SetDefaultPolicyVersionCommand extends $Command< SetDefaultPolicyVersionCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetDefaultPolicyVersionCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts b/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts index 446f3c43f5759..213f828f7c3cc 100644 --- a/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts +++ b/clients/client-iam/commands/SetSecurityTokenServicePreferencesCommand.ts @@ -43,7 +43,6 @@ export class SetSecurityTokenServicePreferencesCommand extends $Command< SetSecurityTokenServicePreferencesCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class SetSecurityTokenServicePreferencesCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/SimulateCustomPolicyCommand.ts b/clients/client-iam/commands/SimulateCustomPolicyCommand.ts index f7ba4c4b9929d..e12596639ddda 100644 --- a/clients/client-iam/commands/SimulateCustomPolicyCommand.ts +++ b/clients/client-iam/commands/SimulateCustomPolicyCommand.ts @@ -40,7 +40,6 @@ export class SimulateCustomPolicyCommand extends $Command< SimulateCustomPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class SimulateCustomPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts b/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts index fa38c982b6152..b503d1b6dd3a3 100644 --- a/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts +++ b/clients/client-iam/commands/SimulatePrincipalPolicyCommand.ts @@ -49,7 +49,6 @@ export class SimulatePrincipalPolicyCommand extends $Command< SimulatePrincipalPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class SimulatePrincipalPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/TagRoleCommand.ts b/clients/client-iam/commands/TagRoleCommand.ts index 2106aec300304..c61def9df4f86 100644 --- a/clients/client-iam/commands/TagRoleCommand.ts +++ b/clients/client-iam/commands/TagRoleCommand.ts @@ -65,7 +65,6 @@ export type TagRoleCommandOutput = __MetadataBearer; * IAM User Guide.

*/ export class TagRoleCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class TagRoleCommand 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-iam/commands/TagUserCommand.ts b/clients/client-iam/commands/TagUserCommand.ts index 4cd9730477a2b..0d606198076f7 100644 --- a/clients/client-iam/commands/TagUserCommand.ts +++ b/clients/client-iam/commands/TagUserCommand.ts @@ -65,7 +65,6 @@ export type TagUserCommandOutput = __MetadataBearer; * IAM User Guide.

*/ export class TagUserCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class TagUserCommand 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-iam/commands/UntagRoleCommand.ts b/clients/client-iam/commands/UntagRoleCommand.ts index 6388637677ced..0d8435eb429dd 100644 --- a/clients/client-iam/commands/UntagRoleCommand.ts +++ b/clients/client-iam/commands/UntagRoleCommand.ts @@ -23,7 +23,6 @@ export type UntagRoleCommandOutput = __MetadataBearer; * in the IAM User Guide.

*/ export class UntagRoleCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class UntagRoleCommand 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-iam/commands/UntagUserCommand.ts b/clients/client-iam/commands/UntagUserCommand.ts index 1346a8059bb35..60827421fa9dd 100644 --- a/clients/client-iam/commands/UntagUserCommand.ts +++ b/clients/client-iam/commands/UntagUserCommand.ts @@ -23,7 +23,6 @@ export type UntagUserCommandOutput = __MetadataBearer; * in the IAM User Guide.

*/ export class UntagUserCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class UntagUserCommand 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-iam/commands/UpdateAccessKeyCommand.ts b/clients/client-iam/commands/UpdateAccessKeyCommand.ts index 8710fc622d8ea..b4ec5bc022dd5 100644 --- a/clients/client-iam/commands/UpdateAccessKeyCommand.ts +++ b/clients/client-iam/commands/UpdateAccessKeyCommand.ts @@ -36,7 +36,6 @@ export class UpdateAccessKeyCommand extends $Command< UpdateAccessKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateAccessKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts b/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts index 8567c709d4685..3ba210a2a2312 100644 --- a/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts +++ b/clients/client-iam/commands/UpdateAccountPasswordPolicyCommand.ts @@ -42,7 +42,6 @@ export class UpdateAccountPasswordPolicyCommand extends $Command< UpdateAccountPasswordPolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class UpdateAccountPasswordPolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts b/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts index d4bd4582263d2..2c55b700233d2 100644 --- a/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts +++ b/clients/client-iam/commands/UpdateAssumeRolePolicyCommand.ts @@ -31,7 +31,6 @@ export class UpdateAssumeRolePolicyCommand extends $Command< UpdateAssumeRolePolicyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateAssumeRolePolicyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateGroupCommand.ts b/clients/client-iam/commands/UpdateGroupCommand.ts index 84529161acfe5..eda5fe727f226 100644 --- a/clients/client-iam/commands/UpdateGroupCommand.ts +++ b/clients/client-iam/commands/UpdateGroupCommand.ts @@ -38,7 +38,6 @@ export class UpdateGroupCommand extends $Command< UpdateGroupCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateGroupCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateLoginProfileCommand.ts b/clients/client-iam/commands/UpdateLoginProfileCommand.ts index 748bbdc2465ce..5b68c400681df 100644 --- a/clients/client-iam/commands/UpdateLoginProfileCommand.ts +++ b/clients/client-iam/commands/UpdateLoginProfileCommand.ts @@ -31,7 +31,6 @@ export class UpdateLoginProfileCommand extends $Command< UpdateLoginProfileCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateLoginProfileCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts b/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts index 61ff94895a3e4..9fb2e2b9467a8 100644 --- a/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts +++ b/clients/client-iam/commands/UpdateOpenIDConnectProviderThumbprintCommand.ts @@ -41,7 +41,6 @@ export class UpdateOpenIDConnectProviderThumbprintCommand extends $Command< UpdateOpenIDConnectProviderThumbprintCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class UpdateOpenIDConnectProviderThumbprintCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateRoleCommand.ts b/clients/client-iam/commands/UpdateRoleCommand.ts index f33e0a6bdff2f..88d7604315b69 100644 --- a/clients/client-iam/commands/UpdateRoleCommand.ts +++ b/clients/client-iam/commands/UpdateRoleCommand.ts @@ -25,7 +25,6 @@ export class UpdateRoleCommand extends $Command< UpdateRoleCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UpdateRoleCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts b/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts index dace6a035bb23..877f832a2f3ac 100644 --- a/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts +++ b/clients/client-iam/commands/UpdateRoleDescriptionCommand.ts @@ -30,7 +30,6 @@ export class UpdateRoleDescriptionCommand extends $Command< UpdateRoleDescriptionCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateRoleDescriptionCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateSAMLProviderCommand.ts b/clients/client-iam/commands/UpdateSAMLProviderCommand.ts index b5727d091482a..47bc17e2ef2c6 100644 --- a/clients/client-iam/commands/UpdateSAMLProviderCommand.ts +++ b/clients/client-iam/commands/UpdateSAMLProviderCommand.ts @@ -31,7 +31,6 @@ export class UpdateSAMLProviderCommand extends $Command< UpdateSAMLProviderCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateSAMLProviderCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts b/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts index b52e36dd2e062..7cb8233ee445b 100644 --- a/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/UpdateSSHPublicKeyCommand.ts @@ -34,7 +34,6 @@ export class UpdateSSHPublicKeyCommand extends $Command< UpdateSSHPublicKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateSSHPublicKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateServerCertificateCommand.ts b/clients/client-iam/commands/UpdateServerCertificateCommand.ts index a6a2d7efadfb2..bf796c97f8a1f 100644 --- a/clients/client-iam/commands/UpdateServerCertificateCommand.ts +++ b/clients/client-iam/commands/UpdateServerCertificateCommand.ts @@ -48,7 +48,6 @@ export class UpdateServerCertificateCommand extends $Command< UpdateServerCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class UpdateServerCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts b/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts index 3e9f678730866..95188e70f15fe 100644 --- a/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts +++ b/clients/client-iam/commands/UpdateServiceSpecificCredentialCommand.ts @@ -31,7 +31,6 @@ export class UpdateServiceSpecificCredentialCommand extends $Command< UpdateServiceSpecificCredentialCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateServiceSpecificCredentialCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateSigningCertificateCommand.ts b/clients/client-iam/commands/UpdateSigningCertificateCommand.ts index d8a7511400a81..5e0dea14b05d9 100644 --- a/clients/client-iam/commands/UpdateSigningCertificateCommand.ts +++ b/clients/client-iam/commands/UpdateSigningCertificateCommand.ts @@ -35,7 +35,6 @@ export class UpdateSigningCertificateCommand extends $Command< UpdateSigningCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateSigningCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UpdateUserCommand.ts b/clients/client-iam/commands/UpdateUserCommand.ts index df2da9e2b9bd2..ff25e0c6c0d30 100644 --- a/clients/client-iam/commands/UpdateUserCommand.ts +++ b/clients/client-iam/commands/UpdateUserCommand.ts @@ -38,7 +38,6 @@ export class UpdateUserCommand extends $Command< UpdateUserCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateUserCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts b/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts index cf2bb90a07949..c3f82b01633be 100644 --- a/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts +++ b/clients/client-iam/commands/UploadSSHPublicKeyCommand.ts @@ -32,7 +32,6 @@ export class UploadSSHPublicKeyCommand extends $Command< UploadSSHPublicKeyCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UploadSSHPublicKeyCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UploadServerCertificateCommand.ts b/clients/client-iam/commands/UploadServerCertificateCommand.ts index 981ff309edb3f..d9f7beaaf3e1c 100644 --- a/clients/client-iam/commands/UploadServerCertificateCommand.ts +++ b/clients/client-iam/commands/UploadServerCertificateCommand.ts @@ -51,7 +51,6 @@ export class UploadServerCertificateCommand extends $Command< UploadServerCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class UploadServerCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iam/commands/UploadSigningCertificateCommand.ts b/clients/client-iam/commands/UploadSigningCertificateCommand.ts index a506dd3898018..9c14c37dce909 100644 --- a/clients/client-iam/commands/UploadSigningCertificateCommand.ts +++ b/clients/client-iam/commands/UploadSigningCertificateCommand.ts @@ -44,7 +44,6 @@ export class UploadSigningCertificateCommand extends $Command< UploadSigningCertificateCommandOutput, IAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class UploadSigningCertificateCommand extends $Command< configuration: IAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-identitystore/commands/DescribeGroupCommand.ts b/clients/client-identitystore/commands/DescribeGroupCommand.ts index abd6072498134..c41c64e82c041 100644 --- a/clients/client-identitystore/commands/DescribeGroupCommand.ts +++ b/clients/client-identitystore/commands/DescribeGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeGroupCommand extends $Command< DescribeGroupCommandOutput, IdentitystoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGroupCommand extends $Command< configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-identitystore/commands/DescribeUserCommand.ts b/clients/client-identitystore/commands/DescribeUserCommand.ts index 0d62f1d8c78e5..1bec592d616dd 100644 --- a/clients/client-identitystore/commands/DescribeUserCommand.ts +++ b/clients/client-identitystore/commands/DescribeUserCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserCommand extends $Command< DescribeUserCommandOutput, IdentitystoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserCommand extends $Command< configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-identitystore/commands/ListGroupsCommand.ts b/clients/client-identitystore/commands/ListGroupsCommand.ts index dd5066e0b97db..30dd793933ede 100644 --- a/clients/client-identitystore/commands/ListGroupsCommand.ts +++ b/clients/client-identitystore/commands/ListGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, IdentitystoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupsCommand extends $Command< configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-identitystore/commands/ListUsersCommand.ts b/clients/client-identitystore/commands/ListUsersCommand.ts index 5539a186bbb37..daddb9681cb04 100644 --- a/clients/client-identitystore/commands/ListUsersCommand.ts +++ b/clients/client-identitystore/commands/ListUsersCommand.ts @@ -25,7 +25,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, IdentitystoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListUsersCommand extends $Command< configuration: IdentitystoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts b/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts index 310024d1be4fa..294f396d0a853 100644 --- a/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts +++ b/clients/client-imagebuilder/commands/CancelImageCreationCommand.ts @@ -28,7 +28,6 @@ export class CancelImageCreationCommand extends $Command< CancelImageCreationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelImageCreationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CreateComponentCommand.ts b/clients/client-imagebuilder/commands/CreateComponentCommand.ts index bb62514eeb83c..beda85e2fddd5 100644 --- a/clients/client-imagebuilder/commands/CreateComponentCommand.ts +++ b/clients/client-imagebuilder/commands/CreateComponentCommand.ts @@ -28,7 +28,6 @@ export class CreateComponentCommand extends $Command< CreateComponentCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateComponentCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts index 55ae157fcc94f..56dbc0b9f74ab 100644 --- a/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/CreateDistributionConfigurationCommand.ts @@ -28,7 +28,6 @@ export class CreateDistributionConfigurationCommand extends $Command< CreateDistributionConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDistributionConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CreateImageCommand.ts b/clients/client-imagebuilder/commands/CreateImageCommand.ts index 2ed4dfc1610a8..03e211eca8642 100644 --- a/clients/client-imagebuilder/commands/CreateImageCommand.ts +++ b/clients/client-imagebuilder/commands/CreateImageCommand.ts @@ -28,7 +28,6 @@ export class CreateImageCommand extends $Command< CreateImageCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImageCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts b/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts index 144beeb149559..a12d746e670b1 100644 --- a/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/CreateImagePipelineCommand.ts @@ -28,7 +28,6 @@ export class CreateImagePipelineCommand extends $Command< CreateImagePipelineCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImagePipelineCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts b/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts index d10b0415f1cde..26b6f8e8b835c 100644 --- a/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts +++ b/clients/client-imagebuilder/commands/CreateImageRecipeCommand.ts @@ -28,7 +28,6 @@ export class CreateImageRecipeCommand extends $Command< CreateImageRecipeCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImageRecipeCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts index f4f1a72f08d53..2605e9dcb49e5 100644 --- a/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/CreateInfrastructureConfigurationCommand.ts @@ -32,7 +32,6 @@ export class CreateInfrastructureConfigurationCommand extends $Command< CreateInfrastructureConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateInfrastructureConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/DeleteComponentCommand.ts b/clients/client-imagebuilder/commands/DeleteComponentCommand.ts index d9dc699c1b00a..ba0593be9fd1a 100644 --- a/clients/client-imagebuilder/commands/DeleteComponentCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteComponentCommand.ts @@ -28,7 +28,6 @@ export class DeleteComponentCommand extends $Command< DeleteComponentCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteComponentCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts index 1ada7e54b542d..d887fd72b1c1b 100644 --- a/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteDistributionConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteDistributionConfigurationCommand extends $Command< DeleteDistributionConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDistributionConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/DeleteImageCommand.ts b/clients/client-imagebuilder/commands/DeleteImageCommand.ts index ee4e189f05909..972014a60d2e1 100644 --- a/clients/client-imagebuilder/commands/DeleteImageCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteImageCommand.ts @@ -28,7 +28,6 @@ export class DeleteImageCommand extends $Command< DeleteImageCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteImageCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts b/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts index 039866d330cb9..0a12d7d6a917f 100644 --- a/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteImagePipelineCommand.ts @@ -28,7 +28,6 @@ export class DeleteImagePipelineCommand extends $Command< DeleteImagePipelineCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteImagePipelineCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts b/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts index 0af72583e1b91..45fe739cda18a 100644 --- a/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteImageRecipeCommand.ts @@ -28,7 +28,6 @@ export class DeleteImageRecipeCommand extends $Command< DeleteImageRecipeCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteImageRecipeCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts index 7bde23d3922f0..f4252faf64075 100644 --- a/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/DeleteInfrastructureConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DeleteInfrastructureConfigurationCommand extends $Command< DeleteInfrastructureConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteInfrastructureConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetComponentCommand.ts b/clients/client-imagebuilder/commands/GetComponentCommand.ts index 65636a17cd776..df5a6d3550850 100644 --- a/clients/client-imagebuilder/commands/GetComponentCommand.ts +++ b/clients/client-imagebuilder/commands/GetComponentCommand.ts @@ -28,7 +28,6 @@ export class GetComponentCommand extends $Command< GetComponentCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetComponentCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts b/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts index 5e9b032993da6..4d793cc3ccf0a 100644 --- a/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts +++ b/clients/client-imagebuilder/commands/GetComponentPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetComponentPolicyCommand extends $Command< GetComponentPolicyCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetComponentPolicyCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts index 0a7cd2a0afa19..6852492f9ab4b 100644 --- a/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/GetDistributionConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetDistributionConfigurationCommand extends $Command< GetDistributionConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDistributionConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetImageCommand.ts b/clients/client-imagebuilder/commands/GetImageCommand.ts index 7f2c438b89d5d..cb9837fdc9787 100644 --- a/clients/client-imagebuilder/commands/GetImageCommand.ts +++ b/clients/client-imagebuilder/commands/GetImageCommand.ts @@ -28,7 +28,6 @@ export class GetImageCommand extends $Command< GetImageCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImageCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts b/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts index 7f0b77d14f8c1..bbe8f89168668 100644 --- a/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/GetImagePipelineCommand.ts @@ -28,7 +28,6 @@ export class GetImagePipelineCommand extends $Command< GetImagePipelineCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImagePipelineCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts b/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts index 2a3316a85ac03..a1f702eff05fc 100644 --- a/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/GetImagePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetImagePolicyCommand extends $Command< GetImagePolicyCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImagePolicyCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts b/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts index 43232cfdb4eb8..47a349a5343b3 100644 --- a/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts +++ b/clients/client-imagebuilder/commands/GetImageRecipeCommand.ts @@ -28,7 +28,6 @@ export class GetImageRecipeCommand extends $Command< GetImageRecipeCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImageRecipeCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts b/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts index b502340296064..37ff3aaacf5cb 100644 --- a/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/GetImageRecipePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetImageRecipePolicyCommand extends $Command< GetImageRecipePolicyCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImageRecipePolicyCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts index fcb3a74b06b60..b1018c961728a 100644 --- a/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/GetInfrastructureConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetInfrastructureConfigurationCommand extends $Command< GetInfrastructureConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInfrastructureConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ImportComponentCommand.ts b/clients/client-imagebuilder/commands/ImportComponentCommand.ts index b08f9e7fa2662..cbc48e489ab26 100644 --- a/clients/client-imagebuilder/commands/ImportComponentCommand.ts +++ b/clients/client-imagebuilder/commands/ImportComponentCommand.ts @@ -28,7 +28,6 @@ export class ImportComponentCommand extends $Command< ImportComponentCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportComponentCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts b/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts index 38bee4b71b634..6f2c2d5258878 100644 --- a/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts +++ b/clients/client-imagebuilder/commands/ListComponentBuildVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListComponentBuildVersionsCommand extends $Command< ListComponentBuildVersionsCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListComponentBuildVersionsCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListComponentsCommand.ts b/clients/client-imagebuilder/commands/ListComponentsCommand.ts index 596d4f26fe67a..bf6b0026447e1 100644 --- a/clients/client-imagebuilder/commands/ListComponentsCommand.ts +++ b/clients/client-imagebuilder/commands/ListComponentsCommand.ts @@ -28,7 +28,6 @@ export class ListComponentsCommand extends $Command< ListComponentsCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListComponentsCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts b/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts index 2b7d4b194fed0..8f8989a850848 100644 --- a/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts +++ b/clients/client-imagebuilder/commands/ListDistributionConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListDistributionConfigurationsCommand extends $Command< ListDistributionConfigurationsCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDistributionConfigurationsCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts b/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts index 50aa8885e39a8..1347defc1adbe 100644 --- a/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts +++ b/clients/client-imagebuilder/commands/ListImageBuildVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListImageBuildVersionsCommand extends $Command< ListImageBuildVersionsCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListImageBuildVersionsCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts b/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts index fb4752b555a8c..ef5809b72b7bb 100644 --- a/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImagePipelineImagesCommand.ts @@ -28,7 +28,6 @@ export class ListImagePipelineImagesCommand extends $Command< ListImagePipelineImagesCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListImagePipelineImagesCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts b/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts index 92ef5c3b3dd02..c7830b518ea87 100644 --- a/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImagePipelinesCommand.ts @@ -28,7 +28,6 @@ export class ListImagePipelinesCommand extends $Command< ListImagePipelinesCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListImagePipelinesCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts b/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts index 3823ee73bb71d..bee6ad8b97168 100644 --- a/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImageRecipesCommand.ts @@ -28,7 +28,6 @@ export class ListImageRecipesCommand extends $Command< ListImageRecipesCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListImageRecipesCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListImagesCommand.ts b/clients/client-imagebuilder/commands/ListImagesCommand.ts index 92fd5d9a984f8..5237b23c70b88 100644 --- a/clients/client-imagebuilder/commands/ListImagesCommand.ts +++ b/clients/client-imagebuilder/commands/ListImagesCommand.ts @@ -28,7 +28,6 @@ export class ListImagesCommand extends $Command< ListImagesCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListImagesCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts b/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts index 204af24ae0f05..ab1f69af4fc97 100644 --- a/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts +++ b/clients/client-imagebuilder/commands/ListInfrastructureConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListInfrastructureConfigurationsCommand extends $Command< ListInfrastructureConfigurationsCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInfrastructureConfigurationsCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts b/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts index 6c2c7406aa994..83a227274644b 100644 --- a/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts +++ b/clients/client-imagebuilder/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts b/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts index 2fa543309cc09..351900982347c 100644 --- a/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts +++ b/clients/client-imagebuilder/commands/PutComponentPolicyCommand.ts @@ -28,7 +28,6 @@ export class PutComponentPolicyCommand extends $Command< PutComponentPolicyCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutComponentPolicyCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts b/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts index e63ac1d16ac29..ae2445d2977cc 100644 --- a/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/PutImagePolicyCommand.ts @@ -28,7 +28,6 @@ export class PutImagePolicyCommand extends $Command< PutImagePolicyCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutImagePolicyCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts b/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts index 3874602c69862..d180086902fa5 100644 --- a/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts +++ b/clients/client-imagebuilder/commands/PutImageRecipePolicyCommand.ts @@ -28,7 +28,6 @@ export class PutImageRecipePolicyCommand extends $Command< PutImageRecipePolicyCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutImageRecipePolicyCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts b/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts index 7cff8af39b6ac..2b25d22db1a78 100644 --- a/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts +++ b/clients/client-imagebuilder/commands/StartImagePipelineExecutionCommand.ts @@ -28,7 +28,6 @@ export class StartImagePipelineExecutionCommand extends $Command< StartImagePipelineExecutionCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartImagePipelineExecutionCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/TagResourceCommand.ts b/clients/client-imagebuilder/commands/TagResourceCommand.ts index 133e009f0fcfa..3200cab22be0d 100644 --- a/clients/client-imagebuilder/commands/TagResourceCommand.ts +++ b/clients/client-imagebuilder/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/UntagResourceCommand.ts b/clients/client-imagebuilder/commands/UntagResourceCommand.ts index 01575ba25a8ff..444e9dcd8c1d9 100644 --- a/clients/client-imagebuilder/commands/UntagResourceCommand.ts +++ b/clients/client-imagebuilder/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts b/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts index 25000830b7561..abb37b9c14610 100644 --- a/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/UpdateDistributionConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateDistributionConfigurationCommand extends $Command< UpdateDistributionConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDistributionConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts b/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts index 757854c24c4c7..bc5145f9e2a26 100644 --- a/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts +++ b/clients/client-imagebuilder/commands/UpdateImagePipelineCommand.ts @@ -28,7 +28,6 @@ export class UpdateImagePipelineCommand extends $Command< UpdateImagePipelineCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateImagePipelineCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts b/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts index 2ca529a521b1a..d6958fdd59804 100644 --- a/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts +++ b/clients/client-imagebuilder/commands/UpdateInfrastructureConfigurationCommand.ts @@ -32,7 +32,6 @@ export class UpdateInfrastructureConfigurationCommand extends $Command< UpdateInfrastructureConfigurationCommandOutput, ImagebuilderClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateInfrastructureConfigurationCommand extends $Command< configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts b/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts index 3254080414d9d..93e71c687f213 100644 --- a/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts +++ b/clients/client-inspector/commands/AddAttributesToFindingsCommand.ts @@ -29,7 +29,6 @@ export class AddAttributesToFindingsCommand extends $Command< AddAttributesToFindingsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AddAttributesToFindingsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts b/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts index 99981f2c1e461..207caca53c4e5 100644 --- a/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts +++ b/clients/client-inspector/commands/CreateAssessmentTargetCommand.ts @@ -35,7 +35,6 @@ export class CreateAssessmentTargetCommand extends $Command< CreateAssessmentTargetCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateAssessmentTargetCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts b/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts index 98ae5515e17dd..9d9714e653491 100644 --- a/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts +++ b/clients/client-inspector/commands/CreateAssessmentTemplateCommand.ts @@ -31,7 +31,6 @@ export class CreateAssessmentTemplateCommand extends $Command< CreateAssessmentTemplateCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateAssessmentTemplateCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts b/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts index 2cc6197d2f910..d2cc64e7f0091 100644 --- a/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts +++ b/clients/client-inspector/commands/CreateExclusionsPreviewCommand.ts @@ -30,7 +30,6 @@ export class CreateExclusionsPreviewCommand extends $Command< CreateExclusionsPreviewCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateExclusionsPreviewCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/CreateResourceGroupCommand.ts b/clients/client-inspector/commands/CreateResourceGroupCommand.ts index a483c2f3abbe6..2cd80fdab1c2d 100644 --- a/clients/client-inspector/commands/CreateResourceGroupCommand.ts +++ b/clients/client-inspector/commands/CreateResourceGroupCommand.ts @@ -31,7 +31,6 @@ export class CreateResourceGroupCommand extends $Command< CreateResourceGroupCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateResourceGroupCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts b/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts index b8773770938cc..95ee95774bc4e 100644 --- a/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts +++ b/clients/client-inspector/commands/DeleteAssessmentRunCommand.ts @@ -29,7 +29,6 @@ export class DeleteAssessmentRunCommand extends $Command< DeleteAssessmentRunCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAssessmentRunCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts b/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts index 0ca3d37cfbef2..f5b89d7d326ad 100644 --- a/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts +++ b/clients/client-inspector/commands/DeleteAssessmentTargetCommand.ts @@ -29,7 +29,6 @@ export class DeleteAssessmentTargetCommand extends $Command< DeleteAssessmentTargetCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAssessmentTargetCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts b/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts index 1d53b50e93e03..221aab5bebe9a 100644 --- a/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts +++ b/clients/client-inspector/commands/DeleteAssessmentTemplateCommand.ts @@ -29,7 +29,6 @@ export class DeleteAssessmentTemplateCommand extends $Command< DeleteAssessmentTemplateCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAssessmentTemplateCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts b/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts index 854b422a5de71..ab9a7285b8452 100644 --- a/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts +++ b/clients/client-inspector/commands/DescribeAssessmentRunsCommand.ts @@ -29,7 +29,6 @@ export class DescribeAssessmentRunsCommand extends $Command< DescribeAssessmentRunsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAssessmentRunsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts b/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts index 7d6391bec0932..a1ed957515e64 100644 --- a/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts +++ b/clients/client-inspector/commands/DescribeAssessmentTargetsCommand.ts @@ -29,7 +29,6 @@ export class DescribeAssessmentTargetsCommand extends $Command< DescribeAssessmentTargetsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAssessmentTargetsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts b/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts index 42c48f3fe2289..7fffbdf7973c9 100644 --- a/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts +++ b/clients/client-inspector/commands/DescribeAssessmentTemplatesCommand.ts @@ -29,7 +29,6 @@ export class DescribeAssessmentTemplatesCommand extends $Command< DescribeAssessmentTemplatesCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAssessmentTemplatesCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts b/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts index d05edb9e17eaa..83e7e2a1947c3 100644 --- a/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts +++ b/clients/client-inspector/commands/DescribeCrossAccountAccessRoleCommand.ts @@ -29,7 +29,6 @@ export class DescribeCrossAccountAccessRoleCommand extends $Command< DescribeCrossAccountAccessRoleCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeCrossAccountAccessRoleCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeExclusionsCommand.ts b/clients/client-inspector/commands/DescribeExclusionsCommand.ts index 33a370e3f0346..619c3693b34c7 100644 --- a/clients/client-inspector/commands/DescribeExclusionsCommand.ts +++ b/clients/client-inspector/commands/DescribeExclusionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeExclusionsCommand extends $Command< DescribeExclusionsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeExclusionsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeFindingsCommand.ts b/clients/client-inspector/commands/DescribeFindingsCommand.ts index 29a097f4974d4..51f997480a9d2 100644 --- a/clients/client-inspector/commands/DescribeFindingsCommand.ts +++ b/clients/client-inspector/commands/DescribeFindingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeFindingsCommand extends $Command< DescribeFindingsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFindingsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts b/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts index 3c66253f797be..c8dba61ea83c6 100644 --- a/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts +++ b/clients/client-inspector/commands/DescribeResourceGroupsCommand.ts @@ -29,7 +29,6 @@ export class DescribeResourceGroupsCommand extends $Command< DescribeResourceGroupsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeResourceGroupsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts b/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts index d489be9097bda..9cd3efc884054 100644 --- a/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts +++ b/clients/client-inspector/commands/DescribeRulesPackagesCommand.ts @@ -29,7 +29,6 @@ export class DescribeRulesPackagesCommand extends $Command< DescribeRulesPackagesCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeRulesPackagesCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/GetAssessmentReportCommand.ts b/clients/client-inspector/commands/GetAssessmentReportCommand.ts index eb73974b4e8f1..c2b857ec6937f 100644 --- a/clients/client-inspector/commands/GetAssessmentReportCommand.ts +++ b/clients/client-inspector/commands/GetAssessmentReportCommand.ts @@ -29,7 +29,6 @@ export class GetAssessmentReportCommand extends $Command< GetAssessmentReportCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAssessmentReportCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts b/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts index ccaffb296f711..c1741a506b383 100644 --- a/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts +++ b/clients/client-inspector/commands/GetExclusionsPreviewCommand.ts @@ -30,7 +30,6 @@ export class GetExclusionsPreviewCommand extends $Command< GetExclusionsPreviewCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetExclusionsPreviewCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts b/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts index 16d53e109f185..ee35bb036d944 100644 --- a/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts +++ b/clients/client-inspector/commands/GetTelemetryMetadataCommand.ts @@ -29,7 +29,6 @@ export class GetTelemetryMetadataCommand extends $Command< GetTelemetryMetadataCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetTelemetryMetadataCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts b/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts index 5dc990c271e72..43b3249153c0a 100644 --- a/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentRunAgentsCommand.ts @@ -29,7 +29,6 @@ export class ListAssessmentRunAgentsCommand extends $Command< ListAssessmentRunAgentsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAssessmentRunAgentsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListAssessmentRunsCommand.ts b/clients/client-inspector/commands/ListAssessmentRunsCommand.ts index b22b08f4d3bdd..e73cb0405763a 100644 --- a/clients/client-inspector/commands/ListAssessmentRunsCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentRunsCommand.ts @@ -29,7 +29,6 @@ export class ListAssessmentRunsCommand extends $Command< ListAssessmentRunsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAssessmentRunsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts b/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts index fbf372a776edb..06c13327d47df 100644 --- a/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentTargetsCommand.ts @@ -30,7 +30,6 @@ export class ListAssessmentTargetsCommand extends $Command< ListAssessmentTargetsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAssessmentTargetsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts b/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts index b406b9459d699..291db74d6e9bf 100644 --- a/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts +++ b/clients/client-inspector/commands/ListAssessmentTemplatesCommand.ts @@ -29,7 +29,6 @@ export class ListAssessmentTemplatesCommand extends $Command< ListAssessmentTemplatesCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAssessmentTemplatesCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts b/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts index 3039ab8022d53..1b7275250da3f 100644 --- a/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts +++ b/clients/client-inspector/commands/ListEventSubscriptionsCommand.ts @@ -29,7 +29,6 @@ export class ListEventSubscriptionsCommand extends $Command< ListEventSubscriptionsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventSubscriptionsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListExclusionsCommand.ts b/clients/client-inspector/commands/ListExclusionsCommand.ts index adfe99458d5f4..8b88594524dbe 100644 --- a/clients/client-inspector/commands/ListExclusionsCommand.ts +++ b/clients/client-inspector/commands/ListExclusionsCommand.ts @@ -28,7 +28,6 @@ export class ListExclusionsCommand extends $Command< ListExclusionsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListExclusionsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListFindingsCommand.ts b/clients/client-inspector/commands/ListFindingsCommand.ts index 912baefdb0099..f26de9fd1dd70 100644 --- a/clients/client-inspector/commands/ListFindingsCommand.ts +++ b/clients/client-inspector/commands/ListFindingsCommand.ts @@ -29,7 +29,6 @@ export class ListFindingsCommand extends $Command< ListFindingsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListFindingsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListRulesPackagesCommand.ts b/clients/client-inspector/commands/ListRulesPackagesCommand.ts index 8cb4442719b77..2394ca2d3a82d 100644 --- a/clients/client-inspector/commands/ListRulesPackagesCommand.ts +++ b/clients/client-inspector/commands/ListRulesPackagesCommand.ts @@ -28,7 +28,6 @@ export class ListRulesPackagesCommand extends $Command< ListRulesPackagesCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRulesPackagesCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/ListTagsForResourceCommand.ts b/clients/client-inspector/commands/ListTagsForResourceCommand.ts index 796852b9fb720..0e2d3b74f023b 100644 --- a/clients/client-inspector/commands/ListTagsForResourceCommand.ts +++ b/clients/client-inspector/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/PreviewAgentsCommand.ts b/clients/client-inspector/commands/PreviewAgentsCommand.ts index b90638764fc1f..25f93b1658735 100644 --- a/clients/client-inspector/commands/PreviewAgentsCommand.ts +++ b/clients/client-inspector/commands/PreviewAgentsCommand.ts @@ -29,7 +29,6 @@ export class PreviewAgentsCommand extends $Command< PreviewAgentsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PreviewAgentsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts b/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts index 1472ca3f103a6..28de739ffb6c9 100644 --- a/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts +++ b/clients/client-inspector/commands/RegisterCrossAccountAccessRoleCommand.ts @@ -29,7 +29,6 @@ export class RegisterCrossAccountAccessRoleCommand extends $Command< RegisterCrossAccountAccessRoleCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RegisterCrossAccountAccessRoleCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts b/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts index b3323143c48ee..32ca48e0ccf25 100644 --- a/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts +++ b/clients/client-inspector/commands/RemoveAttributesFromFindingsCommand.ts @@ -29,7 +29,6 @@ export class RemoveAttributesFromFindingsCommand extends $Command< RemoveAttributesFromFindingsCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemoveAttributesFromFindingsCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/SetTagsForResourceCommand.ts b/clients/client-inspector/commands/SetTagsForResourceCommand.ts index f87ee196f83af..701c20d47a97f 100644 --- a/clients/client-inspector/commands/SetTagsForResourceCommand.ts +++ b/clients/client-inspector/commands/SetTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class SetTagsForResourceCommand extends $Command< SetTagsForResourceCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SetTagsForResourceCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/StartAssessmentRunCommand.ts b/clients/client-inspector/commands/StartAssessmentRunCommand.ts index efdd60e9c6e83..431443336e6c0 100644 --- a/clients/client-inspector/commands/StartAssessmentRunCommand.ts +++ b/clients/client-inspector/commands/StartAssessmentRunCommand.ts @@ -30,7 +30,6 @@ export class StartAssessmentRunCommand extends $Command< StartAssessmentRunCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartAssessmentRunCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/StopAssessmentRunCommand.ts b/clients/client-inspector/commands/StopAssessmentRunCommand.ts index 4dbe223534d20..88c060baad64e 100644 --- a/clients/client-inspector/commands/StopAssessmentRunCommand.ts +++ b/clients/client-inspector/commands/StopAssessmentRunCommand.ts @@ -29,7 +29,6 @@ export class StopAssessmentRunCommand extends $Command< StopAssessmentRunCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopAssessmentRunCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/SubscribeToEventCommand.ts b/clients/client-inspector/commands/SubscribeToEventCommand.ts index e9c4a9a648d88..87e5673ac0678 100644 --- a/clients/client-inspector/commands/SubscribeToEventCommand.ts +++ b/clients/client-inspector/commands/SubscribeToEventCommand.ts @@ -29,7 +29,6 @@ export class SubscribeToEventCommand extends $Command< SubscribeToEventCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SubscribeToEventCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts b/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts index 402aae1e13a6b..6815d129a30a2 100644 --- a/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts +++ b/clients/client-inspector/commands/UnsubscribeFromEventCommand.ts @@ -29,7 +29,6 @@ export class UnsubscribeFromEventCommand extends $Command< UnsubscribeFromEventCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UnsubscribeFromEventCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts b/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts index a5c8668379e45..ca14f51fe33b7 100644 --- a/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts +++ b/clients/client-inspector/commands/UpdateAssessmentTargetCommand.ts @@ -31,7 +31,6 @@ export class UpdateAssessmentTargetCommand extends $Command< UpdateAssessmentTargetCommandOutput, InspectorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateAssessmentTargetCommand extends $Command< configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts b/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts index fee4a4cea02e5..495314c33da3f 100644 --- a/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ClaimDevicesByClaimCodeCommand.ts @@ -33,7 +33,6 @@ export class ClaimDevicesByClaimCodeCommand extends $Command< ClaimDevicesByClaimCodeCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ClaimDevicesByClaimCodeCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts b/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts index 786cc62dde41c..6dcd131178845 100644 --- a/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/DescribeDeviceCommand.ts @@ -33,7 +33,6 @@ export class DescribeDeviceCommand extends $Command< DescribeDeviceCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeDeviceCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts b/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts index 86ed2b452584c..eb398602cb5fb 100644 --- a/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/FinalizeDeviceClaimCommand.ts @@ -36,7 +36,6 @@ export class FinalizeDeviceClaimCommand extends $Command< FinalizeDeviceClaimCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class FinalizeDeviceClaimCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts b/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts index 6152d612ec1db..24ce92b9918bb 100644 --- a/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/GetDeviceMethodsCommand.ts @@ -32,7 +32,6 @@ export class GetDeviceMethodsCommand extends $Command< GetDeviceMethodsCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetDeviceMethodsCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts b/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts index 24a26f12ceb1f..9e09aa4d6d035 100644 --- a/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/InitiateDeviceClaimCommand.ts @@ -36,7 +36,6 @@ export class InitiateDeviceClaimCommand extends $Command< InitiateDeviceClaimCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class InitiateDeviceClaimCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts b/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts index 4bcf55e712082..73dd73a8bacf7 100644 --- a/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/InvokeDeviceMethodCommand.ts @@ -33,7 +33,6 @@ export class InvokeDeviceMethodCommand extends $Command< InvokeDeviceMethodCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class InvokeDeviceMethodCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts b/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts index 7917b6ef9ce9e..df9ce84993e4f 100644 --- a/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ListDeviceEventsCommand.ts @@ -33,7 +33,6 @@ export class ListDeviceEventsCommand extends $Command< ListDeviceEventsCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListDeviceEventsCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts b/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts index f2c7dfd9f768a..10631f7b36ba3 100644 --- a/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ListDevicesCommand.ts @@ -32,7 +32,6 @@ export class ListDevicesCommand extends $Command< ListDevicesCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListDevicesCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts b/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts index ce2a5573f5fd3..6ee2d8dd8412e 100644 --- a/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts b/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts index 462833c39bde7..387bf7205818b 100644 --- a/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts b/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts index adf8ad0dc5cb9..bc612a49df0c3 100644 --- a/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/UnclaimDeviceCommand.ts @@ -32,7 +32,6 @@ export class UnclaimDeviceCommand extends $Command< UnclaimDeviceCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UnclaimDeviceCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts b/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts index 11694c909ae4a..0aa7ade5c1211 100644 --- a/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/UntagResourceCommand.ts @@ -33,7 +33,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UntagResourceCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts b/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts index d6d3d4e1d095d..f45f4639e7d93 100644 --- a/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts +++ b/clients/client-iot-1click-devices-service/commands/UpdateDeviceStateCommand.ts @@ -33,7 +33,6 @@ export class UpdateDeviceStateCommand extends $Command< UpdateDeviceStateCommandOutput, IoT1ClickDevicesServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateDeviceStateCommand extends $Command< configuration: IoT1ClickDevicesServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts b/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts index 8f70295d1d91f..fb837e1e9b207 100644 --- a/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/AssociateDeviceWithPlacementCommand.ts @@ -32,7 +32,6 @@ export class AssociateDeviceWithPlacementCommand extends $Command< AssociateDeviceWithPlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateDeviceWithPlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts b/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts index 38cd79be0c3fe..e05df5ab47307 100644 --- a/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/CreatePlacementCommand.ts @@ -32,7 +32,6 @@ export class CreatePlacementCommand extends $Command< CreatePlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreatePlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts b/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts index 08fc97f125238..076d030f1a874 100644 --- a/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/CreateProjectCommand.ts @@ -33,7 +33,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateProjectCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts b/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts index 95abc6d222023..754d7989ae736 100644 --- a/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/DeletePlacementCommand.ts @@ -36,7 +36,6 @@ export class DeletePlacementCommand extends $Command< DeletePlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeletePlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts b/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts index cc859f8b97baf..1ac157171552e 100644 --- a/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/DeleteProjectCommand.ts @@ -36,7 +36,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteProjectCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts b/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts index 09ef107d480fa..9b1f4884a753b 100644 --- a/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/DescribePlacementCommand.ts @@ -32,7 +32,6 @@ export class DescribePlacementCommand extends $Command< DescribePlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribePlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts b/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts index 9384dbba165aa..a828225ab9383 100644 --- a/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/DescribeProjectCommand.ts @@ -32,7 +32,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeProjectCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts b/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts index 2988083474f21..c61c02d4a6465 100644 --- a/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/DisassociateDeviceFromPlacementCommand.ts @@ -32,7 +32,6 @@ export class DisassociateDeviceFromPlacementCommand extends $Command< DisassociateDeviceFromPlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateDeviceFromPlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts b/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts index 57c044e43fa84..13a07f6692449 100644 --- a/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/GetDevicesInPlacementCommand.ts @@ -32,7 +32,6 @@ export class GetDevicesInPlacementCommand extends $Command< GetDevicesInPlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetDevicesInPlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts b/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts index a062e57061022..381443e57684b 100644 --- a/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts +++ b/clients/client-iot-1click-projects/commands/ListPlacementsCommand.ts @@ -32,7 +32,6 @@ export class ListPlacementsCommand extends $Command< ListPlacementsCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPlacementsCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts b/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts index 71b9af632e648..e5522ae54a563 100644 --- a/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts +++ b/clients/client-iot-1click-projects/commands/ListProjectsCommand.ts @@ -32,7 +32,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListProjectsCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts b/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts index 2e97be1237d29..2cce8d8a7ee1b 100644 --- a/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot-1click-projects/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/TagResourceCommand.ts b/clients/client-iot-1click-projects/commands/TagResourceCommand.ts index 924b5c84140d0..082c3b4c3376b 100644 --- a/clients/client-iot-1click-projects/commands/TagResourceCommand.ts +++ b/clients/client-iot-1click-projects/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts b/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts index 8ec238d9f961c..71d1a739f652c 100644 --- a/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts +++ b/clients/client-iot-1click-projects/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts b/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts index a6cfbda5897a4..7ac6a62e3a630 100644 --- a/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts +++ b/clients/client-iot-1click-projects/commands/UpdatePlacementCommand.ts @@ -33,7 +33,6 @@ export class UpdatePlacementCommand extends $Command< UpdatePlacementCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdatePlacementCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts b/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts index cb07f8d107349..eb390c6ff6602 100644 --- a/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts +++ b/clients/client-iot-1click-projects/commands/UpdateProjectCommand.ts @@ -35,7 +35,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, IoT1ClickProjectsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateProjectCommand extends $Command< configuration: IoT1ClickProjectsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts b/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts index b9311d52f72fd..6e1fd6169bf2c 100644 --- a/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts +++ b/clients/client-iot-data-plane/commands/DeleteThingShadowCommand.ts @@ -29,7 +29,6 @@ export class DeleteThingShadowCommand extends $Command< DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteThingShadowCommand extends $Command< configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts b/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts index 8c6714fef0cea..82a2743201345 100644 --- a/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts +++ b/clients/client-iot-data-plane/commands/GetThingShadowCommand.ts @@ -30,7 +30,6 @@ export class GetThingShadowCommand extends $Command< GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetThingShadowCommand extends $Command< configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-data-plane/commands/ListNamedShadowsForThingCommand.ts b/clients/client-iot-data-plane/commands/ListNamedShadowsForThingCommand.ts index 04ae0b334106f..423cda9337768 100644 --- a/clients/client-iot-data-plane/commands/ListNamedShadowsForThingCommand.ts +++ b/clients/client-iot-data-plane/commands/ListNamedShadowsForThingCommand.ts @@ -28,7 +28,6 @@ export class ListNamedShadowsForThingCommand extends $Command< ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListNamedShadowsForThingCommand extends $Command< configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-data-plane/commands/PublishCommand.ts b/clients/client-iot-data-plane/commands/PublishCommand.ts index e03950e68d649..e488ab0834c49 100644 --- a/clients/client-iot-data-plane/commands/PublishCommand.ts +++ b/clients/client-iot-data-plane/commands/PublishCommand.ts @@ -30,7 +30,6 @@ export class PublishCommand extends $Command< PublishCommandOutput, IoTDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PublishCommand extends $Command< configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts b/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts index 4be4c14da8f79..03b15c5fd598f 100644 --- a/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts +++ b/clients/client-iot-data-plane/commands/UpdateThingShadowCommand.ts @@ -30,7 +30,6 @@ export class UpdateThingShadowCommand extends $Command< UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateThingShadowCommand extends $Command< configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts b/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts index a6b90b8a04013..c19ab62f72ec8 100644 --- a/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts +++ b/clients/client-iot-events-data/commands/BatchPutMessageCommand.ts @@ -32,7 +32,6 @@ export class BatchPutMessageCommand extends $Command< BatchPutMessageCommandOutput, IoTEventsDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class BatchPutMessageCommand extends $Command< configuration: IoTEventsDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts b/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts index 98f56167859ff..34e6961d35ddb 100644 --- a/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts +++ b/clients/client-iot-events-data/commands/BatchUpdateDetectorCommand.ts @@ -29,7 +29,6 @@ export class BatchUpdateDetectorCommand extends $Command< BatchUpdateDetectorCommandOutput, IoTEventsDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class BatchUpdateDetectorCommand extends $Command< configuration: IoTEventsDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts b/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts index 2735c20223d70..2171891d4d90f 100644 --- a/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts +++ b/clients/client-iot-events-data/commands/DescribeDetectorCommand.ts @@ -28,7 +28,6 @@ export class DescribeDetectorCommand extends $Command< DescribeDetectorCommandOutput, IoTEventsDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDetectorCommand extends $Command< configuration: IoTEventsDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events-data/commands/ListDetectorsCommand.ts b/clients/client-iot-events-data/commands/ListDetectorsCommand.ts index 163cc4ef33946..6daab5b1acd6e 100644 --- a/clients/client-iot-events-data/commands/ListDetectorsCommand.ts +++ b/clients/client-iot-events-data/commands/ListDetectorsCommand.ts @@ -28,7 +28,6 @@ export class ListDetectorsCommand extends $Command< ListDetectorsCommandOutput, IoTEventsDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDetectorsCommand extends $Command< configuration: IoTEventsDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/CreateDetectorModelCommand.ts b/clients/client-iot-events/commands/CreateDetectorModelCommand.ts index 9c0eaed50d3a0..ea4c10e21458b 100644 --- a/clients/client-iot-events/commands/CreateDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/CreateDetectorModelCommand.ts @@ -28,7 +28,6 @@ export class CreateDetectorModelCommand extends $Command< CreateDetectorModelCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDetectorModelCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/CreateInputCommand.ts b/clients/client-iot-events/commands/CreateInputCommand.ts index b04d5e703b4f2..0af9f0a382ed9 100644 --- a/clients/client-iot-events/commands/CreateInputCommand.ts +++ b/clients/client-iot-events/commands/CreateInputCommand.ts @@ -28,7 +28,6 @@ export class CreateInputCommand extends $Command< CreateInputCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateInputCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts b/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts index 1cccea10b3a4b..cade20de5674b 100644 --- a/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/DeleteDetectorModelCommand.ts @@ -29,7 +29,6 @@ export class DeleteDetectorModelCommand extends $Command< DeleteDetectorModelCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDetectorModelCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/DeleteInputCommand.ts b/clients/client-iot-events/commands/DeleteInputCommand.ts index 60ac22beea257..c5a317bb6ecba 100644 --- a/clients/client-iot-events/commands/DeleteInputCommand.ts +++ b/clients/client-iot-events/commands/DeleteInputCommand.ts @@ -28,7 +28,6 @@ export class DeleteInputCommand extends $Command< DeleteInputCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteInputCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts b/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts index 207aa814effee..f4e25e2c49471 100644 --- a/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/DescribeDetectorModelCommand.ts @@ -29,7 +29,6 @@ export class DescribeDetectorModelCommand extends $Command< DescribeDetectorModelCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDetectorModelCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/DescribeInputCommand.ts b/clients/client-iot-events/commands/DescribeInputCommand.ts index 162d8bf365366..eac50ddb898df 100644 --- a/clients/client-iot-events/commands/DescribeInputCommand.ts +++ b/clients/client-iot-events/commands/DescribeInputCommand.ts @@ -28,7 +28,6 @@ export class DescribeInputCommand extends $Command< DescribeInputCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInputCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts index 76ab1e593125c..cf3f985637cc8 100644 --- a/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iot-events/commands/DescribeLoggingOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLoggingOptionsCommand extends $Command< DescribeLoggingOptionsCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLoggingOptionsCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts b/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts index ce977799de0ef..5aafdf091fe39 100644 --- a/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts +++ b/clients/client-iot-events/commands/ListDetectorModelVersionsCommand.ts @@ -29,7 +29,6 @@ export class ListDetectorModelVersionsCommand extends $Command< ListDetectorModelVersionsCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDetectorModelVersionsCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/ListDetectorModelsCommand.ts b/clients/client-iot-events/commands/ListDetectorModelsCommand.ts index d6c5191afc340..b9cf6ccd67d5e 100644 --- a/clients/client-iot-events/commands/ListDetectorModelsCommand.ts +++ b/clients/client-iot-events/commands/ListDetectorModelsCommand.ts @@ -29,7 +29,6 @@ export class ListDetectorModelsCommand extends $Command< ListDetectorModelsCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDetectorModelsCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/ListInputsCommand.ts b/clients/client-iot-events/commands/ListInputsCommand.ts index 7343867ccf4e4..bcbd7dde9303c 100644 --- a/clients/client-iot-events/commands/ListInputsCommand.ts +++ b/clients/client-iot-events/commands/ListInputsCommand.ts @@ -28,7 +28,6 @@ export class ListInputsCommand extends $Command< ListInputsCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInputsCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/ListTagsForResourceCommand.ts b/clients/client-iot-events/commands/ListTagsForResourceCommand.ts index 6ea49a81150e8..59c1a97d6b189 100644 --- a/clients/client-iot-events/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot-events/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts b/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts index 0fe2ad00ba777..349d371303155 100644 --- a/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iot-events/commands/PutLoggingOptionsCommand.ts @@ -32,7 +32,6 @@ export class PutLoggingOptionsCommand extends $Command< PutLoggingOptionsCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutLoggingOptionsCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/TagResourceCommand.ts b/clients/client-iot-events/commands/TagResourceCommand.ts index 7e35c9db0fce5..76f40febf2230 100644 --- a/clients/client-iot-events/commands/TagResourceCommand.ts +++ b/clients/client-iot-events/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/UntagResourceCommand.ts b/clients/client-iot-events/commands/UntagResourceCommand.ts index edd6ac9914646..ddc82ccda043c 100644 --- a/clients/client-iot-events/commands/UntagResourceCommand.ts +++ b/clients/client-iot-events/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts b/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts index 5bb3dbe867ce5..4f2560b2211ed 100644 --- a/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts +++ b/clients/client-iot-events/commands/UpdateDetectorModelCommand.ts @@ -29,7 +29,6 @@ export class UpdateDetectorModelCommand extends $Command< UpdateDetectorModelCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDetectorModelCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-events/commands/UpdateInputCommand.ts b/clients/client-iot-events/commands/UpdateInputCommand.ts index 93d3a980b2e07..86c3e443198e6 100644 --- a/clients/client-iot-events/commands/UpdateInputCommand.ts +++ b/clients/client-iot-events/commands/UpdateInputCommand.ts @@ -28,7 +28,6 @@ export class UpdateInputCommand extends $Command< UpdateInputCommandOutput, IoTEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateInputCommand extends $Command< configuration: IoTEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts index 50a648762309b..2b14734853640 100644 --- a/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/DescribeJobExecutionCommand.ts @@ -28,7 +28,6 @@ export class DescribeJobExecutionCommand extends $Command< DescribeJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeJobExecutionCommand extends $Command< configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts b/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts index 9b5e27d81f863..a356a7a8c8f52 100644 --- a/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/GetPendingJobExecutionsCommand.ts @@ -28,7 +28,6 @@ export class GetPendingJobExecutionsCommand extends $Command< GetPendingJobExecutionsCommandOutput, IoTJobsDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPendingJobExecutionsCommand extends $Command< configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts index 9c64df0fa11a1..e3bdcb232bc85 100644 --- a/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/StartNextPendingJobExecutionCommand.ts @@ -28,7 +28,6 @@ export class StartNextPendingJobExecutionCommand extends $Command< StartNextPendingJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartNextPendingJobExecutionCommand extends $Command< configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts b/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts index b3c899003d758..4baba2a785f11 100644 --- a/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts +++ b/clients/client-iot-jobs-data-plane/commands/UpdateJobExecutionCommand.ts @@ -28,7 +28,6 @@ export class UpdateJobExecutionCommand extends $Command< UpdateJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateJobExecutionCommand extends $Command< configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AcceptCertificateTransferCommand.ts b/clients/client-iot/commands/AcceptCertificateTransferCommand.ts index 77a66e86f0eae..f1e8a208d2612 100644 --- a/clients/client-iot/commands/AcceptCertificateTransferCommand.ts +++ b/clients/client-iot/commands/AcceptCertificateTransferCommand.ts @@ -31,7 +31,6 @@ export class AcceptCertificateTransferCommand extends $Command< AcceptCertificateTransferCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AcceptCertificateTransferCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AddThingToBillingGroupCommand.ts b/clients/client-iot/commands/AddThingToBillingGroupCommand.ts index bcc049bebba49..eb63303b442a9 100644 --- a/clients/client-iot/commands/AddThingToBillingGroupCommand.ts +++ b/clients/client-iot/commands/AddThingToBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class AddThingToBillingGroupCommand extends $Command< AddThingToBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddThingToBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AddThingToThingGroupCommand.ts b/clients/client-iot/commands/AddThingToThingGroupCommand.ts index 399e57dd07434..eff98e27ca068 100644 --- a/clients/client-iot/commands/AddThingToThingGroupCommand.ts +++ b/clients/client-iot/commands/AddThingToThingGroupCommand.ts @@ -28,7 +28,6 @@ export class AddThingToThingGroupCommand extends $Command< AddThingToThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddThingToThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts b/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts index 74ca8734596ed..68c08b0e925ff 100644 --- a/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts +++ b/clients/client-iot/commands/AssociateTargetsWithJobCommand.ts @@ -40,7 +40,6 @@ export class AssociateTargetsWithJobCommand extends $Command< AssociateTargetsWithJobCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class AssociateTargetsWithJobCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AttachPolicyCommand.ts b/clients/client-iot/commands/AttachPolicyCommand.ts index d9cb339950294..75d02044b1b4c 100644 --- a/clients/client-iot/commands/AttachPolicyCommand.ts +++ b/clients/client-iot/commands/AttachPolicyCommand.ts @@ -28,7 +28,6 @@ export class AttachPolicyCommand extends $Command< AttachPolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AttachPolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts b/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts index 0d472c06d84ea..f8de61e134498 100644 --- a/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts +++ b/clients/client-iot/commands/AttachPrincipalPolicyCommand.ts @@ -33,7 +33,6 @@ export class AttachPrincipalPolicyCommand extends $Command< AttachPrincipalPolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AttachPrincipalPolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AttachSecurityProfileCommand.ts b/clients/client-iot/commands/AttachSecurityProfileCommand.ts index 31912d4c9f787..e0c6df09e3957 100644 --- a/clients/client-iot/commands/AttachSecurityProfileCommand.ts +++ b/clients/client-iot/commands/AttachSecurityProfileCommand.ts @@ -29,7 +29,6 @@ export class AttachSecurityProfileCommand extends $Command< AttachSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AttachSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/AttachThingPrincipalCommand.ts b/clients/client-iot/commands/AttachThingPrincipalCommand.ts index 5f897f37128ec..578521c83b81c 100644 --- a/clients/client-iot/commands/AttachThingPrincipalCommand.ts +++ b/clients/client-iot/commands/AttachThingPrincipalCommand.ts @@ -30,7 +30,6 @@ export class AttachThingPrincipalCommand extends $Command< AttachThingPrincipalCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AttachThingPrincipalCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts b/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts index 708bdc13775e6..5cef9dc1c5e0e 100644 --- a/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts +++ b/clients/client-iot/commands/CancelAuditMitigationActionsTaskCommand.ts @@ -28,7 +28,6 @@ export class CancelAuditMitigationActionsTaskCommand extends $Command< CancelAuditMitigationActionsTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelAuditMitigationActionsTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CancelAuditTaskCommand.ts b/clients/client-iot/commands/CancelAuditTaskCommand.ts index e60fcefa38846..b272fcc61ffdd 100644 --- a/clients/client-iot/commands/CancelAuditTaskCommand.ts +++ b/clients/client-iot/commands/CancelAuditTaskCommand.ts @@ -29,7 +29,6 @@ export class CancelAuditTaskCommand extends $Command< CancelAuditTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CancelAuditTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CancelCertificateTransferCommand.ts b/clients/client-iot/commands/CancelCertificateTransferCommand.ts index 44682aa05240c..097b3080cb757 100644 --- a/clients/client-iot/commands/CancelCertificateTransferCommand.ts +++ b/clients/client-iot/commands/CancelCertificateTransferCommand.ts @@ -35,7 +35,6 @@ export class CancelCertificateTransferCommand extends $Command< CancelCertificateTransferCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CancelCertificateTransferCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CancelJobCommand.ts b/clients/client-iot/commands/CancelJobCommand.ts index ecaff80933307..918e2efcabbfd 100644 --- a/clients/client-iot/commands/CancelJobCommand.ts +++ b/clients/client-iot/commands/CancelJobCommand.ts @@ -24,7 +24,6 @@ export type CancelJobCommandOutput = CancelJobResponse & __MetadataBearer; *

Cancels a job.

*/ export class CancelJobCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class CancelJobCommand 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-iot/commands/CancelJobExecutionCommand.ts b/clients/client-iot/commands/CancelJobExecutionCommand.ts index 4e32ff2dc5869..db02012a903f6 100644 --- a/clients/client-iot/commands/CancelJobExecutionCommand.ts +++ b/clients/client-iot/commands/CancelJobExecutionCommand.ts @@ -28,7 +28,6 @@ export class CancelJobExecutionCommand extends $Command< CancelJobExecutionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelJobExecutionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts b/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts index 05eb02f3c928a..dc76389718be4 100644 --- a/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts +++ b/clients/client-iot/commands/ClearDefaultAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class ClearDefaultAuthorizerCommand extends $Command< ClearDefaultAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ClearDefaultAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts b/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts index 1f566dafc6e91..9796e2e58ad51 100644 --- a/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/ConfirmTopicRuleDestinationCommand.ts @@ -31,7 +31,6 @@ export class ConfirmTopicRuleDestinationCommand extends $Command< ConfirmTopicRuleDestinationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ConfirmTopicRuleDestinationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateAuditSuppressionCommand.ts b/clients/client-iot/commands/CreateAuditSuppressionCommand.ts index 61179594e6751..b13c2e80328da 100644 --- a/clients/client-iot/commands/CreateAuditSuppressionCommand.ts +++ b/clients/client-iot/commands/CreateAuditSuppressionCommand.ts @@ -30,7 +30,6 @@ export class CreateAuditSuppressionCommand extends $Command< CreateAuditSuppressionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAuditSuppressionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateAuthorizerCommand.ts b/clients/client-iot/commands/CreateAuthorizerCommand.ts index 43a8758c27cfd..cd771df78f52e 100644 --- a/clients/client-iot/commands/CreateAuthorizerCommand.ts +++ b/clients/client-iot/commands/CreateAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class CreateAuthorizerCommand extends $Command< CreateAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateBillingGroupCommand.ts b/clients/client-iot/commands/CreateBillingGroupCommand.ts index 1d2351f31117e..cebf1cc7562c2 100644 --- a/clients/client-iot/commands/CreateBillingGroupCommand.ts +++ b/clients/client-iot/commands/CreateBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateBillingGroupCommand extends $Command< CreateBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts b/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts index 3e28b61edbd33..38945b0d28907 100644 --- a/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts +++ b/clients/client-iot/commands/CreateCertificateFromCsrCommand.ts @@ -62,7 +62,6 @@ export class CreateCertificateFromCsrCommand extends $Command< CreateCertificateFromCsrCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class CreateCertificateFromCsrCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateDimensionCommand.ts b/clients/client-iot/commands/CreateDimensionCommand.ts index f932b515ede9c..da851b14f48fe 100644 --- a/clients/client-iot/commands/CreateDimensionCommand.ts +++ b/clients/client-iot/commands/CreateDimensionCommand.ts @@ -28,7 +28,6 @@ export class CreateDimensionCommand extends $Command< CreateDimensionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDimensionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateDomainConfigurationCommand.ts b/clients/client-iot/commands/CreateDomainConfigurationCommand.ts index 0377fbc54ffe5..7aa3d693946f4 100644 --- a/clients/client-iot/commands/CreateDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/CreateDomainConfigurationCommand.ts @@ -31,7 +31,6 @@ export class CreateDomainConfigurationCommand extends $Command< CreateDomainConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDomainConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts b/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts index 25c3526441183..3a30adae4d38c 100644 --- a/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts +++ b/clients/client-iot/commands/CreateDynamicThingGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateDynamicThingGroupCommand extends $Command< CreateDynamicThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDynamicThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateJobCommand.ts b/clients/client-iot/commands/CreateJobCommand.ts index 424a3c035aacb..c4fc925de3208 100644 --- a/clients/client-iot/commands/CreateJobCommand.ts +++ b/clients/client-iot/commands/CreateJobCommand.ts @@ -24,7 +24,6 @@ export type CreateJobCommandOutput = CreateJobResponse & __MetadataBearer; *

Creates a job.

*/ export class CreateJobCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class CreateJobCommand 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-iot/commands/CreateKeysAndCertificateCommand.ts b/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts index 1b263c422fa4f..d385d8263483a 100644 --- a/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts +++ b/clients/client-iot/commands/CreateKeysAndCertificateCommand.ts @@ -33,7 +33,6 @@ export class CreateKeysAndCertificateCommand extends $Command< CreateKeysAndCertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateKeysAndCertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateMitigationActionCommand.ts b/clients/client-iot/commands/CreateMitigationActionCommand.ts index fe1ea21f411e7..ba01dafae0a6a 100644 --- a/clients/client-iot/commands/CreateMitigationActionCommand.ts +++ b/clients/client-iot/commands/CreateMitigationActionCommand.ts @@ -28,7 +28,6 @@ export class CreateMitigationActionCommand extends $Command< CreateMitigationActionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateMitigationActionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateOTAUpdateCommand.ts b/clients/client-iot/commands/CreateOTAUpdateCommand.ts index f5c474e8ed76f..e6cceae61f03c 100644 --- a/clients/client-iot/commands/CreateOTAUpdateCommand.ts +++ b/clients/client-iot/commands/CreateOTAUpdateCommand.ts @@ -28,7 +28,6 @@ export class CreateOTAUpdateCommand extends $Command< CreateOTAUpdateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateOTAUpdateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreatePolicyCommand.ts b/clients/client-iot/commands/CreatePolicyCommand.ts index b079629376961..f61ebaf1a623c 100644 --- a/clients/client-iot/commands/CreatePolicyCommand.ts +++ b/clients/client-iot/commands/CreatePolicyCommand.ts @@ -31,7 +31,6 @@ export class CreatePolicyCommand extends $Command< CreatePolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreatePolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreatePolicyVersionCommand.ts b/clients/client-iot/commands/CreatePolicyVersionCommand.ts index 60881e1b8432a..f5627ae826ec3 100644 --- a/clients/client-iot/commands/CreatePolicyVersionCommand.ts +++ b/clients/client-iot/commands/CreatePolicyVersionCommand.ts @@ -34,7 +34,6 @@ export class CreatePolicyVersionCommand extends $Command< CreatePolicyVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreatePolicyVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateProvisioningClaimCommand.ts b/clients/client-iot/commands/CreateProvisioningClaimCommand.ts index b2932c6c3bf44..6193e94b78320 100644 --- a/clients/client-iot/commands/CreateProvisioningClaimCommand.ts +++ b/clients/client-iot/commands/CreateProvisioningClaimCommand.ts @@ -28,7 +28,6 @@ export class CreateProvisioningClaimCommand extends $Command< CreateProvisioningClaimCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProvisioningClaimCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts b/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts index abd908029b1cc..3ebb3aa25db5e 100644 --- a/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/CreateProvisioningTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreateProvisioningTemplateCommand extends $Command< CreateProvisioningTemplateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProvisioningTemplateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts b/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts index 98445dabf622d..d1bbc61e86409 100644 --- a/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts +++ b/clients/client-iot/commands/CreateProvisioningTemplateVersionCommand.ts @@ -32,7 +32,6 @@ export class CreateProvisioningTemplateVersionCommand extends $Command< CreateProvisioningTemplateVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateProvisioningTemplateVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateRoleAliasCommand.ts b/clients/client-iot/commands/CreateRoleAliasCommand.ts index 236a32b809340..562ca0f07195b 100644 --- a/clients/client-iot/commands/CreateRoleAliasCommand.ts +++ b/clients/client-iot/commands/CreateRoleAliasCommand.ts @@ -28,7 +28,6 @@ export class CreateRoleAliasCommand extends $Command< CreateRoleAliasCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRoleAliasCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateScheduledAuditCommand.ts b/clients/client-iot/commands/CreateScheduledAuditCommand.ts index d19e97f5a1985..d4f9b2de1ed4f 100644 --- a/clients/client-iot/commands/CreateScheduledAuditCommand.ts +++ b/clients/client-iot/commands/CreateScheduledAuditCommand.ts @@ -29,7 +29,6 @@ export class CreateScheduledAuditCommand extends $Command< CreateScheduledAuditCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateScheduledAuditCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateSecurityProfileCommand.ts b/clients/client-iot/commands/CreateSecurityProfileCommand.ts index 2949a8eb822ce..c994650bdc773 100644 --- a/clients/client-iot/commands/CreateSecurityProfileCommand.ts +++ b/clients/client-iot/commands/CreateSecurityProfileCommand.ts @@ -28,7 +28,6 @@ export class CreateSecurityProfileCommand extends $Command< CreateSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateStreamCommand.ts b/clients/client-iot/commands/CreateStreamCommand.ts index 09456f06ad930..9d393618fcaa5 100644 --- a/clients/client-iot/commands/CreateStreamCommand.ts +++ b/clients/client-iot/commands/CreateStreamCommand.ts @@ -30,7 +30,6 @@ export class CreateStreamCommand extends $Command< CreateStreamCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateStreamCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateThingCommand.ts b/clients/client-iot/commands/CreateThingCommand.ts index c28e8087dee31..010ed19b8f249 100644 --- a/clients/client-iot/commands/CreateThingCommand.ts +++ b/clients/client-iot/commands/CreateThingCommand.ts @@ -35,7 +35,6 @@ export class CreateThingCommand extends $Command< CreateThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateThingGroupCommand.ts b/clients/client-iot/commands/CreateThingGroupCommand.ts index dde1981e3c9e3..dbb764eb9a412 100644 --- a/clients/client-iot/commands/CreateThingGroupCommand.ts +++ b/clients/client-iot/commands/CreateThingGroupCommand.ts @@ -32,7 +32,6 @@ export class CreateThingGroupCommand extends $Command< CreateThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateThingTypeCommand.ts b/clients/client-iot/commands/CreateThingTypeCommand.ts index 0331ceb22e9cc..0baa6e682adf2 100644 --- a/clients/client-iot/commands/CreateThingTypeCommand.ts +++ b/clients/client-iot/commands/CreateThingTypeCommand.ts @@ -28,7 +28,6 @@ export class CreateThingTypeCommand extends $Command< CreateThingTypeCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateThingTypeCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateTopicRuleCommand.ts b/clients/client-iot/commands/CreateTopicRuleCommand.ts index 5d4e745d4116a..bf5ca24fe34a0 100644 --- a/clients/client-iot/commands/CreateTopicRuleCommand.ts +++ b/clients/client-iot/commands/CreateTopicRuleCommand.ts @@ -29,7 +29,6 @@ export class CreateTopicRuleCommand extends $Command< CreateTopicRuleCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTopicRuleCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts b/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts index 2931ba1da2dfc..f79db839a30fe 100644 --- a/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/CreateTopicRuleDestinationCommand.ts @@ -28,7 +28,6 @@ export class CreateTopicRuleDestinationCommand extends $Command< CreateTopicRuleDestinationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTopicRuleDestinationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts b/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts index 3db90ed4b6f4f..fd128264a0faf 100644 --- a/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts +++ b/clients/client-iot/commands/DeleteAccountAuditConfigurationCommand.ts @@ -30,7 +30,6 @@ export class DeleteAccountAuditConfigurationCommand extends $Command< DeleteAccountAuditConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAccountAuditConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteAuditSuppressionCommand.ts b/clients/client-iot/commands/DeleteAuditSuppressionCommand.ts index b0cbad01a76e4..2662365b3441f 100644 --- a/clients/client-iot/commands/DeleteAuditSuppressionCommand.ts +++ b/clients/client-iot/commands/DeleteAuditSuppressionCommand.ts @@ -30,7 +30,6 @@ export class DeleteAuditSuppressionCommand extends $Command< DeleteAuditSuppressionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAuditSuppressionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteAuthorizerCommand.ts b/clients/client-iot/commands/DeleteAuthorizerCommand.ts index 9ac55622062f2..bedfd4eca9a02 100644 --- a/clients/client-iot/commands/DeleteAuthorizerCommand.ts +++ b/clients/client-iot/commands/DeleteAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class DeleteAuthorizerCommand extends $Command< DeleteAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteBillingGroupCommand.ts b/clients/client-iot/commands/DeleteBillingGroupCommand.ts index b604eb16c6be1..b0a2e0c799eb3 100644 --- a/clients/client-iot/commands/DeleteBillingGroupCommand.ts +++ b/clients/client-iot/commands/DeleteBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteBillingGroupCommand extends $Command< DeleteBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteCACertificateCommand.ts b/clients/client-iot/commands/DeleteCACertificateCommand.ts index ad5b651d8de3e..5138cd60b5b16 100644 --- a/clients/client-iot/commands/DeleteCACertificateCommand.ts +++ b/clients/client-iot/commands/DeleteCACertificateCommand.ts @@ -28,7 +28,6 @@ export class DeleteCACertificateCommand extends $Command< DeleteCACertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCACertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteCertificateCommand.ts b/clients/client-iot/commands/DeleteCertificateCommand.ts index adbad77b40098..f90d2a0b08e9b 100644 --- a/clients/client-iot/commands/DeleteCertificateCommand.ts +++ b/clients/client-iot/commands/DeleteCertificateCommand.ts @@ -31,7 +31,6 @@ export class DeleteCertificateCommand extends $Command< DeleteCertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteCertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteDimensionCommand.ts b/clients/client-iot/commands/DeleteDimensionCommand.ts index 93cffc74865b1..f9eb0374d41f9 100644 --- a/clients/client-iot/commands/DeleteDimensionCommand.ts +++ b/clients/client-iot/commands/DeleteDimensionCommand.ts @@ -28,7 +28,6 @@ export class DeleteDimensionCommand extends $Command< DeleteDimensionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDimensionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts b/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts index 9a0fc4eb4f535..eebc0c4363f14 100644 --- a/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/DeleteDomainConfigurationCommand.ts @@ -31,7 +31,6 @@ export class DeleteDomainConfigurationCommand extends $Command< DeleteDomainConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDomainConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts b/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts index 7c4d20feeeb85..1823a064f5dfa 100644 --- a/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts +++ b/clients/client-iot/commands/DeleteDynamicThingGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteDynamicThingGroupCommand extends $Command< DeleteDynamicThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDynamicThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteJobCommand.ts b/clients/client-iot/commands/DeleteJobCommand.ts index e8a2ff4c7d782..61cade41af7e8 100644 --- a/clients/client-iot/commands/DeleteJobCommand.ts +++ b/clients/client-iot/commands/DeleteJobCommand.ts @@ -31,7 +31,6 @@ export type DeleteJobCommandOutput = __MetadataBearer; * a LimitExceededException will occur.

*/ export class DeleteJobCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteJobCommand 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-iot/commands/DeleteJobExecutionCommand.ts b/clients/client-iot/commands/DeleteJobExecutionCommand.ts index 935e034e4576e..d73d33d5b2d8c 100644 --- a/clients/client-iot/commands/DeleteJobExecutionCommand.ts +++ b/clients/client-iot/commands/DeleteJobExecutionCommand.ts @@ -28,7 +28,6 @@ export class DeleteJobExecutionCommand extends $Command< DeleteJobExecutionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteJobExecutionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteMitigationActionCommand.ts b/clients/client-iot/commands/DeleteMitigationActionCommand.ts index bb81fcc038565..f9743aec11a4c 100644 --- a/clients/client-iot/commands/DeleteMitigationActionCommand.ts +++ b/clients/client-iot/commands/DeleteMitigationActionCommand.ts @@ -28,7 +28,6 @@ export class DeleteMitigationActionCommand extends $Command< DeleteMitigationActionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMitigationActionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteOTAUpdateCommand.ts b/clients/client-iot/commands/DeleteOTAUpdateCommand.ts index dadb8fb66732d..c84bf45d9d9cb 100644 --- a/clients/client-iot/commands/DeleteOTAUpdateCommand.ts +++ b/clients/client-iot/commands/DeleteOTAUpdateCommand.ts @@ -28,7 +28,6 @@ export class DeleteOTAUpdateCommand extends $Command< DeleteOTAUpdateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteOTAUpdateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeletePolicyCommand.ts b/clients/client-iot/commands/DeletePolicyCommand.ts index 34cd07d879fca..cc03d85e8be03 100644 --- a/clients/client-iot/commands/DeletePolicyCommand.ts +++ b/clients/client-iot/commands/DeletePolicyCommand.ts @@ -35,7 +35,6 @@ export class DeletePolicyCommand extends $Command< DeletePolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeletePolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeletePolicyVersionCommand.ts b/clients/client-iot/commands/DeletePolicyVersionCommand.ts index 0b4572384ccab..d63889e89e8a9 100644 --- a/clients/client-iot/commands/DeletePolicyVersionCommand.ts +++ b/clients/client-iot/commands/DeletePolicyVersionCommand.ts @@ -30,7 +30,6 @@ export class DeletePolicyVersionCommand extends $Command< DeletePolicyVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeletePolicyVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts b/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts index 00d109a6d0d10..37e2ece440eff 100644 --- a/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/DeleteProvisioningTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteProvisioningTemplateCommand extends $Command< DeleteProvisioningTemplateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProvisioningTemplateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts b/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts index 47eb4bf2e0bab..1e18fc5cdd1ae 100644 --- a/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts +++ b/clients/client-iot/commands/DeleteProvisioningTemplateVersionCommand.ts @@ -32,7 +32,6 @@ export class DeleteProvisioningTemplateVersionCommand extends $Command< DeleteProvisioningTemplateVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteProvisioningTemplateVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts b/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts index 729101fe47f59..7184ecafbbb81 100644 --- a/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts +++ b/clients/client-iot/commands/DeleteRegistrationCodeCommand.ts @@ -28,7 +28,6 @@ export class DeleteRegistrationCodeCommand extends $Command< DeleteRegistrationCodeCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRegistrationCodeCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteRoleAliasCommand.ts b/clients/client-iot/commands/DeleteRoleAliasCommand.ts index 08fdfaf88149f..5649ebe10e6f6 100644 --- a/clients/client-iot/commands/DeleteRoleAliasCommand.ts +++ b/clients/client-iot/commands/DeleteRoleAliasCommand.ts @@ -28,7 +28,6 @@ export class DeleteRoleAliasCommand extends $Command< DeleteRoleAliasCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRoleAliasCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteScheduledAuditCommand.ts b/clients/client-iot/commands/DeleteScheduledAuditCommand.ts index 8c48e99b77489..d06472ae6d9e5 100644 --- a/clients/client-iot/commands/DeleteScheduledAuditCommand.ts +++ b/clients/client-iot/commands/DeleteScheduledAuditCommand.ts @@ -28,7 +28,6 @@ export class DeleteScheduledAuditCommand extends $Command< DeleteScheduledAuditCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteScheduledAuditCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteSecurityProfileCommand.ts b/clients/client-iot/commands/DeleteSecurityProfileCommand.ts index b77d7c2e56180..482b578a8eda2 100644 --- a/clients/client-iot/commands/DeleteSecurityProfileCommand.ts +++ b/clients/client-iot/commands/DeleteSecurityProfileCommand.ts @@ -28,7 +28,6 @@ export class DeleteSecurityProfileCommand extends $Command< DeleteSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteStreamCommand.ts b/clients/client-iot/commands/DeleteStreamCommand.ts index 1d474d577019e..4e3d37e5788a9 100644 --- a/clients/client-iot/commands/DeleteStreamCommand.ts +++ b/clients/client-iot/commands/DeleteStreamCommand.ts @@ -28,7 +28,6 @@ export class DeleteStreamCommand extends $Command< DeleteStreamCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteStreamCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteThingCommand.ts b/clients/client-iot/commands/DeleteThingCommand.ts index 9d641fe4f9dca..7b4f1ad7cab95 100644 --- a/clients/client-iot/commands/DeleteThingCommand.ts +++ b/clients/client-iot/commands/DeleteThingCommand.ts @@ -29,7 +29,6 @@ export class DeleteThingCommand extends $Command< DeleteThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteThingGroupCommand.ts b/clients/client-iot/commands/DeleteThingGroupCommand.ts index 3a59e7213f9e0..13b40fe908456 100644 --- a/clients/client-iot/commands/DeleteThingGroupCommand.ts +++ b/clients/client-iot/commands/DeleteThingGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteThingGroupCommand extends $Command< DeleteThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteThingTypeCommand.ts b/clients/client-iot/commands/DeleteThingTypeCommand.ts index 5f37445325942..28d33d85d0917 100644 --- a/clients/client-iot/commands/DeleteThingTypeCommand.ts +++ b/clients/client-iot/commands/DeleteThingTypeCommand.ts @@ -30,7 +30,6 @@ export class DeleteThingTypeCommand extends $Command< DeleteThingTypeCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteThingTypeCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteTopicRuleCommand.ts b/clients/client-iot/commands/DeleteTopicRuleCommand.ts index f54fcf71ca976..2540ec20df835 100644 --- a/clients/client-iot/commands/DeleteTopicRuleCommand.ts +++ b/clients/client-iot/commands/DeleteTopicRuleCommand.ts @@ -28,7 +28,6 @@ export class DeleteTopicRuleCommand extends $Command< DeleteTopicRuleCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTopicRuleCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts b/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts index 42f24c29ee5ca..ef293d5f8a3c5 100644 --- a/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/DeleteTopicRuleDestinationCommand.ts @@ -28,7 +28,6 @@ export class DeleteTopicRuleDestinationCommand extends $Command< DeleteTopicRuleDestinationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTopicRuleDestinationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts b/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts index e6000bfd1ad5f..351903ad34906 100644 --- a/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts +++ b/clients/client-iot/commands/DeleteV2LoggingLevelCommand.ts @@ -28,7 +28,6 @@ export class DeleteV2LoggingLevelCommand extends $Command< DeleteV2LoggingLevelCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteV2LoggingLevelCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DeprecateThingTypeCommand.ts b/clients/client-iot/commands/DeprecateThingTypeCommand.ts index 36e345fc7bc26..b708415491cb2 100644 --- a/clients/client-iot/commands/DeprecateThingTypeCommand.ts +++ b/clients/client-iot/commands/DeprecateThingTypeCommand.ts @@ -29,7 +29,6 @@ export class DeprecateThingTypeCommand extends $Command< DeprecateThingTypeCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeprecateThingTypeCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts b/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts index e60c6376c5655..8a59f2d2f5118 100644 --- a/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts +++ b/clients/client-iot/commands/DescribeAccountAuditConfigurationCommand.ts @@ -34,7 +34,6 @@ export class DescribeAccountAuditConfigurationCommand extends $Command< DescribeAccountAuditConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeAccountAuditConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeAuditFindingCommand.ts b/clients/client-iot/commands/DescribeAuditFindingCommand.ts index c8b4bacdd2ed6..d453d952244f3 100644 --- a/clients/client-iot/commands/DescribeAuditFindingCommand.ts +++ b/clients/client-iot/commands/DescribeAuditFindingCommand.ts @@ -28,7 +28,6 @@ export class DescribeAuditFindingCommand extends $Command< DescribeAuditFindingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAuditFindingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts b/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts index 49d1c10cbc135..d4fc14236543c 100644 --- a/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts +++ b/clients/client-iot/commands/DescribeAuditMitigationActionsTaskCommand.ts @@ -32,7 +32,6 @@ export class DescribeAuditMitigationActionsTaskCommand extends $Command< DescribeAuditMitigationActionsTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeAuditMitigationActionsTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeAuditSuppressionCommand.ts b/clients/client-iot/commands/DescribeAuditSuppressionCommand.ts index 6a6d35fdec966..f942fb7a2b835 100644 --- a/clients/client-iot/commands/DescribeAuditSuppressionCommand.ts +++ b/clients/client-iot/commands/DescribeAuditSuppressionCommand.ts @@ -30,7 +30,6 @@ export class DescribeAuditSuppressionCommand extends $Command< DescribeAuditSuppressionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAuditSuppressionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeAuditTaskCommand.ts b/clients/client-iot/commands/DescribeAuditTaskCommand.ts index 1cf6040dd50b0..8936d26c53cbb 100644 --- a/clients/client-iot/commands/DescribeAuditTaskCommand.ts +++ b/clients/client-iot/commands/DescribeAuditTaskCommand.ts @@ -29,7 +29,6 @@ export class DescribeAuditTaskCommand extends $Command< DescribeAuditTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAuditTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeAuthorizerCommand.ts b/clients/client-iot/commands/DescribeAuthorizerCommand.ts index b83e741ec726c..ca9366229671c 100644 --- a/clients/client-iot/commands/DescribeAuthorizerCommand.ts +++ b/clients/client-iot/commands/DescribeAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class DescribeAuthorizerCommand extends $Command< DescribeAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeBillingGroupCommand.ts b/clients/client-iot/commands/DescribeBillingGroupCommand.ts index 54bc952bb6b78..9f98f2052ff8e 100644 --- a/clients/client-iot/commands/DescribeBillingGroupCommand.ts +++ b/clients/client-iot/commands/DescribeBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeBillingGroupCommand extends $Command< DescribeBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeCACertificateCommand.ts b/clients/client-iot/commands/DescribeCACertificateCommand.ts index e8fda4a962c64..b5005a43ea912 100644 --- a/clients/client-iot/commands/DescribeCACertificateCommand.ts +++ b/clients/client-iot/commands/DescribeCACertificateCommand.ts @@ -28,7 +28,6 @@ export class DescribeCACertificateCommand extends $Command< DescribeCACertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCACertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeCertificateCommand.ts b/clients/client-iot/commands/DescribeCertificateCommand.ts index 5b1b30fd5b387..73e04c8423383 100644 --- a/clients/client-iot/commands/DescribeCertificateCommand.ts +++ b/clients/client-iot/commands/DescribeCertificateCommand.ts @@ -28,7 +28,6 @@ export class DescribeCertificateCommand extends $Command< DescribeCertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts b/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts index 1cec42421b7e6..ae78bc5d27873 100644 --- a/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts +++ b/clients/client-iot/commands/DescribeDefaultAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class DescribeDefaultAuthorizerCommand extends $Command< DescribeDefaultAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDefaultAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeDimensionCommand.ts b/clients/client-iot/commands/DescribeDimensionCommand.ts index bb10fc8a5ee01..fad2ea8dcf78c 100644 --- a/clients/client-iot/commands/DescribeDimensionCommand.ts +++ b/clients/client-iot/commands/DescribeDimensionCommand.ts @@ -28,7 +28,6 @@ export class DescribeDimensionCommand extends $Command< DescribeDimensionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDimensionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts b/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts index 1a8d0d149bfba..bc0f5c2d063f8 100644 --- a/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/DescribeDomainConfigurationCommand.ts @@ -31,7 +31,6 @@ export class DescribeDomainConfigurationCommand extends $Command< DescribeDomainConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeDomainConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeEndpointCommand.ts b/clients/client-iot/commands/DescribeEndpointCommand.ts index 7150f57137b80..18ad4a72f6744 100644 --- a/clients/client-iot/commands/DescribeEndpointCommand.ts +++ b/clients/client-iot/commands/DescribeEndpointCommand.ts @@ -28,7 +28,6 @@ export class DescribeEndpointCommand extends $Command< DescribeEndpointCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEndpointCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts b/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts index 9f6071fc86fba..82e9148f83e7b 100644 --- a/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts +++ b/clients/client-iot/commands/DescribeEventConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEventConfigurationsCommand extends $Command< DescribeEventConfigurationsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEventConfigurationsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeIndexCommand.ts b/clients/client-iot/commands/DescribeIndexCommand.ts index 9dc407b8380a0..dee5dd2f8ecf5 100644 --- a/clients/client-iot/commands/DescribeIndexCommand.ts +++ b/clients/client-iot/commands/DescribeIndexCommand.ts @@ -28,7 +28,6 @@ export class DescribeIndexCommand extends $Command< DescribeIndexCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeIndexCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeJobCommand.ts b/clients/client-iot/commands/DescribeJobCommand.ts index 37a8f133e483d..f36fd9f21a527 100644 --- a/clients/client-iot/commands/DescribeJobCommand.ts +++ b/clients/client-iot/commands/DescribeJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeJobCommand extends $Command< DescribeJobCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeJobCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeJobExecutionCommand.ts b/clients/client-iot/commands/DescribeJobExecutionCommand.ts index 67bf24c0f4f91..8bd37e5ccdcf6 100644 --- a/clients/client-iot/commands/DescribeJobExecutionCommand.ts +++ b/clients/client-iot/commands/DescribeJobExecutionCommand.ts @@ -28,7 +28,6 @@ export class DescribeJobExecutionCommand extends $Command< DescribeJobExecutionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeJobExecutionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeMitigationActionCommand.ts b/clients/client-iot/commands/DescribeMitigationActionCommand.ts index 4d58a9aef08e4..3628cb264a777 100644 --- a/clients/client-iot/commands/DescribeMitigationActionCommand.ts +++ b/clients/client-iot/commands/DescribeMitigationActionCommand.ts @@ -28,7 +28,6 @@ export class DescribeMitigationActionCommand extends $Command< DescribeMitigationActionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMitigationActionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts b/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts index d0c3234c6f6e7..076919a407cd3 100644 --- a/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/DescribeProvisioningTemplateCommand.ts @@ -28,7 +28,6 @@ export class DescribeProvisioningTemplateCommand extends $Command< DescribeProvisioningTemplateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProvisioningTemplateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts b/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts index 3bb998974606a..8662b7ae3ecb6 100644 --- a/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts +++ b/clients/client-iot/commands/DescribeProvisioningTemplateVersionCommand.ts @@ -32,7 +32,6 @@ export class DescribeProvisioningTemplateVersionCommand extends $Command< DescribeProvisioningTemplateVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeProvisioningTemplateVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeRoleAliasCommand.ts b/clients/client-iot/commands/DescribeRoleAliasCommand.ts index 9c2d765406fed..9b3b0675551ee 100644 --- a/clients/client-iot/commands/DescribeRoleAliasCommand.ts +++ b/clients/client-iot/commands/DescribeRoleAliasCommand.ts @@ -28,7 +28,6 @@ export class DescribeRoleAliasCommand extends $Command< DescribeRoleAliasCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRoleAliasCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeScheduledAuditCommand.ts b/clients/client-iot/commands/DescribeScheduledAuditCommand.ts index dfb615473d8e9..69be9e4d69eaa 100644 --- a/clients/client-iot/commands/DescribeScheduledAuditCommand.ts +++ b/clients/client-iot/commands/DescribeScheduledAuditCommand.ts @@ -28,7 +28,6 @@ export class DescribeScheduledAuditCommand extends $Command< DescribeScheduledAuditCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScheduledAuditCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeSecurityProfileCommand.ts b/clients/client-iot/commands/DescribeSecurityProfileCommand.ts index 5fca2bc5f9734..2e86037cb512b 100644 --- a/clients/client-iot/commands/DescribeSecurityProfileCommand.ts +++ b/clients/client-iot/commands/DescribeSecurityProfileCommand.ts @@ -28,7 +28,6 @@ export class DescribeSecurityProfileCommand extends $Command< DescribeSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeStreamCommand.ts b/clients/client-iot/commands/DescribeStreamCommand.ts index 23d1bf2badb81..1060865e2ed62 100644 --- a/clients/client-iot/commands/DescribeStreamCommand.ts +++ b/clients/client-iot/commands/DescribeStreamCommand.ts @@ -28,7 +28,6 @@ export class DescribeStreamCommand extends $Command< DescribeStreamCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStreamCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeThingCommand.ts b/clients/client-iot/commands/DescribeThingCommand.ts index 6286ca3324f8b..eb45c9dd9bdc5 100644 --- a/clients/client-iot/commands/DescribeThingCommand.ts +++ b/clients/client-iot/commands/DescribeThingCommand.ts @@ -28,7 +28,6 @@ export class DescribeThingCommand extends $Command< DescribeThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeThingGroupCommand.ts b/clients/client-iot/commands/DescribeThingGroupCommand.ts index cdbf9ef632dff..19d71d5486da5 100644 --- a/clients/client-iot/commands/DescribeThingGroupCommand.ts +++ b/clients/client-iot/commands/DescribeThingGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeThingGroupCommand extends $Command< DescribeThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts b/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts index 71d7f08e6d072..96469ec111472 100644 --- a/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts +++ b/clients/client-iot/commands/DescribeThingRegistrationTaskCommand.ts @@ -28,7 +28,6 @@ export class DescribeThingRegistrationTaskCommand extends $Command< DescribeThingRegistrationTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThingRegistrationTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DescribeThingTypeCommand.ts b/clients/client-iot/commands/DescribeThingTypeCommand.ts index a223212935c9d..bb932f1488acd 100644 --- a/clients/client-iot/commands/DescribeThingTypeCommand.ts +++ b/clients/client-iot/commands/DescribeThingTypeCommand.ts @@ -28,7 +28,6 @@ export class DescribeThingTypeCommand extends $Command< DescribeThingTypeCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThingTypeCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DetachPolicyCommand.ts b/clients/client-iot/commands/DetachPolicyCommand.ts index ed60b3de41995..b9b2b13debb40 100644 --- a/clients/client-iot/commands/DetachPolicyCommand.ts +++ b/clients/client-iot/commands/DetachPolicyCommand.ts @@ -28,7 +28,6 @@ export class DetachPolicyCommand extends $Command< DetachPolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachPolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts b/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts index 7fff4d9350033..bf55d028421be 100644 --- a/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts +++ b/clients/client-iot/commands/DetachPrincipalPolicyCommand.ts @@ -32,7 +32,6 @@ export class DetachPrincipalPolicyCommand extends $Command< DetachPrincipalPolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DetachPrincipalPolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DetachSecurityProfileCommand.ts b/clients/client-iot/commands/DetachSecurityProfileCommand.ts index c495a728746e1..09eb21253e459 100644 --- a/clients/client-iot/commands/DetachSecurityProfileCommand.ts +++ b/clients/client-iot/commands/DetachSecurityProfileCommand.ts @@ -28,7 +28,6 @@ export class DetachSecurityProfileCommand extends $Command< DetachSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DetachThingPrincipalCommand.ts b/clients/client-iot/commands/DetachThingPrincipalCommand.ts index 37339ea995f94..a686fc9bf4b1f 100644 --- a/clients/client-iot/commands/DetachThingPrincipalCommand.ts +++ b/clients/client-iot/commands/DetachThingPrincipalCommand.ts @@ -34,7 +34,6 @@ export class DetachThingPrincipalCommand extends $Command< DetachThingPrincipalCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DetachThingPrincipalCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/DisableTopicRuleCommand.ts b/clients/client-iot/commands/DisableTopicRuleCommand.ts index 041737e2d9307..7c144b34d3e25 100644 --- a/clients/client-iot/commands/DisableTopicRuleCommand.ts +++ b/clients/client-iot/commands/DisableTopicRuleCommand.ts @@ -28,7 +28,6 @@ export class DisableTopicRuleCommand extends $Command< DisableTopicRuleCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableTopicRuleCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/EnableTopicRuleCommand.ts b/clients/client-iot/commands/EnableTopicRuleCommand.ts index ba669cf1f7100..ec741109e899a 100644 --- a/clients/client-iot/commands/EnableTopicRuleCommand.ts +++ b/clients/client-iot/commands/EnableTopicRuleCommand.ts @@ -28,7 +28,6 @@ export class EnableTopicRuleCommand extends $Command< EnableTopicRuleCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableTopicRuleCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetCardinalityCommand.ts b/clients/client-iot/commands/GetCardinalityCommand.ts index 3ab53767cdbee..8ef3b1fb66383 100644 --- a/clients/client-iot/commands/GetCardinalityCommand.ts +++ b/clients/client-iot/commands/GetCardinalityCommand.ts @@ -28,7 +28,6 @@ export class GetCardinalityCommand extends $Command< GetCardinalityCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCardinalityCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetEffectivePoliciesCommand.ts b/clients/client-iot/commands/GetEffectivePoliciesCommand.ts index 22bc4271a651f..4187d6ea31b17 100644 --- a/clients/client-iot/commands/GetEffectivePoliciesCommand.ts +++ b/clients/client-iot/commands/GetEffectivePoliciesCommand.ts @@ -29,7 +29,6 @@ export class GetEffectivePoliciesCommand extends $Command< GetEffectivePoliciesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetEffectivePoliciesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetIndexingConfigurationCommand.ts b/clients/client-iot/commands/GetIndexingConfigurationCommand.ts index 8d3aac0c97e2a..dcaa9f3851c67 100644 --- a/clients/client-iot/commands/GetIndexingConfigurationCommand.ts +++ b/clients/client-iot/commands/GetIndexingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetIndexingConfigurationCommand extends $Command< GetIndexingConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetIndexingConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetJobDocumentCommand.ts b/clients/client-iot/commands/GetJobDocumentCommand.ts index cea3db58eab6c..d751b4f0a381e 100644 --- a/clients/client-iot/commands/GetJobDocumentCommand.ts +++ b/clients/client-iot/commands/GetJobDocumentCommand.ts @@ -28,7 +28,6 @@ export class GetJobDocumentCommand extends $Command< GetJobDocumentCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetJobDocumentCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetLoggingOptionsCommand.ts b/clients/client-iot/commands/GetLoggingOptionsCommand.ts index 0414c2cc0c50b..36f7fc414c0f1 100644 --- a/clients/client-iot/commands/GetLoggingOptionsCommand.ts +++ b/clients/client-iot/commands/GetLoggingOptionsCommand.ts @@ -30,7 +30,6 @@ export class GetLoggingOptionsCommand extends $Command< GetLoggingOptionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetLoggingOptionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetOTAUpdateCommand.ts b/clients/client-iot/commands/GetOTAUpdateCommand.ts index f380d8f5d5ed3..dee969d0be74f 100644 --- a/clients/client-iot/commands/GetOTAUpdateCommand.ts +++ b/clients/client-iot/commands/GetOTAUpdateCommand.ts @@ -28,7 +28,6 @@ export class GetOTAUpdateCommand extends $Command< GetOTAUpdateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOTAUpdateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetPercentilesCommand.ts b/clients/client-iot/commands/GetPercentilesCommand.ts index 488bc3c105baa..a48bd5a55ad96 100644 --- a/clients/client-iot/commands/GetPercentilesCommand.ts +++ b/clients/client-iot/commands/GetPercentilesCommand.ts @@ -36,7 +36,6 @@ export class GetPercentilesCommand extends $Command< GetPercentilesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetPercentilesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetPolicyCommand.ts b/clients/client-iot/commands/GetPolicyCommand.ts index 5ec660be09ef7..ab830f4c255d2 100644 --- a/clients/client-iot/commands/GetPolicyCommand.ts +++ b/clients/client-iot/commands/GetPolicyCommand.ts @@ -25,7 +25,6 @@ export type GetPolicyCommandOutput = GetPolicyResponse & __MetadataBearer; * version.

*/ export class GetPolicyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetPolicyCommand 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-iot/commands/GetPolicyVersionCommand.ts b/clients/client-iot/commands/GetPolicyVersionCommand.ts index 7b3eaeaa6fd85..ca4b3a114fb3e 100644 --- a/clients/client-iot/commands/GetPolicyVersionCommand.ts +++ b/clients/client-iot/commands/GetPolicyVersionCommand.ts @@ -28,7 +28,6 @@ export class GetPolicyVersionCommand extends $Command< GetPolicyVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPolicyVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetRegistrationCodeCommand.ts b/clients/client-iot/commands/GetRegistrationCodeCommand.ts index 9ee4eb7826b54..85501b0e51cc2 100644 --- a/clients/client-iot/commands/GetRegistrationCodeCommand.ts +++ b/clients/client-iot/commands/GetRegistrationCodeCommand.ts @@ -28,7 +28,6 @@ export class GetRegistrationCodeCommand extends $Command< GetRegistrationCodeCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRegistrationCodeCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetStatisticsCommand.ts b/clients/client-iot/commands/GetStatisticsCommand.ts index 38f82ed77ef75..3f719872a799e 100644 --- a/clients/client-iot/commands/GetStatisticsCommand.ts +++ b/clients/client-iot/commands/GetStatisticsCommand.ts @@ -30,7 +30,6 @@ export class GetStatisticsCommand extends $Command< GetStatisticsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetStatisticsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetTopicRuleCommand.ts b/clients/client-iot/commands/GetTopicRuleCommand.ts index 645628fea8191..5ce6f426e476d 100644 --- a/clients/client-iot/commands/GetTopicRuleCommand.ts +++ b/clients/client-iot/commands/GetTopicRuleCommand.ts @@ -28,7 +28,6 @@ export class GetTopicRuleCommand extends $Command< GetTopicRuleCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTopicRuleCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts b/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts index ec0b596d8d300..148d9c5ea679b 100644 --- a/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/GetTopicRuleDestinationCommand.ts @@ -28,7 +28,6 @@ export class GetTopicRuleDestinationCommand extends $Command< GetTopicRuleDestinationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTopicRuleDestinationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts b/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts index 4933dd721516e..11ae212e3d309 100644 --- a/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts +++ b/clients/client-iot/commands/GetV2LoggingOptionsCommand.ts @@ -28,7 +28,6 @@ export class GetV2LoggingOptionsCommand extends $Command< GetV2LoggingOptionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetV2LoggingOptionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListActiveViolationsCommand.ts b/clients/client-iot/commands/ListActiveViolationsCommand.ts index 47a244ca819a4..b4768557bbd21 100644 --- a/clients/client-iot/commands/ListActiveViolationsCommand.ts +++ b/clients/client-iot/commands/ListActiveViolationsCommand.ts @@ -28,7 +28,6 @@ export class ListActiveViolationsCommand extends $Command< ListActiveViolationsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListActiveViolationsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAttachedPoliciesCommand.ts b/clients/client-iot/commands/ListAttachedPoliciesCommand.ts index 81767a0352590..b35c76feab32e 100644 --- a/clients/client-iot/commands/ListAttachedPoliciesCommand.ts +++ b/clients/client-iot/commands/ListAttachedPoliciesCommand.ts @@ -28,7 +28,6 @@ export class ListAttachedPoliciesCommand extends $Command< ListAttachedPoliciesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAttachedPoliciesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAuditFindingsCommand.ts b/clients/client-iot/commands/ListAuditFindingsCommand.ts index 691d103558652..78319de50ab4c 100644 --- a/clients/client-iot/commands/ListAuditFindingsCommand.ts +++ b/clients/client-iot/commands/ListAuditFindingsCommand.ts @@ -29,7 +29,6 @@ export class ListAuditFindingsCommand extends $Command< ListAuditFindingsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAuditFindingsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts b/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts index ea6f0135640bc..56272d679f660 100644 --- a/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts +++ b/clients/client-iot/commands/ListAuditMitigationActionsExecutionsCommand.ts @@ -32,7 +32,6 @@ export class ListAuditMitigationActionsExecutionsCommand extends $Command< ListAuditMitigationActionsExecutionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListAuditMitigationActionsExecutionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts b/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts index be99fa25b46a2..070ffd377bc16 100644 --- a/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts +++ b/clients/client-iot/commands/ListAuditMitigationActionsTasksCommand.ts @@ -28,7 +28,6 @@ export class ListAuditMitigationActionsTasksCommand extends $Command< ListAuditMitigationActionsTasksCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAuditMitigationActionsTasksCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAuditSuppressionsCommand.ts b/clients/client-iot/commands/ListAuditSuppressionsCommand.ts index a79306b17836a..27d6a5ac91d64 100644 --- a/clients/client-iot/commands/ListAuditSuppressionsCommand.ts +++ b/clients/client-iot/commands/ListAuditSuppressionsCommand.ts @@ -30,7 +30,6 @@ export class ListAuditSuppressionsCommand extends $Command< ListAuditSuppressionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAuditSuppressionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAuditTasksCommand.ts b/clients/client-iot/commands/ListAuditTasksCommand.ts index 13d10bc1f8bc2..18f032ba30e5a 100644 --- a/clients/client-iot/commands/ListAuditTasksCommand.ts +++ b/clients/client-iot/commands/ListAuditTasksCommand.ts @@ -29,7 +29,6 @@ export class ListAuditTasksCommand extends $Command< ListAuditTasksCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAuditTasksCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListAuthorizersCommand.ts b/clients/client-iot/commands/ListAuthorizersCommand.ts index 5238a78a0397a..85bbf355e64b5 100644 --- a/clients/client-iot/commands/ListAuthorizersCommand.ts +++ b/clients/client-iot/commands/ListAuthorizersCommand.ts @@ -28,7 +28,6 @@ export class ListAuthorizersCommand extends $Command< ListAuthorizersCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAuthorizersCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListBillingGroupsCommand.ts b/clients/client-iot/commands/ListBillingGroupsCommand.ts index 6f3c731f93695..3ab6bea27be80 100644 --- a/clients/client-iot/commands/ListBillingGroupsCommand.ts +++ b/clients/client-iot/commands/ListBillingGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListBillingGroupsCommand extends $Command< ListBillingGroupsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBillingGroupsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListCACertificatesCommand.ts b/clients/client-iot/commands/ListCACertificatesCommand.ts index 989c2f2b86a61..0c250c451f777 100644 --- a/clients/client-iot/commands/ListCACertificatesCommand.ts +++ b/clients/client-iot/commands/ListCACertificatesCommand.ts @@ -30,7 +30,6 @@ export class ListCACertificatesCommand extends $Command< ListCACertificatesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListCACertificatesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListCertificatesByCACommand.ts b/clients/client-iot/commands/ListCertificatesByCACommand.ts index 4089314883214..a886695f7d1d9 100644 --- a/clients/client-iot/commands/ListCertificatesByCACommand.ts +++ b/clients/client-iot/commands/ListCertificatesByCACommand.ts @@ -28,7 +28,6 @@ export class ListCertificatesByCACommand extends $Command< ListCertificatesByCACommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCertificatesByCACommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListCertificatesCommand.ts b/clients/client-iot/commands/ListCertificatesCommand.ts index 50903cf6eae55..92e8cb6f3b8c3 100644 --- a/clients/client-iot/commands/ListCertificatesCommand.ts +++ b/clients/client-iot/commands/ListCertificatesCommand.ts @@ -30,7 +30,6 @@ export class ListCertificatesCommand extends $Command< ListCertificatesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListCertificatesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListDimensionsCommand.ts b/clients/client-iot/commands/ListDimensionsCommand.ts index 7aa06515841e9..2b2f06cf37c7c 100644 --- a/clients/client-iot/commands/ListDimensionsCommand.ts +++ b/clients/client-iot/commands/ListDimensionsCommand.ts @@ -28,7 +28,6 @@ export class ListDimensionsCommand extends $Command< ListDimensionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDimensionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListDomainConfigurationsCommand.ts b/clients/client-iot/commands/ListDomainConfigurationsCommand.ts index 966f26cc0d229..37c00f26d9e14 100644 --- a/clients/client-iot/commands/ListDomainConfigurationsCommand.ts +++ b/clients/client-iot/commands/ListDomainConfigurationsCommand.ts @@ -31,7 +31,6 @@ export class ListDomainConfigurationsCommand extends $Command< ListDomainConfigurationsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListDomainConfigurationsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListIndicesCommand.ts b/clients/client-iot/commands/ListIndicesCommand.ts index 715f37da46bb7..0957cbf7c1027 100644 --- a/clients/client-iot/commands/ListIndicesCommand.ts +++ b/clients/client-iot/commands/ListIndicesCommand.ts @@ -28,7 +28,6 @@ export class ListIndicesCommand extends $Command< ListIndicesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIndicesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts b/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts index 841103bbf1c7d..622f15e0cdaa3 100644 --- a/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts +++ b/clients/client-iot/commands/ListJobExecutionsForJobCommand.ts @@ -28,7 +28,6 @@ export class ListJobExecutionsForJobCommand extends $Command< ListJobExecutionsForJobCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobExecutionsForJobCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts b/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts index aeaa7660efc0b..c39455be4d1ce 100644 --- a/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts +++ b/clients/client-iot/commands/ListJobExecutionsForThingCommand.ts @@ -28,7 +28,6 @@ export class ListJobExecutionsForThingCommand extends $Command< ListJobExecutionsForThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobExecutionsForThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListJobsCommand.ts b/clients/client-iot/commands/ListJobsCommand.ts index 6a33c0d237175..6b75ccf386fe6 100644 --- a/clients/client-iot/commands/ListJobsCommand.ts +++ b/clients/client-iot/commands/ListJobsCommand.ts @@ -24,7 +24,6 @@ export type ListJobsCommandOutput = ListJobsResponse & __MetadataBearer; *

Lists jobs.

*/ export class ListJobsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class ListJobsCommand 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-iot/commands/ListMitigationActionsCommand.ts b/clients/client-iot/commands/ListMitigationActionsCommand.ts index cef37e3e169a5..55565f4c0ca2b 100644 --- a/clients/client-iot/commands/ListMitigationActionsCommand.ts +++ b/clients/client-iot/commands/ListMitigationActionsCommand.ts @@ -28,7 +28,6 @@ export class ListMitigationActionsCommand extends $Command< ListMitigationActionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMitigationActionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListOTAUpdatesCommand.ts b/clients/client-iot/commands/ListOTAUpdatesCommand.ts index 7fca34818b34c..7970187dafb3f 100644 --- a/clients/client-iot/commands/ListOTAUpdatesCommand.ts +++ b/clients/client-iot/commands/ListOTAUpdatesCommand.ts @@ -28,7 +28,6 @@ export class ListOTAUpdatesCommand extends $Command< ListOTAUpdatesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOTAUpdatesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts b/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts index 284cb2c9a9689..f90246b909084 100644 --- a/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts +++ b/clients/client-iot/commands/ListOutgoingCertificatesCommand.ts @@ -28,7 +28,6 @@ export class ListOutgoingCertificatesCommand extends $Command< ListOutgoingCertificatesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOutgoingCertificatesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListPoliciesCommand.ts b/clients/client-iot/commands/ListPoliciesCommand.ts index d4b9063667f80..361b00d612841 100644 --- a/clients/client-iot/commands/ListPoliciesCommand.ts +++ b/clients/client-iot/commands/ListPoliciesCommand.ts @@ -28,7 +28,6 @@ export class ListPoliciesCommand extends $Command< ListPoliciesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPoliciesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts b/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts index f600499355756..62fd53724b6bf 100644 --- a/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts +++ b/clients/client-iot/commands/ListPolicyPrincipalsCommand.ts @@ -32,7 +32,6 @@ export class ListPolicyPrincipalsCommand extends $Command< ListPolicyPrincipalsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPolicyPrincipalsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListPolicyVersionsCommand.ts b/clients/client-iot/commands/ListPolicyVersionsCommand.ts index 0ee1d4d01333c..f85a77b332e57 100644 --- a/clients/client-iot/commands/ListPolicyVersionsCommand.ts +++ b/clients/client-iot/commands/ListPolicyVersionsCommand.ts @@ -29,7 +29,6 @@ export class ListPolicyVersionsCommand extends $Command< ListPolicyVersionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPolicyVersionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts b/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts index 1cf69403b88d3..08c822b622507 100644 --- a/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts +++ b/clients/client-iot/commands/ListPrincipalPoliciesCommand.ts @@ -33,7 +33,6 @@ export class ListPrincipalPoliciesCommand extends $Command< ListPrincipalPoliciesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListPrincipalPoliciesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListPrincipalThingsCommand.ts b/clients/client-iot/commands/ListPrincipalThingsCommand.ts index d9132561d824d..917a6e06c84e3 100644 --- a/clients/client-iot/commands/ListPrincipalThingsCommand.ts +++ b/clients/client-iot/commands/ListPrincipalThingsCommand.ts @@ -30,7 +30,6 @@ export class ListPrincipalThingsCommand extends $Command< ListPrincipalThingsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListPrincipalThingsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts b/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts index 5a708216496a9..e82e5fc22ec53 100644 --- a/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts +++ b/clients/client-iot/commands/ListProvisioningTemplateVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListProvisioningTemplateVersionsCommand extends $Command< ListProvisioningTemplateVersionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProvisioningTemplateVersionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts b/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts index 56ea975a141d2..47e24206556c1 100644 --- a/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts +++ b/clients/client-iot/commands/ListProvisioningTemplatesCommand.ts @@ -28,7 +28,6 @@ export class ListProvisioningTemplatesCommand extends $Command< ListProvisioningTemplatesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProvisioningTemplatesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListRoleAliasesCommand.ts b/clients/client-iot/commands/ListRoleAliasesCommand.ts index 328bd0738a829..db3f7f5fef374 100644 --- a/clients/client-iot/commands/ListRoleAliasesCommand.ts +++ b/clients/client-iot/commands/ListRoleAliasesCommand.ts @@ -28,7 +28,6 @@ export class ListRoleAliasesCommand extends $Command< ListRoleAliasesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRoleAliasesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListScheduledAuditsCommand.ts b/clients/client-iot/commands/ListScheduledAuditsCommand.ts index e506b4a9a21b1..b8b6403dea165 100644 --- a/clients/client-iot/commands/ListScheduledAuditsCommand.ts +++ b/clients/client-iot/commands/ListScheduledAuditsCommand.ts @@ -28,7 +28,6 @@ export class ListScheduledAuditsCommand extends $Command< ListScheduledAuditsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListScheduledAuditsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListSecurityProfilesCommand.ts b/clients/client-iot/commands/ListSecurityProfilesCommand.ts index b0b8dc31bbdb9..3f3840af87aa1 100644 --- a/clients/client-iot/commands/ListSecurityProfilesCommand.ts +++ b/clients/client-iot/commands/ListSecurityProfilesCommand.ts @@ -29,7 +29,6 @@ export class ListSecurityProfilesCommand extends $Command< ListSecurityProfilesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSecurityProfilesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts b/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts index 4ec2043bce54d..af6d2ce4bd1d9 100644 --- a/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts +++ b/clients/client-iot/commands/ListSecurityProfilesForTargetCommand.ts @@ -28,7 +28,6 @@ export class ListSecurityProfilesForTargetCommand extends $Command< ListSecurityProfilesForTargetCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSecurityProfilesForTargetCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListStreamsCommand.ts b/clients/client-iot/commands/ListStreamsCommand.ts index 1327a06fd92d3..cc8e3d9564b39 100644 --- a/clients/client-iot/commands/ListStreamsCommand.ts +++ b/clients/client-iot/commands/ListStreamsCommand.ts @@ -28,7 +28,6 @@ export class ListStreamsCommand extends $Command< ListStreamsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListStreamsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListTagsForResourceCommand.ts b/clients/client-iot/commands/ListTagsForResourceCommand.ts index bc3d9f7e2f6d9..8a691c8b5572e 100644 --- a/clients/client-iot/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iot/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListTargetsForPolicyCommand.ts b/clients/client-iot/commands/ListTargetsForPolicyCommand.ts index c952d8985af36..496441e12a73b 100644 --- a/clients/client-iot/commands/ListTargetsForPolicyCommand.ts +++ b/clients/client-iot/commands/ListTargetsForPolicyCommand.ts @@ -28,7 +28,6 @@ export class ListTargetsForPolicyCommand extends $Command< ListTargetsForPolicyCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTargetsForPolicyCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts b/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts index fa7780e1a9fa7..b42586c4b573a 100644 --- a/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts +++ b/clients/client-iot/commands/ListTargetsForSecurityProfileCommand.ts @@ -28,7 +28,6 @@ export class ListTargetsForSecurityProfileCommand extends $Command< ListTargetsForSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTargetsForSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingGroupsCommand.ts b/clients/client-iot/commands/ListThingGroupsCommand.ts index 8629a80d54e96..adeee29525f7b 100644 --- a/clients/client-iot/commands/ListThingGroupsCommand.ts +++ b/clients/client-iot/commands/ListThingGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListThingGroupsCommand extends $Command< ListThingGroupsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingGroupsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingGroupsForThingCommand.ts b/clients/client-iot/commands/ListThingGroupsForThingCommand.ts index 616c9a6a9cb6b..e46721124aba1 100644 --- a/clients/client-iot/commands/ListThingGroupsForThingCommand.ts +++ b/clients/client-iot/commands/ListThingGroupsForThingCommand.ts @@ -28,7 +28,6 @@ export class ListThingGroupsForThingCommand extends $Command< ListThingGroupsForThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingGroupsForThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingPrincipalsCommand.ts b/clients/client-iot/commands/ListThingPrincipalsCommand.ts index 9ee9a7748461d..9841dc801d421 100644 --- a/clients/client-iot/commands/ListThingPrincipalsCommand.ts +++ b/clients/client-iot/commands/ListThingPrincipalsCommand.ts @@ -30,7 +30,6 @@ export class ListThingPrincipalsCommand extends $Command< ListThingPrincipalsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListThingPrincipalsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts b/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts index 9839c87668d77..7eb15a03de614 100644 --- a/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts +++ b/clients/client-iot/commands/ListThingRegistrationTaskReportsCommand.ts @@ -28,7 +28,6 @@ export class ListThingRegistrationTaskReportsCommand extends $Command< ListThingRegistrationTaskReportsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingRegistrationTaskReportsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts b/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts index ae8cd0dc55495..49e0183822168 100644 --- a/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts +++ b/clients/client-iot/commands/ListThingRegistrationTasksCommand.ts @@ -28,7 +28,6 @@ export class ListThingRegistrationTasksCommand extends $Command< ListThingRegistrationTasksCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingRegistrationTasksCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingTypesCommand.ts b/clients/client-iot/commands/ListThingTypesCommand.ts index a96b030088da3..a88614b8954d9 100644 --- a/clients/client-iot/commands/ListThingTypesCommand.ts +++ b/clients/client-iot/commands/ListThingTypesCommand.ts @@ -28,7 +28,6 @@ export class ListThingTypesCommand extends $Command< ListThingTypesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingTypesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingsCommand.ts b/clients/client-iot/commands/ListThingsCommand.ts index ac716b6426f29..8d3bce300fd23 100644 --- a/clients/client-iot/commands/ListThingsCommand.ts +++ b/clients/client-iot/commands/ListThingsCommand.ts @@ -35,7 +35,6 @@ export class ListThingsCommand extends $Command< ListThingsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListThingsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts b/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts index ace7d4bf6c324..ec9b407b90d63 100644 --- a/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts +++ b/clients/client-iot/commands/ListThingsInBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class ListThingsInBillingGroupCommand extends $Command< ListThingsInBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingsInBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListThingsInThingGroupCommand.ts b/clients/client-iot/commands/ListThingsInThingGroupCommand.ts index baf914b6a75e4..86e288ec3d163 100644 --- a/clients/client-iot/commands/ListThingsInThingGroupCommand.ts +++ b/clients/client-iot/commands/ListThingsInThingGroupCommand.ts @@ -28,7 +28,6 @@ export class ListThingsInThingGroupCommand extends $Command< ListThingsInThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThingsInThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts b/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts index d0eac62aaf581..8154cca1a523b 100644 --- a/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts +++ b/clients/client-iot/commands/ListTopicRuleDestinationsCommand.ts @@ -28,7 +28,6 @@ export class ListTopicRuleDestinationsCommand extends $Command< ListTopicRuleDestinationsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTopicRuleDestinationsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListTopicRulesCommand.ts b/clients/client-iot/commands/ListTopicRulesCommand.ts index 40b7292a6cf62..c51285a068ca6 100644 --- a/clients/client-iot/commands/ListTopicRulesCommand.ts +++ b/clients/client-iot/commands/ListTopicRulesCommand.ts @@ -28,7 +28,6 @@ export class ListTopicRulesCommand extends $Command< ListTopicRulesCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTopicRulesCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts b/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts index ec97a89ebfca1..1900b8a5a4334 100644 --- a/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts +++ b/clients/client-iot/commands/ListV2LoggingLevelsCommand.ts @@ -28,7 +28,6 @@ export class ListV2LoggingLevelsCommand extends $Command< ListV2LoggingLevelsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListV2LoggingLevelsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ListViolationEventsCommand.ts b/clients/client-iot/commands/ListViolationEventsCommand.ts index 25a907477c165..5b1fa857c5a29 100644 --- a/clients/client-iot/commands/ListViolationEventsCommand.ts +++ b/clients/client-iot/commands/ListViolationEventsCommand.ts @@ -30,7 +30,6 @@ export class ListViolationEventsCommand extends $Command< ListViolationEventsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListViolationEventsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RegisterCACertificateCommand.ts b/clients/client-iot/commands/RegisterCACertificateCommand.ts index 897339cad974c..1e842ec079daa 100644 --- a/clients/client-iot/commands/RegisterCACertificateCommand.ts +++ b/clients/client-iot/commands/RegisterCACertificateCommand.ts @@ -33,7 +33,6 @@ export class RegisterCACertificateCommand extends $Command< RegisterCACertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RegisterCACertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RegisterCertificateCommand.ts b/clients/client-iot/commands/RegisterCertificateCommand.ts index f3d47f08baad0..a2b40cd2312e3 100644 --- a/clients/client-iot/commands/RegisterCertificateCommand.ts +++ b/clients/client-iot/commands/RegisterCertificateCommand.ts @@ -30,7 +30,6 @@ export class RegisterCertificateCommand extends $Command< RegisterCertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RegisterCertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RegisterCertificateWithoutCACommand.ts b/clients/client-iot/commands/RegisterCertificateWithoutCACommand.ts index 098cee140f973..c3dde1829db5d 100644 --- a/clients/client-iot/commands/RegisterCertificateWithoutCACommand.ts +++ b/clients/client-iot/commands/RegisterCertificateWithoutCACommand.ts @@ -28,7 +28,6 @@ export class RegisterCertificateWithoutCACommand extends $Command< RegisterCertificateWithoutCACommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterCertificateWithoutCACommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RegisterThingCommand.ts b/clients/client-iot/commands/RegisterThingCommand.ts index fcac4a823e602..ad2cdfb7b8039 100644 --- a/clients/client-iot/commands/RegisterThingCommand.ts +++ b/clients/client-iot/commands/RegisterThingCommand.ts @@ -31,7 +31,6 @@ export class RegisterThingCommand extends $Command< RegisterThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RegisterThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RejectCertificateTransferCommand.ts b/clients/client-iot/commands/RejectCertificateTransferCommand.ts index 56dbb5b5b1f8a..5cc35adceaf8d 100644 --- a/clients/client-iot/commands/RejectCertificateTransferCommand.ts +++ b/clients/client-iot/commands/RejectCertificateTransferCommand.ts @@ -34,7 +34,6 @@ export class RejectCertificateTransferCommand extends $Command< RejectCertificateTransferCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RejectCertificateTransferCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts b/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts index 278a650d3e197..c6a319afba5b3 100644 --- a/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts +++ b/clients/client-iot/commands/RemoveThingFromBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class RemoveThingFromBillingGroupCommand extends $Command< RemoveThingFromBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveThingFromBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts b/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts index 0863b8d359d40..c1e4f3f9e600b 100644 --- a/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts +++ b/clients/client-iot/commands/RemoveThingFromThingGroupCommand.ts @@ -33,7 +33,6 @@ export class RemoveThingFromThingGroupCommand extends $Command< RemoveThingFromThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RemoveThingFromThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ReplaceTopicRuleCommand.ts b/clients/client-iot/commands/ReplaceTopicRuleCommand.ts index be97d42fd3c7f..25560cbc2728c 100644 --- a/clients/client-iot/commands/ReplaceTopicRuleCommand.ts +++ b/clients/client-iot/commands/ReplaceTopicRuleCommand.ts @@ -30,7 +30,6 @@ export class ReplaceTopicRuleCommand extends $Command< ReplaceTopicRuleCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ReplaceTopicRuleCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/SearchIndexCommand.ts b/clients/client-iot/commands/SearchIndexCommand.ts index 7018e77935b9d..d9ce22e16ff30 100644 --- a/clients/client-iot/commands/SearchIndexCommand.ts +++ b/clients/client-iot/commands/SearchIndexCommand.ts @@ -28,7 +28,6 @@ export class SearchIndexCommand extends $Command< SearchIndexCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchIndexCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts b/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts index d137c9d357e5c..1772bfa9eb769 100644 --- a/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts +++ b/clients/client-iot/commands/SetDefaultAuthorizerCommand.ts @@ -29,7 +29,6 @@ export class SetDefaultAuthorizerCommand extends $Command< SetDefaultAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SetDefaultAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts b/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts index fa80bbea2296c..9a6bcabbada17 100644 --- a/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts +++ b/clients/client-iot/commands/SetDefaultPolicyVersionCommand.ts @@ -31,7 +31,6 @@ export class SetDefaultPolicyVersionCommand extends $Command< SetDefaultPolicyVersionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class SetDefaultPolicyVersionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/SetLoggingOptionsCommand.ts b/clients/client-iot/commands/SetLoggingOptionsCommand.ts index aa235996298c1..daf5966aa25c3 100644 --- a/clients/client-iot/commands/SetLoggingOptionsCommand.ts +++ b/clients/client-iot/commands/SetLoggingOptionsCommand.ts @@ -30,7 +30,6 @@ export class SetLoggingOptionsCommand extends $Command< SetLoggingOptionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetLoggingOptionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/SetV2LoggingLevelCommand.ts b/clients/client-iot/commands/SetV2LoggingLevelCommand.ts index f96730e02395f..93ccc7905a54e 100644 --- a/clients/client-iot/commands/SetV2LoggingLevelCommand.ts +++ b/clients/client-iot/commands/SetV2LoggingLevelCommand.ts @@ -28,7 +28,6 @@ export class SetV2LoggingLevelCommand extends $Command< SetV2LoggingLevelCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SetV2LoggingLevelCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts b/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts index 863d0816eb94e..c43ff85f9c227 100644 --- a/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts +++ b/clients/client-iot/commands/SetV2LoggingOptionsCommand.ts @@ -28,7 +28,6 @@ export class SetV2LoggingOptionsCommand extends $Command< SetV2LoggingOptionsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SetV2LoggingOptionsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts b/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts index beba19d22ed04..aba9c6c915af0 100644 --- a/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts +++ b/clients/client-iot/commands/StartAuditMitigationActionsTaskCommand.ts @@ -28,7 +28,6 @@ export class StartAuditMitigationActionsTaskCommand extends $Command< StartAuditMitigationActionsTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartAuditMitigationActionsTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts b/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts index 448b8840e9934..cdc7ddcc84944 100644 --- a/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts +++ b/clients/client-iot/commands/StartOnDemandAuditTaskCommand.ts @@ -28,7 +28,6 @@ export class StartOnDemandAuditTaskCommand extends $Command< StartOnDemandAuditTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartOnDemandAuditTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts b/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts index 37d8c7bb6ae93..29c52bd49d14b 100644 --- a/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts +++ b/clients/client-iot/commands/StartThingRegistrationTaskCommand.ts @@ -28,7 +28,6 @@ export class StartThingRegistrationTaskCommand extends $Command< StartThingRegistrationTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartThingRegistrationTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts b/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts index 32b40e5024d18..d42cbaf94be28 100644 --- a/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts +++ b/clients/client-iot/commands/StopThingRegistrationTaskCommand.ts @@ -28,7 +28,6 @@ export class StopThingRegistrationTaskCommand extends $Command< StopThingRegistrationTaskCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopThingRegistrationTaskCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/TagResourceCommand.ts b/clients/client-iot/commands/TagResourceCommand.ts index bea565eeb9e03..f67b9a350f4c6 100644 --- a/clients/client-iot/commands/TagResourceCommand.ts +++ b/clients/client-iot/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/TestAuthorizationCommand.ts b/clients/client-iot/commands/TestAuthorizationCommand.ts index ca85585f72c67..535988387916d 100644 --- a/clients/client-iot/commands/TestAuthorizationCommand.ts +++ b/clients/client-iot/commands/TestAuthorizationCommand.ts @@ -30,7 +30,6 @@ export class TestAuthorizationCommand extends $Command< TestAuthorizationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TestAuthorizationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts b/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts index 19853916cb98a..439a0e073218a 100644 --- a/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts +++ b/clients/client-iot/commands/TestInvokeAuthorizerCommand.ts @@ -30,7 +30,6 @@ export class TestInvokeAuthorizerCommand extends $Command< TestInvokeAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TestInvokeAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/TransferCertificateCommand.ts b/clients/client-iot/commands/TransferCertificateCommand.ts index 9c8f0ca615b1c..494030c95fc8a 100644 --- a/clients/client-iot/commands/TransferCertificateCommand.ts +++ b/clients/client-iot/commands/TransferCertificateCommand.ts @@ -35,7 +35,6 @@ export class TransferCertificateCommand extends $Command< TransferCertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class TransferCertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UntagResourceCommand.ts b/clients/client-iot/commands/UntagResourceCommand.ts index 9a70fe98472d3..7b6d451bb6724 100644 --- a/clients/client-iot/commands/UntagResourceCommand.ts +++ b/clients/client-iot/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts b/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts index 10ed3b13f2990..f0170200dc8cb 100644 --- a/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts +++ b/clients/client-iot/commands/UpdateAccountAuditConfigurationCommand.ts @@ -30,7 +30,6 @@ export class UpdateAccountAuditConfigurationCommand extends $Command< UpdateAccountAuditConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAccountAuditConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateAuditSuppressionCommand.ts b/clients/client-iot/commands/UpdateAuditSuppressionCommand.ts index 5f86023922970..080faea92632a 100644 --- a/clients/client-iot/commands/UpdateAuditSuppressionCommand.ts +++ b/clients/client-iot/commands/UpdateAuditSuppressionCommand.ts @@ -30,7 +30,6 @@ export class UpdateAuditSuppressionCommand extends $Command< UpdateAuditSuppressionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAuditSuppressionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateAuthorizerCommand.ts b/clients/client-iot/commands/UpdateAuthorizerCommand.ts index fe55b1de402da..9e84ae2686613 100644 --- a/clients/client-iot/commands/UpdateAuthorizerCommand.ts +++ b/clients/client-iot/commands/UpdateAuthorizerCommand.ts @@ -28,7 +28,6 @@ export class UpdateAuthorizerCommand extends $Command< UpdateAuthorizerCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAuthorizerCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateBillingGroupCommand.ts b/clients/client-iot/commands/UpdateBillingGroupCommand.ts index 35fa31700324c..7b337aaec11b3 100644 --- a/clients/client-iot/commands/UpdateBillingGroupCommand.ts +++ b/clients/client-iot/commands/UpdateBillingGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateBillingGroupCommand extends $Command< UpdateBillingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBillingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateCACertificateCommand.ts b/clients/client-iot/commands/UpdateCACertificateCommand.ts index 2492d8155319d..ed26571af7394 100644 --- a/clients/client-iot/commands/UpdateCACertificateCommand.ts +++ b/clients/client-iot/commands/UpdateCACertificateCommand.ts @@ -28,7 +28,6 @@ export class UpdateCACertificateCommand extends $Command< UpdateCACertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCACertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateCertificateCommand.ts b/clients/client-iot/commands/UpdateCertificateCommand.ts index 48ee88e25d256..5e69e29e61ef8 100644 --- a/clients/client-iot/commands/UpdateCertificateCommand.ts +++ b/clients/client-iot/commands/UpdateCertificateCommand.ts @@ -34,7 +34,6 @@ export class UpdateCertificateCommand extends $Command< UpdateCertificateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateCertificateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateDimensionCommand.ts b/clients/client-iot/commands/UpdateDimensionCommand.ts index 4b9517803b8aa..c46168a15e9f3 100644 --- a/clients/client-iot/commands/UpdateDimensionCommand.ts +++ b/clients/client-iot/commands/UpdateDimensionCommand.ts @@ -28,7 +28,6 @@ export class UpdateDimensionCommand extends $Command< UpdateDimensionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDimensionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts b/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts index 2daa59a133df6..581f501ca76c6 100644 --- a/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts +++ b/clients/client-iot/commands/UpdateDomainConfigurationCommand.ts @@ -31,7 +31,6 @@ export class UpdateDomainConfigurationCommand extends $Command< UpdateDomainConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateDomainConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts b/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts index bae79bca945f7..1e69926c75e37 100644 --- a/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts +++ b/clients/client-iot/commands/UpdateDynamicThingGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateDynamicThingGroupCommand extends $Command< UpdateDynamicThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDynamicThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts b/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts index ff278e6441f2e..93b3b236534de 100644 --- a/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts +++ b/clients/client-iot/commands/UpdateEventConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class UpdateEventConfigurationsCommand extends $Command< UpdateEventConfigurationsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEventConfigurationsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts b/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts index f5e57106335cd..1f5767cdfcc5e 100644 --- a/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts +++ b/clients/client-iot/commands/UpdateIndexingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateIndexingConfigurationCommand extends $Command< UpdateIndexingConfigurationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIndexingConfigurationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateJobCommand.ts b/clients/client-iot/commands/UpdateJobCommand.ts index 0d620b3f6c41d..e26a0065987ad 100644 --- a/clients/client-iot/commands/UpdateJobCommand.ts +++ b/clients/client-iot/commands/UpdateJobCommand.ts @@ -24,7 +24,6 @@ export type UpdateJobCommandOutput = __MetadataBearer; *

Updates supported fields of the specified job.

*/ export class UpdateJobCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class UpdateJobCommand 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-iot/commands/UpdateMitigationActionCommand.ts b/clients/client-iot/commands/UpdateMitigationActionCommand.ts index 4c28743638b91..89460778c7c72 100644 --- a/clients/client-iot/commands/UpdateMitigationActionCommand.ts +++ b/clients/client-iot/commands/UpdateMitigationActionCommand.ts @@ -28,7 +28,6 @@ export class UpdateMitigationActionCommand extends $Command< UpdateMitigationActionCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMitigationActionCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts b/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts index a55dbfb10f7a2..2f084bb545d73 100644 --- a/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts +++ b/clients/client-iot/commands/UpdateProvisioningTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateProvisioningTemplateCommand extends $Command< UpdateProvisioningTemplateCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProvisioningTemplateCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateRoleAliasCommand.ts b/clients/client-iot/commands/UpdateRoleAliasCommand.ts index 33bc913f0982d..3712333ec6a41 100644 --- a/clients/client-iot/commands/UpdateRoleAliasCommand.ts +++ b/clients/client-iot/commands/UpdateRoleAliasCommand.ts @@ -28,7 +28,6 @@ export class UpdateRoleAliasCommand extends $Command< UpdateRoleAliasCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRoleAliasCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateScheduledAuditCommand.ts b/clients/client-iot/commands/UpdateScheduledAuditCommand.ts index fa098c3e55e9f..66f4c8232f8c0 100644 --- a/clients/client-iot/commands/UpdateScheduledAuditCommand.ts +++ b/clients/client-iot/commands/UpdateScheduledAuditCommand.ts @@ -29,7 +29,6 @@ export class UpdateScheduledAuditCommand extends $Command< UpdateScheduledAuditCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateScheduledAuditCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateSecurityProfileCommand.ts b/clients/client-iot/commands/UpdateSecurityProfileCommand.ts index 1c3f4543db48f..52eb9900f3d47 100644 --- a/clients/client-iot/commands/UpdateSecurityProfileCommand.ts +++ b/clients/client-iot/commands/UpdateSecurityProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateSecurityProfileCommand extends $Command< UpdateSecurityProfileCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSecurityProfileCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateStreamCommand.ts b/clients/client-iot/commands/UpdateStreamCommand.ts index 56658df7a1a0f..64140f25c04b0 100644 --- a/clients/client-iot/commands/UpdateStreamCommand.ts +++ b/clients/client-iot/commands/UpdateStreamCommand.ts @@ -28,7 +28,6 @@ export class UpdateStreamCommand extends $Command< UpdateStreamCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateStreamCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateThingCommand.ts b/clients/client-iot/commands/UpdateThingCommand.ts index 6bf05f7a250b0..8ee80fbe77cbe 100644 --- a/clients/client-iot/commands/UpdateThingCommand.ts +++ b/clients/client-iot/commands/UpdateThingCommand.ts @@ -28,7 +28,6 @@ export class UpdateThingCommand extends $Command< UpdateThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateThingGroupCommand.ts b/clients/client-iot/commands/UpdateThingGroupCommand.ts index 7009edb51ede9..a4cb72c493449 100644 --- a/clients/client-iot/commands/UpdateThingGroupCommand.ts +++ b/clients/client-iot/commands/UpdateThingGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateThingGroupCommand extends $Command< UpdateThingGroupCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThingGroupCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts b/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts index 21c51fc8a8c0f..1bf01fe5d86e9 100644 --- a/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts +++ b/clients/client-iot/commands/UpdateThingGroupsForThingCommand.ts @@ -28,7 +28,6 @@ export class UpdateThingGroupsForThingCommand extends $Command< UpdateThingGroupsForThingCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThingGroupsForThingCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts b/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts index 2ad300b706e94..b93439dc72fca 100644 --- a/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts +++ b/clients/client-iot/commands/UpdateTopicRuleDestinationCommand.ts @@ -29,7 +29,6 @@ export class UpdateTopicRuleDestinationCommand extends $Command< UpdateTopicRuleDestinationCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateTopicRuleDestinationCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts b/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts index 4af91cc8a03e4..cc41e32ab9e95 100644 --- a/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts +++ b/clients/client-iot/commands/ValidateSecurityProfileBehaviorsCommand.ts @@ -28,7 +28,6 @@ export class ValidateSecurityProfileBehaviorsCommand extends $Command< ValidateSecurityProfileBehaviorsCommandOutput, IoTClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ValidateSecurityProfileBehaviorsCommand extends $Command< configuration: IoTClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts b/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts index 36888903113dd..c92167bdc78f2 100644 --- a/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts +++ b/clients/client-iotanalytics/commands/BatchPutMessageCommand.ts @@ -28,7 +28,6 @@ export class BatchPutMessageCommand extends $Command< BatchPutMessageCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchPutMessageCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts b/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts index f7e012467cb88..35ad8e0d8a21f 100644 --- a/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts +++ b/clients/client-iotanalytics/commands/CancelPipelineReprocessingCommand.ts @@ -28,7 +28,6 @@ export class CancelPipelineReprocessingCommand extends $Command< CancelPipelineReprocessingCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelPipelineReprocessingCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/CreateChannelCommand.ts b/clients/client-iotanalytics/commands/CreateChannelCommand.ts index bddfb1316a149..9d0faf82e9236 100644 --- a/clients/client-iotanalytics/commands/CreateChannelCommand.ts +++ b/clients/client-iotanalytics/commands/CreateChannelCommand.ts @@ -29,7 +29,6 @@ export class CreateChannelCommand extends $Command< CreateChannelCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateChannelCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/CreateDatasetCommand.ts b/clients/client-iotanalytics/commands/CreateDatasetCommand.ts index d5ff0a213f9c6..683d7fa9be8d9 100644 --- a/clients/client-iotanalytics/commands/CreateDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/CreateDatasetCommand.ts @@ -32,7 +32,6 @@ export class CreateDatasetCommand extends $Command< CreateDatasetCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateDatasetCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts b/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts index 890e6869911d3..40733ba308f76 100644 --- a/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts +++ b/clients/client-iotanalytics/commands/CreateDatasetContentCommand.ts @@ -29,7 +29,6 @@ export class CreateDatasetContentCommand extends $Command< CreateDatasetContentCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDatasetContentCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts b/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts index b25392ec15d25..41371b5458e36 100644 --- a/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/CreateDatastoreCommand.ts @@ -28,7 +28,6 @@ export class CreateDatastoreCommand extends $Command< CreateDatastoreCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDatastoreCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/CreatePipelineCommand.ts b/clients/client-iotanalytics/commands/CreatePipelineCommand.ts index 1fedb65afd8ee..b77e992258e2d 100644 --- a/clients/client-iotanalytics/commands/CreatePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/CreatePipelineCommand.ts @@ -31,7 +31,6 @@ export class CreatePipelineCommand extends $Command< CreatePipelineCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreatePipelineCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DeleteChannelCommand.ts b/clients/client-iotanalytics/commands/DeleteChannelCommand.ts index ac5b0a4e3f04a..f2aee70c9e740 100644 --- a/clients/client-iotanalytics/commands/DeleteChannelCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelCommand extends $Command< DeleteChannelCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts b/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts index 4bbeb7994f8d2..a640a66276dbd 100644 --- a/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteDatasetCommand.ts @@ -30,7 +30,6 @@ export class DeleteDatasetCommand extends $Command< DeleteDatasetCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDatasetCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts b/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts index 8040dd028c545..d76b11f010d59 100644 --- a/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteDatasetContentCommand.ts @@ -28,7 +28,6 @@ export class DeleteDatasetContentCommand extends $Command< DeleteDatasetContentCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDatasetContentCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts b/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts index ccbfcf15bcdef..e2b2364028c03 100644 --- a/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/DeleteDatastoreCommand.ts @@ -28,7 +28,6 @@ export class DeleteDatastoreCommand extends $Command< DeleteDatastoreCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDatastoreCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DeletePipelineCommand.ts b/clients/client-iotanalytics/commands/DeletePipelineCommand.ts index fca95e0451e9f..be9b4eed014d3 100644 --- a/clients/client-iotanalytics/commands/DeletePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/DeletePipelineCommand.ts @@ -28,7 +28,6 @@ export class DeletePipelineCommand extends $Command< DeletePipelineCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePipelineCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DescribeChannelCommand.ts b/clients/client-iotanalytics/commands/DescribeChannelCommand.ts index 85732bd87a2e9..691b962d97f1b 100644 --- a/clients/client-iotanalytics/commands/DescribeChannelCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeChannelCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelCommand extends $Command< DescribeChannelCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts b/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts index 80cd1c462abd8..53489fa20cd93 100644 --- a/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeDatasetCommand.ts @@ -28,7 +28,6 @@ export class DescribeDatasetCommand extends $Command< DescribeDatasetCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDatasetCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts b/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts index 4bc61f4f23567..2dbb2de730312 100644 --- a/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeDatastoreCommand.ts @@ -28,7 +28,6 @@ export class DescribeDatastoreCommand extends $Command< DescribeDatastoreCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDatastoreCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts index 7ef7437d4feb6..69d77903471e7 100644 --- a/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iotanalytics/commands/DescribeLoggingOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLoggingOptionsCommand extends $Command< DescribeLoggingOptionsCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLoggingOptionsCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/DescribePipelineCommand.ts b/clients/client-iotanalytics/commands/DescribePipelineCommand.ts index f115f2658f2ca..f3fcf179ddeb6 100644 --- a/clients/client-iotanalytics/commands/DescribePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/DescribePipelineCommand.ts @@ -28,7 +28,6 @@ export class DescribePipelineCommand extends $Command< DescribePipelineCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePipelineCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts b/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts index 817df3428e0b1..a6768db613103 100644 --- a/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts +++ b/clients/client-iotanalytics/commands/GetDatasetContentCommand.ts @@ -28,7 +28,6 @@ export class GetDatasetContentCommand extends $Command< GetDatasetContentCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDatasetContentCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/ListChannelsCommand.ts b/clients/client-iotanalytics/commands/ListChannelsCommand.ts index a627daba8005a..48d85cde3a1ad 100644 --- a/clients/client-iotanalytics/commands/ListChannelsCommand.ts +++ b/clients/client-iotanalytics/commands/ListChannelsCommand.ts @@ -28,7 +28,6 @@ export class ListChannelsCommand extends $Command< ListChannelsCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListChannelsCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts b/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts index 5cf36e8080f25..7244b11e95449 100644 --- a/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts +++ b/clients/client-iotanalytics/commands/ListDatasetContentsCommand.ts @@ -28,7 +28,6 @@ export class ListDatasetContentsCommand extends $Command< ListDatasetContentsCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDatasetContentsCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/ListDatasetsCommand.ts b/clients/client-iotanalytics/commands/ListDatasetsCommand.ts index bbc0b5c615698..cdee032fa38e6 100644 --- a/clients/client-iotanalytics/commands/ListDatasetsCommand.ts +++ b/clients/client-iotanalytics/commands/ListDatasetsCommand.ts @@ -28,7 +28,6 @@ export class ListDatasetsCommand extends $Command< ListDatasetsCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDatasetsCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/ListDatastoresCommand.ts b/clients/client-iotanalytics/commands/ListDatastoresCommand.ts index 005f212c7bdaa..91e051fb7cdec 100644 --- a/clients/client-iotanalytics/commands/ListDatastoresCommand.ts +++ b/clients/client-iotanalytics/commands/ListDatastoresCommand.ts @@ -28,7 +28,6 @@ export class ListDatastoresCommand extends $Command< ListDatastoresCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDatastoresCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/ListPipelinesCommand.ts b/clients/client-iotanalytics/commands/ListPipelinesCommand.ts index 7de35acdbf0c6..79369774c163b 100644 --- a/clients/client-iotanalytics/commands/ListPipelinesCommand.ts +++ b/clients/client-iotanalytics/commands/ListPipelinesCommand.ts @@ -28,7 +28,6 @@ export class ListPipelinesCommand extends $Command< ListPipelinesCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelinesCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts b/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts index 7193ef30bbd16..aeecded3efe5a 100644 --- a/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotanalytics/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts b/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts index 3b0ba85329009..b7bb286695e15 100644 --- a/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iotanalytics/commands/PutLoggingOptionsCommand.ts @@ -32,7 +32,6 @@ export class PutLoggingOptionsCommand extends $Command< PutLoggingOptionsCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutLoggingOptionsCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts b/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts index d68fff3ea14b3..af947a11cadc4 100644 --- a/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts +++ b/clients/client-iotanalytics/commands/RunPipelineActivityCommand.ts @@ -28,7 +28,6 @@ export class RunPipelineActivityCommand extends $Command< RunPipelineActivityCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RunPipelineActivityCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts b/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts index f470a04f3562b..075da1d8dad2b 100644 --- a/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts +++ b/clients/client-iotanalytics/commands/SampleChannelDataCommand.ts @@ -29,7 +29,6 @@ export class SampleChannelDataCommand extends $Command< SampleChannelDataCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SampleChannelDataCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts b/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts index 9ccd8e218e4ec..7449c050da26a 100644 --- a/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts +++ b/clients/client-iotanalytics/commands/StartPipelineReprocessingCommand.ts @@ -28,7 +28,6 @@ export class StartPipelineReprocessingCommand extends $Command< StartPipelineReprocessingCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartPipelineReprocessingCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/TagResourceCommand.ts b/clients/client-iotanalytics/commands/TagResourceCommand.ts index c18681b33e40f..3e7b9da80be23 100644 --- a/clients/client-iotanalytics/commands/TagResourceCommand.ts +++ b/clients/client-iotanalytics/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/UntagResourceCommand.ts b/clients/client-iotanalytics/commands/UntagResourceCommand.ts index 833cb0cac0e23..798ce976d0599 100644 --- a/clients/client-iotanalytics/commands/UntagResourceCommand.ts +++ b/clients/client-iotanalytics/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/UpdateChannelCommand.ts b/clients/client-iotanalytics/commands/UpdateChannelCommand.ts index 7589ded846deb..63c0621fffc26 100644 --- a/clients/client-iotanalytics/commands/UpdateChannelCommand.ts +++ b/clients/client-iotanalytics/commands/UpdateChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateChannelCommand extends $Command< UpdateChannelCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateChannelCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts b/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts index 1292f05d4caba..d06b74432e731 100644 --- a/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts +++ b/clients/client-iotanalytics/commands/UpdateDatasetCommand.ts @@ -28,7 +28,6 @@ export class UpdateDatasetCommand extends $Command< UpdateDatasetCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDatasetCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts b/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts index 253fcc09469c0..5b5185ff6a2d5 100644 --- a/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts +++ b/clients/client-iotanalytics/commands/UpdateDatastoreCommand.ts @@ -28,7 +28,6 @@ export class UpdateDatastoreCommand extends $Command< UpdateDatastoreCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDatastoreCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts b/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts index 83eba6118affb..9966b414de566 100644 --- a/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts +++ b/clients/client-iotanalytics/commands/UpdatePipelineCommand.ts @@ -30,7 +30,6 @@ export class UpdatePipelineCommand extends $Command< UpdatePipelineCommandOutput, IoTAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdatePipelineCommand extends $Command< configuration: IoTAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts b/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts index 689cf0c1d209b..00bf0c1ac64ef 100644 --- a/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/commands/CloseTunnelCommand.ts @@ -34,7 +34,6 @@ export class CloseTunnelCommand extends $Command< CloseTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CloseTunnelCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts b/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts index 3c2e39b7468b8..fd45bd6d067bc 100644 --- a/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/commands/DescribeTunnelCommand.ts @@ -32,7 +32,6 @@ export class DescribeTunnelCommand extends $Command< DescribeTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeTunnelCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts b/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts index 4b308bf436d8a..7f59384fd6314 100644 --- a/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotsecuretunneling/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts b/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts index aaa847aedefdc..287ae3b1e46ba 100644 --- a/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts +++ b/clients/client-iotsecuretunneling/commands/ListTunnelsCommand.ts @@ -33,7 +33,6 @@ export class ListTunnelsCommand extends $Command< ListTunnelsCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListTunnelsCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts b/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts index 37bf4c40be60e..88df079929b33 100644 --- a/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts +++ b/clients/client-iotsecuretunneling/commands/OpenTunnelCommand.ts @@ -33,7 +33,6 @@ export class OpenTunnelCommand extends $Command< OpenTunnelCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class OpenTunnelCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts b/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts index 539c7bf51b7db..ca724b05cbce1 100644 --- a/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts +++ b/clients/client-iotsecuretunneling/commands/TagResourceCommand.ts @@ -32,7 +32,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TagResourceCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts b/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts index 64fc9fbf03ef5..ee4cad2cbfe0c 100644 --- a/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts +++ b/clients/client-iotsecuretunneling/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoTSecureTunnelingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: IoTSecureTunnelingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/AssociateAssetsCommand.ts b/clients/client-iotsitewise/commands/AssociateAssetsCommand.ts index 0b710de5d1ee2..bd0c86ef1d006 100644 --- a/clients/client-iotsitewise/commands/AssociateAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/AssociateAssetsCommand.ts @@ -30,7 +30,6 @@ export class AssociateAssetsCommand extends $Command< AssociateAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AssociateAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/BatchAssociateProjectAssetsCommand.ts b/clients/client-iotsitewise/commands/BatchAssociateProjectAssetsCommand.ts index d8a8afd92905b..0c16f501a1f23 100644 --- a/clients/client-iotsitewise/commands/BatchAssociateProjectAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/BatchAssociateProjectAssetsCommand.ts @@ -28,7 +28,6 @@ export class BatchAssociateProjectAssetsCommand extends $Command< BatchAssociateProjectAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchAssociateProjectAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/BatchDisassociateProjectAssetsCommand.ts b/clients/client-iotsitewise/commands/BatchDisassociateProjectAssetsCommand.ts index 1dd298091392b..e4dc0517d523c 100644 --- a/clients/client-iotsitewise/commands/BatchDisassociateProjectAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/BatchDisassociateProjectAssetsCommand.ts @@ -28,7 +28,6 @@ export class BatchDisassociateProjectAssetsCommand extends $Command< BatchDisassociateProjectAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDisassociateProjectAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/BatchPutAssetPropertyValueCommand.ts b/clients/client-iotsitewise/commands/BatchPutAssetPropertyValueCommand.ts index 94357b842c695..3111088fbe2ee 100644 --- a/clients/client-iotsitewise/commands/BatchPutAssetPropertyValueCommand.ts +++ b/clients/client-iotsitewise/commands/BatchPutAssetPropertyValueCommand.ts @@ -52,7 +52,6 @@ export class BatchPutAssetPropertyValueCommand extends $Command< BatchPutAssetPropertyValueCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class BatchPutAssetPropertyValueCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreateAccessPolicyCommand.ts b/clients/client-iotsitewise/commands/CreateAccessPolicyCommand.ts index 5369ecba6c779..1d20cb3a7414e 100644 --- a/clients/client-iotsitewise/commands/CreateAccessPolicyCommand.ts +++ b/clients/client-iotsitewise/commands/CreateAccessPolicyCommand.ts @@ -29,7 +29,6 @@ export class CreateAccessPolicyCommand extends $Command< CreateAccessPolicyCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAccessPolicyCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreateAssetCommand.ts b/clients/client-iotsitewise/commands/CreateAssetCommand.ts index bc9420e075d1e..010ca5e6a0883 100644 --- a/clients/client-iotsitewise/commands/CreateAssetCommand.ts +++ b/clients/client-iotsitewise/commands/CreateAssetCommand.ts @@ -29,7 +29,6 @@ export class CreateAssetCommand extends $Command< CreateAssetCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAssetCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreateAssetModelCommand.ts b/clients/client-iotsitewise/commands/CreateAssetModelCommand.ts index 20a0eecd016be..26f267fb05167 100644 --- a/clients/client-iotsitewise/commands/CreateAssetModelCommand.ts +++ b/clients/client-iotsitewise/commands/CreateAssetModelCommand.ts @@ -32,7 +32,6 @@ export class CreateAssetModelCommand extends $Command< CreateAssetModelCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateAssetModelCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreateDashboardCommand.ts b/clients/client-iotsitewise/commands/CreateDashboardCommand.ts index 108d072937a50..074d6bd7970d5 100644 --- a/clients/client-iotsitewise/commands/CreateDashboardCommand.ts +++ b/clients/client-iotsitewise/commands/CreateDashboardCommand.ts @@ -28,7 +28,6 @@ export class CreateDashboardCommand extends $Command< CreateDashboardCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDashboardCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreateGatewayCommand.ts b/clients/client-iotsitewise/commands/CreateGatewayCommand.ts index cb1b0b850a8c1..2de6fa3e56686 100644 --- a/clients/client-iotsitewise/commands/CreateGatewayCommand.ts +++ b/clients/client-iotsitewise/commands/CreateGatewayCommand.ts @@ -30,7 +30,6 @@ export class CreateGatewayCommand extends $Command< CreateGatewayCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateGatewayCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreatePortalCommand.ts b/clients/client-iotsitewise/commands/CreatePortalCommand.ts index 7967ef8ba36c4..d2bbda69fdfcc 100644 --- a/clients/client-iotsitewise/commands/CreatePortalCommand.ts +++ b/clients/client-iotsitewise/commands/CreatePortalCommand.ts @@ -34,7 +34,6 @@ export class CreatePortalCommand extends $Command< CreatePortalCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreatePortalCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/CreateProjectCommand.ts b/clients/client-iotsitewise/commands/CreateProjectCommand.ts index c97842766ccca..4258465651af5 100644 --- a/clients/client-iotsitewise/commands/CreateProjectCommand.ts +++ b/clients/client-iotsitewise/commands/CreateProjectCommand.ts @@ -28,7 +28,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProjectCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeleteAccessPolicyCommand.ts b/clients/client-iotsitewise/commands/DeleteAccessPolicyCommand.ts index 196d28bdf8197..29fbefd252cee 100644 --- a/clients/client-iotsitewise/commands/DeleteAccessPolicyCommand.ts +++ b/clients/client-iotsitewise/commands/DeleteAccessPolicyCommand.ts @@ -30,7 +30,6 @@ export class DeleteAccessPolicyCommand extends $Command< DeleteAccessPolicyCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAccessPolicyCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeleteAssetCommand.ts b/clients/client-iotsitewise/commands/DeleteAssetCommand.ts index 24bb243214dda..32a9aca5f850f 100644 --- a/clients/client-iotsitewise/commands/DeleteAssetCommand.ts +++ b/clients/client-iotsitewise/commands/DeleteAssetCommand.ts @@ -34,7 +34,6 @@ export class DeleteAssetCommand extends $Command< DeleteAssetCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteAssetCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeleteAssetModelCommand.ts b/clients/client-iotsitewise/commands/DeleteAssetModelCommand.ts index 8d1a054f3144b..ad5c90ab72076 100644 --- a/clients/client-iotsitewise/commands/DeleteAssetModelCommand.ts +++ b/clients/client-iotsitewise/commands/DeleteAssetModelCommand.ts @@ -32,7 +32,6 @@ export class DeleteAssetModelCommand extends $Command< DeleteAssetModelCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteAssetModelCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeleteDashboardCommand.ts b/clients/client-iotsitewise/commands/DeleteDashboardCommand.ts index 4c75e3fed83c3..93b03fdde3db2 100644 --- a/clients/client-iotsitewise/commands/DeleteDashboardCommand.ts +++ b/clients/client-iotsitewise/commands/DeleteDashboardCommand.ts @@ -28,7 +28,6 @@ export class DeleteDashboardCommand extends $Command< DeleteDashboardCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDashboardCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeleteGatewayCommand.ts b/clients/client-iotsitewise/commands/DeleteGatewayCommand.ts index 1acda51d008c5..f5272b8d5aba9 100644 --- a/clients/client-iotsitewise/commands/DeleteGatewayCommand.ts +++ b/clients/client-iotsitewise/commands/DeleteGatewayCommand.ts @@ -29,7 +29,6 @@ export class DeleteGatewayCommand extends $Command< DeleteGatewayCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteGatewayCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeletePortalCommand.ts b/clients/client-iotsitewise/commands/DeletePortalCommand.ts index 55e28c8f928a8..a6cdca698bf5f 100644 --- a/clients/client-iotsitewise/commands/DeletePortalCommand.ts +++ b/clients/client-iotsitewise/commands/DeletePortalCommand.ts @@ -28,7 +28,6 @@ export class DeletePortalCommand extends $Command< DeletePortalCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePortalCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DeleteProjectCommand.ts b/clients/client-iotsitewise/commands/DeleteProjectCommand.ts index 8b0ee297aa1f9..57ca3f7c5afb1 100644 --- a/clients/client-iotsitewise/commands/DeleteProjectCommand.ts +++ b/clients/client-iotsitewise/commands/DeleteProjectCommand.ts @@ -28,7 +28,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProjectCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeAccessPolicyCommand.ts b/clients/client-iotsitewise/commands/DescribeAccessPolicyCommand.ts index 58eaa53fce426..c6c1063eeb78b 100644 --- a/clients/client-iotsitewise/commands/DescribeAccessPolicyCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeAccessPolicyCommand.ts @@ -29,7 +29,6 @@ export class DescribeAccessPolicyCommand extends $Command< DescribeAccessPolicyCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAccessPolicyCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeAssetCommand.ts b/clients/client-iotsitewise/commands/DescribeAssetCommand.ts index 73c5ce5d0888f..e5955aef99d2b 100644 --- a/clients/client-iotsitewise/commands/DescribeAssetCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeAssetCommand.ts @@ -28,7 +28,6 @@ export class DescribeAssetCommand extends $Command< DescribeAssetCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAssetCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeAssetModelCommand.ts b/clients/client-iotsitewise/commands/DescribeAssetModelCommand.ts index 48604703f7247..b4082da2be3f5 100644 --- a/clients/client-iotsitewise/commands/DescribeAssetModelCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeAssetModelCommand.ts @@ -28,7 +28,6 @@ export class DescribeAssetModelCommand extends $Command< DescribeAssetModelCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAssetModelCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeAssetPropertyCommand.ts b/clients/client-iotsitewise/commands/DescribeAssetPropertyCommand.ts index 486e69e9c283b..3d1c0ee96d913 100644 --- a/clients/client-iotsitewise/commands/DescribeAssetPropertyCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeAssetPropertyCommand.ts @@ -35,7 +35,6 @@ export class DescribeAssetPropertyCommand extends $Command< DescribeAssetPropertyCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeAssetPropertyCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeDashboardCommand.ts b/clients/client-iotsitewise/commands/DescribeDashboardCommand.ts index 5c9623888090d..de5c0c56c6c02 100644 --- a/clients/client-iotsitewise/commands/DescribeDashboardCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeDashboardCommand.ts @@ -28,7 +28,6 @@ export class DescribeDashboardCommand extends $Command< DescribeDashboardCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDashboardCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeDefaultEncryptionConfigurationCommand.ts b/clients/client-iotsitewise/commands/DescribeDefaultEncryptionConfigurationCommand.ts index adb59b15cd051..f16d090cbee84 100644 --- a/clients/client-iotsitewise/commands/DescribeDefaultEncryptionConfigurationCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeDefaultEncryptionConfigurationCommand.ts @@ -34,7 +34,6 @@ export class DescribeDefaultEncryptionConfigurationCommand extends $Command< DescribeDefaultEncryptionConfigurationCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeDefaultEncryptionConfigurationCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeGatewayCapabilityConfigurationCommand.ts b/clients/client-iotsitewise/commands/DescribeGatewayCapabilityConfigurationCommand.ts index 7bdb0ad1bfb8f..564459428f61b 100644 --- a/clients/client-iotsitewise/commands/DescribeGatewayCapabilityConfigurationCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeGatewayCapabilityConfigurationCommand.ts @@ -36,7 +36,6 @@ export class DescribeGatewayCapabilityConfigurationCommand extends $Command< DescribeGatewayCapabilityConfigurationCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeGatewayCapabilityConfigurationCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeGatewayCommand.ts b/clients/client-iotsitewise/commands/DescribeGatewayCommand.ts index e42daec94712b..3885d5e21d2a1 100644 --- a/clients/client-iotsitewise/commands/DescribeGatewayCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeGatewayCommand.ts @@ -28,7 +28,6 @@ export class DescribeGatewayCommand extends $Command< DescribeGatewayCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGatewayCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeLoggingOptionsCommand.ts b/clients/client-iotsitewise/commands/DescribeLoggingOptionsCommand.ts index fdc02a2600b71..3becb6d555112 100644 --- a/clients/client-iotsitewise/commands/DescribeLoggingOptionsCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeLoggingOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeLoggingOptionsCommand extends $Command< DescribeLoggingOptionsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLoggingOptionsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribePortalCommand.ts b/clients/client-iotsitewise/commands/DescribePortalCommand.ts index 405e8f8e8de2e..dfae2e181889c 100644 --- a/clients/client-iotsitewise/commands/DescribePortalCommand.ts +++ b/clients/client-iotsitewise/commands/DescribePortalCommand.ts @@ -28,7 +28,6 @@ export class DescribePortalCommand extends $Command< DescribePortalCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePortalCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DescribeProjectCommand.ts b/clients/client-iotsitewise/commands/DescribeProjectCommand.ts index 218afb3160386..eac9f084117e4 100644 --- a/clients/client-iotsitewise/commands/DescribeProjectCommand.ts +++ b/clients/client-iotsitewise/commands/DescribeProjectCommand.ts @@ -28,7 +28,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProjectCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/DisassociateAssetsCommand.ts b/clients/client-iotsitewise/commands/DisassociateAssetsCommand.ts index 1d29ec9c86fae..218c3e122688b 100644 --- a/clients/client-iotsitewise/commands/DisassociateAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/DisassociateAssetsCommand.ts @@ -29,7 +29,6 @@ export class DisassociateAssetsCommand extends $Command< DisassociateAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/GetAssetPropertyAggregatesCommand.ts b/clients/client-iotsitewise/commands/GetAssetPropertyAggregatesCommand.ts index c3cdb38a4ef08..752714db08a9e 100644 --- a/clients/client-iotsitewise/commands/GetAssetPropertyAggregatesCommand.ts +++ b/clients/client-iotsitewise/commands/GetAssetPropertyAggregatesCommand.ts @@ -39,7 +39,6 @@ export class GetAssetPropertyAggregatesCommand extends $Command< GetAssetPropertyAggregatesCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetAssetPropertyAggregatesCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/GetAssetPropertyValueCommand.ts b/clients/client-iotsitewise/commands/GetAssetPropertyValueCommand.ts index e5064bd62d735..9082929688af4 100644 --- a/clients/client-iotsitewise/commands/GetAssetPropertyValueCommand.ts +++ b/clients/client-iotsitewise/commands/GetAssetPropertyValueCommand.ts @@ -39,7 +39,6 @@ export class GetAssetPropertyValueCommand extends $Command< GetAssetPropertyValueCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetAssetPropertyValueCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/GetAssetPropertyValueHistoryCommand.ts b/clients/client-iotsitewise/commands/GetAssetPropertyValueHistoryCommand.ts index ed98a12544f26..09ab885e515cf 100644 --- a/clients/client-iotsitewise/commands/GetAssetPropertyValueHistoryCommand.ts +++ b/clients/client-iotsitewise/commands/GetAssetPropertyValueHistoryCommand.ts @@ -39,7 +39,6 @@ export class GetAssetPropertyValueHistoryCommand extends $Command< GetAssetPropertyValueHistoryCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetAssetPropertyValueHistoryCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListAccessPoliciesCommand.ts b/clients/client-iotsitewise/commands/ListAccessPoliciesCommand.ts index e999dd8a3f658..d0caf15c8722b 100644 --- a/clients/client-iotsitewise/commands/ListAccessPoliciesCommand.ts +++ b/clients/client-iotsitewise/commands/ListAccessPoliciesCommand.ts @@ -29,7 +29,6 @@ export class ListAccessPoliciesCommand extends $Command< ListAccessPoliciesCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAccessPoliciesCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListAssetModelsCommand.ts b/clients/client-iotsitewise/commands/ListAssetModelsCommand.ts index 144f1f45549f6..63feb52b37c90 100644 --- a/clients/client-iotsitewise/commands/ListAssetModelsCommand.ts +++ b/clients/client-iotsitewise/commands/ListAssetModelsCommand.ts @@ -28,7 +28,6 @@ export class ListAssetModelsCommand extends $Command< ListAssetModelsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAssetModelsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListAssetRelationshipsCommand.ts b/clients/client-iotsitewise/commands/ListAssetRelationshipsCommand.ts index d6469351d4e7f..6d0afd3931be8 100644 --- a/clients/client-iotsitewise/commands/ListAssetRelationshipsCommand.ts +++ b/clients/client-iotsitewise/commands/ListAssetRelationshipsCommand.ts @@ -30,7 +30,6 @@ export class ListAssetRelationshipsCommand extends $Command< ListAssetRelationshipsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAssetRelationshipsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListAssetsCommand.ts b/clients/client-iotsitewise/commands/ListAssetsCommand.ts index ff2caf63c9fa9..c36ea9aa2624b 100644 --- a/clients/client-iotsitewise/commands/ListAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/ListAssetsCommand.ts @@ -40,7 +40,6 @@ export class ListAssetsCommand extends $Command< ListAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListAssociatedAssetsCommand.ts b/clients/client-iotsitewise/commands/ListAssociatedAssetsCommand.ts index 35b10b2799cf7..1d59630b8a46c 100644 --- a/clients/client-iotsitewise/commands/ListAssociatedAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/ListAssociatedAssetsCommand.ts @@ -37,7 +37,6 @@ export class ListAssociatedAssetsCommand extends $Command< ListAssociatedAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListAssociatedAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListDashboardsCommand.ts b/clients/client-iotsitewise/commands/ListDashboardsCommand.ts index 2999451618414..7b9d5da2f10ff 100644 --- a/clients/client-iotsitewise/commands/ListDashboardsCommand.ts +++ b/clients/client-iotsitewise/commands/ListDashboardsCommand.ts @@ -28,7 +28,6 @@ export class ListDashboardsCommand extends $Command< ListDashboardsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDashboardsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListGatewaysCommand.ts b/clients/client-iotsitewise/commands/ListGatewaysCommand.ts index 77acd0d06c0fe..f1e22777cb5c7 100644 --- a/clients/client-iotsitewise/commands/ListGatewaysCommand.ts +++ b/clients/client-iotsitewise/commands/ListGatewaysCommand.ts @@ -28,7 +28,6 @@ export class ListGatewaysCommand extends $Command< ListGatewaysCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGatewaysCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListPortalsCommand.ts b/clients/client-iotsitewise/commands/ListPortalsCommand.ts index dbae81cdf663b..7f92c053e79c8 100644 --- a/clients/client-iotsitewise/commands/ListPortalsCommand.ts +++ b/clients/client-iotsitewise/commands/ListPortalsCommand.ts @@ -28,7 +28,6 @@ export class ListPortalsCommand extends $Command< ListPortalsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPortalsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListProjectAssetsCommand.ts b/clients/client-iotsitewise/commands/ListProjectAssetsCommand.ts index d27ec99e6dcb5..13a994cd8991c 100644 --- a/clients/client-iotsitewise/commands/ListProjectAssetsCommand.ts +++ b/clients/client-iotsitewise/commands/ListProjectAssetsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectAssetsCommand extends $Command< ListProjectAssetsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectAssetsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListProjectsCommand.ts b/clients/client-iotsitewise/commands/ListProjectsCommand.ts index a74b794b4f9a7..11670232e20c3 100644 --- a/clients/client-iotsitewise/commands/ListProjectsCommand.ts +++ b/clients/client-iotsitewise/commands/ListProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/ListTagsForResourceCommand.ts b/clients/client-iotsitewise/commands/ListTagsForResourceCommand.ts index 483e68b507ac2..a84d49442f691 100644 --- a/clients/client-iotsitewise/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotsitewise/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/PutDefaultEncryptionConfigurationCommand.ts b/clients/client-iotsitewise/commands/PutDefaultEncryptionConfigurationCommand.ts index 4b28d3c107f81..1249c430c4ca2 100644 --- a/clients/client-iotsitewise/commands/PutDefaultEncryptionConfigurationCommand.ts +++ b/clients/client-iotsitewise/commands/PutDefaultEncryptionConfigurationCommand.ts @@ -34,7 +34,6 @@ export class PutDefaultEncryptionConfigurationCommand extends $Command< PutDefaultEncryptionConfigurationCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutDefaultEncryptionConfigurationCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/PutLoggingOptionsCommand.ts b/clients/client-iotsitewise/commands/PutLoggingOptionsCommand.ts index acf12ba4a8d1b..ae5991ce19cbe 100644 --- a/clients/client-iotsitewise/commands/PutLoggingOptionsCommand.ts +++ b/clients/client-iotsitewise/commands/PutLoggingOptionsCommand.ts @@ -28,7 +28,6 @@ export class PutLoggingOptionsCommand extends $Command< PutLoggingOptionsCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutLoggingOptionsCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/TagResourceCommand.ts b/clients/client-iotsitewise/commands/TagResourceCommand.ts index 42e6867e4d219..8f9c26ae34e13 100644 --- a/clients/client-iotsitewise/commands/TagResourceCommand.ts +++ b/clients/client-iotsitewise/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UntagResourceCommand.ts b/clients/client-iotsitewise/commands/UntagResourceCommand.ts index 74e6f632ceffb..3549012340226 100644 --- a/clients/client-iotsitewise/commands/UntagResourceCommand.ts +++ b/clients/client-iotsitewise/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateAccessPolicyCommand.ts b/clients/client-iotsitewise/commands/UpdateAccessPolicyCommand.ts index 6f61a837f864c..50c89ee8223d4 100644 --- a/clients/client-iotsitewise/commands/UpdateAccessPolicyCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateAccessPolicyCommand.ts @@ -29,7 +29,6 @@ export class UpdateAccessPolicyCommand extends $Command< UpdateAccessPolicyCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateAccessPolicyCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateAssetCommand.ts b/clients/client-iotsitewise/commands/UpdateAssetCommand.ts index 0526e2be61f6d..df80bcf20c9f2 100644 --- a/clients/client-iotsitewise/commands/UpdateAssetCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateAssetCommand.ts @@ -29,7 +29,6 @@ export class UpdateAssetCommand extends $Command< UpdateAssetCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateAssetCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateAssetModelCommand.ts b/clients/client-iotsitewise/commands/UpdateAssetModelCommand.ts index 4198663759d64..29f613f8178b8 100644 --- a/clients/client-iotsitewise/commands/UpdateAssetModelCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateAssetModelCommand.ts @@ -40,7 +40,6 @@ export class UpdateAssetModelCommand extends $Command< UpdateAssetModelCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateAssetModelCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateAssetPropertyCommand.ts b/clients/client-iotsitewise/commands/UpdateAssetPropertyCommand.ts index c5499c503d24e..d7a4d8b544a9e 100644 --- a/clients/client-iotsitewise/commands/UpdateAssetPropertyCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateAssetPropertyCommand.ts @@ -33,7 +33,6 @@ export class UpdateAssetPropertyCommand extends $Command< UpdateAssetPropertyCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateAssetPropertyCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateDashboardCommand.ts b/clients/client-iotsitewise/commands/UpdateDashboardCommand.ts index afb04c237d39d..06d9403d558e8 100644 --- a/clients/client-iotsitewise/commands/UpdateDashboardCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateDashboardCommand.ts @@ -28,7 +28,6 @@ export class UpdateDashboardCommand extends $Command< UpdateDashboardCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDashboardCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateGatewayCapabilityConfigurationCommand.ts b/clients/client-iotsitewise/commands/UpdateGatewayCapabilityConfigurationCommand.ts index 47199026e6a2f..86b21ea797e4b 100644 --- a/clients/client-iotsitewise/commands/UpdateGatewayCapabilityConfigurationCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateGatewayCapabilityConfigurationCommand.ts @@ -36,7 +36,6 @@ export class UpdateGatewayCapabilityConfigurationCommand extends $Command< UpdateGatewayCapabilityConfigurationCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateGatewayCapabilityConfigurationCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateGatewayCommand.ts b/clients/client-iotsitewise/commands/UpdateGatewayCommand.ts index 03f15a6349cf5..22a58659d3a9d 100644 --- a/clients/client-iotsitewise/commands/UpdateGatewayCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateGatewayCommand.ts @@ -28,7 +28,6 @@ export class UpdateGatewayCommand extends $Command< UpdateGatewayCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGatewayCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdatePortalCommand.ts b/clients/client-iotsitewise/commands/UpdatePortalCommand.ts index 0da756de4379f..4e98fc326d66f 100644 --- a/clients/client-iotsitewise/commands/UpdatePortalCommand.ts +++ b/clients/client-iotsitewise/commands/UpdatePortalCommand.ts @@ -28,7 +28,6 @@ export class UpdatePortalCommand extends $Command< UpdatePortalCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePortalCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotsitewise/commands/UpdateProjectCommand.ts b/clients/client-iotsitewise/commands/UpdateProjectCommand.ts index fc704ab1e6e88..a18c3cb6b53d0 100644 --- a/clients/client-iotsitewise/commands/UpdateProjectCommand.ts +++ b/clients/client-iotsitewise/commands/UpdateProjectCommand.ts @@ -28,7 +28,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, IoTSiteWiseClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProjectCommand extends $Command< configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts b/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts index 4e07d51cc1849..1b81be96c300b 100644 --- a/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts +++ b/clients/client-iotthingsgraph/commands/AssociateEntityToThingCommand.ts @@ -29,7 +29,6 @@ export class AssociateEntityToThingCommand extends $Command< AssociateEntityToThingCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateEntityToThingCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts index bbfae0b830993..37a5ef2dec493 100644 --- a/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/CreateFlowTemplateCommand.ts @@ -30,7 +30,6 @@ export class CreateFlowTemplateCommand extends $Command< CreateFlowTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateFlowTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts index ed3f0f3725a0d..bf4da65be93cb 100644 --- a/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/CreateSystemInstanceCommand.ts @@ -36,7 +36,6 @@ export class CreateSystemInstanceCommand extends $Command< CreateSystemInstanceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateSystemInstanceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts index 1c7dcd853cb1b..eefc39f0cbe7e 100644 --- a/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/CreateSystemTemplateCommand.ts @@ -29,7 +29,6 @@ export class CreateSystemTemplateCommand extends $Command< CreateSystemTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateSystemTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts index 9a2eba308cde6..703e4918302a9 100644 --- a/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteFlowTemplateCommand.ts @@ -29,7 +29,6 @@ export class DeleteFlowTemplateCommand extends $Command< DeleteFlowTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteFlowTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts b/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts index 892a7121344f4..af71ec7b42ab5 100644 --- a/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteNamespaceCommand.ts @@ -28,7 +28,6 @@ export class DeleteNamespaceCommand extends $Command< DeleteNamespaceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNamespaceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts index 581511e0dab3c..a26bfb08c3f4d 100644 --- a/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteSystemInstanceCommand.ts @@ -30,7 +30,6 @@ export class DeleteSystemInstanceCommand extends $Command< DeleteSystemInstanceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteSystemInstanceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts index c9db87b20e60d..84a72aaaa1e10 100644 --- a/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeleteSystemTemplateCommand.ts @@ -29,7 +29,6 @@ export class DeleteSystemTemplateCommand extends $Command< DeleteSystemTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteSystemTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts index 8c409a97cb5f8..4c609def3d7ab 100644 --- a/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeploySystemInstanceCommand.ts @@ -39,7 +39,6 @@ export class DeploySystemInstanceCommand extends $Command< DeploySystemInstanceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeploySystemInstanceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts index e6a3e39e7c03c..90acbea304e88 100644 --- a/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeprecateFlowTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeprecateFlowTemplateCommand extends $Command< DeprecateFlowTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeprecateFlowTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts index f122fc393ffdb..96a53504624c4 100644 --- a/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/DeprecateSystemTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeprecateSystemTemplateCommand extends $Command< DeprecateSystemTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeprecateSystemTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts b/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts index 282f1124c56cf..a6612f62df439 100644 --- a/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts +++ b/clients/client-iotthingsgraph/commands/DescribeNamespaceCommand.ts @@ -28,7 +28,6 @@ export class DescribeNamespaceCommand extends $Command< DescribeNamespaceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNamespaceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts b/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts index 95e4ac6b0ce19..0da39885f5a94 100644 --- a/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts +++ b/clients/client-iotthingsgraph/commands/DissociateEntityFromThingCommand.ts @@ -29,7 +29,6 @@ export class DissociateEntityFromThingCommand extends $Command< DissociateEntityFromThingCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DissociateEntityFromThingCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts b/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts index b4899f13847f4..0262db3cfc870 100644 --- a/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetEntitiesCommand.ts @@ -59,7 +59,6 @@ export class GetEntitiesCommand extends $Command< GetEntitiesCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class GetEntitiesCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts index 57fad9c13c142..b5721b163a09c 100644 --- a/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetFlowTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetFlowTemplateCommand extends $Command< GetFlowTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFlowTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts b/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts index 80432b5d543dd..4ecfa2d86b7ca 100644 --- a/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetFlowTemplateRevisionsCommand.ts @@ -29,7 +29,6 @@ export class GetFlowTemplateRevisionsCommand extends $Command< GetFlowTemplateRevisionsCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetFlowTemplateRevisionsCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts b/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts index 6de4010fb792b..ae23bacbf946d 100644 --- a/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetNamespaceDeletionStatusCommand.ts @@ -28,7 +28,6 @@ export class GetNamespaceDeletionStatusCommand extends $Command< GetNamespaceDeletionStatusCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetNamespaceDeletionStatusCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts index c315dc816ac0c..40f9211e8c4a8 100644 --- a/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetSystemInstanceCommand.ts @@ -28,7 +28,6 @@ export class GetSystemInstanceCommand extends $Command< GetSystemInstanceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSystemInstanceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts index 0df41c0f1663e..8e0f6a34e887c 100644 --- a/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetSystemTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetSystemTemplateCommand extends $Command< GetSystemTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSystemTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts b/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts index a926d9d731571..ede5be233a44a 100644 --- a/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetSystemTemplateRevisionsCommand.ts @@ -29,7 +29,6 @@ export class GetSystemTemplateRevisionsCommand extends $Command< GetSystemTemplateRevisionsCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSystemTemplateRevisionsCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts b/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts index c9414beeff5e1..6e023144d3c3b 100644 --- a/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts +++ b/clients/client-iotthingsgraph/commands/GetUploadStatusCommand.ts @@ -28,7 +28,6 @@ export class GetUploadStatusCommand extends $Command< GetUploadStatusCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUploadStatusCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts b/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts index a36df35041767..d531e206449f7 100644 --- a/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts +++ b/clients/client-iotthingsgraph/commands/ListFlowExecutionMessagesCommand.ts @@ -28,7 +28,6 @@ export class ListFlowExecutionMessagesCommand extends $Command< ListFlowExecutionMessagesCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFlowExecutionMessagesCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts b/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts index 61bb9edad826a..d49c67ee4994c 100644 --- a/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts +++ b/clients/client-iotthingsgraph/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts b/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts index 8ebc37eaecfad..28b34123cae4e 100644 --- a/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchEntitiesCommand.ts @@ -28,7 +28,6 @@ export class SearchEntitiesCommand extends $Command< SearchEntitiesCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchEntitiesCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts b/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts index ce2f9e967d50a..48f0d3a8d4e56 100644 --- a/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchFlowExecutionsCommand.ts @@ -28,7 +28,6 @@ export class SearchFlowExecutionsCommand extends $Command< SearchFlowExecutionsCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchFlowExecutionsCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts b/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts index 8fff93292c0a8..6f8e166fce1a6 100644 --- a/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchFlowTemplatesCommand.ts @@ -28,7 +28,6 @@ export class SearchFlowTemplatesCommand extends $Command< SearchFlowTemplatesCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchFlowTemplatesCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts b/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts index bbf5c1522f816..00863aed14f59 100644 --- a/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchSystemInstancesCommand.ts @@ -28,7 +28,6 @@ export class SearchSystemInstancesCommand extends $Command< SearchSystemInstancesCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchSystemInstancesCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts b/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts index 78b2fc86235bf..fc658d2e9f70e 100644 --- a/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchSystemTemplatesCommand.ts @@ -28,7 +28,6 @@ export class SearchSystemTemplatesCommand extends $Command< SearchSystemTemplatesCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchSystemTemplatesCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts b/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts index 5c71b94b4f101..91e15540deaeb 100644 --- a/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts +++ b/clients/client-iotthingsgraph/commands/SearchThingsCommand.ts @@ -31,7 +31,6 @@ export class SearchThingsCommand extends $Command< SearchThingsCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class SearchThingsCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/TagResourceCommand.ts b/clients/client-iotthingsgraph/commands/TagResourceCommand.ts index 54e7e987b1b0e..27fb6f8f7753a 100644 --- a/clients/client-iotthingsgraph/commands/TagResourceCommand.ts +++ b/clients/client-iotthingsgraph/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts b/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts index 463d12ffcdbad..2d22f262cc7b3 100644 --- a/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts +++ b/clients/client-iotthingsgraph/commands/UndeploySystemInstanceCommand.ts @@ -28,7 +28,6 @@ export class UndeploySystemInstanceCommand extends $Command< UndeploySystemInstanceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UndeploySystemInstanceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts b/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts index 6863226c55511..036c1fc3f4437 100644 --- a/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts +++ b/clients/client-iotthingsgraph/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts b/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts index 67a7c5cac0e01..b978aca8425f2 100644 --- a/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/UpdateFlowTemplateCommand.ts @@ -29,7 +29,6 @@ export class UpdateFlowTemplateCommand extends $Command< UpdateFlowTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateFlowTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts b/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts index 3842cf9c2935c..ea0c6dc30c97c 100644 --- a/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts +++ b/clients/client-iotthingsgraph/commands/UpdateSystemTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateSystemTemplateCommand extends $Command< UpdateSystemTemplateCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSystemTemplateCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts b/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts index 135b3d9cd3b76..649ae0fe6e6de 100644 --- a/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts +++ b/clients/client-iotthingsgraph/commands/UploadEntityDefinitionsCommand.ts @@ -38,7 +38,6 @@ export class UploadEntityDefinitionsCommand extends $Command< UploadEntityDefinitionsCommandOutput, IoTThingsGraphClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UploadEntityDefinitionsCommand extends $Command< configuration: IoTThingsGraphClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/BatchGetChannelCommand.ts b/clients/client-ivs/commands/BatchGetChannelCommand.ts index 3d40435145c07..46879bb974251 100644 --- a/clients/client-ivs/commands/BatchGetChannelCommand.ts +++ b/clients/client-ivs/commands/BatchGetChannelCommand.ts @@ -28,7 +28,6 @@ export class BatchGetChannelCommand extends $Command< BatchGetChannelCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetChannelCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/BatchGetStreamKeyCommand.ts b/clients/client-ivs/commands/BatchGetStreamKeyCommand.ts index 2232e47561c3a..f665a8ec1b69f 100644 --- a/clients/client-ivs/commands/BatchGetStreamKeyCommand.ts +++ b/clients/client-ivs/commands/BatchGetStreamKeyCommand.ts @@ -28,7 +28,6 @@ export class BatchGetStreamKeyCommand extends $Command< BatchGetStreamKeyCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetStreamKeyCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/CreateChannelCommand.ts b/clients/client-ivs/commands/CreateChannelCommand.ts index 65bdb33cc39f9..49ed288a1f4ec 100644 --- a/clients/client-ivs/commands/CreateChannelCommand.ts +++ b/clients/client-ivs/commands/CreateChannelCommand.ts @@ -28,7 +28,6 @@ export class CreateChannelCommand extends $Command< CreateChannelCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateChannelCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/CreateStreamKeyCommand.ts b/clients/client-ivs/commands/CreateStreamKeyCommand.ts index ca4fd2cb6433e..29346e78b658d 100644 --- a/clients/client-ivs/commands/CreateStreamKeyCommand.ts +++ b/clients/client-ivs/commands/CreateStreamKeyCommand.ts @@ -31,7 +31,6 @@ export class CreateStreamKeyCommand extends $Command< CreateStreamKeyCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateStreamKeyCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/DeleteChannelCommand.ts b/clients/client-ivs/commands/DeleteChannelCommand.ts index c58ca1e713eb4..e1f6c73cbf111 100644 --- a/clients/client-ivs/commands/DeleteChannelCommand.ts +++ b/clients/client-ivs/commands/DeleteChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelCommand extends $Command< DeleteChannelCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/DeletePlaybackKeyPairCommand.ts b/clients/client-ivs/commands/DeletePlaybackKeyPairCommand.ts index 71e77193a67ca..599cd71dc0458 100644 --- a/clients/client-ivs/commands/DeletePlaybackKeyPairCommand.ts +++ b/clients/client-ivs/commands/DeletePlaybackKeyPairCommand.ts @@ -29,7 +29,6 @@ export class DeletePlaybackKeyPairCommand extends $Command< DeletePlaybackKeyPairCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeletePlaybackKeyPairCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/DeleteStreamKeyCommand.ts b/clients/client-ivs/commands/DeleteStreamKeyCommand.ts index d60c0d1a3518b..570bea837d666 100644 --- a/clients/client-ivs/commands/DeleteStreamKeyCommand.ts +++ b/clients/client-ivs/commands/DeleteStreamKeyCommand.ts @@ -29,7 +29,6 @@ export class DeleteStreamKeyCommand extends $Command< DeleteStreamKeyCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteStreamKeyCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/GetChannelCommand.ts b/clients/client-ivs/commands/GetChannelCommand.ts index 000573e2b1647..676bb45105f72 100644 --- a/clients/client-ivs/commands/GetChannelCommand.ts +++ b/clients/client-ivs/commands/GetChannelCommand.ts @@ -28,7 +28,6 @@ export class GetChannelCommand extends $Command< GetChannelCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetChannelCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/GetPlaybackKeyPairCommand.ts b/clients/client-ivs/commands/GetPlaybackKeyPairCommand.ts index 54ea9a1817cb5..e5383da854ed3 100644 --- a/clients/client-ivs/commands/GetPlaybackKeyPairCommand.ts +++ b/clients/client-ivs/commands/GetPlaybackKeyPairCommand.ts @@ -30,7 +30,6 @@ export class GetPlaybackKeyPairCommand extends $Command< GetPlaybackKeyPairCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetPlaybackKeyPairCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/GetStreamCommand.ts b/clients/client-ivs/commands/GetStreamCommand.ts index 86f0574f87fc0..73262177ff7d8 100644 --- a/clients/client-ivs/commands/GetStreamCommand.ts +++ b/clients/client-ivs/commands/GetStreamCommand.ts @@ -24,7 +24,6 @@ export type GetStreamCommandOutput = GetStreamResponse & __MetadataBearer; *

Gets information about the active (live) stream on a specified channel.

*/ export class GetStreamCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetStreamCommand 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-ivs/commands/GetStreamKeyCommand.ts b/clients/client-ivs/commands/GetStreamKeyCommand.ts index 2af7099ce3362..96c4e6adfa9c6 100644 --- a/clients/client-ivs/commands/GetStreamKeyCommand.ts +++ b/clients/client-ivs/commands/GetStreamKeyCommand.ts @@ -28,7 +28,6 @@ export class GetStreamKeyCommand extends $Command< GetStreamKeyCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStreamKeyCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/ImportPlaybackKeyPairCommand.ts b/clients/client-ivs/commands/ImportPlaybackKeyPairCommand.ts index 632f9b761eb2d..8ab7baed1a71c 100644 --- a/clients/client-ivs/commands/ImportPlaybackKeyPairCommand.ts +++ b/clients/client-ivs/commands/ImportPlaybackKeyPairCommand.ts @@ -30,7 +30,6 @@ export class ImportPlaybackKeyPairCommand extends $Command< ImportPlaybackKeyPairCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ImportPlaybackKeyPairCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/ListChannelsCommand.ts b/clients/client-ivs/commands/ListChannelsCommand.ts index 8d9d8f27cf70f..8771ee193ed26 100644 --- a/clients/client-ivs/commands/ListChannelsCommand.ts +++ b/clients/client-ivs/commands/ListChannelsCommand.ts @@ -29,7 +29,6 @@ export class ListChannelsCommand extends $Command< ListChannelsCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListChannelsCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/ListPlaybackKeyPairsCommand.ts b/clients/client-ivs/commands/ListPlaybackKeyPairsCommand.ts index a35bb921358b4..f20e0bba705dc 100644 --- a/clients/client-ivs/commands/ListPlaybackKeyPairsCommand.ts +++ b/clients/client-ivs/commands/ListPlaybackKeyPairsCommand.ts @@ -28,7 +28,6 @@ export class ListPlaybackKeyPairsCommand extends $Command< ListPlaybackKeyPairsCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPlaybackKeyPairsCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/ListStreamKeysCommand.ts b/clients/client-ivs/commands/ListStreamKeysCommand.ts index 641a8847e25a4..c7bc46b6b5296 100644 --- a/clients/client-ivs/commands/ListStreamKeysCommand.ts +++ b/clients/client-ivs/commands/ListStreamKeysCommand.ts @@ -28,7 +28,6 @@ export class ListStreamKeysCommand extends $Command< ListStreamKeysCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListStreamKeysCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/ListStreamsCommand.ts b/clients/client-ivs/commands/ListStreamsCommand.ts index 818049573cf25..f35af71c760a3 100644 --- a/clients/client-ivs/commands/ListStreamsCommand.ts +++ b/clients/client-ivs/commands/ListStreamsCommand.ts @@ -29,7 +29,6 @@ export class ListStreamsCommand extends $Command< ListStreamsCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListStreamsCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/ListTagsForResourceCommand.ts b/clients/client-ivs/commands/ListTagsForResourceCommand.ts index 66a847fe189e9..1247bd82fb432 100644 --- a/clients/client-ivs/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ivs/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/PutMetadataCommand.ts b/clients/client-ivs/commands/PutMetadataCommand.ts index 683ce26b89ae9..307bd2ad53324 100644 --- a/clients/client-ivs/commands/PutMetadataCommand.ts +++ b/clients/client-ivs/commands/PutMetadataCommand.ts @@ -29,7 +29,6 @@ export class PutMetadataCommand extends $Command< PutMetadataCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutMetadataCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/StopStreamCommand.ts b/clients/client-ivs/commands/StopStreamCommand.ts index 17e4e42e557f0..9069071511f6a 100644 --- a/clients/client-ivs/commands/StopStreamCommand.ts +++ b/clients/client-ivs/commands/StopStreamCommand.ts @@ -34,7 +34,6 @@ export class StopStreamCommand extends $Command< StopStreamCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StopStreamCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/TagResourceCommand.ts b/clients/client-ivs/commands/TagResourceCommand.ts index 7c1b5b784a9fa..1d46872fc6b4f 100644 --- a/clients/client-ivs/commands/TagResourceCommand.ts +++ b/clients/client-ivs/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/UntagResourceCommand.ts b/clients/client-ivs/commands/UntagResourceCommand.ts index 0d644dc49df15..1704f7303f05f 100644 --- a/clients/client-ivs/commands/UntagResourceCommand.ts +++ b/clients/client-ivs/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ivs/commands/UpdateChannelCommand.ts b/clients/client-ivs/commands/UpdateChannelCommand.ts index 973d551989e00..61556fbe1aba5 100644 --- a/clients/client-ivs/commands/UpdateChannelCommand.ts +++ b/clients/client-ivs/commands/UpdateChannelCommand.ts @@ -29,7 +29,6 @@ export class UpdateChannelCommand extends $Command< UpdateChannelCommandOutput, IvsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateChannelCommand extends $Command< configuration: IvsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/BatchAssociateScramSecretCommand.ts b/clients/client-kafka/commands/BatchAssociateScramSecretCommand.ts index 782a55922fafa..64a46aab33369 100644 --- a/clients/client-kafka/commands/BatchAssociateScramSecretCommand.ts +++ b/clients/client-kafka/commands/BatchAssociateScramSecretCommand.ts @@ -28,7 +28,6 @@ export class BatchAssociateScramSecretCommand extends $Command< BatchAssociateScramSecretCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchAssociateScramSecretCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/BatchDisassociateScramSecretCommand.ts b/clients/client-kafka/commands/BatchDisassociateScramSecretCommand.ts index 75120dac99957..f8ce4d954692f 100644 --- a/clients/client-kafka/commands/BatchDisassociateScramSecretCommand.ts +++ b/clients/client-kafka/commands/BatchDisassociateScramSecretCommand.ts @@ -28,7 +28,6 @@ export class BatchDisassociateScramSecretCommand extends $Command< BatchDisassociateScramSecretCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDisassociateScramSecretCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/CreateClusterCommand.ts b/clients/client-kafka/commands/CreateClusterCommand.ts index aa4a2d5a7991a..e75d12dc45bd5 100644 --- a/clients/client-kafka/commands/CreateClusterCommand.ts +++ b/clients/client-kafka/commands/CreateClusterCommand.ts @@ -28,7 +28,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateClusterCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/CreateConfigurationCommand.ts b/clients/client-kafka/commands/CreateConfigurationCommand.ts index 56d226208cc2c..52acda7c8d986 100644 --- a/clients/client-kafka/commands/CreateConfigurationCommand.ts +++ b/clients/client-kafka/commands/CreateConfigurationCommand.ts @@ -28,7 +28,6 @@ export class CreateConfigurationCommand extends $Command< CreateConfigurationCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConfigurationCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/DeleteClusterCommand.ts b/clients/client-kafka/commands/DeleteClusterCommand.ts index a6886b241cab0..e6d7d031bae47 100644 --- a/clients/client-kafka/commands/DeleteClusterCommand.ts +++ b/clients/client-kafka/commands/DeleteClusterCommand.ts @@ -28,7 +28,6 @@ export class DeleteClusterCommand extends $Command< DeleteClusterCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteClusterCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/DeleteConfigurationCommand.ts b/clients/client-kafka/commands/DeleteConfigurationCommand.ts index bebbbc2299b8a..5d3210f40a8ed 100644 --- a/clients/client-kafka/commands/DeleteConfigurationCommand.ts +++ b/clients/client-kafka/commands/DeleteConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteConfigurationCommand extends $Command< DeleteConfigurationCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConfigurationCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/DescribeClusterCommand.ts b/clients/client-kafka/commands/DescribeClusterCommand.ts index 69de69f9bdc74..1e5ed4b815b84 100644 --- a/clients/client-kafka/commands/DescribeClusterCommand.ts +++ b/clients/client-kafka/commands/DescribeClusterCommand.ts @@ -28,7 +28,6 @@ export class DescribeClusterCommand extends $Command< DescribeClusterCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClusterCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/DescribeClusterOperationCommand.ts b/clients/client-kafka/commands/DescribeClusterOperationCommand.ts index 8728d8c1b5b95..a18406fca887c 100644 --- a/clients/client-kafka/commands/DescribeClusterOperationCommand.ts +++ b/clients/client-kafka/commands/DescribeClusterOperationCommand.ts @@ -28,7 +28,6 @@ export class DescribeClusterOperationCommand extends $Command< DescribeClusterOperationCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClusterOperationCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/DescribeConfigurationCommand.ts b/clients/client-kafka/commands/DescribeConfigurationCommand.ts index a7c1afd9c70a0..60e1c5ebbd22d 100644 --- a/clients/client-kafka/commands/DescribeConfigurationCommand.ts +++ b/clients/client-kafka/commands/DescribeConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DescribeConfigurationCommand extends $Command< DescribeConfigurationCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConfigurationCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts b/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts index 301048fcd9c04..b7addf6abb0d3 100644 --- a/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts +++ b/clients/client-kafka/commands/DescribeConfigurationRevisionCommand.ts @@ -28,7 +28,6 @@ export class DescribeConfigurationRevisionCommand extends $Command< DescribeConfigurationRevisionCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConfigurationRevisionCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts b/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts index c3bd53e32043e..cfc416343888a 100644 --- a/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts +++ b/clients/client-kafka/commands/GetBootstrapBrokersCommand.ts @@ -28,7 +28,6 @@ export class GetBootstrapBrokersCommand extends $Command< GetBootstrapBrokersCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBootstrapBrokersCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/GetCompatibleKafkaVersionsCommand.ts b/clients/client-kafka/commands/GetCompatibleKafkaVersionsCommand.ts index da37410b6d681..afe945b35356f 100644 --- a/clients/client-kafka/commands/GetCompatibleKafkaVersionsCommand.ts +++ b/clients/client-kafka/commands/GetCompatibleKafkaVersionsCommand.ts @@ -28,7 +28,6 @@ export class GetCompatibleKafkaVersionsCommand extends $Command< GetCompatibleKafkaVersionsCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCompatibleKafkaVersionsCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListClusterOperationsCommand.ts b/clients/client-kafka/commands/ListClusterOperationsCommand.ts index ef0a94978db9b..b217682d25360 100644 --- a/clients/client-kafka/commands/ListClusterOperationsCommand.ts +++ b/clients/client-kafka/commands/ListClusterOperationsCommand.ts @@ -28,7 +28,6 @@ export class ListClusterOperationsCommand extends $Command< ListClusterOperationsCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListClusterOperationsCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListClustersCommand.ts b/clients/client-kafka/commands/ListClustersCommand.ts index 36ed2c3cbb850..65d1384ce83f2 100644 --- a/clients/client-kafka/commands/ListClustersCommand.ts +++ b/clients/client-kafka/commands/ListClustersCommand.ts @@ -28,7 +28,6 @@ export class ListClustersCommand extends $Command< ListClustersCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListClustersCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts b/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts index ffba96cdbb030..ecc6a78e842a5 100644 --- a/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts +++ b/clients/client-kafka/commands/ListConfigurationRevisionsCommand.ts @@ -28,7 +28,6 @@ export class ListConfigurationRevisionsCommand extends $Command< ListConfigurationRevisionsCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigurationRevisionsCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListConfigurationsCommand.ts b/clients/client-kafka/commands/ListConfigurationsCommand.ts index 1c76005a789d6..67e80a51b8c19 100644 --- a/clients/client-kafka/commands/ListConfigurationsCommand.ts +++ b/clients/client-kafka/commands/ListConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListConfigurationsCommand extends $Command< ListConfigurationsCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigurationsCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListKafkaVersionsCommand.ts b/clients/client-kafka/commands/ListKafkaVersionsCommand.ts index ae9c944bdbef1..7902a072509b3 100644 --- a/clients/client-kafka/commands/ListKafkaVersionsCommand.ts +++ b/clients/client-kafka/commands/ListKafkaVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListKafkaVersionsCommand extends $Command< ListKafkaVersionsCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListKafkaVersionsCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListNodesCommand.ts b/clients/client-kafka/commands/ListNodesCommand.ts index 99a56ec563b92..be9e8d56a5d1e 100644 --- a/clients/client-kafka/commands/ListNodesCommand.ts +++ b/clients/client-kafka/commands/ListNodesCommand.ts @@ -28,7 +28,6 @@ export class ListNodesCommand extends $Command< ListNodesCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListNodesCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListScramSecretsCommand.ts b/clients/client-kafka/commands/ListScramSecretsCommand.ts index 8a5c88de2c9aa..d0969e50aa431 100644 --- a/clients/client-kafka/commands/ListScramSecretsCommand.ts +++ b/clients/client-kafka/commands/ListScramSecretsCommand.ts @@ -28,7 +28,6 @@ export class ListScramSecretsCommand extends $Command< ListScramSecretsCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListScramSecretsCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/ListTagsForResourceCommand.ts b/clients/client-kafka/commands/ListTagsForResourceCommand.ts index 67c76c9f9e27d..9a6433308ed3c 100644 --- a/clients/client-kafka/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kafka/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/RebootBrokerCommand.ts b/clients/client-kafka/commands/RebootBrokerCommand.ts index d6f6681e97e42..4e73e92c92b3c 100644 --- a/clients/client-kafka/commands/RebootBrokerCommand.ts +++ b/clients/client-kafka/commands/RebootBrokerCommand.ts @@ -28,7 +28,6 @@ export class RebootBrokerCommand extends $Command< RebootBrokerCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RebootBrokerCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/TagResourceCommand.ts b/clients/client-kafka/commands/TagResourceCommand.ts index b2e1e834d0f45..dccea77d8d403 100644 --- a/clients/client-kafka/commands/TagResourceCommand.ts +++ b/clients/client-kafka/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UntagResourceCommand.ts b/clients/client-kafka/commands/UntagResourceCommand.ts index abd073a0a01bb..9e6849eca0933 100644 --- a/clients/client-kafka/commands/UntagResourceCommand.ts +++ b/clients/client-kafka/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UpdateBrokerCountCommand.ts b/clients/client-kafka/commands/UpdateBrokerCountCommand.ts index 1791f6eb5ebf3..1784ce3a5eae2 100644 --- a/clients/client-kafka/commands/UpdateBrokerCountCommand.ts +++ b/clients/client-kafka/commands/UpdateBrokerCountCommand.ts @@ -28,7 +28,6 @@ export class UpdateBrokerCountCommand extends $Command< UpdateBrokerCountCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBrokerCountCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts b/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts index 062c1e5db5298..5c4c71d333e92 100644 --- a/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts +++ b/clients/client-kafka/commands/UpdateBrokerStorageCommand.ts @@ -28,7 +28,6 @@ export class UpdateBrokerStorageCommand extends $Command< UpdateBrokerStorageCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBrokerStorageCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts b/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts index 273f7ae1716c3..6f76f3ad75036 100644 --- a/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts +++ b/clients/client-kafka/commands/UpdateClusterConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateClusterConfigurationCommand extends $Command< UpdateClusterConfigurationCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateClusterConfigurationCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UpdateClusterKafkaVersionCommand.ts b/clients/client-kafka/commands/UpdateClusterKafkaVersionCommand.ts index 1ebb561df7702..cb1f258fd21fb 100644 --- a/clients/client-kafka/commands/UpdateClusterKafkaVersionCommand.ts +++ b/clients/client-kafka/commands/UpdateClusterKafkaVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateClusterKafkaVersionCommand extends $Command< UpdateClusterKafkaVersionCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateClusterKafkaVersionCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UpdateConfigurationCommand.ts b/clients/client-kafka/commands/UpdateConfigurationCommand.ts index 0237a6116596b..3cce1500b27cf 100644 --- a/clients/client-kafka/commands/UpdateConfigurationCommand.ts +++ b/clients/client-kafka/commands/UpdateConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateConfigurationCommand extends $Command< UpdateConfigurationCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConfigurationCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kafka/commands/UpdateMonitoringCommand.ts b/clients/client-kafka/commands/UpdateMonitoringCommand.ts index c46f17682bba3..e6449181ec7eb 100644 --- a/clients/client-kafka/commands/UpdateMonitoringCommand.ts +++ b/clients/client-kafka/commands/UpdateMonitoringCommand.ts @@ -28,7 +28,6 @@ export class UpdateMonitoringCommand extends $Command< UpdateMonitoringCommandOutput, KafkaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMonitoringCommand extends $Command< configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts b/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts index 43dd8390202e8..3d433442bdcb1 100644 --- a/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts +++ b/clients/client-kendra/commands/BatchDeleteDocumentCommand.ts @@ -32,7 +32,6 @@ export class BatchDeleteDocumentCommand extends $Command< BatchDeleteDocumentCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class BatchDeleteDocumentCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/BatchPutDocumentCommand.ts b/clients/client-kendra/commands/BatchPutDocumentCommand.ts index 4e486ea8c5a9f..a0971373bb3b2 100644 --- a/clients/client-kendra/commands/BatchPutDocumentCommand.ts +++ b/clients/client-kendra/commands/BatchPutDocumentCommand.ts @@ -35,7 +35,6 @@ export class BatchPutDocumentCommand extends $Command< BatchPutDocumentCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchPutDocumentCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/CreateDataSourceCommand.ts b/clients/client-kendra/commands/CreateDataSourceCommand.ts index 6bf24b18a9aff..bf5947ee1475e 100644 --- a/clients/client-kendra/commands/CreateDataSourceCommand.ts +++ b/clients/client-kendra/commands/CreateDataSourceCommand.ts @@ -34,7 +34,6 @@ export class CreateDataSourceCommand extends $Command< CreateDataSourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDataSourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/CreateFaqCommand.ts b/clients/client-kendra/commands/CreateFaqCommand.ts index ae1baa1f23483..764d002c8f014 100644 --- a/clients/client-kendra/commands/CreateFaqCommand.ts +++ b/clients/client-kendra/commands/CreateFaqCommand.ts @@ -25,7 +25,6 @@ export class CreateFaqCommand extends $Command< CreateFaqCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CreateFaqCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/CreateIndexCommand.ts b/clients/client-kendra/commands/CreateIndexCommand.ts index 4370f84d72945..baa29eedb8d97 100644 --- a/clients/client-kendra/commands/CreateIndexCommand.ts +++ b/clients/client-kendra/commands/CreateIndexCommand.ts @@ -33,7 +33,6 @@ export class CreateIndexCommand extends $Command< CreateIndexCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateIndexCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/CreateThesaurusCommand.ts b/clients/client-kendra/commands/CreateThesaurusCommand.ts index 1671e3518f9a2..785e54c81bc40 100644 --- a/clients/client-kendra/commands/CreateThesaurusCommand.ts +++ b/clients/client-kendra/commands/CreateThesaurusCommand.ts @@ -29,7 +29,6 @@ export class CreateThesaurusCommand extends $Command< CreateThesaurusCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateThesaurusCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DeleteDataSourceCommand.ts b/clients/client-kendra/commands/DeleteDataSourceCommand.ts index 2e9a3dd9b2f09..43cc0a0ef3f3b 100644 --- a/clients/client-kendra/commands/DeleteDataSourceCommand.ts +++ b/clients/client-kendra/commands/DeleteDataSourceCommand.ts @@ -31,7 +31,6 @@ export class DeleteDataSourceCommand extends $Command< DeleteDataSourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDataSourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DeleteFaqCommand.ts b/clients/client-kendra/commands/DeleteFaqCommand.ts index 522a8331fab84..04fe77ab74b88 100644 --- a/clients/client-kendra/commands/DeleteFaqCommand.ts +++ b/clients/client-kendra/commands/DeleteFaqCommand.ts @@ -25,7 +25,6 @@ export class DeleteFaqCommand extends $Command< DeleteFaqCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteFaqCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DeleteIndexCommand.ts b/clients/client-kendra/commands/DeleteIndexCommand.ts index 2630d2b7e55ad..f75685c2c3ba2 100644 --- a/clients/client-kendra/commands/DeleteIndexCommand.ts +++ b/clients/client-kendra/commands/DeleteIndexCommand.ts @@ -30,7 +30,6 @@ export class DeleteIndexCommand extends $Command< DeleteIndexCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteIndexCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DeleteThesaurusCommand.ts b/clients/client-kendra/commands/DeleteThesaurusCommand.ts index d067b41b64b6d..be7b8c6b08b74 100644 --- a/clients/client-kendra/commands/DeleteThesaurusCommand.ts +++ b/clients/client-kendra/commands/DeleteThesaurusCommand.ts @@ -29,7 +29,6 @@ export class DeleteThesaurusCommand extends $Command< DeleteThesaurusCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteThesaurusCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DescribeDataSourceCommand.ts b/clients/client-kendra/commands/DescribeDataSourceCommand.ts index 0a4449aef7719..a519391a7d741 100644 --- a/clients/client-kendra/commands/DescribeDataSourceCommand.ts +++ b/clients/client-kendra/commands/DescribeDataSourceCommand.ts @@ -28,7 +28,6 @@ export class DescribeDataSourceCommand extends $Command< DescribeDataSourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDataSourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DescribeFaqCommand.ts b/clients/client-kendra/commands/DescribeFaqCommand.ts index 7c0251e590557..a6ef8e1dd6cb4 100644 --- a/clients/client-kendra/commands/DescribeFaqCommand.ts +++ b/clients/client-kendra/commands/DescribeFaqCommand.ts @@ -28,7 +28,6 @@ export class DescribeFaqCommand extends $Command< DescribeFaqCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFaqCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DescribeIndexCommand.ts b/clients/client-kendra/commands/DescribeIndexCommand.ts index 1b768151e59bf..17e16d5fd2be5 100644 --- a/clients/client-kendra/commands/DescribeIndexCommand.ts +++ b/clients/client-kendra/commands/DescribeIndexCommand.ts @@ -28,7 +28,6 @@ export class DescribeIndexCommand extends $Command< DescribeIndexCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeIndexCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/DescribeThesaurusCommand.ts b/clients/client-kendra/commands/DescribeThesaurusCommand.ts index 58d1228997fb2..06033a0336c6b 100644 --- a/clients/client-kendra/commands/DescribeThesaurusCommand.ts +++ b/clients/client-kendra/commands/DescribeThesaurusCommand.ts @@ -28,7 +28,6 @@ export class DescribeThesaurusCommand extends $Command< DescribeThesaurusCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThesaurusCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts b/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts index a0b82b4aca9df..a82ff4fbf84e0 100644 --- a/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts +++ b/clients/client-kendra/commands/ListDataSourceSyncJobsCommand.ts @@ -28,7 +28,6 @@ export class ListDataSourceSyncJobsCommand extends $Command< ListDataSourceSyncJobsCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataSourceSyncJobsCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/ListDataSourcesCommand.ts b/clients/client-kendra/commands/ListDataSourcesCommand.ts index f1e4e9e4fcbc1..c287eaaba99d7 100644 --- a/clients/client-kendra/commands/ListDataSourcesCommand.ts +++ b/clients/client-kendra/commands/ListDataSourcesCommand.ts @@ -28,7 +28,6 @@ export class ListDataSourcesCommand extends $Command< ListDataSourcesCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataSourcesCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/ListFaqsCommand.ts b/clients/client-kendra/commands/ListFaqsCommand.ts index 1a71969562178..d1916102c950c 100644 --- a/clients/client-kendra/commands/ListFaqsCommand.ts +++ b/clients/client-kendra/commands/ListFaqsCommand.ts @@ -21,7 +21,6 @@ export type ListFaqsCommandOutput = ListFaqsResponse & __MetadataBearer; *

Gets a list of FAQ lists associated with an index.

*/ export class ListFaqsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class ListFaqsCommand 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-kendra/commands/ListIndicesCommand.ts b/clients/client-kendra/commands/ListIndicesCommand.ts index 090ceead970a4..893361c593987 100644 --- a/clients/client-kendra/commands/ListIndicesCommand.ts +++ b/clients/client-kendra/commands/ListIndicesCommand.ts @@ -28,7 +28,6 @@ export class ListIndicesCommand extends $Command< ListIndicesCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIndicesCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/ListTagsForResourceCommand.ts b/clients/client-kendra/commands/ListTagsForResourceCommand.ts index af6662988f04f..edc2d8348101a 100644 --- a/clients/client-kendra/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kendra/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/ListThesauriCommand.ts b/clients/client-kendra/commands/ListThesauriCommand.ts index d2d37a932f7d3..fbf77532399a6 100644 --- a/clients/client-kendra/commands/ListThesauriCommand.ts +++ b/clients/client-kendra/commands/ListThesauriCommand.ts @@ -28,7 +28,6 @@ export class ListThesauriCommand extends $Command< ListThesauriCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThesauriCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/QueryCommand.ts b/clients/client-kendra/commands/QueryCommand.ts index 05c0b4718d5f3..a54e19f3dfa12 100644 --- a/clients/client-kendra/commands/QueryCommand.ts +++ b/clients/client-kendra/commands/QueryCommand.ts @@ -41,7 +41,6 @@ export type QueryCommandOutput = QueryResult & __MetadataBearer; *

Each query returns the 100 most relevant results.

*/ export class QueryCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class QueryCommand 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-kendra/commands/StartDataSourceSyncJobCommand.ts b/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts index 294845d7fa197..a1141f45a6134 100644 --- a/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts +++ b/clients/client-kendra/commands/StartDataSourceSyncJobCommand.ts @@ -29,7 +29,6 @@ export class StartDataSourceSyncJobCommand extends $Command< StartDataSourceSyncJobCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartDataSourceSyncJobCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts b/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts index a3f4373faf817..e6f0db72888de 100644 --- a/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts +++ b/clients/client-kendra/commands/StopDataSourceSyncJobCommand.ts @@ -29,7 +29,6 @@ export class StopDataSourceSyncJobCommand extends $Command< StopDataSourceSyncJobCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopDataSourceSyncJobCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/SubmitFeedbackCommand.ts b/clients/client-kendra/commands/SubmitFeedbackCommand.ts index 2704a70f4949c..2ca9e75f06b66 100644 --- a/clients/client-kendra/commands/SubmitFeedbackCommand.ts +++ b/clients/client-kendra/commands/SubmitFeedbackCommand.ts @@ -29,7 +29,6 @@ export class SubmitFeedbackCommand extends $Command< SubmitFeedbackCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SubmitFeedbackCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/TagResourceCommand.ts b/clients/client-kendra/commands/TagResourceCommand.ts index afa0d4698d298..9a6b9965b79d4 100644 --- a/clients/client-kendra/commands/TagResourceCommand.ts +++ b/clients/client-kendra/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/UntagResourceCommand.ts b/clients/client-kendra/commands/UntagResourceCommand.ts index 4ab918f9fb2cc..246548a67b985 100644 --- a/clients/client-kendra/commands/UntagResourceCommand.ts +++ b/clients/client-kendra/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/UpdateDataSourceCommand.ts b/clients/client-kendra/commands/UpdateDataSourceCommand.ts index 9ab2f5c897498..f728e8be5634b 100644 --- a/clients/client-kendra/commands/UpdateDataSourceCommand.ts +++ b/clients/client-kendra/commands/UpdateDataSourceCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataSourceCommand extends $Command< UpdateDataSourceCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataSourceCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/UpdateIndexCommand.ts b/clients/client-kendra/commands/UpdateIndexCommand.ts index aea01cc8ae77b..0a65096fa2b00 100644 --- a/clients/client-kendra/commands/UpdateIndexCommand.ts +++ b/clients/client-kendra/commands/UpdateIndexCommand.ts @@ -28,7 +28,6 @@ export class UpdateIndexCommand extends $Command< UpdateIndexCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateIndexCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kendra/commands/UpdateThesaurusCommand.ts b/clients/client-kendra/commands/UpdateThesaurusCommand.ts index fc9658878767d..289a379f8db70 100644 --- a/clients/client-kendra/commands/UpdateThesaurusCommand.ts +++ b/clients/client-kendra/commands/UpdateThesaurusCommand.ts @@ -28,7 +28,6 @@ export class UpdateThesaurusCommand extends $Command< UpdateThesaurusCommandOutput, KendraClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThesaurusCommand extends $Command< configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts index 811e8a0c08b8e..9440e92248c6d 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationCloudWatchLoggingOptionCommand.ts @@ -36,7 +36,6 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< AddApplicationCloudWatchLoggingOptionCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts index 28f166be751d5..dc6f0698559cf 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputCommand.ts @@ -41,7 +41,6 @@ export class AddApplicationInputCommand extends $Command< AddApplicationInputCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class AddApplicationInputCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts index a910e54ec4f26..397e6cf31735c 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationInputProcessingConfigurationCommand.ts @@ -38,7 +38,6 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< AddApplicationInputProcessingConfigurationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< AddApplicationInputProcessingConfigurationCommandInput, AddApplicationInputProcessingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts index 5ca48abd090a1..44547b0f1194f 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationOutputCommand.ts @@ -44,7 +44,6 @@ export class AddApplicationOutputCommand extends $Command< AddApplicationOutputCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class AddApplicationOutputCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts index e962928dfe1f5..e382286005909 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationReferenceDataSourceCommand.ts @@ -41,7 +41,6 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< AddApplicationReferenceDataSourceCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts index fb65f8c98acb4..d83ac9b803bf6 100644 --- a/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/AddApplicationVpcConfigurationCommand.ts @@ -43,7 +43,6 @@ export class AddApplicationVpcConfigurationCommand extends $Command< AddApplicationVpcConfigurationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class AddApplicationVpcConfigurationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts index bda24c4d33286..a2a5e136013ca 100644 --- a/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/CreateApplicationCommand.ts @@ -34,7 +34,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateApplicationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/CreateApplicationPresignedUrlCommand.ts b/clients/client-kinesis-analytics-v2/commands/CreateApplicationPresignedUrlCommand.ts index 2aa825df17128..c25779f8880ee 100644 --- a/clients/client-kinesis-analytics-v2/commands/CreateApplicationPresignedUrlCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/CreateApplicationPresignedUrlCommand.ts @@ -44,7 +44,6 @@ export class CreateApplicationPresignedUrlCommand extends $Command< CreateApplicationPresignedUrlCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateApplicationPresignedUrlCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts index 047c130a174f2..f99bcb4c1a4b8 100644 --- a/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/CreateApplicationSnapshotCommand.ts @@ -32,7 +32,6 @@ export class CreateApplicationSnapshotCommand extends $Command< CreateApplicationSnapshotCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApplicationSnapshotCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts index 0c41fd5396333..0ad3568bfcbda 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts @@ -36,7 +36,6 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< DeleteApplicationCloudWatchLoggingOptionCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< DeleteApplicationCloudWatchLoggingOptionCommandInput, DeleteApplicationCloudWatchLoggingOptionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts index ef4721e424466..35a4cc39d15c1 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationCommand.ts @@ -32,7 +32,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteApplicationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts index 22239ff361b02..f860b1795b359 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationInputProcessingConfigurationCommand.ts @@ -36,7 +36,6 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma DeleteApplicationInputProcessingConfigurationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma DeleteApplicationInputProcessingConfigurationCommandInput, DeleteApplicationInputProcessingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts index 494adcec4692d..a1aa42549bc68 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationOutputCommand.ts @@ -34,7 +34,6 @@ export class DeleteApplicationOutputCommand extends $Command< DeleteApplicationOutputCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteApplicationOutputCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts index a60027587bc95..452274bef1dff 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationReferenceDataSourceCommand.ts @@ -38,7 +38,6 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< DeleteApplicationReferenceDataSourceCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts index 343cc04b8fbfc..35c700221eb58 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationSnapshotCommand.ts @@ -32,7 +32,6 @@ export class DeleteApplicationSnapshotCommand extends $Command< DeleteApplicationSnapshotCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteApplicationSnapshotCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts index 8416b9419e03c..35589a9268275 100644 --- a/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DeleteApplicationVpcConfigurationCommand.ts @@ -36,7 +36,6 @@ export class DeleteApplicationVpcConfigurationCommand extends $Command< DeleteApplicationVpcConfigurationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteApplicationVpcConfigurationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts index df0e1c209dfa1..0c114cd3d941c 100644 --- a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationCommand.ts @@ -34,7 +34,6 @@ export class DescribeApplicationCommand extends $Command< DescribeApplicationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeApplicationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts index 79dfdae0a1d37..7666bfce1686d 100644 --- a/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DescribeApplicationSnapshotCommand.ts @@ -32,7 +32,6 @@ export class DescribeApplicationSnapshotCommand extends $Command< DescribeApplicationSnapshotCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeApplicationSnapshotCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts b/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts index 0c91ec917a037..83d38a05af017 100644 --- a/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/DiscoverInputSchemaCommand.ts @@ -38,7 +38,6 @@ export class DiscoverInputSchemaCommand extends $Command< DiscoverInputSchemaCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DiscoverInputSchemaCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts b/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts index 4ad35e901e62f..58016fb9d0bac 100644 --- a/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/ListApplicationSnapshotsCommand.ts @@ -32,7 +32,6 @@ export class ListApplicationSnapshotsCommand extends $Command< ListApplicationSnapshotsCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListApplicationSnapshotsCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts b/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts index 409e4f1508eec..6313310ba134a 100644 --- a/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/ListApplicationsCommand.ts @@ -36,7 +36,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListApplicationsCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts index 808bea1941c3c..69b6e1419b5bf 100644 --- a/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/ListTagsForResourceCommand.ts @@ -33,7 +33,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts index 36303e478e53b..0894baf5005ec 100644 --- a/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/StartApplicationCommand.ts @@ -33,7 +33,6 @@ export class StartApplicationCommand extends $Command< StartApplicationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartApplicationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts index d0a5469a3c530..24c379683eae3 100644 --- a/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/StopApplicationCommand.ts @@ -38,7 +38,6 @@ export class StopApplicationCommand extends $Command< StopApplicationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class StopApplicationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts index 2d31738e88515..f8a503c51ea31 100644 --- a/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts b/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts index e6bb7d110745e..462a748056815 100644 --- a/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/UntagResourceCommand.ts @@ -33,7 +33,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UntagResourceCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts b/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts index 31af0083be16f..8f43e77fb42f7 100644 --- a/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts +++ b/clients/client-kinesis-analytics-v2/commands/UpdateApplicationCommand.ts @@ -40,7 +40,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, KinesisAnalyticsV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateApplicationCommand extends $Command< configuration: KinesisAnalyticsV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts index 0f0626e7c3692..60841170d2191 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationCloudWatchLoggingOptionCommand.ts @@ -38,7 +38,6 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< AddApplicationCloudWatchLoggingOptionCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AddApplicationCloudWatchLoggingOptionCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts index 4d0a031ec4a86..11392490355d1 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationInputCommand.ts @@ -44,7 +44,6 @@ export class AddApplicationInputCommand extends $Command< AddApplicationInputCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class AddApplicationInputCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts index 0f33de16c10c8..1abd84cf66e76 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationInputProcessingConfigurationCommand.ts @@ -37,7 +37,6 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< AddApplicationInputProcessingConfigurationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class AddApplicationInputProcessingConfigurationCommand extends $Command< AddApplicationInputProcessingConfigurationCommandInput, AddApplicationInputProcessingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts index 509d1b4f49d65..3f5b395bfd099 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationOutputCommand.ts @@ -47,7 +47,6 @@ export class AddApplicationOutputCommand extends $Command< AddApplicationOutputCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class AddApplicationOutputCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts index 994ed13b7866d..c25b371fb9c69 100644 --- a/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/AddApplicationReferenceDataSourceCommand.ts @@ -45,7 +45,6 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< AddApplicationReferenceDataSourceCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class AddApplicationReferenceDataSourceCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts b/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts index 7ea5f3330e346..97c88a83f893f 100644 --- a/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/CreateApplicationCommand.ts @@ -54,7 +54,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class CreateApplicationCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts index 6262e1f632655..fcf1408e09289 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts @@ -37,7 +37,6 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< DeleteApplicationCloudWatchLoggingOptionCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command< DeleteApplicationCloudWatchLoggingOptionCommandInput, DeleteApplicationCloudWatchLoggingOptionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts index d6c7747e620bc..c74def74f4840 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationCommand.ts @@ -33,7 +33,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteApplicationCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts index 31dbcb97463c6..46ee3baf4eb0b 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationInputProcessingConfigurationCommand.ts @@ -35,7 +35,6 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma DeleteApplicationInputProcessingConfigurationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteApplicationInputProcessingConfigurationCommand extends $Comma DeleteApplicationInputProcessingConfigurationCommandInput, DeleteApplicationInputProcessingConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts index 23533e18d2a94..4af64ad378e2d 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationOutputCommand.ts @@ -33,7 +33,6 @@ export class DeleteApplicationOutputCommand extends $Command< DeleteApplicationOutputCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteApplicationOutputCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts b/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts index a8fbb7e479d67..f657b028ba1df 100644 --- a/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/DeleteApplicationReferenceDataSourceCommand.ts @@ -40,7 +40,6 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< DeleteApplicationReferenceDataSourceCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteApplicationReferenceDataSourceCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts b/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts index daef1536fb832..84e8a1c22e4eb 100644 --- a/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/DescribeApplicationCommand.ts @@ -37,7 +37,6 @@ export class DescribeApplicationCommand extends $Command< DescribeApplicationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeApplicationCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts b/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts index aff84ecb9e46f..f8fa7665d1dcd 100644 --- a/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts +++ b/clients/client-kinesis-analytics/commands/DiscoverInputSchemaCommand.ts @@ -42,7 +42,6 @@ export class DiscoverInputSchemaCommand extends $Command< DiscoverInputSchemaCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DiscoverInputSchemaCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts b/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts index 3ebff7b2e68b8..81e91791eae63 100644 --- a/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts +++ b/clients/client-kinesis-analytics/commands/ListApplicationsCommand.ts @@ -44,7 +44,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class ListApplicationsCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts b/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts index ea70dc2211fa7..46a66e52b8dec 100644 --- a/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts b/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts index 8a861c67ce3b3..4b48bb44e1a11 100644 --- a/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/StartApplicationCommand.ts @@ -39,7 +39,6 @@ export class StartApplicationCommand extends $Command< StartApplicationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class StartApplicationCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts b/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts index 7610af09d3a40..5c740efa4598a 100644 --- a/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/StopApplicationCommand.ts @@ -38,7 +38,6 @@ export class StopApplicationCommand extends $Command< StopApplicationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class StopApplicationCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/TagResourceCommand.ts b/clients/client-kinesis-analytics/commands/TagResourceCommand.ts index 683e41d4245e9..9a87a251c870d 100644 --- a/clients/client-kinesis-analytics/commands/TagResourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/TagResourceCommand.ts @@ -29,7 +29,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TagResourceCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts b/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts index 32a1bdc0a0d57..7f101724018aa 100644 --- a/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts +++ b/clients/client-kinesis-analytics/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts b/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts index beaa188595342..b7de1f070225c 100644 --- a/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts +++ b/clients/client-kinesis-analytics/commands/UpdateApplicationCommand.ts @@ -37,7 +37,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, KinesisAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateApplicationCommand extends $Command< configuration: KinesisAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-archived-media/commands/GetClipCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetClipCommand.ts index 38b773bccbec5..37cf7429031f5 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetClipCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetClipCommand.ts @@ -74,7 +74,6 @@ export class GetClipCommand extends $Command< GetClipCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class GetClipCommand extends $Command< configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts index d9bccd0bb5c07..600aa857d0eb7 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetDASHStreamingSessionURLCommand.ts @@ -202,7 +202,6 @@ export class GetDASHStreamingSessionURLCommand extends $Command< GetDASHStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -220,10 +219,7 @@ export class GetDASHStreamingSessionURLCommand extends $Command< configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts index e95eae4b77c10..f2739643f7e02 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetHLSStreamingSessionURLCommand.ts @@ -233,7 +233,6 @@ export class GetHLSStreamingSessionURLCommand extends $Command< GetHLSStreamingSessionURLCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -251,10 +250,7 @@ export class GetHLSStreamingSessionURLCommand extends $Command< configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts b/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts index 706a3bb8b37ec..52e6ed7db9186 100644 --- a/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/GetMediaForFragmentListCommand.ts @@ -80,7 +80,6 @@ export class GetMediaForFragmentListCommand extends $Command< GetMediaForFragmentListCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,10 +97,7 @@ export class GetMediaForFragmentListCommand extends $Command< configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts b/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts index 261c3813fa2b0..7582436ecc50a 100644 --- a/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts +++ b/clients/client-kinesis-video-archived-media/commands/ListFragmentsCommand.ts @@ -68,7 +68,6 @@ export class ListFragmentsCommand extends $Command< ListFragmentsCommandOutput, KinesisVideoArchivedMediaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class ListFragmentsCommand extends $Command< configuration: KinesisVideoArchivedMediaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-media/commands/GetMediaCommand.ts b/clients/client-kinesis-video-media/commands/GetMediaCommand.ts index 155f9832e0154..3e246e952b806 100644 --- a/clients/client-kinesis-video-media/commands/GetMediaCommand.ts +++ b/clients/client-kinesis-video-media/commands/GetMediaCommand.ts @@ -77,7 +77,6 @@ export class GetMediaCommand extends $Command< GetMediaCommandOutput, KinesisVideoMediaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class GetMediaCommand extends $Command< configuration: KinesisVideoMediaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts b/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts index 57819328fd972..27928b9375d33 100644 --- a/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts +++ b/clients/client-kinesis-video-signaling/commands/GetIceServerConfigCommand.ts @@ -45,7 +45,6 @@ export class GetIceServerConfigCommand extends $Command< GetIceServerConfigCommandOutput, KinesisVideoSignalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class GetIceServerConfigCommand extends $Command< configuration: KinesisVideoSignalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts b/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts index 9fc948f86803a..3a77d020b2590 100644 --- a/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts +++ b/clients/client-kinesis-video-signaling/commands/SendAlexaOfferToMasterCommand.ts @@ -37,7 +37,6 @@ export class SendAlexaOfferToMasterCommand extends $Command< SendAlexaOfferToMasterCommandOutput, KinesisVideoSignalingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class SendAlexaOfferToMasterCommand extends $Command< configuration: KinesisVideoSignalingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts index 23312649c4fca..adf7b91511ba0 100644 --- a/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/CreateSignalingChannelCommand.ts @@ -30,7 +30,6 @@ export class CreateSignalingChannelCommand extends $Command< CreateSignalingChannelCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateSignalingChannelCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/CreateStreamCommand.ts b/clients/client-kinesis-video/commands/CreateStreamCommand.ts index ee627d5583c1d..0a47aa13d8454 100644 --- a/clients/client-kinesis-video/commands/CreateStreamCommand.ts +++ b/clients/client-kinesis-video/commands/CreateStreamCommand.ts @@ -36,7 +36,6 @@ export class CreateStreamCommand extends $Command< CreateStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts index 63d54e3651a7d..39e3b124b9ce9 100644 --- a/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/DeleteSignalingChannelCommand.ts @@ -30,7 +30,6 @@ export class DeleteSignalingChannelCommand extends $Command< DeleteSignalingChannelCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteSignalingChannelCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/DeleteStreamCommand.ts b/clients/client-kinesis-video/commands/DeleteStreamCommand.ts index 5a51f4e91d9ec..ac26d7f394752 100644 --- a/clients/client-kinesis-video/commands/DeleteStreamCommand.ts +++ b/clients/client-kinesis-video/commands/DeleteStreamCommand.ts @@ -37,7 +37,6 @@ export class DeleteStreamCommand extends $Command< DeleteStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts index cea24ce46769f..68981d5ea37fa 100644 --- a/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/DescribeSignalingChannelCommand.ts @@ -30,7 +30,6 @@ export class DescribeSignalingChannelCommand extends $Command< DescribeSignalingChannelCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeSignalingChannelCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/DescribeStreamCommand.ts b/clients/client-kinesis-video/commands/DescribeStreamCommand.ts index 60ebf65c75516..1d96ed46c0d37 100644 --- a/clients/client-kinesis-video/commands/DescribeStreamCommand.ts +++ b/clients/client-kinesis-video/commands/DescribeStreamCommand.ts @@ -29,7 +29,6 @@ export class DescribeStreamCommand extends $Command< DescribeStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts b/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts index e97563b44c47a..1056045316efc 100644 --- a/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts +++ b/clients/client-kinesis-video/commands/GetDataEndpointCommand.ts @@ -39,7 +39,6 @@ export class GetDataEndpointCommand extends $Command< GetDataEndpointCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetDataEndpointCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts b/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts index 683cb897103cc..af7ceabbcfd22 100644 --- a/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts +++ b/clients/client-kinesis-video/commands/GetSignalingChannelEndpointCommand.ts @@ -41,7 +41,6 @@ export class GetSignalingChannelEndpointCommand extends $Command< GetSignalingChannelEndpointCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetSignalingChannelEndpointCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts b/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts index 57d2c6c800745..25ec1963612fb 100644 --- a/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts +++ b/clients/client-kinesis-video/commands/ListSignalingChannelsCommand.ts @@ -30,7 +30,6 @@ export class ListSignalingChannelsCommand extends $Command< ListSignalingChannelsCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListSignalingChannelsCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/ListStreamsCommand.ts b/clients/client-kinesis-video/commands/ListStreamsCommand.ts index fb95d4825595e..a203122969e6a 100644 --- a/clients/client-kinesis-video/commands/ListStreamsCommand.ts +++ b/clients/client-kinesis-video/commands/ListStreamsCommand.ts @@ -30,7 +30,6 @@ export class ListStreamsCommand extends $Command< ListStreamsCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListStreamsCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts b/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts index 73b07fe13f04d..81903fb438b8c 100644 --- a/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts +++ b/clients/client-kinesis-video/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts b/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts index e84a61a41876d..e981322fcf915 100644 --- a/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts +++ b/clients/client-kinesis-video/commands/ListTagsForStreamCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForStreamCommand extends $Command< ListTagsForStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/TagResourceCommand.ts b/clients/client-kinesis-video/commands/TagResourceCommand.ts index a45754c38f068..da22cf90391f9 100644 --- a/clients/client-kinesis-video/commands/TagResourceCommand.ts +++ b/clients/client-kinesis-video/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/TagStreamCommand.ts b/clients/client-kinesis-video/commands/TagStreamCommand.ts index e612f4db6eb62..582bc43ac0efa 100644 --- a/clients/client-kinesis-video/commands/TagStreamCommand.ts +++ b/clients/client-kinesis-video/commands/TagStreamCommand.ts @@ -37,7 +37,6 @@ export class TagStreamCommand extends $Command< TagStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class TagStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/UntagResourceCommand.ts b/clients/client-kinesis-video/commands/UntagResourceCommand.ts index 052e8ae7aeaec..a9cf2ddbeaece 100644 --- a/clients/client-kinesis-video/commands/UntagResourceCommand.ts +++ b/clients/client-kinesis-video/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/UntagStreamCommand.ts b/clients/client-kinesis-video/commands/UntagStreamCommand.ts index cf4153f35a1ab..9ec029dfb8fb1 100644 --- a/clients/client-kinesis-video/commands/UntagStreamCommand.ts +++ b/clients/client-kinesis-video/commands/UntagStreamCommand.ts @@ -32,7 +32,6 @@ export class UntagStreamCommand extends $Command< UntagStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts b/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts index ae42525425d83..5988cd5d1fbf6 100644 --- a/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts +++ b/clients/client-kinesis-video/commands/UpdateDataRetentionCommand.ts @@ -54,7 +54,6 @@ export class UpdateDataRetentionCommand extends $Command< UpdateDataRetentionCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class UpdateDataRetentionCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts b/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts index f5727f54df8d4..f0288af96c482 100644 --- a/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts +++ b/clients/client-kinesis-video/commands/UpdateSignalingChannelCommand.ts @@ -33,7 +33,6 @@ export class UpdateSignalingChannelCommand extends $Command< UpdateSignalingChannelCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateSignalingChannelCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis-video/commands/UpdateStreamCommand.ts b/clients/client-kinesis-video/commands/UpdateStreamCommand.ts index 04054a56f9b4c..50f44f2903be8 100644 --- a/clients/client-kinesis-video/commands/UpdateStreamCommand.ts +++ b/clients/client-kinesis-video/commands/UpdateStreamCommand.ts @@ -37,7 +37,6 @@ export class UpdateStreamCommand extends $Command< UpdateStreamCommandOutput, KinesisVideoClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateStreamCommand extends $Command< configuration: KinesisVideoClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/AddTagsToStreamCommand.ts b/clients/client-kinesis/commands/AddTagsToStreamCommand.ts index ba1720ed2b4c2..8493bc0881d3b 100644 --- a/clients/client-kinesis/commands/AddTagsToStreamCommand.ts +++ b/clients/client-kinesis/commands/AddTagsToStreamCommand.ts @@ -36,7 +36,6 @@ export class AddTagsToStreamCommand extends $Command< AddTagsToStreamCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AddTagsToStreamCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/CreateStreamCommand.ts b/clients/client-kinesis/commands/CreateStreamCommand.ts index cf628516073ba..736da98be8acc 100644 --- a/clients/client-kinesis/commands/CreateStreamCommand.ts +++ b/clients/client-kinesis/commands/CreateStreamCommand.ts @@ -68,7 +68,6 @@ export class CreateStreamCommand extends $Command< CreateStreamCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class CreateStreamCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts b/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts index 5ef25d882d6d9..1d209521c2052 100644 --- a/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts +++ b/clients/client-kinesis/commands/DecreaseStreamRetentionPeriodCommand.ts @@ -33,7 +33,6 @@ export class DecreaseStreamRetentionPeriodCommand extends $Command< DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DecreaseStreamRetentionPeriodCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DeleteStreamCommand.ts b/clients/client-kinesis/commands/DeleteStreamCommand.ts index f61356ca749bf..7f2d95e9c93ed 100644 --- a/clients/client-kinesis/commands/DeleteStreamCommand.ts +++ b/clients/client-kinesis/commands/DeleteStreamCommand.ts @@ -46,7 +46,6 @@ export class DeleteStreamCommand extends $Command< DeleteStreamCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DeleteStreamCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts b/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts index af20a73238b8d..70a2b06525f65 100644 --- a/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts +++ b/clients/client-kinesis/commands/DeregisterStreamConsumerCommand.ts @@ -35,7 +35,6 @@ export class DeregisterStreamConsumerCommand extends $Command< DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeregisterStreamConsumerCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DescribeLimitsCommand.ts b/clients/client-kinesis/commands/DescribeLimitsCommand.ts index 993f0a0958562..75b97c10a18dd 100644 --- a/clients/client-kinesis/commands/DescribeLimitsCommand.ts +++ b/clients/client-kinesis/commands/DescribeLimitsCommand.ts @@ -31,7 +31,6 @@ export class DescribeLimitsCommand extends $Command< DescribeLimitsCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeLimitsCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DescribeStreamCommand.ts b/clients/client-kinesis/commands/DescribeStreamCommand.ts index b2a8d5e1fcd74..2f255637cc8b8 100644 --- a/clients/client-kinesis/commands/DescribeStreamCommand.ts +++ b/clients/client-kinesis/commands/DescribeStreamCommand.ts @@ -44,7 +44,6 @@ export class DescribeStreamCommand extends $Command< DescribeStreamCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DescribeStreamCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts b/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts index 87314a5dddc59..da4b3f3935d66 100644 --- a/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts +++ b/clients/client-kinesis/commands/DescribeStreamConsumerCommand.ts @@ -35,7 +35,6 @@ export class DescribeStreamConsumerCommand extends $Command< DescribeStreamConsumerCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeStreamConsumerCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts b/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts index 082f0b3fab878..d08042c654943 100644 --- a/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts +++ b/clients/client-kinesis/commands/DescribeStreamSummaryCommand.ts @@ -35,7 +35,6 @@ export class DescribeStreamSummaryCommand extends $Command< DescribeStreamSummaryCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeStreamSummaryCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts b/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts index 4a03db8a4db05..d648ca47b312e 100644 --- a/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts +++ b/clients/client-kinesis/commands/DisableEnhancedMonitoringCommand.ts @@ -28,7 +28,6 @@ export class DisableEnhancedMonitoringCommand extends $Command< DisableEnhancedMonitoringCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableEnhancedMonitoringCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts b/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts index 56209d3a79235..bc467ad103c29 100644 --- a/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts +++ b/clients/client-kinesis/commands/EnableEnhancedMonitoringCommand.ts @@ -28,7 +28,6 @@ export class EnableEnhancedMonitoringCommand extends $Command< EnableEnhancedMonitoringCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableEnhancedMonitoringCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/GetRecordsCommand.ts b/clients/client-kinesis/commands/GetRecordsCommand.ts index bdd12497b5274..f9bca6848c45d 100644 --- a/clients/client-kinesis/commands/GetRecordsCommand.ts +++ b/clients/client-kinesis/commands/GetRecordsCommand.ts @@ -74,7 +74,6 @@ export class GetRecordsCommand extends $Command< GetRecordsCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class GetRecordsCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/GetShardIteratorCommand.ts b/clients/client-kinesis/commands/GetShardIteratorCommand.ts index 1008975ba5bea..d9bd6a18f5790 100644 --- a/clients/client-kinesis/commands/GetShardIteratorCommand.ts +++ b/clients/client-kinesis/commands/GetShardIteratorCommand.ts @@ -61,7 +61,6 @@ export class GetShardIteratorCommand extends $Command< GetShardIteratorCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class GetShardIteratorCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts b/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts index b02d6854ea91c..eb1eae56bd546 100644 --- a/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts +++ b/clients/client-kinesis/commands/IncreaseStreamRetentionPeriodCommand.ts @@ -36,7 +36,6 @@ export class IncreaseStreamRetentionPeriodCommand extends $Command< IncreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class IncreaseStreamRetentionPeriodCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/ListShardsCommand.ts b/clients/client-kinesis/commands/ListShardsCommand.ts index 11270069f7535..342c40dc0773c 100644 --- a/clients/client-kinesis/commands/ListShardsCommand.ts +++ b/clients/client-kinesis/commands/ListShardsCommand.ts @@ -36,7 +36,6 @@ export class ListShardsCommand extends $Command< ListShardsCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListShardsCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/ListStreamConsumersCommand.ts b/clients/client-kinesis/commands/ListStreamConsumersCommand.ts index 8b1d500556767..55e7986f2c34e 100644 --- a/clients/client-kinesis/commands/ListStreamConsumersCommand.ts +++ b/clients/client-kinesis/commands/ListStreamConsumersCommand.ts @@ -30,7 +30,6 @@ export class ListStreamConsumersCommand extends $Command< ListStreamConsumersCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListStreamConsumersCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/ListStreamsCommand.ts b/clients/client-kinesis/commands/ListStreamsCommand.ts index 72d37f2d3ef0b..b793dc402eed5 100644 --- a/clients/client-kinesis/commands/ListStreamsCommand.ts +++ b/clients/client-kinesis/commands/ListStreamsCommand.ts @@ -43,7 +43,6 @@ export class ListStreamsCommand extends $Command< ListStreamsCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class ListStreamsCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/ListTagsForStreamCommand.ts b/clients/client-kinesis/commands/ListTagsForStreamCommand.ts index fe1b1911529cd..da3f616a1d5a5 100644 --- a/clients/client-kinesis/commands/ListTagsForStreamCommand.ts +++ b/clients/client-kinesis/commands/ListTagsForStreamCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForStreamCommand extends $Command< ListTagsForStreamCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForStreamCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/MergeShardsCommand.ts b/clients/client-kinesis/commands/MergeShardsCommand.ts index e9a998002c51a..8055ea5981acb 100644 --- a/clients/client-kinesis/commands/MergeShardsCommand.ts +++ b/clients/client-kinesis/commands/MergeShardsCommand.ts @@ -63,7 +63,6 @@ export class MergeShardsCommand extends $Command< MergeShardsCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class MergeShardsCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/PutRecordCommand.ts b/clients/client-kinesis/commands/PutRecordCommand.ts index 0f550c3f58ee6..a20ca4328f52d 100644 --- a/clients/client-kinesis/commands/PutRecordCommand.ts +++ b/clients/client-kinesis/commands/PutRecordCommand.ts @@ -60,7 +60,6 @@ export class PutRecordCommand extends $Command< PutRecordCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class PutRecordCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/PutRecordsCommand.ts b/clients/client-kinesis/commands/PutRecordsCommand.ts index 21c2df4580ff7..679566750d6ec 100644 --- a/clients/client-kinesis/commands/PutRecordsCommand.ts +++ b/clients/client-kinesis/commands/PutRecordsCommand.ts @@ -83,7 +83,6 @@ export class PutRecordsCommand extends $Command< PutRecordsCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -101,10 +100,7 @@ export class PutRecordsCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts b/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts index 2293255c6b8ff..5b6ef67b42202 100644 --- a/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts +++ b/clients/client-kinesis/commands/RegisterStreamConsumerCommand.ts @@ -41,7 +41,6 @@ export class RegisterStreamConsumerCommand extends $Command< RegisterStreamConsumerCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class RegisterStreamConsumerCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts b/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts index 94fabd321f93f..e3035825b7681 100644 --- a/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts +++ b/clients/client-kinesis/commands/RemoveTagsFromStreamCommand.ts @@ -33,7 +33,6 @@ export class RemoveTagsFromStreamCommand extends $Command< RemoveTagsFromStreamCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RemoveTagsFromStreamCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/SplitShardCommand.ts b/clients/client-kinesis/commands/SplitShardCommand.ts index a928f5795c2bf..cf00f550976a5 100644 --- a/clients/client-kinesis/commands/SplitShardCommand.ts +++ b/clients/client-kinesis/commands/SplitShardCommand.ts @@ -69,7 +69,6 @@ export class SplitShardCommand extends $Command< SplitShardCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class SplitShardCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts b/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts index 73df9f299d01d..e3245ead67e2a 100644 --- a/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts +++ b/clients/client-kinesis/commands/StartStreamEncryptionCommand.ts @@ -43,7 +43,6 @@ export class StartStreamEncryptionCommand extends $Command< StartStreamEncryptionCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class StartStreamEncryptionCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts b/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts index 32c8a1d043429..94a6869db2313 100644 --- a/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts +++ b/clients/client-kinesis/commands/StopStreamEncryptionCommand.ts @@ -43,7 +43,6 @@ export class StopStreamEncryptionCommand extends $Command< StopStreamEncryptionCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class StopStreamEncryptionCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/SubscribeToShardCommand.ts b/clients/client-kinesis/commands/SubscribeToShardCommand.ts index f99c201a3dbf1..4b1cfd6d6b611 100644 --- a/clients/client-kinesis/commands/SubscribeToShardCommand.ts +++ b/clients/client-kinesis/commands/SubscribeToShardCommand.ts @@ -50,7 +50,6 @@ export class SubscribeToShardCommand extends $Command< SubscribeToShardCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class SubscribeToShardCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kinesis/commands/UpdateShardCountCommand.ts b/clients/client-kinesis/commands/UpdateShardCountCommand.ts index 0b77b3b73fd63..e68977d07691e 100644 --- a/clients/client-kinesis/commands/UpdateShardCountCommand.ts +++ b/clients/client-kinesis/commands/UpdateShardCountCommand.ts @@ -71,7 +71,6 @@ export class UpdateShardCountCommand extends $Command< UpdateShardCountCommandOutput, KinesisClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class UpdateShardCountCommand extends $Command< configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/CancelKeyDeletionCommand.ts b/clients/client-kms/commands/CancelKeyDeletionCommand.ts index 85a51b2b8905a..0181e6e25a0e4 100644 --- a/clients/client-kms/commands/CancelKeyDeletionCommand.ts +++ b/clients/client-kms/commands/CancelKeyDeletionCommand.ts @@ -35,7 +35,6 @@ export class CancelKeyDeletionCommand extends $Command< CancelKeyDeletionCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CancelKeyDeletionCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts b/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts index bd33e6a706e80..ff70bde76a5d7 100644 --- a/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/ConnectCustomKeyStoreCommand.ts @@ -54,7 +54,6 @@ export class ConnectCustomKeyStoreCommand extends $Command< ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class ConnectCustomKeyStoreCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/CreateAliasCommand.ts b/clients/client-kms/commands/CreateAliasCommand.ts index aa9efb5fb629e..ae79b36f4174d 100644 --- a/clients/client-kms/commands/CreateAliasCommand.ts +++ b/clients/client-kms/commands/CreateAliasCommand.ts @@ -91,7 +91,6 @@ export class CreateAliasCommand extends $Command< CreateAliasCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class CreateAliasCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts b/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts index 887d4cc8904d6..cee9bcdc457cd 100644 --- a/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/CreateCustomKeyStoreCommand.ts @@ -43,7 +43,6 @@ export class CreateCustomKeyStoreCommand extends $Command< CreateCustomKeyStoreCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class CreateCustomKeyStoreCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/CreateGrantCommand.ts b/clients/client-kms/commands/CreateGrantCommand.ts index e16763bc9dd9c..5a51cc671473f 100644 --- a/clients/client-kms/commands/CreateGrantCommand.ts +++ b/clients/client-kms/commands/CreateGrantCommand.ts @@ -69,7 +69,6 @@ export class CreateGrantCommand extends $Command< CreateGrantCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class CreateGrantCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/CreateKeyCommand.ts b/clients/client-kms/commands/CreateKeyCommand.ts index d023e2c39b237..aaca2297b566b 100644 --- a/clients/client-kms/commands/CreateKeyCommand.ts +++ b/clients/client-kms/commands/CreateKeyCommand.ts @@ -96,7 +96,6 @@ export type CreateKeyCommandOutput = CreateKeyResponse & __MetadataBearer; * */ export class CreateKeyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -114,10 +113,7 @@ export class CreateKeyCommand 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-kms/commands/DecryptCommand.ts b/clients/client-kms/commands/DecryptCommand.ts index 6cb5346616b24..83bcba530b7fe 100644 --- a/clients/client-kms/commands/DecryptCommand.ts +++ b/clients/client-kms/commands/DecryptCommand.ts @@ -71,7 +71,6 @@ export type DecryptCommandOutput = DecryptResponse & __MetadataBearer; * of a Customer Master Key in the AWS Key Management Service Developer Guide.

*/ export class DecryptCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class DecryptCommand 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-kms/commands/DeleteAliasCommand.ts b/clients/client-kms/commands/DeleteAliasCommand.ts index 5abb3c82b9120..5d650645f45b4 100644 --- a/clients/client-kms/commands/DeleteAliasCommand.ts +++ b/clients/client-kms/commands/DeleteAliasCommand.ts @@ -33,7 +33,6 @@ export class DeleteAliasCommand extends $Command< DeleteAliasCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteAliasCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts b/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts index d48910d270ec8..8706c3d5dc942 100644 --- a/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/DeleteCustomKeyStoreCommand.ts @@ -47,7 +47,6 @@ export class DeleteCustomKeyStoreCommand extends $Command< DeleteCustomKeyStoreCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DeleteCustomKeyStoreCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts b/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts index cd74dea83cf17..b7368eaecb2a2 100644 --- a/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts +++ b/clients/client-kms/commands/DeleteImportedKeyMaterialCommand.ts @@ -39,7 +39,6 @@ export class DeleteImportedKeyMaterialCommand extends $Command< DeleteImportedKeyMaterialCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteImportedKeyMaterialCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts b/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts index 6b95b5e22ee82..eff1b18f432cf 100644 --- a/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts +++ b/clients/client-kms/commands/DescribeCustomKeyStoresCommand.ts @@ -47,7 +47,6 @@ export class DescribeCustomKeyStoresCommand extends $Command< DescribeCustomKeyStoresCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeCustomKeyStoresCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DescribeKeyCommand.ts b/clients/client-kms/commands/DescribeKeyCommand.ts index 3adebe3f7163c..9452e5705965a 100644 --- a/clients/client-kms/commands/DescribeKeyCommand.ts +++ b/clients/client-kms/commands/DescribeKeyCommand.ts @@ -62,7 +62,6 @@ export class DescribeKeyCommand extends $Command< DescribeKeyCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DescribeKeyCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DisableKeyCommand.ts b/clients/client-kms/commands/DisableKeyCommand.ts index c4f2e4e02f5c6..ba2420bbfe4a4 100644 --- a/clients/client-kms/commands/DisableKeyCommand.ts +++ b/clients/client-kms/commands/DisableKeyCommand.ts @@ -36,7 +36,6 @@ export class DisableKeyCommand extends $Command< DisableKeyCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisableKeyCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DisableKeyRotationCommand.ts b/clients/client-kms/commands/DisableKeyRotationCommand.ts index 3d4f61bde08a2..d521869c92353 100644 --- a/clients/client-kms/commands/DisableKeyRotationCommand.ts +++ b/clients/client-kms/commands/DisableKeyRotationCommand.ts @@ -34,7 +34,6 @@ export class DisableKeyRotationCommand extends $Command< DisableKeyRotationCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DisableKeyRotationCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts b/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts index f56021dc80647..976da275b1614 100644 --- a/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/DisconnectCustomKeyStoreCommand.ts @@ -44,7 +44,6 @@ export class DisconnectCustomKeyStoreCommand extends $Command< DisconnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DisconnectCustomKeyStoreCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/EnableKeyCommand.ts b/clients/client-kms/commands/EnableKeyCommand.ts index 7b53cad876842..0d5dee2389ffd 100644 --- a/clients/client-kms/commands/EnableKeyCommand.ts +++ b/clients/client-kms/commands/EnableKeyCommand.ts @@ -25,7 +25,6 @@ export type EnableKeyCommandOutput = __MetadataBearer; * of a Customer Master Key in the AWS Key Management Service Developer Guide.

*/ export class EnableKeyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class EnableKeyCommand 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-kms/commands/EnableKeyRotationCommand.ts b/clients/client-kms/commands/EnableKeyRotationCommand.ts index 9f052e3b91c74..8c85b8eec579b 100644 --- a/clients/client-kms/commands/EnableKeyRotationCommand.ts +++ b/clients/client-kms/commands/EnableKeyRotationCommand.ts @@ -34,7 +34,6 @@ export class EnableKeyRotationCommand extends $Command< EnableKeyRotationCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class EnableKeyRotationCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/EncryptCommand.ts b/clients/client-kms/commands/EncryptCommand.ts index a30fe8877b505..4f9e3f505fcd0 100644 --- a/clients/client-kms/commands/EncryptCommand.ts +++ b/clients/client-kms/commands/EncryptCommand.ts @@ -121,7 +121,6 @@ export type EncryptCommandOutput = EncryptResponse & __MetadataBearer; * the key ARN or alias ARN in the value of the KeyId parameter.

*/ export class EncryptCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -139,10 +138,7 @@ export class EncryptCommand 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-kms/commands/GenerateDataKeyCommand.ts b/clients/client-kms/commands/GenerateDataKeyCommand.ts index a9d56822f1d11..7328f0dbf7e27 100644 --- a/clients/client-kms/commands/GenerateDataKeyCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyCommand.ts @@ -86,7 +86,6 @@ export class GenerateDataKeyCommand extends $Command< GenerateDataKeyCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class GenerateDataKeyCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GenerateDataKeyPairCommand.ts b/clients/client-kms/commands/GenerateDataKeyPairCommand.ts index a5e12dcf8a768..6a06d6e87acd7 100644 --- a/clients/client-kms/commands/GenerateDataKeyPairCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyPairCommand.ts @@ -61,7 +61,6 @@ export class GenerateDataKeyPairCommand extends $Command< GenerateDataKeyPairCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class GenerateDataKeyPairCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts b/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts index d35ef8e8616d4..8c017d11149d4 100644 --- a/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyPairWithoutPlaintextCommand.ts @@ -56,7 +56,6 @@ export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command< GenerateDataKeyPairWithoutPlaintextCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class GenerateDataKeyPairWithoutPlaintextCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts b/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts index 3a9d84c581736..4a3d9ba11a7da 100644 --- a/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts +++ b/clients/client-kms/commands/GenerateDataKeyWithoutPlaintextCommand.ts @@ -62,7 +62,6 @@ export class GenerateDataKeyWithoutPlaintextCommand extends $Command< GenerateDataKeyWithoutPlaintextCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class GenerateDataKeyWithoutPlaintextCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GenerateRandomCommand.ts b/clients/client-kms/commands/GenerateRandomCommand.ts index 7f9ca0f0df1f9..44651c8e8f6c5 100644 --- a/clients/client-kms/commands/GenerateRandomCommand.ts +++ b/clients/client-kms/commands/GenerateRandomCommand.ts @@ -33,7 +33,6 @@ export class GenerateRandomCommand extends $Command< GenerateRandomCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GenerateRandomCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GetKeyPolicyCommand.ts b/clients/client-kms/commands/GetKeyPolicyCommand.ts index 3df968e99f788..33a2ccd77ae24 100644 --- a/clients/client-kms/commands/GetKeyPolicyCommand.ts +++ b/clients/client-kms/commands/GetKeyPolicyCommand.ts @@ -29,7 +29,6 @@ export class GetKeyPolicyCommand extends $Command< GetKeyPolicyCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetKeyPolicyCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GetKeyRotationStatusCommand.ts b/clients/client-kms/commands/GetKeyRotationStatusCommand.ts index c157368e568af..a2f13846033e2 100644 --- a/clients/client-kms/commands/GetKeyRotationStatusCommand.ts +++ b/clients/client-kms/commands/GetKeyRotationStatusCommand.ts @@ -46,7 +46,6 @@ export class GetKeyRotationStatusCommand extends $Command< GetKeyRotationStatusCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetKeyRotationStatusCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GetParametersForImportCommand.ts b/clients/client-kms/commands/GetParametersForImportCommand.ts index c59f3e5aeb638..46e59bdda5bd8 100644 --- a/clients/client-kms/commands/GetParametersForImportCommand.ts +++ b/clients/client-kms/commands/GetParametersForImportCommand.ts @@ -44,7 +44,6 @@ export class GetParametersForImportCommand extends $Command< GetParametersForImportCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class GetParametersForImportCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/GetPublicKeyCommand.ts b/clients/client-kms/commands/GetPublicKeyCommand.ts index 9db33ada32bda..3ee3145ab891a 100644 --- a/clients/client-kms/commands/GetPublicKeyCommand.ts +++ b/clients/client-kms/commands/GetPublicKeyCommand.ts @@ -65,7 +65,6 @@ export class GetPublicKeyCommand extends $Command< GetPublicKeyCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class GetPublicKeyCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ImportKeyMaterialCommand.ts b/clients/client-kms/commands/ImportKeyMaterialCommand.ts index 20e81175cfc7e..7485e8e6cb0af 100644 --- a/clients/client-kms/commands/ImportKeyMaterialCommand.ts +++ b/clients/client-kms/commands/ImportKeyMaterialCommand.ts @@ -72,7 +72,6 @@ export class ImportKeyMaterialCommand extends $Command< ImportKeyMaterialCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,10 +89,7 @@ export class ImportKeyMaterialCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ListAliasesCommand.ts b/clients/client-kms/commands/ListAliasesCommand.ts index 9b34146d9a878..32621e8802df2 100644 --- a/clients/client-kms/commands/ListAliasesCommand.ts +++ b/clients/client-kms/commands/ListAliasesCommand.ts @@ -41,7 +41,6 @@ export class ListAliasesCommand extends $Command< ListAliasesCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ListAliasesCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ListGrantsCommand.ts b/clients/client-kms/commands/ListGrantsCommand.ts index 3936a64310439..f60145c8820bb 100644 --- a/clients/client-kms/commands/ListGrantsCommand.ts +++ b/clients/client-kms/commands/ListGrantsCommand.ts @@ -37,7 +37,6 @@ export class ListGrantsCommand extends $Command< ListGrantsCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListGrantsCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ListKeyPoliciesCommand.ts b/clients/client-kms/commands/ListKeyPoliciesCommand.ts index b8c25aa7c113a..226de9bfcd284 100644 --- a/clients/client-kms/commands/ListKeyPoliciesCommand.ts +++ b/clients/client-kms/commands/ListKeyPoliciesCommand.ts @@ -31,7 +31,6 @@ export class ListKeyPoliciesCommand extends $Command< ListKeyPoliciesCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListKeyPoliciesCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ListKeysCommand.ts b/clients/client-kms/commands/ListKeysCommand.ts index daa66fdcda6a1..34bef56977f3b 100644 --- a/clients/client-kms/commands/ListKeysCommand.ts +++ b/clients/client-kms/commands/ListKeysCommand.ts @@ -22,7 +22,6 @@ export type ListKeysCommandOutput = ListKeysResponse & __MetadataBearer; * Region.

*/ export class ListKeysCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class ListKeysCommand 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-kms/commands/ListResourceTagsCommand.ts b/clients/client-kms/commands/ListResourceTagsCommand.ts index d62acfdc026ba..2dcafe5d32c56 100644 --- a/clients/client-kms/commands/ListResourceTagsCommand.ts +++ b/clients/client-kms/commands/ListResourceTagsCommand.ts @@ -29,7 +29,6 @@ export class ListResourceTagsCommand extends $Command< ListResourceTagsCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListResourceTagsCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ListRetirableGrantsCommand.ts b/clients/client-kms/commands/ListRetirableGrantsCommand.ts index 813d1d3c143ba..0368a3fda00ff 100644 --- a/clients/client-kms/commands/ListRetirableGrantsCommand.ts +++ b/clients/client-kms/commands/ListRetirableGrantsCommand.ts @@ -31,7 +31,6 @@ export class ListRetirableGrantsCommand extends $Command< ListRetirableGrantsCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListRetirableGrantsCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/PutKeyPolicyCommand.ts b/clients/client-kms/commands/PutKeyPolicyCommand.ts index d71fff152b79d..282a6f74ab5c1 100644 --- a/clients/client-kms/commands/PutKeyPolicyCommand.ts +++ b/clients/client-kms/commands/PutKeyPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutKeyPolicyCommand extends $Command< PutKeyPolicyCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutKeyPolicyCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ReEncryptCommand.ts b/clients/client-kms/commands/ReEncryptCommand.ts index 7a5f1115d08e1..ff257f81d94b6 100644 --- a/clients/client-kms/commands/ReEncryptCommand.ts +++ b/clients/client-kms/commands/ReEncryptCommand.ts @@ -79,7 +79,6 @@ export type ReEncryptCommandOutput = ReEncryptResponse & __MetadataBearer; * of a Customer Master Key in the AWS Key Management Service Developer Guide.

*/ export class ReEncryptCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class ReEncryptCommand 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-kms/commands/RetireGrantCommand.ts b/clients/client-kms/commands/RetireGrantCommand.ts index 6e9a9b45c9672..194338cf9567c 100644 --- a/clients/client-kms/commands/RetireGrantCommand.ts +++ b/clients/client-kms/commands/RetireGrantCommand.ts @@ -46,7 +46,6 @@ export class RetireGrantCommand extends $Command< RetireGrantCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class RetireGrantCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/RevokeGrantCommand.ts b/clients/client-kms/commands/RevokeGrantCommand.ts index 6d85256a6c225..0d141b792bd80 100644 --- a/clients/client-kms/commands/RevokeGrantCommand.ts +++ b/clients/client-kms/commands/RevokeGrantCommand.ts @@ -31,7 +31,6 @@ export class RevokeGrantCommand extends $Command< RevokeGrantCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RevokeGrantCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts b/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts index ef87f53c8695a..98e32242cf314 100644 --- a/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts +++ b/clients/client-kms/commands/ScheduleKeyDeletionCommand.ts @@ -49,7 +49,6 @@ export class ScheduleKeyDeletionCommand extends $Command< ScheduleKeyDeletionCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class ScheduleKeyDeletionCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/SignCommand.ts b/clients/client-kms/commands/SignCommand.ts index 679b9691e61e2..bf778b97bbf25 100644 --- a/clients/client-kms/commands/SignCommand.ts +++ b/clients/client-kms/commands/SignCommand.ts @@ -58,7 +58,6 @@ export type SignCommandOutput = SignResponse & __MetadataBearer; * of a Customer Master Key in the AWS Key Management Service Developer Guide.

*/ export class SignCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class SignCommand 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-kms/commands/TagResourceCommand.ts b/clients/client-kms/commands/TagResourceCommand.ts index dbfa7a4da7310..45da98d5a79b1 100644 --- a/clients/client-kms/commands/TagResourceCommand.ts +++ b/clients/client-kms/commands/TagResourceCommand.ts @@ -37,7 +37,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class TagResourceCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/UntagResourceCommand.ts b/clients/client-kms/commands/UntagResourceCommand.ts index 5a01ac51d4fbe..8c2a83467a3f8 100644 --- a/clients/client-kms/commands/UntagResourceCommand.ts +++ b/clients/client-kms/commands/UntagResourceCommand.ts @@ -34,7 +34,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UntagResourceCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/UpdateAliasCommand.ts b/clients/client-kms/commands/UpdateAliasCommand.ts index 87a20cabceb91..d780bcfaa4940 100644 --- a/clients/client-kms/commands/UpdateAliasCommand.ts +++ b/clients/client-kms/commands/UpdateAliasCommand.ts @@ -44,7 +44,6 @@ export class UpdateAliasCommand extends $Command< UpdateAliasCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class UpdateAliasCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts b/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts index d4312ea5c8dc1..4b3f4d0a2d27a 100644 --- a/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts +++ b/clients/client-kms/commands/UpdateCustomKeyStoreCommand.ts @@ -65,7 +65,6 @@ export class UpdateCustomKeyStoreCommand extends $Command< UpdateCustomKeyStoreCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class UpdateCustomKeyStoreCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts b/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts index e1d85397dcfda..d4c1eaef67ec0 100644 --- a/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts +++ b/clients/client-kms/commands/UpdateKeyDescriptionCommand.ts @@ -33,7 +33,6 @@ export class UpdateKeyDescriptionCommand extends $Command< UpdateKeyDescriptionCommandOutput, KMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateKeyDescriptionCommand extends $Command< configuration: KMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-kms/commands/VerifyCommand.ts b/clients/client-kms/commands/VerifyCommand.ts index 9cb58934dc674..2d231ebc3af7b 100644 --- a/clients/client-kms/commands/VerifyCommand.ts +++ b/clients/client-kms/commands/VerifyCommand.ts @@ -43,7 +43,6 @@ export type VerifyCommandOutput = VerifyResponse & __MetadataBearer; * of a Customer Master Key in the AWS Key Management Service Developer Guide.

*/ export class VerifyCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class VerifyCommand 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-lakeformation/commands/BatchGrantPermissionsCommand.ts b/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts index 90e83abe3f563..07e5e86f7b572 100644 --- a/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts +++ b/clients/client-lakeformation/commands/BatchGrantPermissionsCommand.ts @@ -28,7 +28,6 @@ export class BatchGrantPermissionsCommand extends $Command< BatchGrantPermissionsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGrantPermissionsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts b/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts index d4ced2cec1c2a..a95a704822ce9 100644 --- a/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts +++ b/clients/client-lakeformation/commands/BatchRevokePermissionsCommand.ts @@ -28,7 +28,6 @@ export class BatchRevokePermissionsCommand extends $Command< BatchRevokePermissionsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchRevokePermissionsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/DeregisterResourceCommand.ts b/clients/client-lakeformation/commands/DeregisterResourceCommand.ts index e932b73f9cc5b..ce9c27a6e431a 100644 --- a/clients/client-lakeformation/commands/DeregisterResourceCommand.ts +++ b/clients/client-lakeformation/commands/DeregisterResourceCommand.ts @@ -30,7 +30,6 @@ export class DeregisterResourceCommand extends $Command< DeregisterResourceCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeregisterResourceCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/DescribeResourceCommand.ts b/clients/client-lakeformation/commands/DescribeResourceCommand.ts index d4cb239d34eb8..954a7eacfdd69 100644 --- a/clients/client-lakeformation/commands/DescribeResourceCommand.ts +++ b/clients/client-lakeformation/commands/DescribeResourceCommand.ts @@ -28,7 +28,6 @@ export class DescribeResourceCommand extends $Command< DescribeResourceCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeResourceCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts b/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts index dc7089729c1bf..86ff344cebbb0 100644 --- a/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts +++ b/clients/client-lakeformation/commands/GetDataLakeSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetDataLakeSettingsCommand extends $Command< GetDataLakeSettingsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDataLakeSettingsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts b/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts index 5ab2b435cea0d..9661a2602b85b 100644 --- a/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts +++ b/clients/client-lakeformation/commands/GetEffectivePermissionsForPathCommand.ts @@ -29,7 +29,6 @@ export class GetEffectivePermissionsForPathCommand extends $Command< GetEffectivePermissionsForPathCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetEffectivePermissionsForPathCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/GrantPermissionsCommand.ts b/clients/client-lakeformation/commands/GrantPermissionsCommand.ts index bfb69e2a31fa7..2681abb0bab5b 100644 --- a/clients/client-lakeformation/commands/GrantPermissionsCommand.ts +++ b/clients/client-lakeformation/commands/GrantPermissionsCommand.ts @@ -29,7 +29,6 @@ export class GrantPermissionsCommand extends $Command< GrantPermissionsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GrantPermissionsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/ListPermissionsCommand.ts b/clients/client-lakeformation/commands/ListPermissionsCommand.ts index b06caaaf1a5de..ecc51bc4a1458 100644 --- a/clients/client-lakeformation/commands/ListPermissionsCommand.ts +++ b/clients/client-lakeformation/commands/ListPermissionsCommand.ts @@ -30,7 +30,6 @@ export class ListPermissionsCommand extends $Command< ListPermissionsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListPermissionsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/ListResourcesCommand.ts b/clients/client-lakeformation/commands/ListResourcesCommand.ts index c6e815dcc0378..5afb7430c080c 100644 --- a/clients/client-lakeformation/commands/ListResourcesCommand.ts +++ b/clients/client-lakeformation/commands/ListResourcesCommand.ts @@ -28,7 +28,6 @@ export class ListResourcesCommand extends $Command< ListResourcesCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourcesCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts b/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts index 337188d748f44..fa4bf5bf652b8 100644 --- a/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts +++ b/clients/client-lakeformation/commands/PutDataLakeSettingsCommand.ts @@ -30,7 +30,6 @@ export class PutDataLakeSettingsCommand extends $Command< PutDataLakeSettingsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutDataLakeSettingsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/RegisterResourceCommand.ts b/clients/client-lakeformation/commands/RegisterResourceCommand.ts index 314f58b29b1d3..c5f8c23004cd0 100644 --- a/clients/client-lakeformation/commands/RegisterResourceCommand.ts +++ b/clients/client-lakeformation/commands/RegisterResourceCommand.ts @@ -43,7 +43,6 @@ export class RegisterResourceCommand extends $Command< RegisterResourceCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class RegisterResourceCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/RevokePermissionsCommand.ts b/clients/client-lakeformation/commands/RevokePermissionsCommand.ts index b11e37d1d3c1f..dbdd9675c1ec7 100644 --- a/clients/client-lakeformation/commands/RevokePermissionsCommand.ts +++ b/clients/client-lakeformation/commands/RevokePermissionsCommand.ts @@ -28,7 +28,6 @@ export class RevokePermissionsCommand extends $Command< RevokePermissionsCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokePermissionsCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lakeformation/commands/UpdateResourceCommand.ts b/clients/client-lakeformation/commands/UpdateResourceCommand.ts index 00052287494c6..f39379dae535c 100644 --- a/clients/client-lakeformation/commands/UpdateResourceCommand.ts +++ b/clients/client-lakeformation/commands/UpdateResourceCommand.ts @@ -28,7 +28,6 @@ export class UpdateResourceCommand extends $Command< UpdateResourceCommandOutput, LakeFormationClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateResourceCommand extends $Command< configuration: LakeFormationClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts b/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts index 210e74b26eda6..00db1f1d0229a 100644 --- a/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts +++ b/clients/client-lambda/commands/AddLayerVersionPermissionCommand.ts @@ -33,7 +33,6 @@ export class AddLayerVersionPermissionCommand extends $Command< AddLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AddLayerVersionPermissionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/AddPermissionCommand.ts b/clients/client-lambda/commands/AddPermissionCommand.ts index 424da096230b7..44686eb7980f6 100644 --- a/clients/client-lambda/commands/AddPermissionCommand.ts +++ b/clients/client-lambda/commands/AddPermissionCommand.ts @@ -39,7 +39,6 @@ export class AddPermissionCommand extends $Command< AddPermissionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AddPermissionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/CreateAliasCommand.ts b/clients/client-lambda/commands/CreateAliasCommand.ts index befb128bec8fd..cdf29509d4c42 100644 --- a/clients/client-lambda/commands/CreateAliasCommand.ts +++ b/clients/client-lambda/commands/CreateAliasCommand.ts @@ -33,7 +33,6 @@ export class CreateAliasCommand extends $Command< CreateAliasCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateAliasCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/CreateCodeSigningConfigCommand.ts b/clients/client-lambda/commands/CreateCodeSigningConfigCommand.ts index 8493455908202..49b4e1274ed91 100644 --- a/clients/client-lambda/commands/CreateCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/CreateCodeSigningConfigCommand.ts @@ -30,7 +30,6 @@ export class CreateCodeSigningConfigCommand extends $Command< CreateCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts b/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts index fe15eb88a96eb..c03ef6929104f 100644 --- a/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/CreateEventSourceMappingCommand.ts @@ -85,7 +85,6 @@ export class CreateEventSourceMappingCommand extends $Command< CreateEventSourceMappingCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -103,10 +102,7 @@ export class CreateEventSourceMappingCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/CreateFunctionCommand.ts b/clients/client-lambda/commands/CreateFunctionCommand.ts index 886aeb4acb9ce..763af6d1bcb32 100644 --- a/clients/client-lambda/commands/CreateFunctionCommand.ts +++ b/clients/client-lambda/commands/CreateFunctionCommand.ts @@ -62,7 +62,6 @@ export class CreateFunctionCommand extends $Command< CreateFunctionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class CreateFunctionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteAliasCommand.ts b/clients/client-lambda/commands/DeleteAliasCommand.ts index 2f456c39fe867..7c08f35b0ef75 100644 --- a/clients/client-lambda/commands/DeleteAliasCommand.ts +++ b/clients/client-lambda/commands/DeleteAliasCommand.ts @@ -28,7 +28,6 @@ export class DeleteAliasCommand extends $Command< DeleteAliasCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAliasCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteCodeSigningConfigCommand.ts b/clients/client-lambda/commands/DeleteCodeSigningConfigCommand.ts index 2268d61631f99..7f76e746f5c93 100644 --- a/clients/client-lambda/commands/DeleteCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/DeleteCodeSigningConfigCommand.ts @@ -29,7 +29,6 @@ export class DeleteCodeSigningConfigCommand extends $Command< DeleteCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts b/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts index 9efdfb53903cf..ce9f1090bae2c 100644 --- a/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/DeleteEventSourceMappingCommand.ts @@ -31,7 +31,6 @@ export class DeleteEventSourceMappingCommand extends $Command< DeleteEventSourceMappingCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteEventSourceMappingCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteFunctionCodeSigningConfigCommand.ts b/clients/client-lambda/commands/DeleteFunctionCodeSigningConfigCommand.ts index a545cc981b5ef..e5c0c94b07084 100644 --- a/clients/client-lambda/commands/DeleteFunctionCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionCodeSigningConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteFunctionCodeSigningConfigCommand extends $Command< DeleteFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFunctionCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteFunctionCommand.ts b/clients/client-lambda/commands/DeleteFunctionCommand.ts index e6016be2a7b86..2c54c96eed55c 100644 --- a/clients/client-lambda/commands/DeleteFunctionCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionCommand.ts @@ -33,7 +33,6 @@ export class DeleteFunctionCommand extends $Command< DeleteFunctionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteFunctionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts b/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts index cea986e57225f..2d47607a1341f 100644 --- a/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionConcurrencyCommand.ts @@ -28,7 +28,6 @@ export class DeleteFunctionConcurrencyCommand extends $Command< DeleteFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFunctionConcurrencyCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts index cfe545067cf18..eecb4d05d2980 100644 --- a/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/DeleteFunctionEventInvokeConfigCommand.ts @@ -29,7 +29,6 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command< DeleteFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteLayerVersionCommand.ts b/clients/client-lambda/commands/DeleteLayerVersionCommand.ts index 5184e13753890..e034a55123880 100644 --- a/clients/client-lambda/commands/DeleteLayerVersionCommand.ts +++ b/clients/client-lambda/commands/DeleteLayerVersionCommand.ts @@ -30,7 +30,6 @@ export class DeleteLayerVersionCommand extends $Command< DeleteLayerVersionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteLayerVersionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts index 266744f8b1c65..749567e6470db 100644 --- a/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/commands/DeleteProvisionedConcurrencyConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command< DeleteProvisionedConcurrencyConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetAccountSettingsCommand.ts b/clients/client-lambda/commands/GetAccountSettingsCommand.ts index 9807d521b6b90..a99b7f9b50c78 100644 --- a/clients/client-lambda/commands/GetAccountSettingsCommand.ts +++ b/clients/client-lambda/commands/GetAccountSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetAccountSettingsCommand extends $Command< GetAccountSettingsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAccountSettingsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetAliasCommand.ts b/clients/client-lambda/commands/GetAliasCommand.ts index 036a79714a648..70bdf3e1d2a48 100644 --- a/clients/client-lambda/commands/GetAliasCommand.ts +++ b/clients/client-lambda/commands/GetAliasCommand.ts @@ -24,7 +24,6 @@ export type GetAliasCommandOutput = AliasConfiguration & __MetadataBearer; *

Returns details about a Lambda function alias.

*/ export class GetAliasCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetAliasCommand 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-lambda/commands/GetCodeSigningConfigCommand.ts b/clients/client-lambda/commands/GetCodeSigningConfigCommand.ts index bd748400420da..277f3376f5fac 100644 --- a/clients/client-lambda/commands/GetCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/GetCodeSigningConfigCommand.ts @@ -28,7 +28,6 @@ export class GetCodeSigningConfigCommand extends $Command< GetCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetEventSourceMappingCommand.ts b/clients/client-lambda/commands/GetEventSourceMappingCommand.ts index c98b98e250f4f..58526cfcb7844 100644 --- a/clients/client-lambda/commands/GetEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/GetEventSourceMappingCommand.ts @@ -29,7 +29,6 @@ export class GetEventSourceMappingCommand extends $Command< GetEventSourceMappingCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetEventSourceMappingCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetFunctionCodeSigningConfigCommand.ts b/clients/client-lambda/commands/GetFunctionCodeSigningConfigCommand.ts index 86756c1a473ce..5f73224a6e98b 100644 --- a/clients/client-lambda/commands/GetFunctionCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/GetFunctionCodeSigningConfigCommand.ts @@ -28,7 +28,6 @@ export class GetFunctionCodeSigningConfigCommand extends $Command< GetFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFunctionCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetFunctionCommand.ts b/clients/client-lambda/commands/GetFunctionCommand.ts index b3c527c0be2c3..0515c523d8692 100644 --- a/clients/client-lambda/commands/GetFunctionCommand.ts +++ b/clients/client-lambda/commands/GetFunctionCommand.ts @@ -30,7 +30,6 @@ export class GetFunctionCommand extends $Command< GetFunctionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetFunctionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts b/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts index 45d0a0a1f584e..7315ea0d6f9a2 100644 --- a/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/commands/GetFunctionConcurrencyCommand.ts @@ -29,7 +29,6 @@ export class GetFunctionConcurrencyCommand extends $Command< GetFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetFunctionConcurrencyCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts b/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts index 3a2885214df74..1d351e5905cfb 100644 --- a/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts +++ b/clients/client-lambda/commands/GetFunctionConfigurationCommand.ts @@ -30,7 +30,6 @@ export class GetFunctionConfigurationCommand extends $Command< GetFunctionConfigurationCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetFunctionConfigurationCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts index 2fc912f424f76..34b52d21ce46a 100644 --- a/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/GetFunctionEventInvokeConfigCommand.ts @@ -29,7 +29,6 @@ export class GetFunctionEventInvokeConfigCommand extends $Command< GetFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetFunctionEventInvokeConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts b/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts index 4a83163c877eb..ec86c3b66f450 100644 --- a/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts +++ b/clients/client-lambda/commands/GetLayerVersionByArnCommand.ts @@ -30,7 +30,6 @@ export class GetLayerVersionByArnCommand extends $Command< GetLayerVersionByArnCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetLayerVersionByArnCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetLayerVersionCommand.ts b/clients/client-lambda/commands/GetLayerVersionCommand.ts index cdc0cb09c6ebe..c88fe85208d10 100644 --- a/clients/client-lambda/commands/GetLayerVersionCommand.ts +++ b/clients/client-lambda/commands/GetLayerVersionCommand.ts @@ -30,7 +30,6 @@ export class GetLayerVersionCommand extends $Command< GetLayerVersionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetLayerVersionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts b/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts index 993768357e4f8..bbaff126a414d 100644 --- a/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts +++ b/clients/client-lambda/commands/GetLayerVersionPolicyCommand.ts @@ -29,7 +29,6 @@ export class GetLayerVersionPolicyCommand extends $Command< GetLayerVersionPolicyCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetLayerVersionPolicyCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetPolicyCommand.ts b/clients/client-lambda/commands/GetPolicyCommand.ts index cf66b6894a77b..b5f8807d886fe 100644 --- a/clients/client-lambda/commands/GetPolicyCommand.ts +++ b/clients/client-lambda/commands/GetPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetPolicyCommand extends $Command< GetPolicyCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPolicyCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts index 4da640066caf3..669af3f180e4f 100644 --- a/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/commands/GetProvisionedConcurrencyConfigCommand.ts @@ -28,7 +28,6 @@ export class GetProvisionedConcurrencyConfigCommand extends $Command< GetProvisionedConcurrencyConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProvisionedConcurrencyConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/InvokeAsyncCommand.ts b/clients/client-lambda/commands/InvokeAsyncCommand.ts index f561caf9ec737..ab480aeadf23a 100644 --- a/clients/client-lambda/commands/InvokeAsyncCommand.ts +++ b/clients/client-lambda/commands/InvokeAsyncCommand.ts @@ -35,7 +35,6 @@ export class InvokeAsyncCommand extends $Command< InvokeAsyncCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class InvokeAsyncCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/InvokeCommand.ts b/clients/client-lambda/commands/InvokeCommand.ts index 17fe1e7dcc153..61542efe685a5 100644 --- a/clients/client-lambda/commands/InvokeCommand.ts +++ b/clients/client-lambda/commands/InvokeCommand.ts @@ -47,7 +47,6 @@ export type InvokeCommandOutput = InvocationResponse & __MetadataBearer; *

This operation requires permission for the lambda:InvokeFunction action.

*/ export class InvokeCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class InvokeCommand 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-lambda/commands/ListAliasesCommand.ts b/clients/client-lambda/commands/ListAliasesCommand.ts index 543c7fe2876d5..7953e58d67510 100644 --- a/clients/client-lambda/commands/ListAliasesCommand.ts +++ b/clients/client-lambda/commands/ListAliasesCommand.ts @@ -29,7 +29,6 @@ export class ListAliasesCommand extends $Command< ListAliasesCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAliasesCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListCodeSigningConfigsCommand.ts b/clients/client-lambda/commands/ListCodeSigningConfigsCommand.ts index f463af8ef53de..7534f9a063d7d 100644 --- a/clients/client-lambda/commands/ListCodeSigningConfigsCommand.ts +++ b/clients/client-lambda/commands/ListCodeSigningConfigsCommand.ts @@ -30,7 +30,6 @@ export class ListCodeSigningConfigsCommand extends $Command< ListCodeSigningConfigsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListCodeSigningConfigsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts b/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts index ed4660f2aae35..b74f3f3d449da 100644 --- a/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts +++ b/clients/client-lambda/commands/ListEventSourceMappingsCommand.ts @@ -29,7 +29,6 @@ export class ListEventSourceMappingsCommand extends $Command< ListEventSourceMappingsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEventSourceMappingsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts b/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts index 9218e99db93c7..b1321f1cb7fcd 100644 --- a/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts +++ b/clients/client-lambda/commands/ListFunctionEventInvokeConfigsCommand.ts @@ -29,7 +29,6 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command< ListFunctionEventInvokeConfigsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListFunctionsByCodeSigningConfigCommand.ts b/clients/client-lambda/commands/ListFunctionsByCodeSigningConfigCommand.ts index 857d506c246d6..f98e25c0f3da9 100644 --- a/clients/client-lambda/commands/ListFunctionsByCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/ListFunctionsByCodeSigningConfigCommand.ts @@ -29,7 +29,6 @@ export class ListFunctionsByCodeSigningConfigCommand extends $Command< ListFunctionsByCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListFunctionsByCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListFunctionsCommand.ts b/clients/client-lambda/commands/ListFunctionsCommand.ts index 030b33fe3c7c1..631b209503e1d 100644 --- a/clients/client-lambda/commands/ListFunctionsCommand.ts +++ b/clients/client-lambda/commands/ListFunctionsCommand.ts @@ -31,7 +31,6 @@ export class ListFunctionsCommand extends $Command< ListFunctionsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListFunctionsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListLayerVersionsCommand.ts b/clients/client-lambda/commands/ListLayerVersionsCommand.ts index d908aa2ac4d40..0af4d55d9680f 100644 --- a/clients/client-lambda/commands/ListLayerVersionsCommand.ts +++ b/clients/client-lambda/commands/ListLayerVersionsCommand.ts @@ -30,7 +30,6 @@ export class ListLayerVersionsCommand extends $Command< ListLayerVersionsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListLayerVersionsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListLayersCommand.ts b/clients/client-lambda/commands/ListLayersCommand.ts index 6a3c8186908a0..db19951a71b6c 100644 --- a/clients/client-lambda/commands/ListLayersCommand.ts +++ b/clients/client-lambda/commands/ListLayersCommand.ts @@ -30,7 +30,6 @@ export class ListLayersCommand extends $Command< ListLayersCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListLayersCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts b/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts index c3f1eb6ef3842..e9b46d9f5ebdb 100644 --- a/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts +++ b/clients/client-lambda/commands/ListProvisionedConcurrencyConfigsCommand.ts @@ -32,7 +32,6 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command< ListProvisionedConcurrencyConfigsCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/ListTagsCommand.ts b/clients/client-lambda/commands/ListTagsCommand.ts index 51d730e11b683..db8db229aba30 100644 --- a/clients/client-lambda/commands/ListTagsCommand.ts +++ b/clients/client-lambda/commands/ListTagsCommand.ts @@ -25,7 +25,6 @@ export type ListTagsCommandOutput = ListTagsResponse & __MetadataBearer; * also view tags with GetFunction.

*/ export class ListTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,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-lambda/commands/ListVersionsByFunctionCommand.ts b/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts index 5b18d7f373ca8..d3637fb8bed61 100644 --- a/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts +++ b/clients/client-lambda/commands/ListVersionsByFunctionCommand.ts @@ -29,7 +29,6 @@ export class ListVersionsByFunctionCommand extends $Command< ListVersionsByFunctionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListVersionsByFunctionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/PublishLayerVersionCommand.ts b/clients/client-lambda/commands/PublishLayerVersionCommand.ts index a9ea9923124d6..4078f1df85399 100644 --- a/clients/client-lambda/commands/PublishLayerVersionCommand.ts +++ b/clients/client-lambda/commands/PublishLayerVersionCommand.ts @@ -31,7 +31,6 @@ export class PublishLayerVersionCommand extends $Command< PublishLayerVersionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PublishLayerVersionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/PublishVersionCommand.ts b/clients/client-lambda/commands/PublishVersionCommand.ts index f05e4be2f83b7..d11225c5d8b70 100644 --- a/clients/client-lambda/commands/PublishVersionCommand.ts +++ b/clients/client-lambda/commands/PublishVersionCommand.ts @@ -36,7 +36,6 @@ export class PublishVersionCommand extends $Command< PublishVersionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PublishVersionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/PutFunctionCodeSigningConfigCommand.ts b/clients/client-lambda/commands/PutFunctionCodeSigningConfigCommand.ts index 61ddd4a236ff7..f44dc3a3a3e2f 100644 --- a/clients/client-lambda/commands/PutFunctionCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/PutFunctionCodeSigningConfigCommand.ts @@ -29,7 +29,6 @@ export class PutFunctionCodeSigningConfigCommand extends $Command< PutFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutFunctionCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts b/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts index 9cc4434b67b41..3e1f94a91e1c8 100644 --- a/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts +++ b/clients/client-lambda/commands/PutFunctionConcurrencyCommand.ts @@ -36,7 +36,6 @@ export class PutFunctionConcurrencyCommand extends $Command< PutFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PutFunctionConcurrencyCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts index 99350021572bb..09c014d51f5e4 100644 --- a/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/PutFunctionEventInvokeConfigCommand.ts @@ -38,7 +38,6 @@ export class PutFunctionEventInvokeConfigCommand extends $Command< PutFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutFunctionEventInvokeConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts index d52cae864955c..fc3d0373b8f08 100644 --- a/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/commands/PutProvisionedConcurrencyConfigCommand.ts @@ -28,7 +28,6 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command< PutProvisionedConcurrencyConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutProvisionedConcurrencyConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts b/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts index 73cf327e32b86..c0b693e117246 100644 --- a/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts +++ b/clients/client-lambda/commands/RemoveLayerVersionPermissionCommand.ts @@ -30,7 +30,6 @@ export class RemoveLayerVersionPermissionCommand extends $Command< RemoveLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RemoveLayerVersionPermissionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/RemovePermissionCommand.ts b/clients/client-lambda/commands/RemovePermissionCommand.ts index 4eda6fbd47beb..a94c9c1b736a7 100644 --- a/clients/client-lambda/commands/RemovePermissionCommand.ts +++ b/clients/client-lambda/commands/RemovePermissionCommand.ts @@ -29,7 +29,6 @@ export class RemovePermissionCommand extends $Command< RemovePermissionCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemovePermissionCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/TagResourceCommand.ts b/clients/client-lambda/commands/TagResourceCommand.ts index 77e3cb1df29ac..c8a1696c6e97d 100644 --- a/clients/client-lambda/commands/TagResourceCommand.ts +++ b/clients/client-lambda/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UntagResourceCommand.ts b/clients/client-lambda/commands/UntagResourceCommand.ts index 95370e0b49afc..c3f8af643ce6c 100644 --- a/clients/client-lambda/commands/UntagResourceCommand.ts +++ b/clients/client-lambda/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UpdateAliasCommand.ts b/clients/client-lambda/commands/UpdateAliasCommand.ts index e9ffe2f031305..b05184e667dda 100644 --- a/clients/client-lambda/commands/UpdateAliasCommand.ts +++ b/clients/client-lambda/commands/UpdateAliasCommand.ts @@ -28,7 +28,6 @@ export class UpdateAliasCommand extends $Command< UpdateAliasCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAliasCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UpdateCodeSigningConfigCommand.ts b/clients/client-lambda/commands/UpdateCodeSigningConfigCommand.ts index fd7d0bb7211f7..6537dd0d3d012 100644 --- a/clients/client-lambda/commands/UpdateCodeSigningConfigCommand.ts +++ b/clients/client-lambda/commands/UpdateCodeSigningConfigCommand.ts @@ -29,7 +29,6 @@ export class UpdateCodeSigningConfigCommand extends $Command< UpdateCodeSigningConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateCodeSigningConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts b/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts index 37fcdc1368356..67c31c2d37b11 100644 --- a/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts +++ b/clients/client-lambda/commands/UpdateEventSourceMappingCommand.ts @@ -52,7 +52,6 @@ export class UpdateEventSourceMappingCommand extends $Command< UpdateEventSourceMappingCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class UpdateEventSourceMappingCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts b/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts index 67e7a52952c83..8c45d265c89aa 100644 --- a/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts +++ b/clients/client-lambda/commands/UpdateFunctionCodeCommand.ts @@ -36,7 +36,6 @@ export class UpdateFunctionCodeCommand extends $Command< UpdateFunctionCodeCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateFunctionCodeCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts b/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts index ac574642d2e08..0a25f502e5f57 100644 --- a/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts +++ b/clients/client-lambda/commands/UpdateFunctionConfigurationCommand.ts @@ -42,7 +42,6 @@ export class UpdateFunctionConfigurationCommand extends $Command< UpdateFunctionConfigurationCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class UpdateFunctionConfigurationCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts b/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts index 2de6d22f11403..9315016d93f4f 100644 --- a/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts +++ b/clients/client-lambda/commands/UpdateFunctionEventInvokeConfigCommand.ts @@ -29,7 +29,6 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command< UpdateFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateFunctionEventInvokeConfigCommand extends $Command< configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts b/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts index 4d6778db4e0e0..e049a14ce00e7 100644 --- a/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/CreateBotVersionCommand.ts @@ -44,7 +44,6 @@ export class CreateBotVersionCommand extends $Command< CreateBotVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateBotVersionCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts b/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts index 28591f2afce9b..d411196af4f7f 100644 --- a/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/CreateIntentVersionCommand.ts @@ -45,7 +45,6 @@ export class CreateIntentVersionCommand extends $Command< CreateIntentVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateIntentVersionCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts b/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts index e3c9d9725ab5e..5fb281312c999 100644 --- a/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/CreateSlotTypeVersionCommand.ts @@ -47,7 +47,6 @@ export class CreateSlotTypeVersionCommand extends $Command< CreateSlotTypeVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateSlotTypeVersionCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts index 22593fdf3f581..117be3493dc65 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotAliasCommand.ts @@ -40,7 +40,6 @@ export class DeleteBotAliasCommand extends $Command< DeleteBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteBotAliasCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts index a5d6cb34f2711..4433db46f2714 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotChannelAssociationCommand.ts @@ -35,7 +35,6 @@ export class DeleteBotChannelAssociationCommand extends $Command< DeleteBotChannelAssociationCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteBotChannelAssociationCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts index 4053221e05c40..6ea063d173339 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotCommand.ts @@ -48,7 +48,6 @@ export class DeleteBotCommand extends $Command< DeleteBotCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DeleteBotCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts b/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts index db824cba87d5f..99a6973cd6344 100644 --- a/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteBotVersionCommand.ts @@ -35,7 +35,6 @@ export class DeleteBotVersionCommand extends $Command< DeleteBotVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteBotVersionCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts b/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts index 2bcaa3d285f2e..c5934ef69546b 100644 --- a/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteIntentCommand.ts @@ -49,7 +49,6 @@ export class DeleteIntentCommand extends $Command< DeleteIntentCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DeleteIntentCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts b/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts index 61bfe46969608..75534df2b90d0 100644 --- a/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteIntentVersionCommand.ts @@ -35,7 +35,6 @@ export class DeleteIntentVersionCommand extends $Command< DeleteIntentVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteIntentVersionCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts b/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts index de82aae3910c4..105f138986e7b 100644 --- a/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteSlotTypeCommand.ts @@ -48,7 +48,6 @@ export class DeleteSlotTypeCommand extends $Command< DeleteSlotTypeCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class DeleteSlotTypeCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts b/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts index 154054d41cc0e..efacb59da176e 100644 --- a/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteSlotTypeVersionCommand.ts @@ -35,7 +35,6 @@ export class DeleteSlotTypeVersionCommand extends $Command< DeleteSlotTypeVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteSlotTypeVersionCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts b/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts index 1711d7c96805e..6badc19202240 100644 --- a/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts +++ b/clients/client-lex-model-building-service/commands/DeleteUtterancesCommand.ts @@ -43,7 +43,6 @@ export class DeleteUtterancesCommand extends $Command< DeleteUtterancesCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DeleteUtterancesCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts b/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts index 791a77005a3bd..1082caba563d1 100644 --- a/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotAliasCommand.ts @@ -35,7 +35,6 @@ export class GetBotAliasCommand extends $Command< GetBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetBotAliasCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts b/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts index 78ebe724f91a6..a118db2247879 100644 --- a/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotAliasesCommand.ts @@ -34,7 +34,6 @@ export class GetBotAliasesCommand extends $Command< GetBotAliasesCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetBotAliasesCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts index a1da132f330de..60028815bf69f 100644 --- a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationCommand.ts @@ -35,7 +35,6 @@ export class GetBotChannelAssociationCommand extends $Command< GetBotChannelAssociationCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetBotChannelAssociationCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts index 28c08f29d6b1f..8a349b36bd265 100644 --- a/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotChannelAssociationsCommand.ts @@ -36,7 +36,6 @@ export class GetBotChannelAssociationsCommand extends $Command< GetBotChannelAssociationsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetBotChannelAssociationsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotCommand.ts b/clients/client-lex-model-building-service/commands/GetBotCommand.ts index 193f2b44d520d..59fce20daf2f5 100644 --- a/clients/client-lex-model-building-service/commands/GetBotCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotCommand.ts @@ -32,7 +32,6 @@ export class GetBotCommand extends $Command< GetBotCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetBotCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts b/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts index d8e2e299cc3dd..855ccfecd2717 100644 --- a/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotVersionsCommand.ts @@ -42,7 +42,6 @@ export class GetBotVersionsCommand extends $Command< GetBotVersionsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetBotVersionsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBotsCommand.ts b/clients/client-lex-model-building-service/commands/GetBotsCommand.ts index ff82d3bc4e51c..defe3a8f2e995 100644 --- a/clients/client-lex-model-building-service/commands/GetBotsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBotsCommand.ts @@ -46,7 +46,6 @@ export class GetBotsCommand extends $Command< GetBotsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetBotsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts b/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts index e0659ad9f3b4d..fac1756847642 100644 --- a/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBuiltinIntentCommand.ts @@ -34,7 +34,6 @@ export class GetBuiltinIntentCommand extends $Command< GetBuiltinIntentCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetBuiltinIntentCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts b/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts index 12c1aadcd1aae..b907e9dafcad1 100644 --- a/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBuiltinIntentsCommand.ts @@ -35,7 +35,6 @@ export class GetBuiltinIntentsCommand extends $Command< GetBuiltinIntentsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetBuiltinIntentsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts b/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts index 9b2b3e71de04b..0d5be3e163c0e 100644 --- a/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetBuiltinSlotTypesCommand.ts @@ -38,7 +38,6 @@ export class GetBuiltinSlotTypesCommand extends $Command< GetBuiltinSlotTypesCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetBuiltinSlotTypesCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetExportCommand.ts b/clients/client-lex-model-building-service/commands/GetExportCommand.ts index c46bcc70e044d..6782e0048f251 100644 --- a/clients/client-lex-model-building-service/commands/GetExportCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetExportCommand.ts @@ -33,7 +33,6 @@ export class GetExportCommand extends $Command< GetExportCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetExportCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetImportCommand.ts b/clients/client-lex-model-building-service/commands/GetImportCommand.ts index f3ec6dbfc9dc1..9cdb1ad351989 100644 --- a/clients/client-lex-model-building-service/commands/GetImportCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetImportCommand.ts @@ -33,7 +33,6 @@ export class GetImportCommand extends $Command< GetImportCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetImportCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetIntentCommand.ts b/clients/client-lex-model-building-service/commands/GetIntentCommand.ts index 4ba68c9aff641..dead988e9575f 100644 --- a/clients/client-lex-model-building-service/commands/GetIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetIntentCommand.ts @@ -35,7 +35,6 @@ export class GetIntentCommand extends $Command< GetIntentCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetIntentCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts b/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts index 7de677ee22bca..0ec0b2b52138c 100644 --- a/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetIntentVersionsCommand.ts @@ -42,7 +42,6 @@ export class GetIntentVersionsCommand extends $Command< GetIntentVersionsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetIntentVersionsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts b/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts index 737cd305930e9..ac0fe55248256 100644 --- a/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetIntentsCommand.ts @@ -46,7 +46,6 @@ export class GetIntentsCommand extends $Command< GetIntentsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetIntentsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts b/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts index f9630a326f1d0..0f77af78186d2 100644 --- a/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetSlotTypeCommand.ts @@ -36,7 +36,6 @@ export class GetSlotTypeCommand extends $Command< GetSlotTypeCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSlotTypeCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts b/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts index 22f010ec4c3ee..3ff3b32d9d71e 100644 --- a/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetSlotTypeVersionsCommand.ts @@ -42,7 +42,6 @@ export class GetSlotTypeVersionsCommand extends $Command< GetSlotTypeVersionsCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetSlotTypeVersionsCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts b/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts index c5e2c4026a389..f5e9a728d672f 100644 --- a/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetSlotTypesCommand.ts @@ -46,7 +46,6 @@ export class GetSlotTypesCommand extends $Command< GetSlotTypesCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetSlotTypesCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts b/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts index 4416e9755452c..05d4b8b9d3f10 100644 --- a/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts +++ b/clients/client-lex-model-building-service/commands/GetUtterancesViewCommand.ts @@ -54,7 +54,6 @@ export class GetUtterancesViewCommand extends $Command< GetUtterancesViewCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class GetUtterancesViewCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/ListTagsForResourceCommand.ts b/clients/client-lex-model-building-service/commands/ListTagsForResourceCommand.ts index 86e066de978a8..353e9dcbdce94 100644 --- a/clients/client-lex-model-building-service/commands/ListTagsForResourceCommand.ts +++ b/clients/client-lex-model-building-service/commands/ListTagsForResourceCommand.ts @@ -33,7 +33,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts b/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts index 4a982e99166c9..5e757e2aa8490 100644 --- a/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutBotAliasCommand.ts @@ -37,7 +37,6 @@ export class PutBotAliasCommand extends $Command< PutBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutBotAliasCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/PutBotCommand.ts b/clients/client-lex-model-building-service/commands/PutBotCommand.ts index aece86fbbe0d7..7b97c88317f31 100644 --- a/clients/client-lex-model-building-service/commands/PutBotCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutBotCommand.ts @@ -46,7 +46,6 @@ export class PutBotCommand extends $Command< PutBotCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class PutBotCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/PutIntentCommand.ts b/clients/client-lex-model-building-service/commands/PutIntentCommand.ts index 48ef7ab3c2482..f12378cf30326 100644 --- a/clients/client-lex-model-building-service/commands/PutIntentCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutIntentCommand.ts @@ -89,7 +89,6 @@ export class PutIntentCommand extends $Command< PutIntentCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -107,10 +106,7 @@ export class PutIntentCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts b/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts index 3f04caed3fac0..dbe78917213cc 100644 --- a/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts +++ b/clients/client-lex-model-building-service/commands/PutSlotTypeCommand.ts @@ -47,7 +47,6 @@ export class PutSlotTypeCommand extends $Command< PutSlotTypeCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class PutSlotTypeCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/StartImportCommand.ts b/clients/client-lex-model-building-service/commands/StartImportCommand.ts index a303d0358d939..1fc602ec43b17 100644 --- a/clients/client-lex-model-building-service/commands/StartImportCommand.ts +++ b/clients/client-lex-model-building-service/commands/StartImportCommand.ts @@ -32,7 +32,6 @@ export class StartImportCommand extends $Command< StartImportCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartImportCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/TagResourceCommand.ts b/clients/client-lex-model-building-service/commands/TagResourceCommand.ts index 01e6f97dabb80..c6e0e546c3838 100644 --- a/clients/client-lex-model-building-service/commands/TagResourceCommand.ts +++ b/clients/client-lex-model-building-service/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-model-building-service/commands/UntagResourceCommand.ts b/clients/client-lex-model-building-service/commands/UntagResourceCommand.ts index 5436ae1d1b351..31982b16c912c 100644 --- a/clients/client-lex-model-building-service/commands/UntagResourceCommand.ts +++ b/clients/client-lex-model-building-service/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, LexModelBuildingServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: LexModelBuildingServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts b/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts index 4c7f7936af2df..6fa46690b8c7f 100644 --- a/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts +++ b/clients/client-lex-runtime-service/commands/DeleteSessionCommand.ts @@ -32,7 +32,6 @@ export class DeleteSessionCommand extends $Command< DeleteSessionCommandOutput, LexRuntimeServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteSessionCommand extends $Command< configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-runtime-service/commands/GetSessionCommand.ts b/clients/client-lex-runtime-service/commands/GetSessionCommand.ts index 3d8e62366886d..5ed5fe4ab2ae3 100644 --- a/clients/client-lex-runtime-service/commands/GetSessionCommand.ts +++ b/clients/client-lex-runtime-service/commands/GetSessionCommand.ts @@ -32,7 +32,6 @@ export class GetSessionCommand extends $Command< GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetSessionCommand extends $Command< configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-runtime-service/commands/PostContentCommand.ts b/clients/client-lex-runtime-service/commands/PostContentCommand.ts index 77e1a73d16f80..6227f42efcda6 100644 --- a/clients/client-lex-runtime-service/commands/PostContentCommand.ts +++ b/clients/client-lex-runtime-service/commands/PostContentCommand.ts @@ -101,7 +101,6 @@ export class PostContentCommand extends $Command< PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -119,10 +118,7 @@ export class PostContentCommand extends $Command< configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-runtime-service/commands/PostTextCommand.ts b/clients/client-lex-runtime-service/commands/PostTextCommand.ts index 6d85c98a7812c..6d89a52f260a3 100644 --- a/clients/client-lex-runtime-service/commands/PostTextCommand.ts +++ b/clients/client-lex-runtime-service/commands/PostTextCommand.ts @@ -99,7 +99,6 @@ export class PostTextCommand extends $Command< PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -117,10 +116,7 @@ export class PostTextCommand extends $Command< configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lex-runtime-service/commands/PutSessionCommand.ts b/clients/client-lex-runtime-service/commands/PutSessionCommand.ts index 75709bc11fb53..e7097585e673b 100644 --- a/clients/client-lex-runtime-service/commands/PutSessionCommand.ts +++ b/clients/client-lex-runtime-service/commands/PutSessionCommand.ts @@ -34,7 +34,6 @@ export class PutSessionCommand extends $Command< PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutSessionCommand extends $Command< configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/AcceptGrantCommand.ts b/clients/client-license-manager/commands/AcceptGrantCommand.ts index 6e09c8129cfb5..9806ffb022b80 100644 --- a/clients/client-license-manager/commands/AcceptGrantCommand.ts +++ b/clients/client-license-manager/commands/AcceptGrantCommand.ts @@ -28,7 +28,6 @@ export class AcceptGrantCommand extends $Command< AcceptGrantCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptGrantCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CheckInLicenseCommand.ts b/clients/client-license-manager/commands/CheckInLicenseCommand.ts index f8b4f57130363..d5cb8d102de31 100644 --- a/clients/client-license-manager/commands/CheckInLicenseCommand.ts +++ b/clients/client-license-manager/commands/CheckInLicenseCommand.ts @@ -28,7 +28,6 @@ export class CheckInLicenseCommand extends $Command< CheckInLicenseCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CheckInLicenseCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CheckoutBorrowLicenseCommand.ts b/clients/client-license-manager/commands/CheckoutBorrowLicenseCommand.ts index d039685dc6817..41354e6727ae5 100644 --- a/clients/client-license-manager/commands/CheckoutBorrowLicenseCommand.ts +++ b/clients/client-license-manager/commands/CheckoutBorrowLicenseCommand.ts @@ -28,7 +28,6 @@ export class CheckoutBorrowLicenseCommand extends $Command< CheckoutBorrowLicenseCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CheckoutBorrowLicenseCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CheckoutLicenseCommand.ts b/clients/client-license-manager/commands/CheckoutLicenseCommand.ts index 091b5b070e811..28067ac5a36c2 100644 --- a/clients/client-license-manager/commands/CheckoutLicenseCommand.ts +++ b/clients/client-license-manager/commands/CheckoutLicenseCommand.ts @@ -28,7 +28,6 @@ export class CheckoutLicenseCommand extends $Command< CheckoutLicenseCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CheckoutLicenseCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CreateGrantCommand.ts b/clients/client-license-manager/commands/CreateGrantCommand.ts index d12a31a2fc549..76ab10e819999 100644 --- a/clients/client-license-manager/commands/CreateGrantCommand.ts +++ b/clients/client-license-manager/commands/CreateGrantCommand.ts @@ -28,7 +28,6 @@ export class CreateGrantCommand extends $Command< CreateGrantCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGrantCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CreateGrantVersionCommand.ts b/clients/client-license-manager/commands/CreateGrantVersionCommand.ts index b168009e37952..efca7d46c1b9a 100644 --- a/clients/client-license-manager/commands/CreateGrantVersionCommand.ts +++ b/clients/client-license-manager/commands/CreateGrantVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateGrantVersionCommand extends $Command< CreateGrantVersionCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGrantVersionCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CreateLicenseCommand.ts b/clients/client-license-manager/commands/CreateLicenseCommand.ts index 93d7bb2c8f02d..61f78f841089e 100644 --- a/clients/client-license-manager/commands/CreateLicenseCommand.ts +++ b/clients/client-license-manager/commands/CreateLicenseCommand.ts @@ -28,7 +28,6 @@ export class CreateLicenseCommand extends $Command< CreateLicenseCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLicenseCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts index 3b131821049c8..cdca30722e83d 100644 --- a/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/CreateLicenseConfigurationCommand.ts @@ -33,7 +33,6 @@ export class CreateLicenseConfigurationCommand extends $Command< CreateLicenseConfigurationCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateLicenseConfigurationCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CreateLicenseVersionCommand.ts b/clients/client-license-manager/commands/CreateLicenseVersionCommand.ts index 7656ae258707e..a16d747842837 100644 --- a/clients/client-license-manager/commands/CreateLicenseVersionCommand.ts +++ b/clients/client-license-manager/commands/CreateLicenseVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateLicenseVersionCommand extends $Command< CreateLicenseVersionCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLicenseVersionCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/CreateTokenCommand.ts b/clients/client-license-manager/commands/CreateTokenCommand.ts index df04d99e4f244..188a7f8e6f0e5 100644 --- a/clients/client-license-manager/commands/CreateTokenCommand.ts +++ b/clients/client-license-manager/commands/CreateTokenCommand.ts @@ -31,7 +31,6 @@ export class CreateTokenCommand extends $Command< CreateTokenCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateTokenCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/DeleteGrantCommand.ts b/clients/client-license-manager/commands/DeleteGrantCommand.ts index 53a6483e8d04b..8bb2a6e791ade 100644 --- a/clients/client-license-manager/commands/DeleteGrantCommand.ts +++ b/clients/client-license-manager/commands/DeleteGrantCommand.ts @@ -28,7 +28,6 @@ export class DeleteGrantCommand extends $Command< DeleteGrantCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGrantCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/DeleteLicenseCommand.ts b/clients/client-license-manager/commands/DeleteLicenseCommand.ts index 99d0f50ad7d36..a05bc61b64c41 100644 --- a/clients/client-license-manager/commands/DeleteLicenseCommand.ts +++ b/clients/client-license-manager/commands/DeleteLicenseCommand.ts @@ -28,7 +28,6 @@ export class DeleteLicenseCommand extends $Command< DeleteLicenseCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLicenseCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts index 410c6ce6f2ece..a9680d57c7cbf 100644 --- a/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/DeleteLicenseConfigurationCommand.ts @@ -29,7 +29,6 @@ export class DeleteLicenseConfigurationCommand extends $Command< DeleteLicenseConfigurationCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteLicenseConfigurationCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/DeleteTokenCommand.ts b/clients/client-license-manager/commands/DeleteTokenCommand.ts index d243ef16d9770..8f7c0f3dccae8 100644 --- a/clients/client-license-manager/commands/DeleteTokenCommand.ts +++ b/clients/client-license-manager/commands/DeleteTokenCommand.ts @@ -28,7 +28,6 @@ export class DeleteTokenCommand extends $Command< DeleteTokenCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTokenCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ExtendLicenseConsumptionCommand.ts b/clients/client-license-manager/commands/ExtendLicenseConsumptionCommand.ts index 3e5a124554c7b..077f75b65f29a 100644 --- a/clients/client-license-manager/commands/ExtendLicenseConsumptionCommand.ts +++ b/clients/client-license-manager/commands/ExtendLicenseConsumptionCommand.ts @@ -28,7 +28,6 @@ export class ExtendLicenseConsumptionCommand extends $Command< ExtendLicenseConsumptionCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ExtendLicenseConsumptionCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/GetAccessTokenCommand.ts b/clients/client-license-manager/commands/GetAccessTokenCommand.ts index b40395403aeb5..95e4fc94349cd 100644 --- a/clients/client-license-manager/commands/GetAccessTokenCommand.ts +++ b/clients/client-license-manager/commands/GetAccessTokenCommand.ts @@ -29,7 +29,6 @@ export class GetAccessTokenCommand extends $Command< GetAccessTokenCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAccessTokenCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/GetGrantCommand.ts b/clients/client-license-manager/commands/GetGrantCommand.ts index d9fb0b41a71a9..68414bf58cc68 100644 --- a/clients/client-license-manager/commands/GetGrantCommand.ts +++ b/clients/client-license-manager/commands/GetGrantCommand.ts @@ -25,7 +25,6 @@ export class GetGrantCommand extends $Command< GetGrantCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetGrantCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/GetLicenseCommand.ts b/clients/client-license-manager/commands/GetLicenseCommand.ts index d79f31baa5355..e1f4630ee45f6 100644 --- a/clients/client-license-manager/commands/GetLicenseCommand.ts +++ b/clients/client-license-manager/commands/GetLicenseCommand.ts @@ -28,7 +28,6 @@ export class GetLicenseCommand extends $Command< GetLicenseCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLicenseCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts index 4d9d4959d554a..f0e9e5cb93e71 100644 --- a/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/GetLicenseConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetLicenseConfigurationCommand extends $Command< GetLicenseConfigurationCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLicenseConfigurationCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/GetLicenseUsageCommand.ts b/clients/client-license-manager/commands/GetLicenseUsageCommand.ts index e8ca2fd5813c6..beffd54143bcc 100644 --- a/clients/client-license-manager/commands/GetLicenseUsageCommand.ts +++ b/clients/client-license-manager/commands/GetLicenseUsageCommand.ts @@ -28,7 +28,6 @@ export class GetLicenseUsageCommand extends $Command< GetLicenseUsageCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLicenseUsageCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/GetServiceSettingsCommand.ts b/clients/client-license-manager/commands/GetServiceSettingsCommand.ts index 248343a351dff..a7712775982f3 100644 --- a/clients/client-license-manager/commands/GetServiceSettingsCommand.ts +++ b/clients/client-license-manager/commands/GetServiceSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetServiceSettingsCommand extends $Command< GetServiceSettingsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetServiceSettingsCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts index 23e219273f3b5..65492aa7585fd 100644 --- a/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/ListAssociationsForLicenseConfigurationCommand.ts @@ -35,7 +35,6 @@ export class ListAssociationsForLicenseConfigurationCommand extends $Command< ListAssociationsForLicenseConfigurationCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListAssociationsForLicenseConfigurationCommand extends $Command< ListAssociationsForLicenseConfigurationCommandInput, ListAssociationsForLicenseConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListDistributedGrantsCommand.ts b/clients/client-license-manager/commands/ListDistributedGrantsCommand.ts index 6ce05e3d63e62..fa284ababb307 100644 --- a/clients/client-license-manager/commands/ListDistributedGrantsCommand.ts +++ b/clients/client-license-manager/commands/ListDistributedGrantsCommand.ts @@ -28,7 +28,6 @@ export class ListDistributedGrantsCommand extends $Command< ListDistributedGrantsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDistributedGrantsCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts b/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts index c1419ca49650c..512d386b6405f 100644 --- a/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts +++ b/clients/client-license-manager/commands/ListFailuresForLicenseConfigurationOperationsCommand.ts @@ -32,7 +32,6 @@ export class ListFailuresForLicenseConfigurationOperationsCommand extends $Comma ListFailuresForLicenseConfigurationOperationsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListFailuresForLicenseConfigurationOperationsCommand extends $Comma ListFailuresForLicenseConfigurationOperationsCommandInput, ListFailuresForLicenseConfigurationOperationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts b/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts index 404db98de8645..d72e55038e66d 100644 --- a/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts +++ b/clients/client-license-manager/commands/ListLicenseConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListLicenseConfigurationsCommand extends $Command< ListLicenseConfigurationsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLicenseConfigurationsCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts b/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts index 01570631a2a2e..b9ff782addb47 100644 --- a/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts +++ b/clients/client-license-manager/commands/ListLicenseSpecificationsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListLicenseSpecificationsForResourceCommand extends $Command< ListLicenseSpecificationsForResourceCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListLicenseSpecificationsForResourceCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListLicenseVersionsCommand.ts b/clients/client-license-manager/commands/ListLicenseVersionsCommand.ts index 1b155a8b6e7bf..955757efcbe77 100644 --- a/clients/client-license-manager/commands/ListLicenseVersionsCommand.ts +++ b/clients/client-license-manager/commands/ListLicenseVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListLicenseVersionsCommand extends $Command< ListLicenseVersionsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLicenseVersionsCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListLicensesCommand.ts b/clients/client-license-manager/commands/ListLicensesCommand.ts index d8a2417a9d15f..b0ff972c911a0 100644 --- a/clients/client-license-manager/commands/ListLicensesCommand.ts +++ b/clients/client-license-manager/commands/ListLicensesCommand.ts @@ -28,7 +28,6 @@ export class ListLicensesCommand extends $Command< ListLicensesCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLicensesCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListReceivedGrantsCommand.ts b/clients/client-license-manager/commands/ListReceivedGrantsCommand.ts index 4a077a982c7bf..ccfe578def9f1 100644 --- a/clients/client-license-manager/commands/ListReceivedGrantsCommand.ts +++ b/clients/client-license-manager/commands/ListReceivedGrantsCommand.ts @@ -28,7 +28,6 @@ export class ListReceivedGrantsCommand extends $Command< ListReceivedGrantsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListReceivedGrantsCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListReceivedLicensesCommand.ts b/clients/client-license-manager/commands/ListReceivedLicensesCommand.ts index aff211f2f6ebe..42c3a7b6d728c 100644 --- a/clients/client-license-manager/commands/ListReceivedLicensesCommand.ts +++ b/clients/client-license-manager/commands/ListReceivedLicensesCommand.ts @@ -28,7 +28,6 @@ export class ListReceivedLicensesCommand extends $Command< ListReceivedLicensesCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListReceivedLicensesCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListResourceInventoryCommand.ts b/clients/client-license-manager/commands/ListResourceInventoryCommand.ts index bde349638e90e..3987d3c54b984 100644 --- a/clients/client-license-manager/commands/ListResourceInventoryCommand.ts +++ b/clients/client-license-manager/commands/ListResourceInventoryCommand.ts @@ -28,7 +28,6 @@ export class ListResourceInventoryCommand extends $Command< ListResourceInventoryCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourceInventoryCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListTagsForResourceCommand.ts b/clients/client-license-manager/commands/ListTagsForResourceCommand.ts index 8ff8aee183865..5f5600a01ff1f 100644 --- a/clients/client-license-manager/commands/ListTagsForResourceCommand.ts +++ b/clients/client-license-manager/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListTokensCommand.ts b/clients/client-license-manager/commands/ListTokensCommand.ts index 1fecd3160d804..82c02e3510df3 100644 --- a/clients/client-license-manager/commands/ListTokensCommand.ts +++ b/clients/client-license-manager/commands/ListTokensCommand.ts @@ -28,7 +28,6 @@ export class ListTokensCommand extends $Command< ListTokensCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTokensCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts index 569076627de4e..69133bbe0daeb 100644 --- a/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/ListUsageForLicenseConfigurationCommand.ts @@ -30,7 +30,6 @@ export class ListUsageForLicenseConfigurationCommand extends $Command< ListUsageForLicenseConfigurationCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListUsageForLicenseConfigurationCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/RejectGrantCommand.ts b/clients/client-license-manager/commands/RejectGrantCommand.ts index 5df1d5d08087f..50d1bf9cf375e 100644 --- a/clients/client-license-manager/commands/RejectGrantCommand.ts +++ b/clients/client-license-manager/commands/RejectGrantCommand.ts @@ -28,7 +28,6 @@ export class RejectGrantCommand extends $Command< RejectGrantCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RejectGrantCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/TagResourceCommand.ts b/clients/client-license-manager/commands/TagResourceCommand.ts index a836673a93990..14cab6e14a7aa 100644 --- a/clients/client-license-manager/commands/TagResourceCommand.ts +++ b/clients/client-license-manager/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/UntagResourceCommand.ts b/clients/client-license-manager/commands/UntagResourceCommand.ts index 2aa56c3989e4b..64fd98b7376d7 100644 --- a/clients/client-license-manager/commands/UntagResourceCommand.ts +++ b/clients/client-license-manager/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts b/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts index a051e2c10c87f..89e28bce59af5 100644 --- a/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts +++ b/clients/client-license-manager/commands/UpdateLicenseConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateLicenseConfigurationCommand extends $Command< UpdateLicenseConfigurationCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateLicenseConfigurationCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts b/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts index 6528e315a1b55..039abe6beb000 100644 --- a/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts +++ b/clients/client-license-manager/commands/UpdateLicenseSpecificationsForResourceCommand.ts @@ -35,7 +35,6 @@ export class UpdateLicenseSpecificationsForResourceCommand extends $Command< UpdateLicenseSpecificationsForResourceCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateLicenseSpecificationsForResourceCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts b/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts index a3430f0bdd55a..ac35e1b60000b 100644 --- a/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts +++ b/clients/client-license-manager/commands/UpdateServiceSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateServiceSettingsCommand extends $Command< UpdateServiceSettingsCommandOutput, LicenseManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateServiceSettingsCommand extends $Command< configuration: LicenseManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/AllocateStaticIpCommand.ts b/clients/client-lightsail/commands/AllocateStaticIpCommand.ts index f1ccee9137b08..77b81491c400f 100644 --- a/clients/client-lightsail/commands/AllocateStaticIpCommand.ts +++ b/clients/client-lightsail/commands/AllocateStaticIpCommand.ts @@ -28,7 +28,6 @@ export class AllocateStaticIpCommand extends $Command< AllocateStaticIpCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AllocateStaticIpCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/AttachCertificateToDistributionCommand.ts b/clients/client-lightsail/commands/AttachCertificateToDistributionCommand.ts index f9b911d0b9b1f..025df70eb367d 100644 --- a/clients/client-lightsail/commands/AttachCertificateToDistributionCommand.ts +++ b/clients/client-lightsail/commands/AttachCertificateToDistributionCommand.ts @@ -39,7 +39,6 @@ export class AttachCertificateToDistributionCommand extends $Command< AttachCertificateToDistributionCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AttachCertificateToDistributionCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/AttachDiskCommand.ts b/clients/client-lightsail/commands/AttachDiskCommand.ts index def21b0f71614..35eb9328d6112 100644 --- a/clients/client-lightsail/commands/AttachDiskCommand.ts +++ b/clients/client-lightsail/commands/AttachDiskCommand.ts @@ -32,7 +32,6 @@ export class AttachDiskCommand extends $Command< AttachDiskCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AttachDiskCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts b/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts index 898be0cd17f9d..60ba714a41536 100644 --- a/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/AttachInstancesToLoadBalancerCommand.ts @@ -33,7 +33,6 @@ export class AttachInstancesToLoadBalancerCommand extends $Command< AttachInstancesToLoadBalancerCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AttachInstancesToLoadBalancerCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts index 0036999c9372a..bc409ccf27256 100644 --- a/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/AttachLoadBalancerTlsCertificateCommand.ts @@ -36,7 +36,6 @@ export class AttachLoadBalancerTlsCertificateCommand extends $Command< AttachLoadBalancerTlsCertificateCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AttachLoadBalancerTlsCertificateCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/AttachStaticIpCommand.ts b/clients/client-lightsail/commands/AttachStaticIpCommand.ts index 4bc87d19f13f7..c8e03656f6ca7 100644 --- a/clients/client-lightsail/commands/AttachStaticIpCommand.ts +++ b/clients/client-lightsail/commands/AttachStaticIpCommand.ts @@ -28,7 +28,6 @@ export class AttachStaticIpCommand extends $Command< AttachStaticIpCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AttachStaticIpCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts index 5b5422641521d..e6ece1cb23fba 100644 --- a/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/CloseInstancePublicPortsCommand.ts @@ -31,7 +31,6 @@ export class CloseInstancePublicPortsCommand extends $Command< CloseInstancePublicPortsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CloseInstancePublicPortsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CopySnapshotCommand.ts b/clients/client-lightsail/commands/CopySnapshotCommand.ts index 7aa44883522bf..a80b2dcf35385 100644 --- a/clients/client-lightsail/commands/CopySnapshotCommand.ts +++ b/clients/client-lightsail/commands/CopySnapshotCommand.ts @@ -38,7 +38,6 @@ export class CopySnapshotCommand extends $Command< CopySnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CopySnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateCertificateCommand.ts b/clients/client-lightsail/commands/CreateCertificateCommand.ts index 15b32d1e425d9..7d341ebe97001 100644 --- a/clients/client-lightsail/commands/CreateCertificateCommand.ts +++ b/clients/client-lightsail/commands/CreateCertificateCommand.ts @@ -37,7 +37,6 @@ export class CreateCertificateCommand extends $Command< CreateCertificateCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateCertificateCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts b/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts index 4ebb640ecc5ef..1f6256226e352 100644 --- a/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts +++ b/clients/client-lightsail/commands/CreateCloudFormationStackCommand.ts @@ -35,7 +35,6 @@ export class CreateCloudFormationStackCommand extends $Command< CreateCloudFormationStackCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateCloudFormationStackCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateContactMethodCommand.ts b/clients/client-lightsail/commands/CreateContactMethodCommand.ts index 4e3cb0929378d..6ecfd6ff1760d 100644 --- a/clients/client-lightsail/commands/CreateContactMethodCommand.ts +++ b/clients/client-lightsail/commands/CreateContactMethodCommand.ts @@ -32,7 +32,6 @@ export class CreateContactMethodCommand extends $Command< CreateContactMethodCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateContactMethodCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateContainerServiceCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceCommand.ts index 84c27065c2c02..d0bb5d4679174 100644 --- a/clients/client-lightsail/commands/CreateContainerServiceCommand.ts +++ b/clients/client-lightsail/commands/CreateContainerServiceCommand.ts @@ -32,7 +32,6 @@ export class CreateContainerServiceCommand extends $Command< CreateContainerServiceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateContainerServiceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts index 322c60c438955..d8619e9efe18b 100644 --- a/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts +++ b/clients/client-lightsail/commands/CreateContainerServiceDeploymentCommand.ts @@ -38,7 +38,6 @@ export class CreateContainerServiceDeploymentCommand extends $Command< CreateContainerServiceDeploymentCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateContainerServiceDeploymentCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts b/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts index 8ca096cb12acc..c849e136aa602 100644 --- a/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts +++ b/clients/client-lightsail/commands/CreateContainerServiceRegistryLoginCommand.ts @@ -55,7 +55,6 @@ export class CreateContainerServiceRegistryLoginCommand extends $Command< CreateContainerServiceRegistryLoginCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CreateContainerServiceRegistryLoginCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateDiskCommand.ts b/clients/client-lightsail/commands/CreateDiskCommand.ts index 40405ba39a551..0734a39230efc 100644 --- a/clients/client-lightsail/commands/CreateDiskCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskCommand.ts @@ -31,7 +31,6 @@ export class CreateDiskCommand extends $Command< CreateDiskCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDiskCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts index 8b752cf098787..49243fd399746 100644 --- a/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskFromSnapshotCommand.ts @@ -33,7 +33,6 @@ export class CreateDiskFromSnapshotCommand extends $Command< CreateDiskFromSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateDiskFromSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts b/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts index 2b3dfa6550f8e..b4535e40af952 100644 --- a/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateDiskSnapshotCommand.ts @@ -47,7 +47,6 @@ export class CreateDiskSnapshotCommand extends $Command< CreateDiskSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateDiskSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateDistributionCommand.ts b/clients/client-lightsail/commands/CreateDistributionCommand.ts index 8e42408bd422a..848a98786da1b 100644 --- a/clients/client-lightsail/commands/CreateDistributionCommand.ts +++ b/clients/client-lightsail/commands/CreateDistributionCommand.ts @@ -31,7 +31,6 @@ export class CreateDistributionCommand extends $Command< CreateDistributionCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDistributionCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateDomainCommand.ts b/clients/client-lightsail/commands/CreateDomainCommand.ts index ecb11266af284..7cba0a09ddaa2 100644 --- a/clients/client-lightsail/commands/CreateDomainCommand.ts +++ b/clients/client-lightsail/commands/CreateDomainCommand.ts @@ -30,7 +30,6 @@ export class CreateDomainCommand extends $Command< CreateDomainCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateDomainCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateDomainEntryCommand.ts b/clients/client-lightsail/commands/CreateDomainEntryCommand.ts index 88a0c4ce2cebe..d476f9ff2ee8b 100644 --- a/clients/client-lightsail/commands/CreateDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/CreateDomainEntryCommand.ts @@ -36,7 +36,6 @@ export class CreateDomainEntryCommand extends $Command< CreateDomainEntryCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateDomainEntryCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts index 58ec9d6551cc4..aff93582af5d5 100644 --- a/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateInstanceSnapshotCommand.ts @@ -31,7 +31,6 @@ export class CreateInstanceSnapshotCommand extends $Command< CreateInstanceSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateInstanceSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateInstancesCommand.ts b/clients/client-lightsail/commands/CreateInstancesCommand.ts index 27bfa7c42d5ba..2350d43de105f 100644 --- a/clients/client-lightsail/commands/CreateInstancesCommand.ts +++ b/clients/client-lightsail/commands/CreateInstancesCommand.ts @@ -30,7 +30,6 @@ export class CreateInstancesCommand extends $Command< CreateInstancesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateInstancesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts index 0e4c86a0ab274..3cb70173ccebd 100644 --- a/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateInstancesFromSnapshotCommand.ts @@ -32,7 +32,6 @@ export class CreateInstancesFromSnapshotCommand extends $Command< CreateInstancesFromSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateInstancesFromSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateKeyPairCommand.ts b/clients/client-lightsail/commands/CreateKeyPairCommand.ts index ec1a5625b5675..fffa93e8c8ec4 100644 --- a/clients/client-lightsail/commands/CreateKeyPairCommand.ts +++ b/clients/client-lightsail/commands/CreateKeyPairCommand.ts @@ -30,7 +30,6 @@ export class CreateKeyPairCommand extends $Command< CreateKeyPairCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateKeyPairCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts b/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts index 8fb9f9e581f58..378aff7d1f21b 100644 --- a/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/CreateLoadBalancerCommand.ts @@ -35,7 +35,6 @@ export class CreateLoadBalancerCommand extends $Command< CreateLoadBalancerCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateLoadBalancerCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts index 3b9ab82461b5d..6355f398a2b41 100644 --- a/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/CreateLoadBalancerTlsCertificateCommand.ts @@ -32,7 +32,6 @@ export class CreateLoadBalancerTlsCertificateCommand extends $Command< CreateLoadBalancerTlsCertificateCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateLoadBalancerTlsCertificateCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts index d12db4236b6c0..63c4bff8b0e19 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseCommand.ts @@ -30,7 +30,6 @@ export class CreateRelationalDatabaseCommand extends $Command< CreateRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts index a38a578986953..a41a3cc527630 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseFromSnapshotCommand.ts @@ -38,7 +38,6 @@ export class CreateRelationalDatabaseFromSnapshotCommand extends $Command< CreateRelationalDatabaseFromSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateRelationalDatabaseFromSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts index 8e3f6b78d971f..2951030435249 100644 --- a/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/CreateRelationalDatabaseSnapshotCommand.ts @@ -31,7 +31,6 @@ export class CreateRelationalDatabaseSnapshotCommand extends $Command< CreateRelationalDatabaseSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateRelationalDatabaseSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteAlarmCommand.ts b/clients/client-lightsail/commands/DeleteAlarmCommand.ts index 15cd62f6c9c9d..1e639d735a4bd 100644 --- a/clients/client-lightsail/commands/DeleteAlarmCommand.ts +++ b/clients/client-lightsail/commands/DeleteAlarmCommand.ts @@ -32,7 +32,6 @@ export class DeleteAlarmCommand extends $Command< DeleteAlarmCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteAlarmCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts index 4583ac0284a54..fab05607846f9 100644 --- a/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteAutoSnapshotCommand.ts @@ -28,7 +28,6 @@ export class DeleteAutoSnapshotCommand extends $Command< DeleteAutoSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAutoSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteCertificateCommand.ts b/clients/client-lightsail/commands/DeleteCertificateCommand.ts index e2f3231fe2b53..1a132b2ea927d 100644 --- a/clients/client-lightsail/commands/DeleteCertificateCommand.ts +++ b/clients/client-lightsail/commands/DeleteCertificateCommand.ts @@ -32,7 +32,6 @@ export class DeleteCertificateCommand extends $Command< DeleteCertificateCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteCertificateCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteContactMethodCommand.ts b/clients/client-lightsail/commands/DeleteContactMethodCommand.ts index 46da7e00b0d87..26ced4d1a5bc1 100644 --- a/clients/client-lightsail/commands/DeleteContactMethodCommand.ts +++ b/clients/client-lightsail/commands/DeleteContactMethodCommand.ts @@ -32,7 +32,6 @@ export class DeleteContactMethodCommand extends $Command< DeleteContactMethodCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteContactMethodCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteContainerImageCommand.ts b/clients/client-lightsail/commands/DeleteContainerImageCommand.ts index 4273c038ec609..2e161e34235fb 100644 --- a/clients/client-lightsail/commands/DeleteContainerImageCommand.ts +++ b/clients/client-lightsail/commands/DeleteContainerImageCommand.ts @@ -29,7 +29,6 @@ export class DeleteContainerImageCommand extends $Command< DeleteContainerImageCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteContainerImageCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts b/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts index f8682337882db..ec9bce64fad1b 100644 --- a/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts +++ b/clients/client-lightsail/commands/DeleteContainerServiceCommand.ts @@ -28,7 +28,6 @@ export class DeleteContainerServiceCommand extends $Command< DeleteContainerServiceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteContainerServiceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteDiskCommand.ts b/clients/client-lightsail/commands/DeleteDiskCommand.ts index a5b399ce8b4b8..e8b2383128341 100644 --- a/clients/client-lightsail/commands/DeleteDiskCommand.ts +++ b/clients/client-lightsail/commands/DeleteDiskCommand.ts @@ -35,7 +35,6 @@ export class DeleteDiskCommand extends $Command< DeleteDiskCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteDiskCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts index 02f0416d1602d..9c30bbabd6870 100644 --- a/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteDiskSnapshotCommand.ts @@ -36,7 +36,6 @@ export class DeleteDiskSnapshotCommand extends $Command< DeleteDiskSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteDiskSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteDistributionCommand.ts b/clients/client-lightsail/commands/DeleteDistributionCommand.ts index 4dc57e21c2c2b..6b07be245a0ed 100644 --- a/clients/client-lightsail/commands/DeleteDistributionCommand.ts +++ b/clients/client-lightsail/commands/DeleteDistributionCommand.ts @@ -28,7 +28,6 @@ export class DeleteDistributionCommand extends $Command< DeleteDistributionCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDistributionCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteDomainCommand.ts b/clients/client-lightsail/commands/DeleteDomainCommand.ts index 42c70efaeadfd..f9d153b428683 100644 --- a/clients/client-lightsail/commands/DeleteDomainCommand.ts +++ b/clients/client-lightsail/commands/DeleteDomainCommand.ts @@ -31,7 +31,6 @@ export class DeleteDomainCommand extends $Command< DeleteDomainCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDomainCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts b/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts index ef8f81af09097..b31cfbff23fef 100644 --- a/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/DeleteDomainEntryCommand.ts @@ -31,7 +31,6 @@ export class DeleteDomainEntryCommand extends $Command< DeleteDomainEntryCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDomainEntryCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteInstanceCommand.ts b/clients/client-lightsail/commands/DeleteInstanceCommand.ts index 5e7c21f0024a8..bbe05d4a2527b 100644 --- a/clients/client-lightsail/commands/DeleteInstanceCommand.ts +++ b/clients/client-lightsail/commands/DeleteInstanceCommand.ts @@ -31,7 +31,6 @@ export class DeleteInstanceCommand extends $Command< DeleteInstanceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteInstanceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts index ab954e4a8e901..fe61ccddfdb10 100644 --- a/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteInstanceSnapshotCommand.ts @@ -32,7 +32,6 @@ export class DeleteInstanceSnapshotCommand extends $Command< DeleteInstanceSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteInstanceSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteKeyPairCommand.ts b/clients/client-lightsail/commands/DeleteKeyPairCommand.ts index c1de9ea504e7f..9d2aa00e96759 100644 --- a/clients/client-lightsail/commands/DeleteKeyPairCommand.ts +++ b/clients/client-lightsail/commands/DeleteKeyPairCommand.ts @@ -31,7 +31,6 @@ export class DeleteKeyPairCommand extends $Command< DeleteKeyPairCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteKeyPairCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts b/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts index fe94ee0af7f51..1c8df6de9e05d 100644 --- a/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts +++ b/clients/client-lightsail/commands/DeleteKnownHostKeysCommand.ts @@ -36,7 +36,6 @@ export class DeleteKnownHostKeysCommand extends $Command< DeleteKnownHostKeysCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteKnownHostKeysCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts b/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts index 85f9da6e27c30..08e4d4cd973ec 100644 --- a/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/DeleteLoadBalancerCommand.ts @@ -33,7 +33,6 @@ export class DeleteLoadBalancerCommand extends $Command< DeleteLoadBalancerCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteLoadBalancerCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts b/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts index e1256ffa94808..1929891a40e46 100644 --- a/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts +++ b/clients/client-lightsail/commands/DeleteLoadBalancerTlsCertificateCommand.ts @@ -31,7 +31,6 @@ export class DeleteLoadBalancerTlsCertificateCommand extends $Command< DeleteLoadBalancerTlsCertificateCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteLoadBalancerTlsCertificateCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts index 36ed49ccf4caa..add2697c9277b 100644 --- a/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/DeleteRelationalDatabaseCommand.ts @@ -31,7 +31,6 @@ export class DeleteRelationalDatabaseCommand extends $Command< DeleteRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts index dc81802b74218..2fe46145c21f1 100644 --- a/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/DeleteRelationalDatabaseSnapshotCommand.ts @@ -31,7 +31,6 @@ export class DeleteRelationalDatabaseSnapshotCommand extends $Command< DeleteRelationalDatabaseSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteRelationalDatabaseSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DetachCertificateFromDistributionCommand.ts b/clients/client-lightsail/commands/DetachCertificateFromDistributionCommand.ts index 5d90d370f3f66..cddbf5245b708 100644 --- a/clients/client-lightsail/commands/DetachCertificateFromDistributionCommand.ts +++ b/clients/client-lightsail/commands/DetachCertificateFromDistributionCommand.ts @@ -31,7 +31,6 @@ export class DetachCertificateFromDistributionCommand extends $Command< DetachCertificateFromDistributionCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DetachCertificateFromDistributionCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DetachDiskCommand.ts b/clients/client-lightsail/commands/DetachDiskCommand.ts index a4b5eebbc05ed..297ccdef91b5d 100644 --- a/clients/client-lightsail/commands/DetachDiskCommand.ts +++ b/clients/client-lightsail/commands/DetachDiskCommand.ts @@ -33,7 +33,6 @@ export class DetachDiskCommand extends $Command< DetachDiskCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DetachDiskCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts b/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts index 24faf947ff8a3..e9113076fd98b 100644 --- a/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/DetachInstancesFromLoadBalancerCommand.ts @@ -33,7 +33,6 @@ export class DetachInstancesFromLoadBalancerCommand extends $Command< DetachInstancesFromLoadBalancerCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DetachInstancesFromLoadBalancerCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DetachStaticIpCommand.ts b/clients/client-lightsail/commands/DetachStaticIpCommand.ts index fbabaac2084a1..a425564040bf2 100644 --- a/clients/client-lightsail/commands/DetachStaticIpCommand.ts +++ b/clients/client-lightsail/commands/DetachStaticIpCommand.ts @@ -28,7 +28,6 @@ export class DetachStaticIpCommand extends $Command< DetachStaticIpCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DetachStaticIpCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DisableAddOnCommand.ts b/clients/client-lightsail/commands/DisableAddOnCommand.ts index 254c00f36d13e..f9ac17fc9b4d2 100644 --- a/clients/client-lightsail/commands/DisableAddOnCommand.ts +++ b/clients/client-lightsail/commands/DisableAddOnCommand.ts @@ -28,7 +28,6 @@ export class DisableAddOnCommand extends $Command< DisableAddOnCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableAddOnCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts b/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts index 41a75c47947ef..b41f22e200df1 100644 --- a/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts +++ b/clients/client-lightsail/commands/DownloadDefaultKeyPairCommand.ts @@ -28,7 +28,6 @@ export class DownloadDefaultKeyPairCommand extends $Command< DownloadDefaultKeyPairCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DownloadDefaultKeyPairCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/EnableAddOnCommand.ts b/clients/client-lightsail/commands/EnableAddOnCommand.ts index d9c9e4c228a1c..9570597c3e9b9 100644 --- a/clients/client-lightsail/commands/EnableAddOnCommand.ts +++ b/clients/client-lightsail/commands/EnableAddOnCommand.ts @@ -29,7 +29,6 @@ export class EnableAddOnCommand extends $Command< EnableAddOnCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableAddOnCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/ExportSnapshotCommand.ts b/clients/client-lightsail/commands/ExportSnapshotCommand.ts index 920b832c09569..f4629aca41127 100644 --- a/clients/client-lightsail/commands/ExportSnapshotCommand.ts +++ b/clients/client-lightsail/commands/ExportSnapshotCommand.ts @@ -42,7 +42,6 @@ export class ExportSnapshotCommand extends $Command< ExportSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ExportSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetActiveNamesCommand.ts b/clients/client-lightsail/commands/GetActiveNamesCommand.ts index e8547871c28db..f09c1ab3e7d2d 100644 --- a/clients/client-lightsail/commands/GetActiveNamesCommand.ts +++ b/clients/client-lightsail/commands/GetActiveNamesCommand.ts @@ -28,7 +28,6 @@ export class GetActiveNamesCommand extends $Command< GetActiveNamesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetActiveNamesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetAlarmsCommand.ts b/clients/client-lightsail/commands/GetAlarmsCommand.ts index 662d36233ad6a..c956df64c6f3c 100644 --- a/clients/client-lightsail/commands/GetAlarmsCommand.ts +++ b/clients/client-lightsail/commands/GetAlarmsCommand.ts @@ -31,7 +31,6 @@ export class GetAlarmsCommand extends $Command< GetAlarmsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetAlarmsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts b/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts index 77f6b23c3abe4..c87e12edec905 100644 --- a/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetAutoSnapshotsCommand.ts @@ -29,7 +29,6 @@ export class GetAutoSnapshotsCommand extends $Command< GetAutoSnapshotsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAutoSnapshotsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetBlueprintsCommand.ts b/clients/client-lightsail/commands/GetBlueprintsCommand.ts index 777f86a835eb3..6fbbab5c4b4ea 100644 --- a/clients/client-lightsail/commands/GetBlueprintsCommand.ts +++ b/clients/client-lightsail/commands/GetBlueprintsCommand.ts @@ -37,7 +37,6 @@ export class GetBlueprintsCommand extends $Command< GetBlueprintsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetBlueprintsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetBundlesCommand.ts b/clients/client-lightsail/commands/GetBundlesCommand.ts index 5d4a21d36a7fc..ee9c20d5ebd3b 100644 --- a/clients/client-lightsail/commands/GetBundlesCommand.ts +++ b/clients/client-lightsail/commands/GetBundlesCommand.ts @@ -29,7 +29,6 @@ export class GetBundlesCommand extends $Command< GetBundlesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetBundlesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetCertificatesCommand.ts b/clients/client-lightsail/commands/GetCertificatesCommand.ts index 559be32266704..96b6434898f85 100644 --- a/clients/client-lightsail/commands/GetCertificatesCommand.ts +++ b/clients/client-lightsail/commands/GetCertificatesCommand.ts @@ -33,7 +33,6 @@ export class GetCertificatesCommand extends $Command< GetCertificatesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetCertificatesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts b/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts index 9b4a6e45a995a..28df75e10123d 100644 --- a/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts +++ b/clients/client-lightsail/commands/GetCloudFormationStackRecordsCommand.ts @@ -31,7 +31,6 @@ export class GetCloudFormationStackRecordsCommand extends $Command< GetCloudFormationStackRecordsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetCloudFormationStackRecordsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContactMethodsCommand.ts b/clients/client-lightsail/commands/GetContactMethodsCommand.ts index 727e6df1ea0af..f267be5b98961 100644 --- a/clients/client-lightsail/commands/GetContactMethodsCommand.ts +++ b/clients/client-lightsail/commands/GetContactMethodsCommand.ts @@ -33,7 +33,6 @@ export class GetContactMethodsCommand extends $Command< GetContactMethodsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetContactMethodsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts b/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts index 62ca1f27ca4c8..09055f5d7f3bb 100644 --- a/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts +++ b/clients/client-lightsail/commands/GetContainerAPIMetadataCommand.ts @@ -29,7 +29,6 @@ export class GetContainerAPIMetadataCommand extends $Command< GetContainerAPIMetadataCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetContainerAPIMetadataCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerImagesCommand.ts b/clients/client-lightsail/commands/GetContainerImagesCommand.ts index 71e3224f468dc..88e4d4c1be58f 100644 --- a/clients/client-lightsail/commands/GetContainerImagesCommand.ts +++ b/clients/client-lightsail/commands/GetContainerImagesCommand.ts @@ -35,7 +35,6 @@ export class GetContainerImagesCommand extends $Command< GetContainerImagesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetContainerImagesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerLogCommand.ts b/clients/client-lightsail/commands/GetContainerLogCommand.ts index e4a0e00ad88f4..7e1741865ab4a 100644 --- a/clients/client-lightsail/commands/GetContainerLogCommand.ts +++ b/clients/client-lightsail/commands/GetContainerLogCommand.ts @@ -38,7 +38,6 @@ export class GetContainerLogCommand extends $Command< GetContainerLogCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetContainerLogCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts b/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts index 3c2a8056d8f75..8cc0ff1c278db 100644 --- a/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts +++ b/clients/client-lightsail/commands/GetContainerServiceDeploymentsCommand.ts @@ -40,7 +40,6 @@ export class GetContainerServiceDeploymentsCommand extends $Command< GetContainerServiceDeploymentsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetContainerServiceDeploymentsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts b/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts index 7d03e51344df7..7b299c2ff8034 100644 --- a/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetContainerServiceMetricDataCommand.ts @@ -32,7 +32,6 @@ export class GetContainerServiceMetricDataCommand extends $Command< GetContainerServiceMetricDataCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetContainerServiceMetricDataCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts b/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts index 4e3ba82d4ae28..17d0a039be0c4 100644 --- a/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts +++ b/clients/client-lightsail/commands/GetContainerServicePowersCommand.ts @@ -32,7 +32,6 @@ export class GetContainerServicePowersCommand extends $Command< GetContainerServicePowersCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetContainerServicePowersCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetContainerServicesCommand.ts b/clients/client-lightsail/commands/GetContainerServicesCommand.ts index a8c940abd3e88..19e4a739fc3ee 100644 --- a/clients/client-lightsail/commands/GetContainerServicesCommand.ts +++ b/clients/client-lightsail/commands/GetContainerServicesCommand.ts @@ -28,7 +28,6 @@ export class GetContainerServicesCommand extends $Command< GetContainerServicesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetContainerServicesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDiskCommand.ts b/clients/client-lightsail/commands/GetDiskCommand.ts index 0cd3926c67f1b..657bacbd5572e 100644 --- a/clients/client-lightsail/commands/GetDiskCommand.ts +++ b/clients/client-lightsail/commands/GetDiskCommand.ts @@ -21,7 +21,6 @@ export type GetDiskCommandOutput = GetDiskResult & __MetadataBearer; *

Returns information about a specific block storage disk.

*/ export class GetDiskCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class GetDiskCommand 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-lightsail/commands/GetDiskSnapshotCommand.ts b/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts index 33aeb39fe6b8b..6a7ae24cbc9be 100644 --- a/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetDiskSnapshotCommand.ts @@ -28,7 +28,6 @@ export class GetDiskSnapshotCommand extends $Command< GetDiskSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDiskSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts b/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts index 9e8a910be9999..6f30bb21ec4b7 100644 --- a/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetDiskSnapshotsCommand.ts @@ -29,7 +29,6 @@ export class GetDiskSnapshotsCommand extends $Command< GetDiskSnapshotsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDiskSnapshotsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDisksCommand.ts b/clients/client-lightsail/commands/GetDisksCommand.ts index 4b10eee760aa5..6a3fc5ba88637 100644 --- a/clients/client-lightsail/commands/GetDisksCommand.ts +++ b/clients/client-lightsail/commands/GetDisksCommand.ts @@ -25,7 +25,6 @@ export class GetDisksCommand extends $Command< GetDisksCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDisksCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts b/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts index 1e3de882af4d5..f5ff7d0602cf0 100644 --- a/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts +++ b/clients/client-lightsail/commands/GetDistributionBundlesCommand.ts @@ -31,7 +31,6 @@ export class GetDistributionBundlesCommand extends $Command< GetDistributionBundlesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetDistributionBundlesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDistributionLatestCacheResetCommand.ts b/clients/client-lightsail/commands/GetDistributionLatestCacheResetCommand.ts index bb19600ca301d..38cf6e1b21a48 100644 --- a/clients/client-lightsail/commands/GetDistributionLatestCacheResetCommand.ts +++ b/clients/client-lightsail/commands/GetDistributionLatestCacheResetCommand.ts @@ -29,7 +29,6 @@ export class GetDistributionLatestCacheResetCommand extends $Command< GetDistributionLatestCacheResetCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDistributionLatestCacheResetCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDistributionMetricDataCommand.ts b/clients/client-lightsail/commands/GetDistributionMetricDataCommand.ts index f68abecc51bc3..8fb6ca45ea6be 100644 --- a/clients/client-lightsail/commands/GetDistributionMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetDistributionMetricDataCommand.ts @@ -32,7 +32,6 @@ export class GetDistributionMetricDataCommand extends $Command< GetDistributionMetricDataCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetDistributionMetricDataCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDistributionsCommand.ts b/clients/client-lightsail/commands/GetDistributionsCommand.ts index e3907932d4fb3..71d0aae316f4f 100644 --- a/clients/client-lightsail/commands/GetDistributionsCommand.ts +++ b/clients/client-lightsail/commands/GetDistributionsCommand.ts @@ -29,7 +29,6 @@ export class GetDistributionsCommand extends $Command< GetDistributionsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDistributionsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDomainCommand.ts b/clients/client-lightsail/commands/GetDomainCommand.ts index e567185ac5c40..75cfa30d32f88 100644 --- a/clients/client-lightsail/commands/GetDomainCommand.ts +++ b/clients/client-lightsail/commands/GetDomainCommand.ts @@ -25,7 +25,6 @@ export class GetDomainCommand extends $Command< GetDomainCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class GetDomainCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetDomainsCommand.ts b/clients/client-lightsail/commands/GetDomainsCommand.ts index 03b47392a2085..52c01d33a7020 100644 --- a/clients/client-lightsail/commands/GetDomainsCommand.ts +++ b/clients/client-lightsail/commands/GetDomainsCommand.ts @@ -28,7 +28,6 @@ export class GetDomainsCommand extends $Command< GetDomainsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts b/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts index 81bdf4de08195..71268e9878cc2 100644 --- a/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts +++ b/clients/client-lightsail/commands/GetExportSnapshotRecordsCommand.ts @@ -31,7 +31,6 @@ export class GetExportSnapshotRecordsCommand extends $Command< GetExportSnapshotRecordsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetExportSnapshotRecordsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts b/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts index 9e8c8f2378017..22923df27d330 100644 --- a/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceAccessDetailsCommand.ts @@ -32,7 +32,6 @@ export class GetInstanceAccessDetailsCommand extends $Command< GetInstanceAccessDetailsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetInstanceAccessDetailsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstanceCommand.ts b/clients/client-lightsail/commands/GetInstanceCommand.ts index 40d77d8e5e749..4814b0bf37f7f 100644 --- a/clients/client-lightsail/commands/GetInstanceCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceCommand.ts @@ -29,7 +29,6 @@ export class GetInstanceCommand extends $Command< GetInstanceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInstanceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts b/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts index 81f07ac80e6e8..17c61b5d9cd4d 100644 --- a/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceMetricDataCommand.ts @@ -32,7 +32,6 @@ export class GetInstanceMetricDataCommand extends $Command< GetInstanceMetricDataCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetInstanceMetricDataCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts b/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts index da8f829a3aaff..30fa435404f16 100644 --- a/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts +++ b/clients/client-lightsail/commands/GetInstancePortStatesCommand.ts @@ -29,7 +29,6 @@ export class GetInstancePortStatesCommand extends $Command< GetInstancePortStatesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInstancePortStatesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts b/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts index d236b84e15951..330bf90eeb812 100644 --- a/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceSnapshotCommand.ts @@ -28,7 +28,6 @@ export class GetInstanceSnapshotCommand extends $Command< GetInstanceSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInstanceSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts b/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts index b187af9530ada..ecb1cc74247ee 100644 --- a/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class GetInstanceSnapshotsCommand extends $Command< GetInstanceSnapshotsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInstanceSnapshotsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstanceStateCommand.ts b/clients/client-lightsail/commands/GetInstanceStateCommand.ts index ebf8805aa2fb3..a507a45b3ac49 100644 --- a/clients/client-lightsail/commands/GetInstanceStateCommand.ts +++ b/clients/client-lightsail/commands/GetInstanceStateCommand.ts @@ -28,7 +28,6 @@ export class GetInstanceStateCommand extends $Command< GetInstanceStateCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInstanceStateCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetInstancesCommand.ts b/clients/client-lightsail/commands/GetInstancesCommand.ts index e141b5739f1be..c3bc0eaf53659 100644 --- a/clients/client-lightsail/commands/GetInstancesCommand.ts +++ b/clients/client-lightsail/commands/GetInstancesCommand.ts @@ -29,7 +29,6 @@ export class GetInstancesCommand extends $Command< GetInstancesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInstancesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetKeyPairCommand.ts b/clients/client-lightsail/commands/GetKeyPairCommand.ts index 28a27eb20b5a6..4411616a2e0f7 100644 --- a/clients/client-lightsail/commands/GetKeyPairCommand.ts +++ b/clients/client-lightsail/commands/GetKeyPairCommand.ts @@ -28,7 +28,6 @@ export class GetKeyPairCommand extends $Command< GetKeyPairCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetKeyPairCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetKeyPairsCommand.ts b/clients/client-lightsail/commands/GetKeyPairsCommand.ts index b1a8a084260c1..20e45a1b57769 100644 --- a/clients/client-lightsail/commands/GetKeyPairsCommand.ts +++ b/clients/client-lightsail/commands/GetKeyPairsCommand.ts @@ -29,7 +29,6 @@ export class GetKeyPairsCommand extends $Command< GetKeyPairsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetKeyPairsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetLoadBalancerCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerCommand.ts index 103c5fc454e8d..bbdc27958f363 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerCommand.ts @@ -28,7 +28,6 @@ export class GetLoadBalancerCommand extends $Command< GetLoadBalancerCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLoadBalancerCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts index ce9c971cc6030..28b4e005a9af0 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerMetricDataCommand.ts @@ -31,7 +31,6 @@ export class GetLoadBalancerMetricDataCommand extends $Command< GetLoadBalancerMetricDataCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetLoadBalancerMetricDataCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts b/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts index 7f2bf38e978a3..10d61bf5b99d1 100644 --- a/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancerTlsCertificatesCommand.ts @@ -32,7 +32,6 @@ export class GetLoadBalancerTlsCertificatesCommand extends $Command< GetLoadBalancerTlsCertificatesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetLoadBalancerTlsCertificatesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetLoadBalancersCommand.ts b/clients/client-lightsail/commands/GetLoadBalancersCommand.ts index f8e2af85a26de..e5129998ea4a4 100644 --- a/clients/client-lightsail/commands/GetLoadBalancersCommand.ts +++ b/clients/client-lightsail/commands/GetLoadBalancersCommand.ts @@ -28,7 +28,6 @@ export class GetLoadBalancersCommand extends $Command< GetLoadBalancersCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLoadBalancersCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetOperationCommand.ts b/clients/client-lightsail/commands/GetOperationCommand.ts index adf2587cca7e8..b970ae51c6c46 100644 --- a/clients/client-lightsail/commands/GetOperationCommand.ts +++ b/clients/client-lightsail/commands/GetOperationCommand.ts @@ -29,7 +29,6 @@ export class GetOperationCommand extends $Command< GetOperationCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetOperationCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetOperationsCommand.ts b/clients/client-lightsail/commands/GetOperationsCommand.ts index 8ec3076cba64f..0f0a01c4be6d4 100644 --- a/clients/client-lightsail/commands/GetOperationsCommand.ts +++ b/clients/client-lightsail/commands/GetOperationsCommand.ts @@ -31,7 +31,6 @@ export class GetOperationsCommand extends $Command< GetOperationsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetOperationsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts b/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts index 9744b2e79e15e..15855df52b15c 100644 --- a/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts +++ b/clients/client-lightsail/commands/GetOperationsForResourceCommand.ts @@ -28,7 +28,6 @@ export class GetOperationsForResourceCommand extends $Command< GetOperationsForResourceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOperationsForResourceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRegionsCommand.ts b/clients/client-lightsail/commands/GetRegionsCommand.ts index ae5a925fe9896..e046a434e8608 100644 --- a/clients/client-lightsail/commands/GetRegionsCommand.ts +++ b/clients/client-lightsail/commands/GetRegionsCommand.ts @@ -30,7 +30,6 @@ export class GetRegionsCommand extends $Command< GetRegionsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetRegionsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts index 96087d39dca69..b6420fc0e1cb3 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseBlueprintsCommand.ts @@ -31,7 +31,6 @@ export class GetRelationalDatabaseBlueprintsCommand extends $Command< GetRelationalDatabaseBlueprintsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRelationalDatabaseBlueprintsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts index f99fa307c80d8..5bf25b780f7dd 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseBundlesCommand.ts @@ -31,7 +31,6 @@ export class GetRelationalDatabaseBundlesCommand extends $Command< GetRelationalDatabaseBundlesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRelationalDatabaseBundlesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts index 035f0132dc426..94554a75bea91 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabaseCommand extends $Command< GetRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts index c082208b15d39..37a591dea8bdb 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseEventsCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabaseEventsCommand extends $Command< GetRelationalDatabaseEventsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabaseEventsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts index b8bb4174dbffa..19ee4a225eaa2 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseLogEventsCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabaseLogEventsCommand extends $Command< GetRelationalDatabaseLogEventsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabaseLogEventsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts index 3923ffc2903ec..6157dd6f6e755 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseLogStreamsCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabaseLogStreamsCommand extends $Command< GetRelationalDatabaseLogStreamsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabaseLogStreamsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts index 5686edd5f79bd..1e3463c6ab4a7 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseMasterUserPasswordCommand.ts @@ -36,7 +36,6 @@ export class GetRelationalDatabaseMasterUserPasswordCommand extends $Command< GetRelationalDatabaseMasterUserPasswordCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetRelationalDatabaseMasterUserPasswordCommand extends $Command< GetRelationalDatabaseMasterUserPasswordCommandInput, GetRelationalDatabaseMasterUserPasswordCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts index 46cbdfcc602a0..1b7cb3d2615ef 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseMetricDataCommand.ts @@ -31,7 +31,6 @@ export class GetRelationalDatabaseMetricDataCommand extends $Command< GetRelationalDatabaseMetricDataCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRelationalDatabaseMetricDataCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts index 304680cfdb637..63325ed8e7f85 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseParametersCommand.ts @@ -32,7 +32,6 @@ export class GetRelationalDatabaseParametersCommand extends $Command< GetRelationalDatabaseParametersCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetRelationalDatabaseParametersCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts index dc3faa0e2bc5b..3cd6f0e7b5848 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabaseSnapshotCommand extends $Command< GetRelationalDatabaseSnapshotCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabaseSnapshotCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts index d736fbcbb661e..ad3083f9f556e 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabaseSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabaseSnapshotsCommand extends $Command< GetRelationalDatabaseSnapshotsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabaseSnapshotsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts b/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts index 42998c2f1004e..c56e5a08086e4 100644 --- a/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts +++ b/clients/client-lightsail/commands/GetRelationalDatabasesCommand.ts @@ -28,7 +28,6 @@ export class GetRelationalDatabasesCommand extends $Command< GetRelationalDatabasesCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRelationalDatabasesCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetStaticIpCommand.ts b/clients/client-lightsail/commands/GetStaticIpCommand.ts index 40abe7da68510..18b5dc8aa7608 100644 --- a/clients/client-lightsail/commands/GetStaticIpCommand.ts +++ b/clients/client-lightsail/commands/GetStaticIpCommand.ts @@ -28,7 +28,6 @@ export class GetStaticIpCommand extends $Command< GetStaticIpCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStaticIpCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/GetStaticIpsCommand.ts b/clients/client-lightsail/commands/GetStaticIpsCommand.ts index 3644648d25445..0fab5473793be 100644 --- a/clients/client-lightsail/commands/GetStaticIpsCommand.ts +++ b/clients/client-lightsail/commands/GetStaticIpsCommand.ts @@ -28,7 +28,6 @@ export class GetStaticIpsCommand extends $Command< GetStaticIpsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetStaticIpsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/ImportKeyPairCommand.ts b/clients/client-lightsail/commands/ImportKeyPairCommand.ts index 8dee3d2286db3..37c742d429fa1 100644 --- a/clients/client-lightsail/commands/ImportKeyPairCommand.ts +++ b/clients/client-lightsail/commands/ImportKeyPairCommand.ts @@ -28,7 +28,6 @@ export class ImportKeyPairCommand extends $Command< ImportKeyPairCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportKeyPairCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/IsVpcPeeredCommand.ts b/clients/client-lightsail/commands/IsVpcPeeredCommand.ts index 1b909945cc792..59805d55bbe49 100644 --- a/clients/client-lightsail/commands/IsVpcPeeredCommand.ts +++ b/clients/client-lightsail/commands/IsVpcPeeredCommand.ts @@ -28,7 +28,6 @@ export class IsVpcPeeredCommand extends $Command< IsVpcPeeredCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class IsVpcPeeredCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts index dad443e5cbe6e..8de8bb77951be 100644 --- a/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/OpenInstancePublicPortsCommand.ts @@ -32,7 +32,6 @@ export class OpenInstancePublicPortsCommand extends $Command< OpenInstancePublicPortsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class OpenInstancePublicPortsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/PeerVpcCommand.ts b/clients/client-lightsail/commands/PeerVpcCommand.ts index 2b27c541786e7..7de7f556f8267 100644 --- a/clients/client-lightsail/commands/PeerVpcCommand.ts +++ b/clients/client-lightsail/commands/PeerVpcCommand.ts @@ -21,7 +21,6 @@ export type PeerVpcCommandOutput = PeerVpcResult & __MetadataBearer; *

Tries to peer the Lightsail VPC with the user's default VPC.

*/ export class PeerVpcCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class PeerVpcCommand 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-lightsail/commands/PutAlarmCommand.ts b/clients/client-lightsail/commands/PutAlarmCommand.ts index 1f51192767f1c..772b10d141245 100644 --- a/clients/client-lightsail/commands/PutAlarmCommand.ts +++ b/clients/client-lightsail/commands/PutAlarmCommand.ts @@ -35,7 +35,6 @@ export class PutAlarmCommand extends $Command< PutAlarmCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutAlarmCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts b/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts index ace061fb31573..9f149cb00aebd 100644 --- a/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts +++ b/clients/client-lightsail/commands/PutInstancePublicPortsCommand.ts @@ -36,7 +36,6 @@ export class PutInstancePublicPortsCommand extends $Command< PutInstancePublicPortsCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PutInstancePublicPortsCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/RebootInstanceCommand.ts b/clients/client-lightsail/commands/RebootInstanceCommand.ts index 0e1a2c061ed69..800d3f850c819 100644 --- a/clients/client-lightsail/commands/RebootInstanceCommand.ts +++ b/clients/client-lightsail/commands/RebootInstanceCommand.ts @@ -31,7 +31,6 @@ export class RebootInstanceCommand extends $Command< RebootInstanceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RebootInstanceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts index c7ae9a473b459..f208967693be6 100644 --- a/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/RebootRelationalDatabaseCommand.ts @@ -31,7 +31,6 @@ export class RebootRelationalDatabaseCommand extends $Command< RebootRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RebootRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/RegisterContainerImageCommand.ts b/clients/client-lightsail/commands/RegisterContainerImageCommand.ts index f7afa848c93d7..42b2a1fb1ca2f 100644 --- a/clients/client-lightsail/commands/RegisterContainerImageCommand.ts +++ b/clients/client-lightsail/commands/RegisterContainerImageCommand.ts @@ -36,7 +36,6 @@ export class RegisterContainerImageCommand extends $Command< RegisterContainerImageCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class RegisterContainerImageCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts b/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts index ef91865d42784..a1f30437c941f 100644 --- a/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts +++ b/clients/client-lightsail/commands/ReleaseStaticIpCommand.ts @@ -28,7 +28,6 @@ export class ReleaseStaticIpCommand extends $Command< ReleaseStaticIpCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ReleaseStaticIpCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/ResetDistributionCacheCommand.ts b/clients/client-lightsail/commands/ResetDistributionCacheCommand.ts index b66586fc434d2..a83fe883b4c53 100644 --- a/clients/client-lightsail/commands/ResetDistributionCacheCommand.ts +++ b/clients/client-lightsail/commands/ResetDistributionCacheCommand.ts @@ -31,7 +31,6 @@ export class ResetDistributionCacheCommand extends $Command< ResetDistributionCacheCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ResetDistributionCacheCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/SendContactMethodVerificationCommand.ts b/clients/client-lightsail/commands/SendContactMethodVerificationCommand.ts index 918e6a0128714..18248e683ff16 100644 --- a/clients/client-lightsail/commands/SendContactMethodVerificationCommand.ts +++ b/clients/client-lightsail/commands/SendContactMethodVerificationCommand.ts @@ -40,7 +40,6 @@ export class SendContactMethodVerificationCommand extends $Command< SendContactMethodVerificationCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class SendContactMethodVerificationCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/StartInstanceCommand.ts b/clients/client-lightsail/commands/StartInstanceCommand.ts index b2c4c2dfb94dd..6c173da545931 100644 --- a/clients/client-lightsail/commands/StartInstanceCommand.ts +++ b/clients/client-lightsail/commands/StartInstanceCommand.ts @@ -37,7 +37,6 @@ export class StartInstanceCommand extends $Command< StartInstanceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StartInstanceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts index f36258cf4ac51..f1fe77c13cf5f 100644 --- a/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/StartRelationalDatabaseCommand.ts @@ -32,7 +32,6 @@ export class StartRelationalDatabaseCommand extends $Command< StartRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/StopInstanceCommand.ts b/clients/client-lightsail/commands/StopInstanceCommand.ts index d221720a54e66..78e5f9fd5c744 100644 --- a/clients/client-lightsail/commands/StopInstanceCommand.ts +++ b/clients/client-lightsail/commands/StopInstanceCommand.ts @@ -36,7 +36,6 @@ export class StopInstanceCommand extends $Command< StopInstanceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StopInstanceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts index 085b3e2981c2f..95797530b02e6 100644 --- a/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/StopRelationalDatabaseCommand.ts @@ -31,7 +31,6 @@ export class StopRelationalDatabaseCommand extends $Command< StopRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StopRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/TagResourceCommand.ts b/clients/client-lightsail/commands/TagResourceCommand.ts index 0c90b7c1b009b..4ccd3beef263d 100644 --- a/clients/client-lightsail/commands/TagResourceCommand.ts +++ b/clients/client-lightsail/commands/TagResourceCommand.ts @@ -34,7 +34,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class TagResourceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/TestAlarmCommand.ts b/clients/client-lightsail/commands/TestAlarmCommand.ts index 407efd85906e8..b8fbbd5ca0c06 100644 --- a/clients/client-lightsail/commands/TestAlarmCommand.ts +++ b/clients/client-lightsail/commands/TestAlarmCommand.ts @@ -32,7 +32,6 @@ export class TestAlarmCommand extends $Command< TestAlarmCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TestAlarmCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UnpeerVpcCommand.ts b/clients/client-lightsail/commands/UnpeerVpcCommand.ts index c07a86e210f82..97064f5b24ba8 100644 --- a/clients/client-lightsail/commands/UnpeerVpcCommand.ts +++ b/clients/client-lightsail/commands/UnpeerVpcCommand.ts @@ -25,7 +25,6 @@ export class UnpeerVpcCommand extends $Command< UnpeerVpcCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UnpeerVpcCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UntagResourceCommand.ts b/clients/client-lightsail/commands/UntagResourceCommand.ts index 00bce07eec629..1e9b9b49546fd 100644 --- a/clients/client-lightsail/commands/UntagResourceCommand.ts +++ b/clients/client-lightsail/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts b/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts index 455715de16e19..702f850168ecf 100644 --- a/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts +++ b/clients/client-lightsail/commands/UpdateContainerServiceCommand.ts @@ -29,7 +29,6 @@ export class UpdateContainerServiceCommand extends $Command< UpdateContainerServiceCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateContainerServiceCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateDistributionBundleCommand.ts b/clients/client-lightsail/commands/UpdateDistributionBundleCommand.ts index 7da1c9b4dc7e5..d8f1b71bf850f 100644 --- a/clients/client-lightsail/commands/UpdateDistributionBundleCommand.ts +++ b/clients/client-lightsail/commands/UpdateDistributionBundleCommand.ts @@ -37,7 +37,6 @@ export class UpdateDistributionBundleCommand extends $Command< UpdateDistributionBundleCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateDistributionBundleCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateDistributionCommand.ts b/clients/client-lightsail/commands/UpdateDistributionCommand.ts index 96e575d881662..56ff14a80beec 100644 --- a/clients/client-lightsail/commands/UpdateDistributionCommand.ts +++ b/clients/client-lightsail/commands/UpdateDistributionCommand.ts @@ -29,7 +29,6 @@ export class UpdateDistributionCommand extends $Command< UpdateDistributionCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDistributionCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts b/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts index ba8bd33b9a183..90268e135a564 100644 --- a/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts +++ b/clients/client-lightsail/commands/UpdateDomainEntryCommand.ts @@ -31,7 +31,6 @@ export class UpdateDomainEntryCommand extends $Command< UpdateDomainEntryCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateDomainEntryCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts b/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts index 6d505fa9aad09..b33252816a751 100644 --- a/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts +++ b/clients/client-lightsail/commands/UpdateLoadBalancerAttributeCommand.ts @@ -32,7 +32,6 @@ export class UpdateLoadBalancerAttributeCommand extends $Command< UpdateLoadBalancerAttributeCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateLoadBalancerAttributeCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts b/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts index 753f67b7a42bd..34c6fe651ea8a 100644 --- a/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts +++ b/clients/client-lightsail/commands/UpdateRelationalDatabaseCommand.ts @@ -33,7 +33,6 @@ export class UpdateRelationalDatabaseCommand extends $Command< UpdateRelationalDatabaseCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateRelationalDatabaseCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts b/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts index baa4e7b62d56d..754c451566656 100644 --- a/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts +++ b/clients/client-lightsail/commands/UpdateRelationalDatabaseParametersCommand.ts @@ -41,7 +41,6 @@ export class UpdateRelationalDatabaseParametersCommand extends $Command< UpdateRelationalDatabaseParametersCommandOutput, LightsailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class UpdateRelationalDatabaseParametersCommand extends $Command< configuration: LightsailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/CreateDatasetCommand.ts b/clients/client-lookoutvision/commands/CreateDatasetCommand.ts index 33f0b7ebc46d1..d8dd93d84f00d 100644 --- a/clients/client-lookoutvision/commands/CreateDatasetCommand.ts +++ b/clients/client-lookoutvision/commands/CreateDatasetCommand.ts @@ -37,7 +37,6 @@ export class CreateDatasetCommand extends $Command< CreateDatasetCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateDatasetCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/CreateModelCommand.ts b/clients/client-lookoutvision/commands/CreateModelCommand.ts index 267fa4134273d..875e2780b57f4 100644 --- a/clients/client-lookoutvision/commands/CreateModelCommand.ts +++ b/clients/client-lookoutvision/commands/CreateModelCommand.ts @@ -38,7 +38,6 @@ export class CreateModelCommand extends $Command< CreateModelCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateModelCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/CreateProjectCommand.ts b/clients/client-lookoutvision/commands/CreateProjectCommand.ts index e8ef13f33d928..e5d5d8d32061f 100644 --- a/clients/client-lookoutvision/commands/CreateProjectCommand.ts +++ b/clients/client-lookoutvision/commands/CreateProjectCommand.ts @@ -29,7 +29,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateProjectCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DeleteDatasetCommand.ts b/clients/client-lookoutvision/commands/DeleteDatasetCommand.ts index 553311912361a..46901f54ec5db 100644 --- a/clients/client-lookoutvision/commands/DeleteDatasetCommand.ts +++ b/clients/client-lookoutvision/commands/DeleteDatasetCommand.ts @@ -42,7 +42,6 @@ export class DeleteDatasetCommand extends $Command< DeleteDatasetCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DeleteDatasetCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DeleteModelCommand.ts b/clients/client-lookoutvision/commands/DeleteModelCommand.ts index 62c2d9d87046f..542bb6bfa7aa7 100644 --- a/clients/client-lookoutvision/commands/DeleteModelCommand.ts +++ b/clients/client-lookoutvision/commands/DeleteModelCommand.ts @@ -29,7 +29,6 @@ export class DeleteModelCommand extends $Command< DeleteModelCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteModelCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DeleteProjectCommand.ts b/clients/client-lookoutvision/commands/DeleteProjectCommand.ts index 421dfb7deb71e..f126364e8a421 100644 --- a/clients/client-lookoutvision/commands/DeleteProjectCommand.ts +++ b/clients/client-lookoutvision/commands/DeleteProjectCommand.ts @@ -32,7 +32,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteProjectCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DescribeDatasetCommand.ts b/clients/client-lookoutvision/commands/DescribeDatasetCommand.ts index 85ba326c63186..b73ef52d35bf2 100644 --- a/clients/client-lookoutvision/commands/DescribeDatasetCommand.ts +++ b/clients/client-lookoutvision/commands/DescribeDatasetCommand.ts @@ -28,7 +28,6 @@ export class DescribeDatasetCommand extends $Command< DescribeDatasetCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDatasetCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DescribeModelCommand.ts b/clients/client-lookoutvision/commands/DescribeModelCommand.ts index 60bcf7e32c9af..6f0864af74db7 100644 --- a/clients/client-lookoutvision/commands/DescribeModelCommand.ts +++ b/clients/client-lookoutvision/commands/DescribeModelCommand.ts @@ -28,7 +28,6 @@ export class DescribeModelCommand extends $Command< DescribeModelCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeModelCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DescribeProjectCommand.ts b/clients/client-lookoutvision/commands/DescribeProjectCommand.ts index 02ad2bd735bb9..28ec7cb111fad 100644 --- a/clients/client-lookoutvision/commands/DescribeProjectCommand.ts +++ b/clients/client-lookoutvision/commands/DescribeProjectCommand.ts @@ -28,7 +28,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProjectCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/DetectAnomaliesCommand.ts b/clients/client-lookoutvision/commands/DetectAnomaliesCommand.ts index ceb1d60d456b7..d30521b67495f 100644 --- a/clients/client-lookoutvision/commands/DetectAnomaliesCommand.ts +++ b/clients/client-lookoutvision/commands/DetectAnomaliesCommand.ts @@ -37,7 +37,6 @@ export class DetectAnomaliesCommand extends $Command< DetectAnomaliesCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DetectAnomaliesCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/ListDatasetEntriesCommand.ts b/clients/client-lookoutvision/commands/ListDatasetEntriesCommand.ts index 28b5611f57d96..76c69ed7c9d8d 100644 --- a/clients/client-lookoutvision/commands/ListDatasetEntriesCommand.ts +++ b/clients/client-lookoutvision/commands/ListDatasetEntriesCommand.ts @@ -29,7 +29,6 @@ export class ListDatasetEntriesCommand extends $Command< ListDatasetEntriesCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDatasetEntriesCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/ListModelsCommand.ts b/clients/client-lookoutvision/commands/ListModelsCommand.ts index 6a7039f62e66d..4047f1eb0faca 100644 --- a/clients/client-lookoutvision/commands/ListModelsCommand.ts +++ b/clients/client-lookoutvision/commands/ListModelsCommand.ts @@ -28,7 +28,6 @@ export class ListModelsCommand extends $Command< ListModelsCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListModelsCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/ListProjectsCommand.ts b/clients/client-lookoutvision/commands/ListProjectsCommand.ts index 6fda2c8257518..1edf0cbbce101 100644 --- a/clients/client-lookoutvision/commands/ListProjectsCommand.ts +++ b/clients/client-lookoutvision/commands/ListProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectsCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/StartModelCommand.ts b/clients/client-lookoutvision/commands/StartModelCommand.ts index 706f8198a8176..492ebc71aef6c 100644 --- a/clients/client-lookoutvision/commands/StartModelCommand.ts +++ b/clients/client-lookoutvision/commands/StartModelCommand.ts @@ -35,7 +35,6 @@ export class StartModelCommand extends $Command< StartModelCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartModelCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/StopModelCommand.ts b/clients/client-lookoutvision/commands/StopModelCommand.ts index 768010419a968..24decd9afa190 100644 --- a/clients/client-lookoutvision/commands/StopModelCommand.ts +++ b/clients/client-lookoutvision/commands/StopModelCommand.ts @@ -29,7 +29,6 @@ export class StopModelCommand extends $Command< StopModelCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopModelCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-lookoutvision/commands/UpdateDatasetEntriesCommand.ts b/clients/client-lookoutvision/commands/UpdateDatasetEntriesCommand.ts index f70e1067bafd5..bfbcdec416a2d 100644 --- a/clients/client-lookoutvision/commands/UpdateDatasetEntriesCommand.ts +++ b/clients/client-lookoutvision/commands/UpdateDatasetEntriesCommand.ts @@ -33,7 +33,6 @@ export class UpdateDatasetEntriesCommand extends $Command< UpdateDatasetEntriesCommandOutput, LookoutVisionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateDatasetEntriesCommand extends $Command< configuration: LookoutVisionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/AddTagsCommand.ts b/clients/client-machine-learning/commands/AddTagsCommand.ts index 0633427343a29..69322fc49a16e 100644 --- a/clients/client-machine-learning/commands/AddTagsCommand.ts +++ b/clients/client-machine-learning/commands/AddTagsCommand.ts @@ -27,7 +27,6 @@ export class AddTagsCommand extends $Command< AddTagsCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class AddTagsCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts b/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts index 9d446b90ea5d4..61bd543b656b3 100644 --- a/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/CreateBatchPredictionCommand.ts @@ -39,7 +39,6 @@ export class CreateBatchPredictionCommand extends $Command< CreateBatchPredictionCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateBatchPredictionCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts b/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts index 93298aec6a9ab..eca7abdac415c 100644 --- a/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts +++ b/clients/client-machine-learning/commands/CreateDataSourceFromRDSCommand.ts @@ -39,7 +39,6 @@ export class CreateDataSourceFromRDSCommand extends $Command< CreateDataSourceFromRDSCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateDataSourceFromRDSCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts b/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts index b9ba0b3b3992a..a71ad24ba2916 100644 --- a/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts +++ b/clients/client-machine-learning/commands/CreateDataSourceFromRedshiftCommand.ts @@ -60,7 +60,6 @@ export class CreateDataSourceFromRedshiftCommand extends $Command< CreateDataSourceFromRedshiftCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class CreateDataSourceFromRedshiftCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts b/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts index 1f1dddeff04fc..01424ddd0c44e 100644 --- a/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts +++ b/clients/client-machine-learning/commands/CreateDataSourceFromS3Command.ts @@ -58,7 +58,6 @@ export class CreateDataSourceFromS3Command extends $Command< CreateDataSourceFromS3CommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class CreateDataSourceFromS3Command extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateEvaluationCommand.ts b/clients/client-machine-learning/commands/CreateEvaluationCommand.ts index 045db06166c33..4834cb6a516a9 100644 --- a/clients/client-machine-learning/commands/CreateEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/CreateEvaluationCommand.ts @@ -39,7 +39,6 @@ export class CreateEvaluationCommand extends $Command< CreateEvaluationCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateEvaluationCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateMLModelCommand.ts b/clients/client-machine-learning/commands/CreateMLModelCommand.ts index 09a561ea1a03a..ad0c1e2fcfbe4 100644 --- a/clients/client-machine-learning/commands/CreateMLModelCommand.ts +++ b/clients/client-machine-learning/commands/CreateMLModelCommand.ts @@ -47,7 +47,6 @@ export class CreateMLModelCommand extends $Command< CreateMLModelCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateMLModelCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts b/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts index f0c3cf7002980..87680c950e0fb 100644 --- a/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts +++ b/clients/client-machine-learning/commands/CreateRealtimeEndpointCommand.ts @@ -28,7 +28,6 @@ export class CreateRealtimeEndpointCommand extends $Command< CreateRealtimeEndpointCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRealtimeEndpointCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts b/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts index ceaffdb4e01c8..71d58d2acaabe 100644 --- a/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/DeleteBatchPredictionCommand.ts @@ -33,7 +33,6 @@ export class DeleteBatchPredictionCommand extends $Command< DeleteBatchPredictionCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteBatchPredictionCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts b/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts index 91ab7abf086ad..9fd6b74ce95c4 100644 --- a/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts +++ b/clients/client-machine-learning/commands/DeleteDataSourceCommand.ts @@ -31,7 +31,6 @@ export class DeleteDataSourceCommand extends $Command< DeleteDataSourceCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDataSourceCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts b/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts index 7386e92edec72..e86f4f868d5f0 100644 --- a/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/DeleteEvaluationCommand.ts @@ -33,7 +33,6 @@ export class DeleteEvaluationCommand extends $Command< DeleteEvaluationCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteEvaluationCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DeleteMLModelCommand.ts b/clients/client-machine-learning/commands/DeleteMLModelCommand.ts index 90db9b88742fa..0b03ed3a59887 100644 --- a/clients/client-machine-learning/commands/DeleteMLModelCommand.ts +++ b/clients/client-machine-learning/commands/DeleteMLModelCommand.ts @@ -33,7 +33,6 @@ export class DeleteMLModelCommand extends $Command< DeleteMLModelCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteMLModelCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts b/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts index 776e66f4d8a8a..bf018c164f1f0 100644 --- a/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts +++ b/clients/client-machine-learning/commands/DeleteRealtimeEndpointCommand.ts @@ -28,7 +28,6 @@ export class DeleteRealtimeEndpointCommand extends $Command< DeleteRealtimeEndpointCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRealtimeEndpointCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DeleteTagsCommand.ts b/clients/client-machine-learning/commands/DeleteTagsCommand.ts index 225bef962e505..6300aeb98f20a 100644 --- a/clients/client-machine-learning/commands/DeleteTagsCommand.ts +++ b/clients/client-machine-learning/commands/DeleteTagsCommand.ts @@ -29,7 +29,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTagsCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts b/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts index 926bdd59ffd91..8dcec5efe3553 100644 --- a/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeBatchPredictionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeBatchPredictionsCommand extends $Command< DescribeBatchPredictionsCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBatchPredictionsCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts b/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts index cc8c5b4f7d95a..c87679a2ca38a 100644 --- a/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts +++ b/clients/client-machine-learning/commands/DescribeDataSourcesCommand.ts @@ -28,7 +28,6 @@ export class DescribeDataSourcesCommand extends $Command< DescribeDataSourcesCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDataSourcesCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts b/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts index c24164fe040fc..2c757b567d7f5 100644 --- a/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeEvaluationsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEvaluationsCommand extends $Command< DescribeEvaluationsCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEvaluationsCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts b/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts index 700f9feb56a8b..730b790a36675 100644 --- a/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeMLModelsCommand.ts @@ -28,7 +28,6 @@ export class DescribeMLModelsCommand extends $Command< DescribeMLModelsCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMLModelsCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/DescribeTagsCommand.ts b/clients/client-machine-learning/commands/DescribeTagsCommand.ts index 9c12695756e02..5b47dc5d53876 100644 --- a/clients/client-machine-learning/commands/DescribeTagsCommand.ts +++ b/clients/client-machine-learning/commands/DescribeTagsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTagsCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts b/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts index 761ad0a7cebb8..d962017c012b0 100644 --- a/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/GetBatchPredictionCommand.ts @@ -29,7 +29,6 @@ export class GetBatchPredictionCommand extends $Command< GetBatchPredictionCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetBatchPredictionCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/GetDataSourceCommand.ts b/clients/client-machine-learning/commands/GetDataSourceCommand.ts index 386b4546139e4..4b81b4b5af219 100644 --- a/clients/client-machine-learning/commands/GetDataSourceCommand.ts +++ b/clients/client-machine-learning/commands/GetDataSourceCommand.ts @@ -31,7 +31,6 @@ export class GetDataSourceCommand extends $Command< GetDataSourceCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetDataSourceCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/GetEvaluationCommand.ts b/clients/client-machine-learning/commands/GetEvaluationCommand.ts index 641b48e3786c8..7db99055d2fb2 100644 --- a/clients/client-machine-learning/commands/GetEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/GetEvaluationCommand.ts @@ -28,7 +28,6 @@ export class GetEvaluationCommand extends $Command< GetEvaluationCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEvaluationCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/GetMLModelCommand.ts b/clients/client-machine-learning/commands/GetMLModelCommand.ts index a372e2dedf88b..934b041f4ecb7 100644 --- a/clients/client-machine-learning/commands/GetMLModelCommand.ts +++ b/clients/client-machine-learning/commands/GetMLModelCommand.ts @@ -30,7 +30,6 @@ export class GetMLModelCommand extends $Command< GetMLModelCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetMLModelCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/PredictCommand.ts b/clients/client-machine-learning/commands/PredictCommand.ts index 945a8df972188..323669c2b2b73 100644 --- a/clients/client-machine-learning/commands/PredictCommand.ts +++ b/clients/client-machine-learning/commands/PredictCommand.ts @@ -29,7 +29,6 @@ export class PredictCommand extends $Command< PredictCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,11 +46,8 @@ export class PredictCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getPredictEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getPredictEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts b/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts index 1b570b5706049..04bdaf1889922 100644 --- a/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts +++ b/clients/client-machine-learning/commands/UpdateBatchPredictionCommand.ts @@ -29,7 +29,6 @@ export class UpdateBatchPredictionCommand extends $Command< UpdateBatchPredictionCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateBatchPredictionCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts b/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts index 80c5e3244e522..34cdc011e7fab 100644 --- a/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts +++ b/clients/client-machine-learning/commands/UpdateDataSourceCommand.ts @@ -29,7 +29,6 @@ export class UpdateDataSourceCommand extends $Command< UpdateDataSourceCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDataSourceCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts b/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts index 8e135dfeb62bd..c56cbdf8ae4da 100644 --- a/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts +++ b/clients/client-machine-learning/commands/UpdateEvaluationCommand.ts @@ -29,7 +29,6 @@ export class UpdateEvaluationCommand extends $Command< UpdateEvaluationCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateEvaluationCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-machine-learning/commands/UpdateMLModelCommand.ts b/clients/client-machine-learning/commands/UpdateMLModelCommand.ts index 6e94054025845..0cc956cef1b6c 100644 --- a/clients/client-machine-learning/commands/UpdateMLModelCommand.ts +++ b/clients/client-machine-learning/commands/UpdateMLModelCommand.ts @@ -29,7 +29,6 @@ export class UpdateMLModelCommand extends $Command< UpdateMLModelCommandOutput, MachineLearningClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateMLModelCommand extends $Command< configuration: MachineLearningClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/AssociateMemberAccountCommand.ts b/clients/client-macie/commands/AssociateMemberAccountCommand.ts index f6e08f215ee91..cbaed270eb5cd 100644 --- a/clients/client-macie/commands/AssociateMemberAccountCommand.ts +++ b/clients/client-macie/commands/AssociateMemberAccountCommand.ts @@ -29,7 +29,6 @@ export class AssociateMemberAccountCommand extends $Command< AssociateMemberAccountCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateMemberAccountCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/AssociateS3ResourcesCommand.ts b/clients/client-macie/commands/AssociateS3ResourcesCommand.ts index 5c2c4763acfe8..acb61946aa83c 100644 --- a/clients/client-macie/commands/AssociateS3ResourcesCommand.ts +++ b/clients/client-macie/commands/AssociateS3ResourcesCommand.ts @@ -32,7 +32,6 @@ export class AssociateS3ResourcesCommand extends $Command< AssociateS3ResourcesCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateS3ResourcesCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/DisassociateMemberAccountCommand.ts b/clients/client-macie/commands/DisassociateMemberAccountCommand.ts index 67d5c817758d6..2045caf320a2c 100644 --- a/clients/client-macie/commands/DisassociateMemberAccountCommand.ts +++ b/clients/client-macie/commands/DisassociateMemberAccountCommand.ts @@ -28,7 +28,6 @@ export class DisassociateMemberAccountCommand extends $Command< DisassociateMemberAccountCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateMemberAccountCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts b/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts index a8a261ed96e03..08abc616abe42 100644 --- a/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts +++ b/clients/client-macie/commands/DisassociateS3ResourcesCommand.ts @@ -31,7 +31,6 @@ export class DisassociateS3ResourcesCommand extends $Command< DisassociateS3ResourcesCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DisassociateS3ResourcesCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/ListMemberAccountsCommand.ts b/clients/client-macie/commands/ListMemberAccountsCommand.ts index 60d25cb54aecc..9d1faaabda1b6 100644 --- a/clients/client-macie/commands/ListMemberAccountsCommand.ts +++ b/clients/client-macie/commands/ListMemberAccountsCommand.ts @@ -29,7 +29,6 @@ export class ListMemberAccountsCommand extends $Command< ListMemberAccountsCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListMemberAccountsCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/ListS3ResourcesCommand.ts b/clients/client-macie/commands/ListS3ResourcesCommand.ts index 1c3cf5a6d00cf..0cc925134863d 100644 --- a/clients/client-macie/commands/ListS3ResourcesCommand.ts +++ b/clients/client-macie/commands/ListS3ResourcesCommand.ts @@ -31,7 +31,6 @@ export class ListS3ResourcesCommand extends $Command< ListS3ResourcesCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListS3ResourcesCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie/commands/UpdateS3ResourcesCommand.ts b/clients/client-macie/commands/UpdateS3ResourcesCommand.ts index 22ced6e9ab539..916c1237e7a32 100644 --- a/clients/client-macie/commands/UpdateS3ResourcesCommand.ts +++ b/clients/client-macie/commands/UpdateS3ResourcesCommand.ts @@ -32,7 +32,6 @@ export class UpdateS3ResourcesCommand extends $Command< UpdateS3ResourcesCommandOutput, MacieClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateS3ResourcesCommand extends $Command< configuration: MacieClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/AcceptInvitationCommand.ts b/clients/client-macie2/commands/AcceptInvitationCommand.ts index edad9300cd314..39fd441607e04 100644 --- a/clients/client-macie2/commands/AcceptInvitationCommand.ts +++ b/clients/client-macie2/commands/AcceptInvitationCommand.ts @@ -28,7 +28,6 @@ export class AcceptInvitationCommand extends $Command< AcceptInvitationCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptInvitationCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/BatchGetCustomDataIdentifiersCommand.ts b/clients/client-macie2/commands/BatchGetCustomDataIdentifiersCommand.ts index c4fa5da88a800..0a11513f0c2ca 100644 --- a/clients/client-macie2/commands/BatchGetCustomDataIdentifiersCommand.ts +++ b/clients/client-macie2/commands/BatchGetCustomDataIdentifiersCommand.ts @@ -28,7 +28,6 @@ export class BatchGetCustomDataIdentifiersCommand extends $Command< BatchGetCustomDataIdentifiersCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchGetCustomDataIdentifiersCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/CreateClassificationJobCommand.ts b/clients/client-macie2/commands/CreateClassificationJobCommand.ts index e7a8ee75a7be1..93061619e7eeb 100644 --- a/clients/client-macie2/commands/CreateClassificationJobCommand.ts +++ b/clients/client-macie2/commands/CreateClassificationJobCommand.ts @@ -28,7 +28,6 @@ export class CreateClassificationJobCommand extends $Command< CreateClassificationJobCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateClassificationJobCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/CreateCustomDataIdentifierCommand.ts b/clients/client-macie2/commands/CreateCustomDataIdentifierCommand.ts index 36cad729a7a0e..d022bd5d31c22 100644 --- a/clients/client-macie2/commands/CreateCustomDataIdentifierCommand.ts +++ b/clients/client-macie2/commands/CreateCustomDataIdentifierCommand.ts @@ -28,7 +28,6 @@ export class CreateCustomDataIdentifierCommand extends $Command< CreateCustomDataIdentifierCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCustomDataIdentifierCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/CreateFindingsFilterCommand.ts b/clients/client-macie2/commands/CreateFindingsFilterCommand.ts index a119439198666..b93aba283bc4e 100644 --- a/clients/client-macie2/commands/CreateFindingsFilterCommand.ts +++ b/clients/client-macie2/commands/CreateFindingsFilterCommand.ts @@ -28,7 +28,6 @@ export class CreateFindingsFilterCommand extends $Command< CreateFindingsFilterCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFindingsFilterCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/CreateInvitationsCommand.ts b/clients/client-macie2/commands/CreateInvitationsCommand.ts index aeb72fe21a74b..542f18bbf3178 100644 --- a/clients/client-macie2/commands/CreateInvitationsCommand.ts +++ b/clients/client-macie2/commands/CreateInvitationsCommand.ts @@ -28,7 +28,6 @@ export class CreateInvitationsCommand extends $Command< CreateInvitationsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateInvitationsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/CreateMemberCommand.ts b/clients/client-macie2/commands/CreateMemberCommand.ts index 6448d5d77f1b3..b72ef3d5d389e 100644 --- a/clients/client-macie2/commands/CreateMemberCommand.ts +++ b/clients/client-macie2/commands/CreateMemberCommand.ts @@ -28,7 +28,6 @@ export class CreateMemberCommand extends $Command< CreateMemberCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateMemberCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/CreateSampleFindingsCommand.ts b/clients/client-macie2/commands/CreateSampleFindingsCommand.ts index aa589ed7ce8d4..1fa49980c0847 100644 --- a/clients/client-macie2/commands/CreateSampleFindingsCommand.ts +++ b/clients/client-macie2/commands/CreateSampleFindingsCommand.ts @@ -28,7 +28,6 @@ export class CreateSampleFindingsCommand extends $Command< CreateSampleFindingsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSampleFindingsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DeclineInvitationsCommand.ts b/clients/client-macie2/commands/DeclineInvitationsCommand.ts index 5b2dcedc1f1c1..e26cdaa55bbde 100644 --- a/clients/client-macie2/commands/DeclineInvitationsCommand.ts +++ b/clients/client-macie2/commands/DeclineInvitationsCommand.ts @@ -28,7 +28,6 @@ export class DeclineInvitationsCommand extends $Command< DeclineInvitationsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeclineInvitationsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DeleteCustomDataIdentifierCommand.ts b/clients/client-macie2/commands/DeleteCustomDataIdentifierCommand.ts index e8ad7276cecb8..8a53af7427a1a 100644 --- a/clients/client-macie2/commands/DeleteCustomDataIdentifierCommand.ts +++ b/clients/client-macie2/commands/DeleteCustomDataIdentifierCommand.ts @@ -28,7 +28,6 @@ export class DeleteCustomDataIdentifierCommand extends $Command< DeleteCustomDataIdentifierCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCustomDataIdentifierCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DeleteFindingsFilterCommand.ts b/clients/client-macie2/commands/DeleteFindingsFilterCommand.ts index fe9a3741d5a50..3c4924a31d59b 100644 --- a/clients/client-macie2/commands/DeleteFindingsFilterCommand.ts +++ b/clients/client-macie2/commands/DeleteFindingsFilterCommand.ts @@ -28,7 +28,6 @@ export class DeleteFindingsFilterCommand extends $Command< DeleteFindingsFilterCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFindingsFilterCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DeleteInvitationsCommand.ts b/clients/client-macie2/commands/DeleteInvitationsCommand.ts index b7074041b8500..848408a99795b 100644 --- a/clients/client-macie2/commands/DeleteInvitationsCommand.ts +++ b/clients/client-macie2/commands/DeleteInvitationsCommand.ts @@ -28,7 +28,6 @@ export class DeleteInvitationsCommand extends $Command< DeleteInvitationsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteInvitationsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DeleteMemberCommand.ts b/clients/client-macie2/commands/DeleteMemberCommand.ts index 578dd90f64bd6..7bc1b8942bc6c 100644 --- a/clients/client-macie2/commands/DeleteMemberCommand.ts +++ b/clients/client-macie2/commands/DeleteMemberCommand.ts @@ -28,7 +28,6 @@ export class DeleteMemberCommand extends $Command< DeleteMemberCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMemberCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DescribeBucketsCommand.ts b/clients/client-macie2/commands/DescribeBucketsCommand.ts index 051c5d7c8f8cd..cd51b2320d9fa 100644 --- a/clients/client-macie2/commands/DescribeBucketsCommand.ts +++ b/clients/client-macie2/commands/DescribeBucketsCommand.ts @@ -28,7 +28,6 @@ export class DescribeBucketsCommand extends $Command< DescribeBucketsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBucketsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DescribeClassificationJobCommand.ts b/clients/client-macie2/commands/DescribeClassificationJobCommand.ts index de88f9f08fc0e..d85bcd411322a 100644 --- a/clients/client-macie2/commands/DescribeClassificationJobCommand.ts +++ b/clients/client-macie2/commands/DescribeClassificationJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeClassificationJobCommand extends $Command< DescribeClassificationJobCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClassificationJobCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DescribeOrganizationConfigurationCommand.ts b/clients/client-macie2/commands/DescribeOrganizationConfigurationCommand.ts index 768305b1e0f48..ec6cc3c8814d3 100644 --- a/clients/client-macie2/commands/DescribeOrganizationConfigurationCommand.ts +++ b/clients/client-macie2/commands/DescribeOrganizationConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DescribeOrganizationConfigurationCommand extends $Command< DescribeOrganizationConfigurationCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeOrganizationConfigurationCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DisableMacieCommand.ts b/clients/client-macie2/commands/DisableMacieCommand.ts index 6a6ab8637a89a..250b5ecb90d00 100644 --- a/clients/client-macie2/commands/DisableMacieCommand.ts +++ b/clients/client-macie2/commands/DisableMacieCommand.ts @@ -28,7 +28,6 @@ export class DisableMacieCommand extends $Command< DisableMacieCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableMacieCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DisableOrganizationAdminAccountCommand.ts b/clients/client-macie2/commands/DisableOrganizationAdminAccountCommand.ts index 936751c452921..ace968013faa2 100644 --- a/clients/client-macie2/commands/DisableOrganizationAdminAccountCommand.ts +++ b/clients/client-macie2/commands/DisableOrganizationAdminAccountCommand.ts @@ -28,7 +28,6 @@ export class DisableOrganizationAdminAccountCommand extends $Command< DisableOrganizationAdminAccountCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableOrganizationAdminAccountCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DisassociateFromMasterAccountCommand.ts b/clients/client-macie2/commands/DisassociateFromMasterAccountCommand.ts index 1eba2261da225..fd670cdfc0047 100644 --- a/clients/client-macie2/commands/DisassociateFromMasterAccountCommand.ts +++ b/clients/client-macie2/commands/DisassociateFromMasterAccountCommand.ts @@ -28,7 +28,6 @@ export class DisassociateFromMasterAccountCommand extends $Command< DisassociateFromMasterAccountCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/DisassociateMemberCommand.ts b/clients/client-macie2/commands/DisassociateMemberCommand.ts index 700c11504fdc9..98637a0d319d3 100644 --- a/clients/client-macie2/commands/DisassociateMemberCommand.ts +++ b/clients/client-macie2/commands/DisassociateMemberCommand.ts @@ -28,7 +28,6 @@ export class DisassociateMemberCommand extends $Command< DisassociateMemberCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateMemberCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/EnableMacieCommand.ts b/clients/client-macie2/commands/EnableMacieCommand.ts index a6b5954b18230..7d1c8c944b6aa 100644 --- a/clients/client-macie2/commands/EnableMacieCommand.ts +++ b/clients/client-macie2/commands/EnableMacieCommand.ts @@ -28,7 +28,6 @@ export class EnableMacieCommand extends $Command< EnableMacieCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableMacieCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/EnableOrganizationAdminAccountCommand.ts b/clients/client-macie2/commands/EnableOrganizationAdminAccountCommand.ts index 02e614bb5c4eb..d1870fc82726e 100644 --- a/clients/client-macie2/commands/EnableOrganizationAdminAccountCommand.ts +++ b/clients/client-macie2/commands/EnableOrganizationAdminAccountCommand.ts @@ -28,7 +28,6 @@ export class EnableOrganizationAdminAccountCommand extends $Command< EnableOrganizationAdminAccountCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableOrganizationAdminAccountCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetBucketStatisticsCommand.ts b/clients/client-macie2/commands/GetBucketStatisticsCommand.ts index 936a950c8597e..97c9a7791ba22 100644 --- a/clients/client-macie2/commands/GetBucketStatisticsCommand.ts +++ b/clients/client-macie2/commands/GetBucketStatisticsCommand.ts @@ -28,7 +28,6 @@ export class GetBucketStatisticsCommand extends $Command< GetBucketStatisticsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBucketStatisticsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetClassificationExportConfigurationCommand.ts b/clients/client-macie2/commands/GetClassificationExportConfigurationCommand.ts index c3d1f4041db8d..c783be5357cf9 100644 --- a/clients/client-macie2/commands/GetClassificationExportConfigurationCommand.ts +++ b/clients/client-macie2/commands/GetClassificationExportConfigurationCommand.ts @@ -32,7 +32,6 @@ export class GetClassificationExportConfigurationCommand extends $Command< GetClassificationExportConfigurationCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetClassificationExportConfigurationCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetCustomDataIdentifierCommand.ts b/clients/client-macie2/commands/GetCustomDataIdentifierCommand.ts index 4870c89cdc5f0..dfa3775ac5f5b 100644 --- a/clients/client-macie2/commands/GetCustomDataIdentifierCommand.ts +++ b/clients/client-macie2/commands/GetCustomDataIdentifierCommand.ts @@ -28,7 +28,6 @@ export class GetCustomDataIdentifierCommand extends $Command< GetCustomDataIdentifierCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCustomDataIdentifierCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetFindingStatisticsCommand.ts b/clients/client-macie2/commands/GetFindingStatisticsCommand.ts index c7aec0d3185e9..1d724b5af202d 100644 --- a/clients/client-macie2/commands/GetFindingStatisticsCommand.ts +++ b/clients/client-macie2/commands/GetFindingStatisticsCommand.ts @@ -28,7 +28,6 @@ export class GetFindingStatisticsCommand extends $Command< GetFindingStatisticsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFindingStatisticsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetFindingsCommand.ts b/clients/client-macie2/commands/GetFindingsCommand.ts index 4e9b661343b98..030dd30f07329 100644 --- a/clients/client-macie2/commands/GetFindingsCommand.ts +++ b/clients/client-macie2/commands/GetFindingsCommand.ts @@ -28,7 +28,6 @@ export class GetFindingsCommand extends $Command< GetFindingsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFindingsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetFindingsFilterCommand.ts b/clients/client-macie2/commands/GetFindingsFilterCommand.ts index ed99dfdede0c5..537bd774d2e3b 100644 --- a/clients/client-macie2/commands/GetFindingsFilterCommand.ts +++ b/clients/client-macie2/commands/GetFindingsFilterCommand.ts @@ -28,7 +28,6 @@ export class GetFindingsFilterCommand extends $Command< GetFindingsFilterCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFindingsFilterCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetInvitationsCountCommand.ts b/clients/client-macie2/commands/GetInvitationsCountCommand.ts index 5f5e04abd67cf..57963dbc18f51 100644 --- a/clients/client-macie2/commands/GetInvitationsCountCommand.ts +++ b/clients/client-macie2/commands/GetInvitationsCountCommand.ts @@ -28,7 +28,6 @@ export class GetInvitationsCountCommand extends $Command< GetInvitationsCountCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInvitationsCountCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetMacieSessionCommand.ts b/clients/client-macie2/commands/GetMacieSessionCommand.ts index 10abe2c495a3b..3d2ed3d94ebb6 100644 --- a/clients/client-macie2/commands/GetMacieSessionCommand.ts +++ b/clients/client-macie2/commands/GetMacieSessionCommand.ts @@ -28,7 +28,6 @@ export class GetMacieSessionCommand extends $Command< GetMacieSessionCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMacieSessionCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetMasterAccountCommand.ts b/clients/client-macie2/commands/GetMasterAccountCommand.ts index be7e3e3f1b2cb..2da78700826f9 100644 --- a/clients/client-macie2/commands/GetMasterAccountCommand.ts +++ b/clients/client-macie2/commands/GetMasterAccountCommand.ts @@ -28,7 +28,6 @@ export class GetMasterAccountCommand extends $Command< GetMasterAccountCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMasterAccountCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetMemberCommand.ts b/clients/client-macie2/commands/GetMemberCommand.ts index 1239d7e458d32..90e4a452f9da8 100644 --- a/clients/client-macie2/commands/GetMemberCommand.ts +++ b/clients/client-macie2/commands/GetMemberCommand.ts @@ -28,7 +28,6 @@ export class GetMemberCommand extends $Command< GetMemberCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMemberCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetUsageStatisticsCommand.ts b/clients/client-macie2/commands/GetUsageStatisticsCommand.ts index d7901f8ec8c0e..8a6a1b783eb1f 100644 --- a/clients/client-macie2/commands/GetUsageStatisticsCommand.ts +++ b/clients/client-macie2/commands/GetUsageStatisticsCommand.ts @@ -28,7 +28,6 @@ export class GetUsageStatisticsCommand extends $Command< GetUsageStatisticsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsageStatisticsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/GetUsageTotalsCommand.ts b/clients/client-macie2/commands/GetUsageTotalsCommand.ts index 408818ef95cb0..c9acfc2ced7ba 100644 --- a/clients/client-macie2/commands/GetUsageTotalsCommand.ts +++ b/clients/client-macie2/commands/GetUsageTotalsCommand.ts @@ -28,7 +28,6 @@ export class GetUsageTotalsCommand extends $Command< GetUsageTotalsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUsageTotalsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListClassificationJobsCommand.ts b/clients/client-macie2/commands/ListClassificationJobsCommand.ts index d6ae7d3eab3b6..a3edc9569f5dd 100644 --- a/clients/client-macie2/commands/ListClassificationJobsCommand.ts +++ b/clients/client-macie2/commands/ListClassificationJobsCommand.ts @@ -28,7 +28,6 @@ export class ListClassificationJobsCommand extends $Command< ListClassificationJobsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListClassificationJobsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListCustomDataIdentifiersCommand.ts b/clients/client-macie2/commands/ListCustomDataIdentifiersCommand.ts index 86f20b9e04ffb..b5f753f9ee246 100644 --- a/clients/client-macie2/commands/ListCustomDataIdentifiersCommand.ts +++ b/clients/client-macie2/commands/ListCustomDataIdentifiersCommand.ts @@ -28,7 +28,6 @@ export class ListCustomDataIdentifiersCommand extends $Command< ListCustomDataIdentifiersCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCustomDataIdentifiersCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListFindingsCommand.ts b/clients/client-macie2/commands/ListFindingsCommand.ts index 31f41632a082d..6ed5020f40a65 100644 --- a/clients/client-macie2/commands/ListFindingsCommand.ts +++ b/clients/client-macie2/commands/ListFindingsCommand.ts @@ -28,7 +28,6 @@ export class ListFindingsCommand extends $Command< ListFindingsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFindingsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListFindingsFiltersCommand.ts b/clients/client-macie2/commands/ListFindingsFiltersCommand.ts index 732ba26c00370..d56c3fe2c80a8 100644 --- a/clients/client-macie2/commands/ListFindingsFiltersCommand.ts +++ b/clients/client-macie2/commands/ListFindingsFiltersCommand.ts @@ -28,7 +28,6 @@ export class ListFindingsFiltersCommand extends $Command< ListFindingsFiltersCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFindingsFiltersCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListInvitationsCommand.ts b/clients/client-macie2/commands/ListInvitationsCommand.ts index ffd1fa9a74f79..419fdadd7338d 100644 --- a/clients/client-macie2/commands/ListInvitationsCommand.ts +++ b/clients/client-macie2/commands/ListInvitationsCommand.ts @@ -28,7 +28,6 @@ export class ListInvitationsCommand extends $Command< ListInvitationsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInvitationsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListMembersCommand.ts b/clients/client-macie2/commands/ListMembersCommand.ts index 4122066ba31e8..2278e50b504c8 100644 --- a/clients/client-macie2/commands/ListMembersCommand.ts +++ b/clients/client-macie2/commands/ListMembersCommand.ts @@ -28,7 +28,6 @@ export class ListMembersCommand extends $Command< ListMembersCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMembersCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListOrganizationAdminAccountsCommand.ts b/clients/client-macie2/commands/ListOrganizationAdminAccountsCommand.ts index 26b7f84b88a98..0c3719986d462 100644 --- a/clients/client-macie2/commands/ListOrganizationAdminAccountsCommand.ts +++ b/clients/client-macie2/commands/ListOrganizationAdminAccountsCommand.ts @@ -28,7 +28,6 @@ export class ListOrganizationAdminAccountsCommand extends $Command< ListOrganizationAdminAccountsCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOrganizationAdminAccountsCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/ListTagsForResourceCommand.ts b/clients/client-macie2/commands/ListTagsForResourceCommand.ts index c2aac0e3aa0b3..25d333a99c1e5 100644 --- a/clients/client-macie2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-macie2/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/PutClassificationExportConfigurationCommand.ts b/clients/client-macie2/commands/PutClassificationExportConfigurationCommand.ts index d1a56d2c7bc49..a5b4caf0eeb79 100644 --- a/clients/client-macie2/commands/PutClassificationExportConfigurationCommand.ts +++ b/clients/client-macie2/commands/PutClassificationExportConfigurationCommand.ts @@ -32,7 +32,6 @@ export class PutClassificationExportConfigurationCommand extends $Command< PutClassificationExportConfigurationCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutClassificationExportConfigurationCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/TagResourceCommand.ts b/clients/client-macie2/commands/TagResourceCommand.ts index 3c47975468469..5bde197f5d022 100644 --- a/clients/client-macie2/commands/TagResourceCommand.ts +++ b/clients/client-macie2/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/TestCustomDataIdentifierCommand.ts b/clients/client-macie2/commands/TestCustomDataIdentifierCommand.ts index 11928d073676b..c2b7d83545c59 100644 --- a/clients/client-macie2/commands/TestCustomDataIdentifierCommand.ts +++ b/clients/client-macie2/commands/TestCustomDataIdentifierCommand.ts @@ -28,7 +28,6 @@ export class TestCustomDataIdentifierCommand extends $Command< TestCustomDataIdentifierCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TestCustomDataIdentifierCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/UntagResourceCommand.ts b/clients/client-macie2/commands/UntagResourceCommand.ts index c0eace6682eaa..3654c9794feb8 100644 --- a/clients/client-macie2/commands/UntagResourceCommand.ts +++ b/clients/client-macie2/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/UpdateClassificationJobCommand.ts b/clients/client-macie2/commands/UpdateClassificationJobCommand.ts index acf303de1e8f7..d1012e11ef866 100644 --- a/clients/client-macie2/commands/UpdateClassificationJobCommand.ts +++ b/clients/client-macie2/commands/UpdateClassificationJobCommand.ts @@ -28,7 +28,6 @@ export class UpdateClassificationJobCommand extends $Command< UpdateClassificationJobCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateClassificationJobCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/UpdateFindingsFilterCommand.ts b/clients/client-macie2/commands/UpdateFindingsFilterCommand.ts index 3705249d5f840..3e758e0534f32 100644 --- a/clients/client-macie2/commands/UpdateFindingsFilterCommand.ts +++ b/clients/client-macie2/commands/UpdateFindingsFilterCommand.ts @@ -28,7 +28,6 @@ export class UpdateFindingsFilterCommand extends $Command< UpdateFindingsFilterCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFindingsFilterCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/UpdateMacieSessionCommand.ts b/clients/client-macie2/commands/UpdateMacieSessionCommand.ts index ec81d65bea61a..3886fadb89baa 100644 --- a/clients/client-macie2/commands/UpdateMacieSessionCommand.ts +++ b/clients/client-macie2/commands/UpdateMacieSessionCommand.ts @@ -28,7 +28,6 @@ export class UpdateMacieSessionCommand extends $Command< UpdateMacieSessionCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMacieSessionCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/UpdateMemberSessionCommand.ts b/clients/client-macie2/commands/UpdateMemberSessionCommand.ts index 9abd037358881..cab7d635d467f 100644 --- a/clients/client-macie2/commands/UpdateMemberSessionCommand.ts +++ b/clients/client-macie2/commands/UpdateMemberSessionCommand.ts @@ -28,7 +28,6 @@ export class UpdateMemberSessionCommand extends $Command< UpdateMemberSessionCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMemberSessionCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-macie2/commands/UpdateOrganizationConfigurationCommand.ts b/clients/client-macie2/commands/UpdateOrganizationConfigurationCommand.ts index d3ee2701644ab..266fa4e4d904e 100644 --- a/clients/client-macie2/commands/UpdateOrganizationConfigurationCommand.ts +++ b/clients/client-macie2/commands/UpdateOrganizationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateOrganizationConfigurationCommand extends $Command< UpdateOrganizationConfigurationCommandOutput, Macie2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateOrganizationConfigurationCommand extends $Command< configuration: Macie2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/CreateMemberCommand.ts b/clients/client-managedblockchain/commands/CreateMemberCommand.ts index d246a780b3f0b..0feaec104bb79 100644 --- a/clients/client-managedblockchain/commands/CreateMemberCommand.ts +++ b/clients/client-managedblockchain/commands/CreateMemberCommand.ts @@ -32,7 +32,6 @@ export class CreateMemberCommand extends $Command< CreateMemberCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateMemberCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/CreateNetworkCommand.ts b/clients/client-managedblockchain/commands/CreateNetworkCommand.ts index 5ecc1acfdf839..0fdb46e0ea51b 100644 --- a/clients/client-managedblockchain/commands/CreateNetworkCommand.ts +++ b/clients/client-managedblockchain/commands/CreateNetworkCommand.ts @@ -32,7 +32,6 @@ export class CreateNetworkCommand extends $Command< CreateNetworkCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateNetworkCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/CreateNodeCommand.ts b/clients/client-managedblockchain/commands/CreateNodeCommand.ts index c0c2544518872..d9bcd97c04b00 100644 --- a/clients/client-managedblockchain/commands/CreateNodeCommand.ts +++ b/clients/client-managedblockchain/commands/CreateNodeCommand.ts @@ -32,7 +32,6 @@ export class CreateNodeCommand extends $Command< CreateNodeCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateNodeCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/CreateProposalCommand.ts b/clients/client-managedblockchain/commands/CreateProposalCommand.ts index 76b39d8d883bc..71822e9247e34 100644 --- a/clients/client-managedblockchain/commands/CreateProposalCommand.ts +++ b/clients/client-managedblockchain/commands/CreateProposalCommand.ts @@ -32,7 +32,6 @@ export class CreateProposalCommand extends $Command< CreateProposalCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateProposalCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/DeleteMemberCommand.ts b/clients/client-managedblockchain/commands/DeleteMemberCommand.ts index 13bed16ead1d6..ef7ec4a01f48d 100644 --- a/clients/client-managedblockchain/commands/DeleteMemberCommand.ts +++ b/clients/client-managedblockchain/commands/DeleteMemberCommand.ts @@ -32,7 +32,6 @@ export class DeleteMemberCommand extends $Command< DeleteMemberCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteMemberCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/DeleteNodeCommand.ts b/clients/client-managedblockchain/commands/DeleteNodeCommand.ts index 40a9043a67135..d4f039f8ffd2a 100644 --- a/clients/client-managedblockchain/commands/DeleteNodeCommand.ts +++ b/clients/client-managedblockchain/commands/DeleteNodeCommand.ts @@ -32,7 +32,6 @@ export class DeleteNodeCommand extends $Command< DeleteNodeCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteNodeCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/GetMemberCommand.ts b/clients/client-managedblockchain/commands/GetMemberCommand.ts index 753ff1b4656bd..f6d31d7faf520 100644 --- a/clients/client-managedblockchain/commands/GetMemberCommand.ts +++ b/clients/client-managedblockchain/commands/GetMemberCommand.ts @@ -32,7 +32,6 @@ export class GetMemberCommand extends $Command< GetMemberCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetMemberCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/GetNetworkCommand.ts b/clients/client-managedblockchain/commands/GetNetworkCommand.ts index 0d755e9629aac..c014ff12c1e9f 100644 --- a/clients/client-managedblockchain/commands/GetNetworkCommand.ts +++ b/clients/client-managedblockchain/commands/GetNetworkCommand.ts @@ -32,7 +32,6 @@ export class GetNetworkCommand extends $Command< GetNetworkCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetNetworkCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/GetNodeCommand.ts b/clients/client-managedblockchain/commands/GetNodeCommand.ts index 56a80fc6d1afb..52a3b2d8a650c 100644 --- a/clients/client-managedblockchain/commands/GetNodeCommand.ts +++ b/clients/client-managedblockchain/commands/GetNodeCommand.ts @@ -32,7 +32,6 @@ export class GetNodeCommand extends $Command< GetNodeCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetNodeCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/GetProposalCommand.ts b/clients/client-managedblockchain/commands/GetProposalCommand.ts index 03d5de3454e2f..a2560beba6fcc 100644 --- a/clients/client-managedblockchain/commands/GetProposalCommand.ts +++ b/clients/client-managedblockchain/commands/GetProposalCommand.ts @@ -32,7 +32,6 @@ export class GetProposalCommand extends $Command< GetProposalCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetProposalCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/ListInvitationsCommand.ts b/clients/client-managedblockchain/commands/ListInvitationsCommand.ts index 5796f424d2b41..66cbe14fe0681 100644 --- a/clients/client-managedblockchain/commands/ListInvitationsCommand.ts +++ b/clients/client-managedblockchain/commands/ListInvitationsCommand.ts @@ -32,7 +32,6 @@ export class ListInvitationsCommand extends $Command< ListInvitationsCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListInvitationsCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/ListMembersCommand.ts b/clients/client-managedblockchain/commands/ListMembersCommand.ts index 18a70cf200ff1..2b1d9cc364ceb 100644 --- a/clients/client-managedblockchain/commands/ListMembersCommand.ts +++ b/clients/client-managedblockchain/commands/ListMembersCommand.ts @@ -32,7 +32,6 @@ export class ListMembersCommand extends $Command< ListMembersCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListMembersCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/ListNetworksCommand.ts b/clients/client-managedblockchain/commands/ListNetworksCommand.ts index 7b715ec8b70b4..6b60d40f4e187 100644 --- a/clients/client-managedblockchain/commands/ListNetworksCommand.ts +++ b/clients/client-managedblockchain/commands/ListNetworksCommand.ts @@ -32,7 +32,6 @@ export class ListNetworksCommand extends $Command< ListNetworksCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListNetworksCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/ListNodesCommand.ts b/clients/client-managedblockchain/commands/ListNodesCommand.ts index c28686d0f026e..3e236b823b505 100644 --- a/clients/client-managedblockchain/commands/ListNodesCommand.ts +++ b/clients/client-managedblockchain/commands/ListNodesCommand.ts @@ -32,7 +32,6 @@ export class ListNodesCommand extends $Command< ListNodesCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListNodesCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts b/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts index 43b5ce81c9602..1773c8205018c 100644 --- a/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts +++ b/clients/client-managedblockchain/commands/ListProposalVotesCommand.ts @@ -32,7 +32,6 @@ export class ListProposalVotesCommand extends $Command< ListProposalVotesCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListProposalVotesCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/ListProposalsCommand.ts b/clients/client-managedblockchain/commands/ListProposalsCommand.ts index 80ccc45653b5f..8935a7d231eca 100644 --- a/clients/client-managedblockchain/commands/ListProposalsCommand.ts +++ b/clients/client-managedblockchain/commands/ListProposalsCommand.ts @@ -32,7 +32,6 @@ export class ListProposalsCommand extends $Command< ListProposalsCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListProposalsCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/RejectInvitationCommand.ts b/clients/client-managedblockchain/commands/RejectInvitationCommand.ts index 2c55ad481c02b..2bc41995b2037 100644 --- a/clients/client-managedblockchain/commands/RejectInvitationCommand.ts +++ b/clients/client-managedblockchain/commands/RejectInvitationCommand.ts @@ -32,7 +32,6 @@ export class RejectInvitationCommand extends $Command< RejectInvitationCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RejectInvitationCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/UpdateMemberCommand.ts b/clients/client-managedblockchain/commands/UpdateMemberCommand.ts index 376a9f43ffc80..dbae52ee91f7f 100644 --- a/clients/client-managedblockchain/commands/UpdateMemberCommand.ts +++ b/clients/client-managedblockchain/commands/UpdateMemberCommand.ts @@ -32,7 +32,6 @@ export class UpdateMemberCommand extends $Command< UpdateMemberCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateMemberCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/UpdateNodeCommand.ts b/clients/client-managedblockchain/commands/UpdateNodeCommand.ts index 98c7d808a0400..0efdfb73954a9 100644 --- a/clients/client-managedblockchain/commands/UpdateNodeCommand.ts +++ b/clients/client-managedblockchain/commands/UpdateNodeCommand.ts @@ -32,7 +32,6 @@ export class UpdateNodeCommand extends $Command< UpdateNodeCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateNodeCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts b/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts index ca55746a9d044..16c296e2b98d6 100644 --- a/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts +++ b/clients/client-managedblockchain/commands/VoteOnProposalCommand.ts @@ -32,7 +32,6 @@ export class VoteOnProposalCommand extends $Command< VoteOnProposalCommandOutput, ManagedBlockchainClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class VoteOnProposalCommand extends $Command< configuration: ManagedBlockchainClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts b/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts index 766df56c780c7..7cd412ccf9048 100644 --- a/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts +++ b/clients/client-marketplace-catalog/commands/CancelChangeSetCommand.ts @@ -35,7 +35,6 @@ export class CancelChangeSetCommand extends $Command< CancelChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CancelChangeSetCommand extends $Command< configuration: MarketplaceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts b/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts index 86d8e90b0a910..cda8504eae2aa 100644 --- a/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts +++ b/clients/client-marketplace-catalog/commands/DescribeChangeSetCommand.ts @@ -32,7 +32,6 @@ export class DescribeChangeSetCommand extends $Command< DescribeChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeChangeSetCommand extends $Command< configuration: MarketplaceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts b/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts index a3e9ff1e12faf..53f185943e131 100644 --- a/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts +++ b/clients/client-marketplace-catalog/commands/DescribeEntityCommand.ts @@ -32,7 +32,6 @@ export class DescribeEntityCommand extends $Command< DescribeEntityCommandOutput, MarketplaceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEntityCommand extends $Command< configuration: MarketplaceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts b/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts index 031337ad193c5..7f7a73f20a5c5 100644 --- a/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts +++ b/clients/client-marketplace-catalog/commands/ListChangeSetsCommand.ts @@ -38,7 +38,6 @@ export class ListChangeSetsCommand extends $Command< ListChangeSetsCommandOutput, MarketplaceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListChangeSetsCommand extends $Command< configuration: MarketplaceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts b/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts index edc045a8466df..6ef4ca1fde0cd 100644 --- a/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts +++ b/clients/client-marketplace-catalog/commands/ListEntitiesCommand.ts @@ -32,7 +32,6 @@ export class ListEntitiesCommand extends $Command< ListEntitiesCommandOutput, MarketplaceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListEntitiesCommand extends $Command< configuration: MarketplaceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts b/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts index ec17821a2ccf6..697d9dd2be2c1 100644 --- a/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts +++ b/clients/client-marketplace-catalog/commands/StartChangeSetCommand.ts @@ -42,7 +42,6 @@ export class StartChangeSetCommand extends $Command< StartChangeSetCommandOutput, MarketplaceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class StartChangeSetCommand extends $Command< configuration: MarketplaceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts b/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts index 0069af963578c..4e567324cd128 100644 --- a/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts +++ b/clients/client-marketplace-commerce-analytics/commands/GenerateDataSetCommand.ts @@ -39,7 +39,6 @@ export class GenerateDataSetCommand extends $Command< GenerateDataSetCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GenerateDataSetCommand extends $Command< configuration: MarketplaceCommerceAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts b/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts index 32448ecae50b4..7f4b42ecc10cf 100644 --- a/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts +++ b/clients/client-marketplace-commerce-analytics/commands/StartSupportDataExportCommand.ts @@ -39,7 +39,6 @@ export class StartSupportDataExportCommand extends $Command< StartSupportDataExportCommandOutput, MarketplaceCommerceAnalyticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class StartSupportDataExportCommand extends $Command< configuration: MarketplaceCommerceAnalyticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts b/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts index de3894ac5c265..32ac654ed48b6 100644 --- a/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts +++ b/clients/client-marketplace-entitlement-service/commands/GetEntitlementsCommand.ts @@ -33,7 +33,6 @@ export class GetEntitlementsCommand extends $Command< GetEntitlementsCommandOutput, MarketplaceEntitlementServiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetEntitlementsCommand extends $Command< configuration: MarketplaceEntitlementServiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts b/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts index 551abe014beb2..781a0d1b85955 100644 --- a/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts +++ b/clients/client-marketplace-metering/commands/BatchMeterUsageCommand.ts @@ -42,7 +42,6 @@ export class BatchMeterUsageCommand extends $Command< BatchMeterUsageCommandOutput, MarketplaceMeteringClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class BatchMeterUsageCommand extends $Command< configuration: MarketplaceMeteringClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-metering/commands/MeterUsageCommand.ts b/clients/client-marketplace-metering/commands/MeterUsageCommand.ts index 926ea58986f54..34035faccc318 100644 --- a/clients/client-marketplace-metering/commands/MeterUsageCommand.ts +++ b/clients/client-marketplace-metering/commands/MeterUsageCommand.ts @@ -38,7 +38,6 @@ export class MeterUsageCommand extends $Command< MeterUsageCommandOutput, MarketplaceMeteringClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class MeterUsageCommand extends $Command< configuration: MarketplaceMeteringClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts b/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts index 06fb0ba0c58f7..b2d9029ecd435 100644 --- a/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts +++ b/clients/client-marketplace-metering/commands/RegisterUsageCommand.ts @@ -70,7 +70,6 @@ export class RegisterUsageCommand extends $Command< RegisterUsageCommandOutput, MarketplaceMeteringClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class RegisterUsageCommand extends $Command< configuration: MarketplaceMeteringClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts b/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts index a7dfb5c029c71..5dc93040820d3 100644 --- a/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts +++ b/clients/client-marketplace-metering/commands/ResolveCustomerCommand.ts @@ -35,7 +35,6 @@ export class ResolveCustomerCommand extends $Command< ResolveCustomerCommandOutput, MarketplaceMeteringClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ResolveCustomerCommand extends $Command< configuration: MarketplaceMeteringClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts b/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts index ae48c3498c877..6a1058e60fbed 100644 --- a/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts +++ b/clients/client-mediaconnect/commands/AddFlowOutputsCommand.ts @@ -28,7 +28,6 @@ export class AddFlowOutputsCommand extends $Command< AddFlowOutputsCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddFlowOutputsCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/AddFlowSourcesCommand.ts b/clients/client-mediaconnect/commands/AddFlowSourcesCommand.ts index c60ae7a7f4e90..9d4b7ccaecf20 100644 --- a/clients/client-mediaconnect/commands/AddFlowSourcesCommand.ts +++ b/clients/client-mediaconnect/commands/AddFlowSourcesCommand.ts @@ -28,7 +28,6 @@ export class AddFlowSourcesCommand extends $Command< AddFlowSourcesCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddFlowSourcesCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/AddFlowVpcInterfacesCommand.ts b/clients/client-mediaconnect/commands/AddFlowVpcInterfacesCommand.ts index 2f12d103cf7fd..1ee2bb8c7a2d5 100644 --- a/clients/client-mediaconnect/commands/AddFlowVpcInterfacesCommand.ts +++ b/clients/client-mediaconnect/commands/AddFlowVpcInterfacesCommand.ts @@ -28,7 +28,6 @@ export class AddFlowVpcInterfacesCommand extends $Command< AddFlowVpcInterfacesCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddFlowVpcInterfacesCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/CreateFlowCommand.ts b/clients/client-mediaconnect/commands/CreateFlowCommand.ts index 79eed5e938166..f6d6d4dbe09a9 100644 --- a/clients/client-mediaconnect/commands/CreateFlowCommand.ts +++ b/clients/client-mediaconnect/commands/CreateFlowCommand.ts @@ -28,7 +28,6 @@ export class CreateFlowCommand extends $Command< CreateFlowCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFlowCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/DeleteFlowCommand.ts b/clients/client-mediaconnect/commands/DeleteFlowCommand.ts index ca0a46637f1a5..f1b3e35313fb3 100644 --- a/clients/client-mediaconnect/commands/DeleteFlowCommand.ts +++ b/clients/client-mediaconnect/commands/DeleteFlowCommand.ts @@ -28,7 +28,6 @@ export class DeleteFlowCommand extends $Command< DeleteFlowCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFlowCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/DescribeFlowCommand.ts b/clients/client-mediaconnect/commands/DescribeFlowCommand.ts index 5cb3791cee3a3..a510f245fb9bb 100644 --- a/clients/client-mediaconnect/commands/DescribeFlowCommand.ts +++ b/clients/client-mediaconnect/commands/DescribeFlowCommand.ts @@ -28,7 +28,6 @@ export class DescribeFlowCommand extends $Command< DescribeFlowCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFlowCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/DescribeOfferingCommand.ts b/clients/client-mediaconnect/commands/DescribeOfferingCommand.ts index 518c9d0640f06..40d225dd02e28 100644 --- a/clients/client-mediaconnect/commands/DescribeOfferingCommand.ts +++ b/clients/client-mediaconnect/commands/DescribeOfferingCommand.ts @@ -28,7 +28,6 @@ export class DescribeOfferingCommand extends $Command< DescribeOfferingCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOfferingCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/DescribeReservationCommand.ts b/clients/client-mediaconnect/commands/DescribeReservationCommand.ts index 0845631fb23e3..9e97bbc1dfaeb 100644 --- a/clients/client-mediaconnect/commands/DescribeReservationCommand.ts +++ b/clients/client-mediaconnect/commands/DescribeReservationCommand.ts @@ -28,7 +28,6 @@ export class DescribeReservationCommand extends $Command< DescribeReservationCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeReservationCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts b/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts index 71214191500d6..0fd727d34efdb 100644 --- a/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts +++ b/clients/client-mediaconnect/commands/GrantFlowEntitlementsCommand.ts @@ -28,7 +28,6 @@ export class GrantFlowEntitlementsCommand extends $Command< GrantFlowEntitlementsCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GrantFlowEntitlementsCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts b/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts index 1870a38c7253e..2859a14b624ce 100644 --- a/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts +++ b/clients/client-mediaconnect/commands/ListEntitlementsCommand.ts @@ -28,7 +28,6 @@ export class ListEntitlementsCommand extends $Command< ListEntitlementsCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEntitlementsCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/ListFlowsCommand.ts b/clients/client-mediaconnect/commands/ListFlowsCommand.ts index a5710edca3453..a55e3dfef7c6c 100644 --- a/clients/client-mediaconnect/commands/ListFlowsCommand.ts +++ b/clients/client-mediaconnect/commands/ListFlowsCommand.ts @@ -28,7 +28,6 @@ export class ListFlowsCommand extends $Command< ListFlowsCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFlowsCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/ListOfferingsCommand.ts b/clients/client-mediaconnect/commands/ListOfferingsCommand.ts index 8e48757e3bb45..7765ba61992c0 100644 --- a/clients/client-mediaconnect/commands/ListOfferingsCommand.ts +++ b/clients/client-mediaconnect/commands/ListOfferingsCommand.ts @@ -28,7 +28,6 @@ export class ListOfferingsCommand extends $Command< ListOfferingsCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOfferingsCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/ListReservationsCommand.ts b/clients/client-mediaconnect/commands/ListReservationsCommand.ts index 1877e45e9ea22..87a29a5f8d89c 100644 --- a/clients/client-mediaconnect/commands/ListReservationsCommand.ts +++ b/clients/client-mediaconnect/commands/ListReservationsCommand.ts @@ -28,7 +28,6 @@ export class ListReservationsCommand extends $Command< ListReservationsCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListReservationsCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts b/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts index fe1dc237696c3..249a624f38f05 100644 --- a/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediaconnect/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/PurchaseOfferingCommand.ts b/clients/client-mediaconnect/commands/PurchaseOfferingCommand.ts index cea418c2216a6..33483d6658c6f 100644 --- a/clients/client-mediaconnect/commands/PurchaseOfferingCommand.ts +++ b/clients/client-mediaconnect/commands/PurchaseOfferingCommand.ts @@ -28,7 +28,6 @@ export class PurchaseOfferingCommand extends $Command< PurchaseOfferingCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PurchaseOfferingCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts b/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts index 9ad291b0a888a..9cd64738d2e16 100644 --- a/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts +++ b/clients/client-mediaconnect/commands/RemoveFlowOutputCommand.ts @@ -28,7 +28,6 @@ export class RemoveFlowOutputCommand extends $Command< RemoveFlowOutputCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveFlowOutputCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/RemoveFlowSourceCommand.ts b/clients/client-mediaconnect/commands/RemoveFlowSourceCommand.ts index 0dc144c519b4c..7eda6a546629a 100644 --- a/clients/client-mediaconnect/commands/RemoveFlowSourceCommand.ts +++ b/clients/client-mediaconnect/commands/RemoveFlowSourceCommand.ts @@ -28,7 +28,6 @@ export class RemoveFlowSourceCommand extends $Command< RemoveFlowSourceCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveFlowSourceCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/RemoveFlowVpcInterfaceCommand.ts b/clients/client-mediaconnect/commands/RemoveFlowVpcInterfaceCommand.ts index 32e7ce1d08a17..9cb535c3651dd 100644 --- a/clients/client-mediaconnect/commands/RemoveFlowVpcInterfaceCommand.ts +++ b/clients/client-mediaconnect/commands/RemoveFlowVpcInterfaceCommand.ts @@ -28,7 +28,6 @@ export class RemoveFlowVpcInterfaceCommand extends $Command< RemoveFlowVpcInterfaceCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveFlowVpcInterfaceCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts b/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts index c66f8b299c322..c8414d6c5d829 100644 --- a/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts +++ b/clients/client-mediaconnect/commands/RevokeFlowEntitlementCommand.ts @@ -28,7 +28,6 @@ export class RevokeFlowEntitlementCommand extends $Command< RevokeFlowEntitlementCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokeFlowEntitlementCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/StartFlowCommand.ts b/clients/client-mediaconnect/commands/StartFlowCommand.ts index 175fb63a63c00..20f42fcbd2c98 100644 --- a/clients/client-mediaconnect/commands/StartFlowCommand.ts +++ b/clients/client-mediaconnect/commands/StartFlowCommand.ts @@ -28,7 +28,6 @@ export class StartFlowCommand extends $Command< StartFlowCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartFlowCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/StopFlowCommand.ts b/clients/client-mediaconnect/commands/StopFlowCommand.ts index a3f5b6513d4fc..b07d01967046b 100644 --- a/clients/client-mediaconnect/commands/StopFlowCommand.ts +++ b/clients/client-mediaconnect/commands/StopFlowCommand.ts @@ -28,7 +28,6 @@ export class StopFlowCommand extends $Command< StopFlowCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopFlowCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/TagResourceCommand.ts b/clients/client-mediaconnect/commands/TagResourceCommand.ts index 4968de59a846b..66ae6c6793086 100644 --- a/clients/client-mediaconnect/commands/TagResourceCommand.ts +++ b/clients/client-mediaconnect/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/UntagResourceCommand.ts b/clients/client-mediaconnect/commands/UntagResourceCommand.ts index 3cf280b7f6859..c7548d31b10f6 100644 --- a/clients/client-mediaconnect/commands/UntagResourceCommand.ts +++ b/clients/client-mediaconnect/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/UpdateFlowCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowCommand.ts index 34b6cb019f60a..ad811817e516b 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowCommand.ts @@ -28,7 +28,6 @@ export class UpdateFlowCommand extends $Command< UpdateFlowCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFlowCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts index 3c3ab2227cadd..dd9ecf8d1ca53 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowEntitlementCommand.ts @@ -28,7 +28,6 @@ export class UpdateFlowEntitlementCommand extends $Command< UpdateFlowEntitlementCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFlowEntitlementCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts index 84c411dd61fad..0333edb3efb9b 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowOutputCommand.ts @@ -28,7 +28,6 @@ export class UpdateFlowOutputCommand extends $Command< UpdateFlowOutputCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFlowOutputCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts b/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts index d3c67750c270f..a4108517a6f22 100644 --- a/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts +++ b/clients/client-mediaconnect/commands/UpdateFlowSourceCommand.ts @@ -28,7 +28,6 @@ export class UpdateFlowSourceCommand extends $Command< UpdateFlowSourceCommandOutput, MediaConnectClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFlowSourceCommand extends $Command< configuration: MediaConnectClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts b/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts index 436e7771de491..a053be32d2f41 100644 --- a/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts +++ b/clients/client-mediaconvert/commands/AssociateCertificateCommand.ts @@ -28,7 +28,6 @@ export class AssociateCertificateCommand extends $Command< AssociateCertificateCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateCertificateCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/CancelJobCommand.ts b/clients/client-mediaconvert/commands/CancelJobCommand.ts index db387d499b7ce..77eb270331370 100644 --- a/clients/client-mediaconvert/commands/CancelJobCommand.ts +++ b/clients/client-mediaconvert/commands/CancelJobCommand.ts @@ -28,7 +28,6 @@ export class CancelJobCommand extends $Command< CancelJobCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelJobCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/CreateJobCommand.ts b/clients/client-mediaconvert/commands/CreateJobCommand.ts index 0b919290e4291..96cf121f5ebd9 100644 --- a/clients/client-mediaconvert/commands/CreateJobCommand.ts +++ b/clients/client-mediaconvert/commands/CreateJobCommand.ts @@ -28,7 +28,6 @@ export class CreateJobCommand extends $Command< CreateJobCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateJobCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts b/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts index 85a8e8937c948..d1f3c9b7acc9c 100644 --- a/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/CreateJobTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreateJobTemplateCommand extends $Command< CreateJobTemplateCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateJobTemplateCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/CreatePresetCommand.ts b/clients/client-mediaconvert/commands/CreatePresetCommand.ts index d037077b352ea..12210701c2943 100644 --- a/clients/client-mediaconvert/commands/CreatePresetCommand.ts +++ b/clients/client-mediaconvert/commands/CreatePresetCommand.ts @@ -28,7 +28,6 @@ export class CreatePresetCommand extends $Command< CreatePresetCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePresetCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/CreateQueueCommand.ts b/clients/client-mediaconvert/commands/CreateQueueCommand.ts index 6fd5c8a4e4ed0..789a9c644d689 100644 --- a/clients/client-mediaconvert/commands/CreateQueueCommand.ts +++ b/clients/client-mediaconvert/commands/CreateQueueCommand.ts @@ -28,7 +28,6 @@ export class CreateQueueCommand extends $Command< CreateQueueCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateQueueCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts b/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts index fd9b928707132..cb97189fbd43b 100644 --- a/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/DeleteJobTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteJobTemplateCommand extends $Command< DeleteJobTemplateCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteJobTemplateCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/DeletePresetCommand.ts b/clients/client-mediaconvert/commands/DeletePresetCommand.ts index a5d20f088843d..50c04073ef47a 100644 --- a/clients/client-mediaconvert/commands/DeletePresetCommand.ts +++ b/clients/client-mediaconvert/commands/DeletePresetCommand.ts @@ -28,7 +28,6 @@ export class DeletePresetCommand extends $Command< DeletePresetCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePresetCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/DeleteQueueCommand.ts b/clients/client-mediaconvert/commands/DeleteQueueCommand.ts index 3f9083ec199bb..40fca511080c2 100644 --- a/clients/client-mediaconvert/commands/DeleteQueueCommand.ts +++ b/clients/client-mediaconvert/commands/DeleteQueueCommand.ts @@ -28,7 +28,6 @@ export class DeleteQueueCommand extends $Command< DeleteQueueCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteQueueCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts b/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts index ee74571a83626..8ba1e094af4aa 100644 --- a/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts +++ b/clients/client-mediaconvert/commands/DescribeEndpointsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEndpointsCommand extends $Command< DescribeEndpointsCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEndpointsCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts b/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts index 5cc59b7f9ba8d..9a05975ce1c5a 100644 --- a/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts +++ b/clients/client-mediaconvert/commands/DisassociateCertificateCommand.ts @@ -28,7 +28,6 @@ export class DisassociateCertificateCommand extends $Command< DisassociateCertificateCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateCertificateCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/GetJobCommand.ts b/clients/client-mediaconvert/commands/GetJobCommand.ts index 7ebd31eb778a5..bdef0c438953c 100644 --- a/clients/client-mediaconvert/commands/GetJobCommand.ts +++ b/clients/client-mediaconvert/commands/GetJobCommand.ts @@ -21,7 +21,6 @@ export type GetJobCommandOutput = GetJobResponse & __MetadataBearer; * Retrieve the JSON for a specific completed transcoding job. */ 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-mediaconvert/commands/GetJobTemplateCommand.ts b/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts index d89fd000a0485..c619c48bbd5bb 100644 --- a/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/GetJobTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetJobTemplateCommand extends $Command< GetJobTemplateCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetJobTemplateCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/GetPresetCommand.ts b/clients/client-mediaconvert/commands/GetPresetCommand.ts index 60e0e39ff96b8..befc09a1068a8 100644 --- a/clients/client-mediaconvert/commands/GetPresetCommand.ts +++ b/clients/client-mediaconvert/commands/GetPresetCommand.ts @@ -28,7 +28,6 @@ export class GetPresetCommand extends $Command< GetPresetCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPresetCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/GetQueueCommand.ts b/clients/client-mediaconvert/commands/GetQueueCommand.ts index c677b823e2ae9..4105bdc4594b7 100644 --- a/clients/client-mediaconvert/commands/GetQueueCommand.ts +++ b/clients/client-mediaconvert/commands/GetQueueCommand.ts @@ -28,7 +28,6 @@ export class GetQueueCommand extends $Command< GetQueueCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetQueueCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts b/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts index b79ab1414a794..fc49517e946b3 100644 --- a/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts +++ b/clients/client-mediaconvert/commands/ListJobTemplatesCommand.ts @@ -28,7 +28,6 @@ export class ListJobTemplatesCommand extends $Command< ListJobTemplatesCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobTemplatesCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/ListJobsCommand.ts b/clients/client-mediaconvert/commands/ListJobsCommand.ts index 9bd389bfe6b29..48eb48b2c7c2a 100644 --- a/clients/client-mediaconvert/commands/ListJobsCommand.ts +++ b/clients/client-mediaconvert/commands/ListJobsCommand.ts @@ -28,7 +28,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJobsCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/ListPresetsCommand.ts b/clients/client-mediaconvert/commands/ListPresetsCommand.ts index 64ffe58da42a7..baa5026db4d42 100644 --- a/clients/client-mediaconvert/commands/ListPresetsCommand.ts +++ b/clients/client-mediaconvert/commands/ListPresetsCommand.ts @@ -28,7 +28,6 @@ export class ListPresetsCommand extends $Command< ListPresetsCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPresetsCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/ListQueuesCommand.ts b/clients/client-mediaconvert/commands/ListQueuesCommand.ts index 50ef68ce01351..7d4618b3954f4 100644 --- a/clients/client-mediaconvert/commands/ListQueuesCommand.ts +++ b/clients/client-mediaconvert/commands/ListQueuesCommand.ts @@ -28,7 +28,6 @@ export class ListQueuesCommand extends $Command< ListQueuesCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListQueuesCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts b/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts index 10a9106439a0d..a9eabde0b9bec 100644 --- a/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediaconvert/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/TagResourceCommand.ts b/clients/client-mediaconvert/commands/TagResourceCommand.ts index c122429345964..c10a199caa841 100644 --- a/clients/client-mediaconvert/commands/TagResourceCommand.ts +++ b/clients/client-mediaconvert/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/UntagResourceCommand.ts b/clients/client-mediaconvert/commands/UntagResourceCommand.ts index b09e45ddbae92..ad30251c377a0 100644 --- a/clients/client-mediaconvert/commands/UntagResourceCommand.ts +++ b/clients/client-mediaconvert/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts b/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts index 19918b4efc4a1..f571e16854088 100644 --- a/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts +++ b/clients/client-mediaconvert/commands/UpdateJobTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateJobTemplateCommand extends $Command< UpdateJobTemplateCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateJobTemplateCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/UpdatePresetCommand.ts b/clients/client-mediaconvert/commands/UpdatePresetCommand.ts index 0a9daaa8696a9..32ec601fda541 100644 --- a/clients/client-mediaconvert/commands/UpdatePresetCommand.ts +++ b/clients/client-mediaconvert/commands/UpdatePresetCommand.ts @@ -28,7 +28,6 @@ export class UpdatePresetCommand extends $Command< UpdatePresetCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePresetCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediaconvert/commands/UpdateQueueCommand.ts b/clients/client-mediaconvert/commands/UpdateQueueCommand.ts index 6a48c07ebe12f..787d3ef9577a9 100644 --- a/clients/client-mediaconvert/commands/UpdateQueueCommand.ts +++ b/clients/client-mediaconvert/commands/UpdateQueueCommand.ts @@ -28,7 +28,6 @@ export class UpdateQueueCommand extends $Command< UpdateQueueCommandOutput, MediaConvertClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateQueueCommand extends $Command< configuration: MediaConvertClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/AcceptInputDeviceTransferCommand.ts b/clients/client-medialive/commands/AcceptInputDeviceTransferCommand.ts index 97da4a0158b29..4eae10ac143d4 100644 --- a/clients/client-medialive/commands/AcceptInputDeviceTransferCommand.ts +++ b/clients/client-medialive/commands/AcceptInputDeviceTransferCommand.ts @@ -28,7 +28,6 @@ export class AcceptInputDeviceTransferCommand extends $Command< AcceptInputDeviceTransferCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptInputDeviceTransferCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/BatchDeleteCommand.ts b/clients/client-medialive/commands/BatchDeleteCommand.ts index 3343dc6cf4947..0be9b32f5db5a 100644 --- a/clients/client-medialive/commands/BatchDeleteCommand.ts +++ b/clients/client-medialive/commands/BatchDeleteCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteCommand extends $Command< BatchDeleteCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/BatchStartCommand.ts b/clients/client-medialive/commands/BatchStartCommand.ts index 750bec767f023..8e91f757d832d 100644 --- a/clients/client-medialive/commands/BatchStartCommand.ts +++ b/clients/client-medialive/commands/BatchStartCommand.ts @@ -28,7 +28,6 @@ export class BatchStartCommand extends $Command< BatchStartCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchStartCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/BatchStopCommand.ts b/clients/client-medialive/commands/BatchStopCommand.ts index 2d90419b8e814..30d4339132cb1 100644 --- a/clients/client-medialive/commands/BatchStopCommand.ts +++ b/clients/client-medialive/commands/BatchStopCommand.ts @@ -28,7 +28,6 @@ export class BatchStopCommand extends $Command< BatchStopCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchStopCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts b/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts index c5930c124f31e..5311151e99ca9 100644 --- a/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts +++ b/clients/client-medialive/commands/BatchUpdateScheduleCommand.ts @@ -28,7 +28,6 @@ export class BatchUpdateScheduleCommand extends $Command< BatchUpdateScheduleCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchUpdateScheduleCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CancelInputDeviceTransferCommand.ts b/clients/client-medialive/commands/CancelInputDeviceTransferCommand.ts index 197225a945ecc..1555d0c0e78cd 100644 --- a/clients/client-medialive/commands/CancelInputDeviceTransferCommand.ts +++ b/clients/client-medialive/commands/CancelInputDeviceTransferCommand.ts @@ -28,7 +28,6 @@ export class CancelInputDeviceTransferCommand extends $Command< CancelInputDeviceTransferCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelInputDeviceTransferCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CreateChannelCommand.ts b/clients/client-medialive/commands/CreateChannelCommand.ts index d607c74feb341..ddf1c5e0a662b 100644 --- a/clients/client-medialive/commands/CreateChannelCommand.ts +++ b/clients/client-medialive/commands/CreateChannelCommand.ts @@ -28,7 +28,6 @@ export class CreateChannelCommand extends $Command< CreateChannelCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateChannelCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CreateInputCommand.ts b/clients/client-medialive/commands/CreateInputCommand.ts index 7f4debff81bf5..4b1ea0dff7b94 100644 --- a/clients/client-medialive/commands/CreateInputCommand.ts +++ b/clients/client-medialive/commands/CreateInputCommand.ts @@ -28,7 +28,6 @@ export class CreateInputCommand extends $Command< CreateInputCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateInputCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts b/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts index 0704449a61ff6..cfbdfad089456 100644 --- a/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/CreateInputSecurityGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateInputSecurityGroupCommand extends $Command< CreateInputSecurityGroupCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateInputSecurityGroupCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CreateMultiplexCommand.ts b/clients/client-medialive/commands/CreateMultiplexCommand.ts index e38f53bdac20e..dd7cd490c4496 100644 --- a/clients/client-medialive/commands/CreateMultiplexCommand.ts +++ b/clients/client-medialive/commands/CreateMultiplexCommand.ts @@ -28,7 +28,6 @@ export class CreateMultiplexCommand extends $Command< CreateMultiplexCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateMultiplexCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts b/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts index 87626a3b99f62..19a8be1eb62b5 100644 --- a/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/CreateMultiplexProgramCommand.ts @@ -28,7 +28,6 @@ export class CreateMultiplexProgramCommand extends $Command< CreateMultiplexProgramCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateMultiplexProgramCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/CreateTagsCommand.ts b/clients/client-medialive/commands/CreateTagsCommand.ts index 6c85c0b85f529..2d7f78f3914b8 100644 --- a/clients/client-medialive/commands/CreateTagsCommand.ts +++ b/clients/client-medialive/commands/CreateTagsCommand.ts @@ -28,7 +28,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTagsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteChannelCommand.ts b/clients/client-medialive/commands/DeleteChannelCommand.ts index f5a9e3a771e09..1557b0fc471c5 100644 --- a/clients/client-medialive/commands/DeleteChannelCommand.ts +++ b/clients/client-medialive/commands/DeleteChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelCommand extends $Command< DeleteChannelCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteInputCommand.ts b/clients/client-medialive/commands/DeleteInputCommand.ts index 91c56743b63d5..41900579d2ce8 100644 --- a/clients/client-medialive/commands/DeleteInputCommand.ts +++ b/clients/client-medialive/commands/DeleteInputCommand.ts @@ -28,7 +28,6 @@ export class DeleteInputCommand extends $Command< DeleteInputCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteInputCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts b/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts index 4e7ecc32a98ce..fb02ff839a961 100644 --- a/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/DeleteInputSecurityGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteInputSecurityGroupCommand extends $Command< DeleteInputSecurityGroupCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteInputSecurityGroupCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteMultiplexCommand.ts b/clients/client-medialive/commands/DeleteMultiplexCommand.ts index b1a460acd00b3..40e9cc48794e5 100644 --- a/clients/client-medialive/commands/DeleteMultiplexCommand.ts +++ b/clients/client-medialive/commands/DeleteMultiplexCommand.ts @@ -28,7 +28,6 @@ export class DeleteMultiplexCommand extends $Command< DeleteMultiplexCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMultiplexCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts b/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts index 65df05bc547c6..bcf432b59e9b7 100644 --- a/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/DeleteMultiplexProgramCommand.ts @@ -28,7 +28,6 @@ export class DeleteMultiplexProgramCommand extends $Command< DeleteMultiplexProgramCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMultiplexProgramCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteReservationCommand.ts b/clients/client-medialive/commands/DeleteReservationCommand.ts index 11a30a22b0530..920aa500cdcfb 100644 --- a/clients/client-medialive/commands/DeleteReservationCommand.ts +++ b/clients/client-medialive/commands/DeleteReservationCommand.ts @@ -28,7 +28,6 @@ export class DeleteReservationCommand extends $Command< DeleteReservationCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteReservationCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteScheduleCommand.ts b/clients/client-medialive/commands/DeleteScheduleCommand.ts index 73855c980e40a..a21158918415d 100644 --- a/clients/client-medialive/commands/DeleteScheduleCommand.ts +++ b/clients/client-medialive/commands/DeleteScheduleCommand.ts @@ -28,7 +28,6 @@ export class DeleteScheduleCommand extends $Command< DeleteScheduleCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteScheduleCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DeleteTagsCommand.ts b/clients/client-medialive/commands/DeleteTagsCommand.ts index 83cb20f28805f..7051f9471d431 100644 --- a/clients/client-medialive/commands/DeleteTagsCommand.ts +++ b/clients/client-medialive/commands/DeleteTagsCommand.ts @@ -28,7 +28,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTagsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeChannelCommand.ts b/clients/client-medialive/commands/DescribeChannelCommand.ts index 0e57ba46f55ef..5934d1cef3415 100644 --- a/clients/client-medialive/commands/DescribeChannelCommand.ts +++ b/clients/client-medialive/commands/DescribeChannelCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelCommand extends $Command< DescribeChannelCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeInputCommand.ts b/clients/client-medialive/commands/DescribeInputCommand.ts index 1791e9e475d35..18d38317d6bf0 100644 --- a/clients/client-medialive/commands/DescribeInputCommand.ts +++ b/clients/client-medialive/commands/DescribeInputCommand.ts @@ -28,7 +28,6 @@ export class DescribeInputCommand extends $Command< DescribeInputCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInputCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeInputDeviceCommand.ts b/clients/client-medialive/commands/DescribeInputDeviceCommand.ts index da4962f7fbbf7..c0e57acaeb37b 100644 --- a/clients/client-medialive/commands/DescribeInputDeviceCommand.ts +++ b/clients/client-medialive/commands/DescribeInputDeviceCommand.ts @@ -28,7 +28,6 @@ export class DescribeInputDeviceCommand extends $Command< DescribeInputDeviceCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInputDeviceCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeInputDeviceThumbnailCommand.ts b/clients/client-medialive/commands/DescribeInputDeviceThumbnailCommand.ts index da99f5337c38d..60ffba3215fdf 100644 --- a/clients/client-medialive/commands/DescribeInputDeviceThumbnailCommand.ts +++ b/clients/client-medialive/commands/DescribeInputDeviceThumbnailCommand.ts @@ -28,7 +28,6 @@ export class DescribeInputDeviceThumbnailCommand extends $Command< DescribeInputDeviceThumbnailCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInputDeviceThumbnailCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts b/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts index 38ceb67bd86d3..5563d023e85da 100644 --- a/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/DescribeInputSecurityGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeInputSecurityGroupCommand extends $Command< DescribeInputSecurityGroupCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInputSecurityGroupCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeMultiplexCommand.ts b/clients/client-medialive/commands/DescribeMultiplexCommand.ts index 1902ed0c7180b..57278c3dd717e 100644 --- a/clients/client-medialive/commands/DescribeMultiplexCommand.ts +++ b/clients/client-medialive/commands/DescribeMultiplexCommand.ts @@ -28,7 +28,6 @@ export class DescribeMultiplexCommand extends $Command< DescribeMultiplexCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMultiplexCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts b/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts index 8652bbd197fff..fcf14346384ea 100644 --- a/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/DescribeMultiplexProgramCommand.ts @@ -28,7 +28,6 @@ export class DescribeMultiplexProgramCommand extends $Command< DescribeMultiplexProgramCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMultiplexProgramCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeOfferingCommand.ts b/clients/client-medialive/commands/DescribeOfferingCommand.ts index 617c6d351f5c5..31bf48beb1a2d 100644 --- a/clients/client-medialive/commands/DescribeOfferingCommand.ts +++ b/clients/client-medialive/commands/DescribeOfferingCommand.ts @@ -28,7 +28,6 @@ export class DescribeOfferingCommand extends $Command< DescribeOfferingCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOfferingCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeReservationCommand.ts b/clients/client-medialive/commands/DescribeReservationCommand.ts index 89bac1779aaab..48be212a38a72 100644 --- a/clients/client-medialive/commands/DescribeReservationCommand.ts +++ b/clients/client-medialive/commands/DescribeReservationCommand.ts @@ -28,7 +28,6 @@ export class DescribeReservationCommand extends $Command< DescribeReservationCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeReservationCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/DescribeScheduleCommand.ts b/clients/client-medialive/commands/DescribeScheduleCommand.ts index 109f87c79b0af..9addec32f8843 100644 --- a/clients/client-medialive/commands/DescribeScheduleCommand.ts +++ b/clients/client-medialive/commands/DescribeScheduleCommand.ts @@ -28,7 +28,6 @@ export class DescribeScheduleCommand extends $Command< DescribeScheduleCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeScheduleCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListChannelsCommand.ts b/clients/client-medialive/commands/ListChannelsCommand.ts index d3267a9a0c117..b90235982ea3f 100644 --- a/clients/client-medialive/commands/ListChannelsCommand.ts +++ b/clients/client-medialive/commands/ListChannelsCommand.ts @@ -28,7 +28,6 @@ export class ListChannelsCommand extends $Command< ListChannelsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListChannelsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListInputDeviceTransfersCommand.ts b/clients/client-medialive/commands/ListInputDeviceTransfersCommand.ts index 69f9de3516946..da78bb9790a40 100644 --- a/clients/client-medialive/commands/ListInputDeviceTransfersCommand.ts +++ b/clients/client-medialive/commands/ListInputDeviceTransfersCommand.ts @@ -28,7 +28,6 @@ export class ListInputDeviceTransfersCommand extends $Command< ListInputDeviceTransfersCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInputDeviceTransfersCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListInputDevicesCommand.ts b/clients/client-medialive/commands/ListInputDevicesCommand.ts index ad0b120aaa478..9ee770b6ec111 100644 --- a/clients/client-medialive/commands/ListInputDevicesCommand.ts +++ b/clients/client-medialive/commands/ListInputDevicesCommand.ts @@ -28,7 +28,6 @@ export class ListInputDevicesCommand extends $Command< ListInputDevicesCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInputDevicesCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts b/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts index b8dde266d1675..668488f8fcc61 100644 --- a/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts +++ b/clients/client-medialive/commands/ListInputSecurityGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListInputSecurityGroupsCommand extends $Command< ListInputSecurityGroupsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInputSecurityGroupsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListInputsCommand.ts b/clients/client-medialive/commands/ListInputsCommand.ts index 5c9c1cb660445..b6445b24511aa 100644 --- a/clients/client-medialive/commands/ListInputsCommand.ts +++ b/clients/client-medialive/commands/ListInputsCommand.ts @@ -28,7 +28,6 @@ export class ListInputsCommand extends $Command< ListInputsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInputsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts b/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts index e062e083599d1..5ef33d154804a 100644 --- a/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts +++ b/clients/client-medialive/commands/ListMultiplexProgramsCommand.ts @@ -28,7 +28,6 @@ export class ListMultiplexProgramsCommand extends $Command< ListMultiplexProgramsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMultiplexProgramsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListMultiplexesCommand.ts b/clients/client-medialive/commands/ListMultiplexesCommand.ts index cd53511d0eb38..4fb444ea01d96 100644 --- a/clients/client-medialive/commands/ListMultiplexesCommand.ts +++ b/clients/client-medialive/commands/ListMultiplexesCommand.ts @@ -28,7 +28,6 @@ export class ListMultiplexesCommand extends $Command< ListMultiplexesCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMultiplexesCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListOfferingsCommand.ts b/clients/client-medialive/commands/ListOfferingsCommand.ts index e67b674d88233..0ad4c3189a7ab 100644 --- a/clients/client-medialive/commands/ListOfferingsCommand.ts +++ b/clients/client-medialive/commands/ListOfferingsCommand.ts @@ -28,7 +28,6 @@ export class ListOfferingsCommand extends $Command< ListOfferingsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOfferingsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListReservationsCommand.ts b/clients/client-medialive/commands/ListReservationsCommand.ts index 0523b04151f74..0ae71209c134e 100644 --- a/clients/client-medialive/commands/ListReservationsCommand.ts +++ b/clients/client-medialive/commands/ListReservationsCommand.ts @@ -28,7 +28,6 @@ export class ListReservationsCommand extends $Command< ListReservationsCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListReservationsCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/ListTagsForResourceCommand.ts b/clients/client-medialive/commands/ListTagsForResourceCommand.ts index 14fbbfd75491f..b62fc7863f987 100644 --- a/clients/client-medialive/commands/ListTagsForResourceCommand.ts +++ b/clients/client-medialive/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/PurchaseOfferingCommand.ts b/clients/client-medialive/commands/PurchaseOfferingCommand.ts index 8af1a49206d15..2c9a0e82fb69a 100644 --- a/clients/client-medialive/commands/PurchaseOfferingCommand.ts +++ b/clients/client-medialive/commands/PurchaseOfferingCommand.ts @@ -28,7 +28,6 @@ export class PurchaseOfferingCommand extends $Command< PurchaseOfferingCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PurchaseOfferingCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/RejectInputDeviceTransferCommand.ts b/clients/client-medialive/commands/RejectInputDeviceTransferCommand.ts index 298ff4b4550cb..6630060e02005 100644 --- a/clients/client-medialive/commands/RejectInputDeviceTransferCommand.ts +++ b/clients/client-medialive/commands/RejectInputDeviceTransferCommand.ts @@ -28,7 +28,6 @@ export class RejectInputDeviceTransferCommand extends $Command< RejectInputDeviceTransferCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RejectInputDeviceTransferCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/StartChannelCommand.ts b/clients/client-medialive/commands/StartChannelCommand.ts index 9bdd9396150c7..5ba1507ee0135 100644 --- a/clients/client-medialive/commands/StartChannelCommand.ts +++ b/clients/client-medialive/commands/StartChannelCommand.ts @@ -28,7 +28,6 @@ export class StartChannelCommand extends $Command< StartChannelCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartChannelCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/StartMultiplexCommand.ts b/clients/client-medialive/commands/StartMultiplexCommand.ts index 4b38b80ade191..aa44566c90a31 100644 --- a/clients/client-medialive/commands/StartMultiplexCommand.ts +++ b/clients/client-medialive/commands/StartMultiplexCommand.ts @@ -28,7 +28,6 @@ export class StartMultiplexCommand extends $Command< StartMultiplexCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartMultiplexCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/StopChannelCommand.ts b/clients/client-medialive/commands/StopChannelCommand.ts index 149c2597365bd..a1826326fe94a 100644 --- a/clients/client-medialive/commands/StopChannelCommand.ts +++ b/clients/client-medialive/commands/StopChannelCommand.ts @@ -28,7 +28,6 @@ export class StopChannelCommand extends $Command< StopChannelCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopChannelCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/StopMultiplexCommand.ts b/clients/client-medialive/commands/StopMultiplexCommand.ts index 2d49579645a0f..a9cf6f7817e0a 100644 --- a/clients/client-medialive/commands/StopMultiplexCommand.ts +++ b/clients/client-medialive/commands/StopMultiplexCommand.ts @@ -28,7 +28,6 @@ export class StopMultiplexCommand extends $Command< StopMultiplexCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopMultiplexCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/TransferInputDeviceCommand.ts b/clients/client-medialive/commands/TransferInputDeviceCommand.ts index 7b6394e753ccd..a848cb06f38a6 100644 --- a/clients/client-medialive/commands/TransferInputDeviceCommand.ts +++ b/clients/client-medialive/commands/TransferInputDeviceCommand.ts @@ -28,7 +28,6 @@ export class TransferInputDeviceCommand extends $Command< TransferInputDeviceCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TransferInputDeviceCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateChannelClassCommand.ts b/clients/client-medialive/commands/UpdateChannelClassCommand.ts index 0d9d0e43553e7..f7072bf80a848 100644 --- a/clients/client-medialive/commands/UpdateChannelClassCommand.ts +++ b/clients/client-medialive/commands/UpdateChannelClassCommand.ts @@ -28,7 +28,6 @@ export class UpdateChannelClassCommand extends $Command< UpdateChannelClassCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateChannelClassCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateChannelCommand.ts b/clients/client-medialive/commands/UpdateChannelCommand.ts index a3507a4c458fc..af40de9bbcb42 100644 --- a/clients/client-medialive/commands/UpdateChannelCommand.ts +++ b/clients/client-medialive/commands/UpdateChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateChannelCommand extends $Command< UpdateChannelCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateChannelCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateInputCommand.ts b/clients/client-medialive/commands/UpdateInputCommand.ts index 8f2da1e85378e..fed7cc6820f4f 100644 --- a/clients/client-medialive/commands/UpdateInputCommand.ts +++ b/clients/client-medialive/commands/UpdateInputCommand.ts @@ -28,7 +28,6 @@ export class UpdateInputCommand extends $Command< UpdateInputCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateInputCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateInputDeviceCommand.ts b/clients/client-medialive/commands/UpdateInputDeviceCommand.ts index 134d3d4d41bdb..df39319780680 100644 --- a/clients/client-medialive/commands/UpdateInputDeviceCommand.ts +++ b/clients/client-medialive/commands/UpdateInputDeviceCommand.ts @@ -28,7 +28,6 @@ export class UpdateInputDeviceCommand extends $Command< UpdateInputDeviceCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateInputDeviceCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts b/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts index 277a136430ed6..e86c9fa8a54be 100644 --- a/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts +++ b/clients/client-medialive/commands/UpdateInputSecurityGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateInputSecurityGroupCommand extends $Command< UpdateInputSecurityGroupCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateInputSecurityGroupCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateMultiplexCommand.ts b/clients/client-medialive/commands/UpdateMultiplexCommand.ts index 6fd2213a0029c..22649156693f9 100644 --- a/clients/client-medialive/commands/UpdateMultiplexCommand.ts +++ b/clients/client-medialive/commands/UpdateMultiplexCommand.ts @@ -28,7 +28,6 @@ export class UpdateMultiplexCommand extends $Command< UpdateMultiplexCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMultiplexCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts b/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts index c0d3fdd93b74e..1db5fa857801f 100644 --- a/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts +++ b/clients/client-medialive/commands/UpdateMultiplexProgramCommand.ts @@ -28,7 +28,6 @@ export class UpdateMultiplexProgramCommand extends $Command< UpdateMultiplexProgramCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMultiplexProgramCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-medialive/commands/UpdateReservationCommand.ts b/clients/client-medialive/commands/UpdateReservationCommand.ts index cea0bc8a20a72..55b05693692d8 100644 --- a/clients/client-medialive/commands/UpdateReservationCommand.ts +++ b/clients/client-medialive/commands/UpdateReservationCommand.ts @@ -28,7 +28,6 @@ export class UpdateReservationCommand extends $Command< UpdateReservationCommandOutput, MediaLiveClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateReservationCommand extends $Command< configuration: MediaLiveClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts b/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts index 82fbac7fe98e2..391f9a16315c1 100644 --- a/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts +++ b/clients/client-mediapackage-vod/commands/CreateAssetCommand.ts @@ -28,7 +28,6 @@ export class CreateAssetCommand extends $Command< CreateAssetCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAssetCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts b/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts index b2971b0bbd408..063a5181321be 100644 --- a/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts +++ b/clients/client-mediapackage-vod/commands/CreatePackagingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class CreatePackagingConfigurationCommand extends $Command< CreatePackagingConfigurationCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePackagingConfigurationCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts index d65d22ad33d61..bfc3ec35e0dd9 100644 --- a/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/CreatePackagingGroupCommand.ts @@ -28,7 +28,6 @@ export class CreatePackagingGroupCommand extends $Command< CreatePackagingGroupCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePackagingGroupCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts b/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts index 3fe6c371a2101..0ad7ed66c3cab 100644 --- a/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts +++ b/clients/client-mediapackage-vod/commands/DeleteAssetCommand.ts @@ -28,7 +28,6 @@ export class DeleteAssetCommand extends $Command< DeleteAssetCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAssetCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts b/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts index 6374b0205bc4e..c0e936d5caa26 100644 --- a/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts +++ b/clients/client-mediapackage-vod/commands/DeletePackagingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeletePackagingConfigurationCommand extends $Command< DeletePackagingConfigurationCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePackagingConfigurationCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts index 066c9ec553b53..1a48b62705a69 100644 --- a/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/DeletePackagingGroupCommand.ts @@ -28,7 +28,6 @@ export class DeletePackagingGroupCommand extends $Command< DeletePackagingGroupCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePackagingGroupCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts b/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts index f5dcdb8909b77..e4ea396d6f055 100644 --- a/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts +++ b/clients/client-mediapackage-vod/commands/DescribeAssetCommand.ts @@ -28,7 +28,6 @@ export class DescribeAssetCommand extends $Command< DescribeAssetCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAssetCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts b/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts index d225f64ac5da4..1b88561fdf2a5 100644 --- a/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts +++ b/clients/client-mediapackage-vod/commands/DescribePackagingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DescribePackagingConfigurationCommand extends $Command< DescribePackagingConfigurationCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePackagingConfigurationCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts index 43f7788bce035..e12c676bac533 100644 --- a/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/DescribePackagingGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribePackagingGroupCommand extends $Command< DescribePackagingGroupCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePackagingGroupCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts b/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts index fef6f8ac6583d..d6d14b3b840af 100644 --- a/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListAssetsCommand.ts @@ -28,7 +28,6 @@ export class ListAssetsCommand extends $Command< ListAssetsCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAssetsCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts b/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts index 8e3e963a33c37..d6a2cf172cd29 100644 --- a/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListPackagingConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListPackagingConfigurationsCommand extends $Command< ListPackagingConfigurationsCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPackagingConfigurationsCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts b/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts index d7cdf754a35be..eae3f6443775a 100644 --- a/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListPackagingGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListPackagingGroupsCommand extends $Command< ListPackagingGroupsCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPackagingGroupsCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/ListTagsForResourceCommand.ts b/clients/client-mediapackage-vod/commands/ListTagsForResourceCommand.ts index 91338a911e328..124d78fd69f33 100644 --- a/clients/client-mediapackage-vod/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediapackage-vod/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/TagResourceCommand.ts b/clients/client-mediapackage-vod/commands/TagResourceCommand.ts index 580b8dbf1979b..a684ad51bf18b 100644 --- a/clients/client-mediapackage-vod/commands/TagResourceCommand.ts +++ b/clients/client-mediapackage-vod/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/UntagResourceCommand.ts b/clients/client-mediapackage-vod/commands/UntagResourceCommand.ts index a877b6c3dd66f..050bf0b12e461 100644 --- a/clients/client-mediapackage-vod/commands/UntagResourceCommand.ts +++ b/clients/client-mediapackage-vod/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage-vod/commands/UpdatePackagingGroupCommand.ts b/clients/client-mediapackage-vod/commands/UpdatePackagingGroupCommand.ts index 39f4867059b44..5a0e50ca3b2be 100644 --- a/clients/client-mediapackage-vod/commands/UpdatePackagingGroupCommand.ts +++ b/clients/client-mediapackage-vod/commands/UpdatePackagingGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdatePackagingGroupCommand extends $Command< UpdatePackagingGroupCommandOutput, MediaPackageVodClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePackagingGroupCommand extends $Command< configuration: MediaPackageVodClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/ConfigureLogsCommand.ts b/clients/client-mediapackage/commands/ConfigureLogsCommand.ts index b609b8878870d..fc5d4c669c81d 100644 --- a/clients/client-mediapackage/commands/ConfigureLogsCommand.ts +++ b/clients/client-mediapackage/commands/ConfigureLogsCommand.ts @@ -28,7 +28,6 @@ export class ConfigureLogsCommand extends $Command< ConfigureLogsCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ConfigureLogsCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/CreateChannelCommand.ts b/clients/client-mediapackage/commands/CreateChannelCommand.ts index bfe12980376e1..0c1c3da4ffef7 100644 --- a/clients/client-mediapackage/commands/CreateChannelCommand.ts +++ b/clients/client-mediapackage/commands/CreateChannelCommand.ts @@ -28,7 +28,6 @@ export class CreateChannelCommand extends $Command< CreateChannelCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateChannelCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts b/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts index 2bbfd2e3b73a6..c0b7b93d91c58 100644 --- a/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts +++ b/clients/client-mediapackage/commands/CreateHarvestJobCommand.ts @@ -28,7 +28,6 @@ export class CreateHarvestJobCommand extends $Command< CreateHarvestJobCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateHarvestJobCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts b/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts index db4e6b4de8421..e793616d84608 100644 --- a/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/CreateOriginEndpointCommand.ts @@ -28,7 +28,6 @@ export class CreateOriginEndpointCommand extends $Command< CreateOriginEndpointCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateOriginEndpointCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/DeleteChannelCommand.ts b/clients/client-mediapackage/commands/DeleteChannelCommand.ts index 747461a42260a..6bb21bf72dfcb 100644 --- a/clients/client-mediapackage/commands/DeleteChannelCommand.ts +++ b/clients/client-mediapackage/commands/DeleteChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteChannelCommand extends $Command< DeleteChannelCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteChannelCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts b/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts index 8d3edea5b42b5..db701fb5fc3cb 100644 --- a/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/DeleteOriginEndpointCommand.ts @@ -28,7 +28,6 @@ export class DeleteOriginEndpointCommand extends $Command< DeleteOriginEndpointCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteOriginEndpointCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/DescribeChannelCommand.ts b/clients/client-mediapackage/commands/DescribeChannelCommand.ts index 2e23449da65b0..c7e2827648aa5 100644 --- a/clients/client-mediapackage/commands/DescribeChannelCommand.ts +++ b/clients/client-mediapackage/commands/DescribeChannelCommand.ts @@ -28,7 +28,6 @@ export class DescribeChannelCommand extends $Command< DescribeChannelCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeChannelCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts b/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts index 2a89ce65d0ca5..3bae85e0bfee7 100644 --- a/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts +++ b/clients/client-mediapackage/commands/DescribeHarvestJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeHarvestJobCommand extends $Command< DescribeHarvestJobCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeHarvestJobCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts b/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts index 2a2dbbf2ab436..f73ed3530bf92 100644 --- a/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/DescribeOriginEndpointCommand.ts @@ -28,7 +28,6 @@ export class DescribeOriginEndpointCommand extends $Command< DescribeOriginEndpointCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOriginEndpointCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/ListChannelsCommand.ts b/clients/client-mediapackage/commands/ListChannelsCommand.ts index 7491af7868d55..4e35f3ffdd880 100644 --- a/clients/client-mediapackage/commands/ListChannelsCommand.ts +++ b/clients/client-mediapackage/commands/ListChannelsCommand.ts @@ -28,7 +28,6 @@ export class ListChannelsCommand extends $Command< ListChannelsCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListChannelsCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts b/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts index 20899e72fa94b..b9fc069039c9a 100644 --- a/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts +++ b/clients/client-mediapackage/commands/ListHarvestJobsCommand.ts @@ -28,7 +28,6 @@ export class ListHarvestJobsCommand extends $Command< ListHarvestJobsCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListHarvestJobsCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts b/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts index d24b723dc8b60..66717cf019b4a 100644 --- a/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts +++ b/clients/client-mediapackage/commands/ListOriginEndpointsCommand.ts @@ -28,7 +28,6 @@ export class ListOriginEndpointsCommand extends $Command< ListOriginEndpointsCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOriginEndpointsCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts b/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts index 5735b6f79a466..eb841258ec0df 100644 --- a/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediapackage/commands/ListTagsForResourceCommand.ts @@ -25,7 +25,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts b/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts index b6b70a41e25dc..990dcfaba52e8 100644 --- a/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts +++ b/clients/client-mediapackage/commands/RotateChannelCredentialsCommand.ts @@ -30,7 +30,6 @@ export class RotateChannelCredentialsCommand extends $Command< RotateChannelCredentialsCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RotateChannelCredentialsCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts b/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts index 50afd4d46ab42..ec40acfdef39a 100644 --- a/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts +++ b/clients/client-mediapackage/commands/RotateIngestEndpointCredentialsCommand.ts @@ -28,7 +28,6 @@ export class RotateIngestEndpointCredentialsCommand extends $Command< RotateIngestEndpointCredentialsCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RotateIngestEndpointCredentialsCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/TagResourceCommand.ts b/clients/client-mediapackage/commands/TagResourceCommand.ts index 788ad818248d8..71088acc1ece6 100644 --- a/clients/client-mediapackage/commands/TagResourceCommand.ts +++ b/clients/client-mediapackage/commands/TagResourceCommand.ts @@ -25,7 +25,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class TagResourceCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/UntagResourceCommand.ts b/clients/client-mediapackage/commands/UntagResourceCommand.ts index 35333065012a7..4c965b58558b0 100644 --- a/clients/client-mediapackage/commands/UntagResourceCommand.ts +++ b/clients/client-mediapackage/commands/UntagResourceCommand.ts @@ -25,7 +25,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class UntagResourceCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/UpdateChannelCommand.ts b/clients/client-mediapackage/commands/UpdateChannelCommand.ts index afe7e78ccc3d6..52c7bc8c801a8 100644 --- a/clients/client-mediapackage/commands/UpdateChannelCommand.ts +++ b/clients/client-mediapackage/commands/UpdateChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateChannelCommand extends $Command< UpdateChannelCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateChannelCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts b/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts index f2fb06184e2e0..c27756dca777a 100644 --- a/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts +++ b/clients/client-mediapackage/commands/UpdateOriginEndpointCommand.ts @@ -28,7 +28,6 @@ export class UpdateOriginEndpointCommand extends $Command< UpdateOriginEndpointCommandOutput, MediaPackageClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateOriginEndpointCommand extends $Command< configuration: MediaPackageClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore-data/commands/DeleteObjectCommand.ts b/clients/client-mediastore-data/commands/DeleteObjectCommand.ts index e3ee68aec8859..94a3fa1c34f54 100644 --- a/clients/client-mediastore-data/commands/DeleteObjectCommand.ts +++ b/clients/client-mediastore-data/commands/DeleteObjectCommand.ts @@ -28,7 +28,6 @@ export class DeleteObjectCommand extends $Command< DeleteObjectCommandOutput, MediaStoreDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteObjectCommand extends $Command< configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore-data/commands/DescribeObjectCommand.ts b/clients/client-mediastore-data/commands/DescribeObjectCommand.ts index 3398cb9bfd948..116e9c3f29942 100644 --- a/clients/client-mediastore-data/commands/DescribeObjectCommand.ts +++ b/clients/client-mediastore-data/commands/DescribeObjectCommand.ts @@ -28,7 +28,6 @@ export class DescribeObjectCommand extends $Command< DescribeObjectCommandOutput, MediaStoreDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeObjectCommand extends $Command< configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore-data/commands/GetObjectCommand.ts b/clients/client-mediastore-data/commands/GetObjectCommand.ts index 24cd2d3e34dbe..6cb4ed452ac8d 100644 --- a/clients/client-mediastore-data/commands/GetObjectCommand.ts +++ b/clients/client-mediastore-data/commands/GetObjectCommand.ts @@ -28,7 +28,6 @@ export class GetObjectCommand extends $Command< GetObjectCommandOutput, MediaStoreDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetObjectCommand extends $Command< configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore-data/commands/ListItemsCommand.ts b/clients/client-mediastore-data/commands/ListItemsCommand.ts index 34776d129ab7d..641c623a34a97 100644 --- a/clients/client-mediastore-data/commands/ListItemsCommand.ts +++ b/clients/client-mediastore-data/commands/ListItemsCommand.ts @@ -29,7 +29,6 @@ export class ListItemsCommand extends $Command< ListItemsCommandOutput, MediaStoreDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListItemsCommand extends $Command< configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore-data/commands/PutObjectCommand.ts b/clients/client-mediastore-data/commands/PutObjectCommand.ts index c3abc2edb1ef2..b66f353b125a3 100644 --- a/clients/client-mediastore-data/commands/PutObjectCommand.ts +++ b/clients/client-mediastore-data/commands/PutObjectCommand.ts @@ -30,7 +30,6 @@ export class PutObjectCommand extends $Command< PutObjectCommandOutput, MediaStoreDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutObjectCommand extends $Command< configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/CreateContainerCommand.ts b/clients/client-mediastore/commands/CreateContainerCommand.ts index d09e32aba3f08..1dfe0f76cf0d1 100644 --- a/clients/client-mediastore/commands/CreateContainerCommand.ts +++ b/clients/client-mediastore/commands/CreateContainerCommand.ts @@ -29,7 +29,6 @@ export class CreateContainerCommand extends $Command< CreateContainerCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateContainerCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/DeleteContainerCommand.ts b/clients/client-mediastore/commands/DeleteContainerCommand.ts index 0322667a0f550..a9f5999c030f8 100644 --- a/clients/client-mediastore/commands/DeleteContainerCommand.ts +++ b/clients/client-mediastore/commands/DeleteContainerCommand.ts @@ -30,7 +30,6 @@ export class DeleteContainerCommand extends $Command< DeleteContainerCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteContainerCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts b/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts index 0ca4065862322..ea0cf951d7091 100644 --- a/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteContainerPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteContainerPolicyCommand extends $Command< DeleteContainerPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteContainerPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts b/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts index 3725ff0f04024..94a569b258c6a 100644 --- a/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteCorsPolicyCommand.ts @@ -32,7 +32,6 @@ export class DeleteCorsPolicyCommand extends $Command< DeleteCorsPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteCorsPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts b/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts index 3c28bf88987a5..32da7b5b7fbfb 100644 --- a/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteLifecyclePolicyCommand extends $Command< DeleteLifecyclePolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLifecyclePolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/DeleteMetricPolicyCommand.ts b/clients/client-mediastore/commands/DeleteMetricPolicyCommand.ts index b908bf038befc..21679b7f53d31 100644 --- a/clients/client-mediastore/commands/DeleteMetricPolicyCommand.ts +++ b/clients/client-mediastore/commands/DeleteMetricPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteMetricPolicyCommand extends $Command< DeleteMetricPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMetricPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/DescribeContainerCommand.ts b/clients/client-mediastore/commands/DescribeContainerCommand.ts index 0eb5c445165a9..6a8fc60cf3442 100644 --- a/clients/client-mediastore/commands/DescribeContainerCommand.ts +++ b/clients/client-mediastore/commands/DescribeContainerCommand.ts @@ -34,7 +34,6 @@ export class DescribeContainerCommand extends $Command< DescribeContainerCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeContainerCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/GetContainerPolicyCommand.ts b/clients/client-mediastore/commands/GetContainerPolicyCommand.ts index 8191f4ff367a1..f184a2f00fbbd 100644 --- a/clients/client-mediastore/commands/GetContainerPolicyCommand.ts +++ b/clients/client-mediastore/commands/GetContainerPolicyCommand.ts @@ -30,7 +30,6 @@ export class GetContainerPolicyCommand extends $Command< GetContainerPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetContainerPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/GetCorsPolicyCommand.ts b/clients/client-mediastore/commands/GetCorsPolicyCommand.ts index 3d79a1501d4ff..21b6a85e17546 100644 --- a/clients/client-mediastore/commands/GetCorsPolicyCommand.ts +++ b/clients/client-mediastore/commands/GetCorsPolicyCommand.ts @@ -32,7 +32,6 @@ export class GetCorsPolicyCommand extends $Command< GetCorsPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCorsPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts b/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts index 530386e2f096b..e2b4f27ccd260 100644 --- a/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts +++ b/clients/client-mediastore/commands/GetLifecyclePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetLifecyclePolicyCommand extends $Command< GetLifecyclePolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetLifecyclePolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/GetMetricPolicyCommand.ts b/clients/client-mediastore/commands/GetMetricPolicyCommand.ts index 29a1cb042a1a7..f2342b6f89fd7 100644 --- a/clients/client-mediastore/commands/GetMetricPolicyCommand.ts +++ b/clients/client-mediastore/commands/GetMetricPolicyCommand.ts @@ -28,7 +28,6 @@ export class GetMetricPolicyCommand extends $Command< GetMetricPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMetricPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/ListContainersCommand.ts b/clients/client-mediastore/commands/ListContainersCommand.ts index d0e5313adc7e0..720893d635fee 100644 --- a/clients/client-mediastore/commands/ListContainersCommand.ts +++ b/clients/client-mediastore/commands/ListContainersCommand.ts @@ -36,7 +36,6 @@ export class ListContainersCommand extends $Command< ListContainersCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListContainersCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/ListTagsForResourceCommand.ts b/clients/client-mediastore/commands/ListTagsForResourceCommand.ts index 4c2ec23871e31..d3ee95ecc810a 100644 --- a/clients/client-mediastore/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediastore/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/PutContainerPolicyCommand.ts b/clients/client-mediastore/commands/PutContainerPolicyCommand.ts index 1b9f0b0b0d330..b0750df0b3940 100644 --- a/clients/client-mediastore/commands/PutContainerPolicyCommand.ts +++ b/clients/client-mediastore/commands/PutContainerPolicyCommand.ts @@ -34,7 +34,6 @@ export class PutContainerPolicyCommand extends $Command< PutContainerPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutContainerPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/PutCorsPolicyCommand.ts b/clients/client-mediastore/commands/PutCorsPolicyCommand.ts index 059fb0df7f8ba..3023de8fbe11a 100644 --- a/clients/client-mediastore/commands/PutCorsPolicyCommand.ts +++ b/clients/client-mediastore/commands/PutCorsPolicyCommand.ts @@ -38,7 +38,6 @@ export class PutCorsPolicyCommand extends $Command< PutCorsPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutCorsPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts b/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts index bb48d097ad6e4..91b88403271e8 100644 --- a/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts +++ b/clients/client-mediastore/commands/PutLifecyclePolicyCommand.ts @@ -29,7 +29,6 @@ export class PutLifecyclePolicyCommand extends $Command< PutLifecyclePolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutLifecyclePolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/PutMetricPolicyCommand.ts b/clients/client-mediastore/commands/PutMetricPolicyCommand.ts index 5c402c58d1b39..47950e9301e1f 100644 --- a/clients/client-mediastore/commands/PutMetricPolicyCommand.ts +++ b/clients/client-mediastore/commands/PutMetricPolicyCommand.ts @@ -28,7 +28,6 @@ export class PutMetricPolicyCommand extends $Command< PutMetricPolicyCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutMetricPolicyCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/StartAccessLoggingCommand.ts b/clients/client-mediastore/commands/StartAccessLoggingCommand.ts index eb437a81c8720..1c19f1706b845 100644 --- a/clients/client-mediastore/commands/StartAccessLoggingCommand.ts +++ b/clients/client-mediastore/commands/StartAccessLoggingCommand.ts @@ -28,7 +28,6 @@ export class StartAccessLoggingCommand extends $Command< StartAccessLoggingCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartAccessLoggingCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/StopAccessLoggingCommand.ts b/clients/client-mediastore/commands/StopAccessLoggingCommand.ts index fc57932f3bcba..272f6b85310ca 100644 --- a/clients/client-mediastore/commands/StopAccessLoggingCommand.ts +++ b/clients/client-mediastore/commands/StopAccessLoggingCommand.ts @@ -28,7 +28,6 @@ export class StopAccessLoggingCommand extends $Command< StopAccessLoggingCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopAccessLoggingCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/TagResourceCommand.ts b/clients/client-mediastore/commands/TagResourceCommand.ts index 8aae519e766ef..ec65e11d071d9 100644 --- a/clients/client-mediastore/commands/TagResourceCommand.ts +++ b/clients/client-mediastore/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediastore/commands/UntagResourceCommand.ts b/clients/client-mediastore/commands/UntagResourceCommand.ts index b70aa085c1ca5..2dc952ce46707 100644 --- a/clients/client-mediastore/commands/UntagResourceCommand.ts +++ b/clients/client-mediastore/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, MediaStoreClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts b/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts index 483cc06541db3..41727511807fb 100644 --- a/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts +++ b/clients/client-mediatailor/commands/DeletePlaybackConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeletePlaybackConfigurationCommand extends $Command< DeletePlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePlaybackConfigurationCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts b/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts index e3239328a3fec..667aba36fdb37 100644 --- a/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts +++ b/clients/client-mediatailor/commands/GetPlaybackConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetPlaybackConfigurationCommand extends $Command< GetPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPlaybackConfigurationCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts b/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts index bd4262701a1ba..452186470dfd9 100644 --- a/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts +++ b/clients/client-mediatailor/commands/ListPlaybackConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListPlaybackConfigurationsCommand extends $Command< ListPlaybackConfigurationsCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPlaybackConfigurationsCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts b/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts index ab5e6da5ceff4..2f86341e110a0 100644 --- a/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts +++ b/clients/client-mediatailor/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts b/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts index d67cf6e11f7af..9b9d299f4c4f4 100644 --- a/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts +++ b/clients/client-mediatailor/commands/PutPlaybackConfigurationCommand.ts @@ -28,7 +28,6 @@ export class PutPlaybackConfigurationCommand extends $Command< PutPlaybackConfigurationCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutPlaybackConfigurationCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/TagResourceCommand.ts b/clients/client-mediatailor/commands/TagResourceCommand.ts index b3fd646a9f4e7..37b7853703537 100644 --- a/clients/client-mediatailor/commands/TagResourceCommand.ts +++ b/clients/client-mediatailor/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mediatailor/commands/UntagResourceCommand.ts b/clients/client-mediatailor/commands/UntagResourceCommand.ts index f9d75ed234c80..ae480442f399d 100644 --- a/clients/client-mediatailor/commands/UntagResourceCommand.ts +++ b/clients/client-mediatailor/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, MediaTailorClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: MediaTailorClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts b/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts index d2244d34e01f9..58bc7a00b8376 100644 --- a/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts +++ b/clients/client-migration-hub/commands/AssociateCreatedArtifactCommand.ts @@ -45,7 +45,6 @@ export class AssociateCreatedArtifactCommand extends $Command< AssociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class AssociateCreatedArtifactCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts b/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts index 1f728b5234f10..f79260b68cfaa 100644 --- a/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts +++ b/clients/client-migration-hub/commands/AssociateDiscoveredResourceCommand.ts @@ -29,7 +29,6 @@ export class AssociateDiscoveredResourceCommand extends $Command< AssociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateDiscoveredResourceCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts b/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts index 99cea34e7216e..4f112b27893b8 100644 --- a/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts +++ b/clients/client-migration-hub/commands/CreateProgressUpdateStreamCommand.ts @@ -32,7 +32,6 @@ export class CreateProgressUpdateStreamCommand extends $Command< CreateProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateProgressUpdateStreamCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts b/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts index bc0361068bd09..eb517d8436b35 100644 --- a/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts +++ b/clients/client-migration-hub/commands/DeleteProgressUpdateStreamCommand.ts @@ -58,7 +58,6 @@ export class DeleteProgressUpdateStreamCommand extends $Command< DeleteProgressUpdateStreamCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class DeleteProgressUpdateStreamCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts b/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts index cf06ae7c6ee0d..03b9ef9d3b481 100644 --- a/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts +++ b/clients/client-migration-hub/commands/DescribeApplicationStateCommand.ts @@ -28,7 +28,6 @@ export class DescribeApplicationStateCommand extends $Command< DescribeApplicationStateCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeApplicationStateCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts b/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts index 533bc7ca304c0..55469e7d72365 100644 --- a/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts +++ b/clients/client-migration-hub/commands/DescribeMigrationTaskCommand.ts @@ -28,7 +28,6 @@ export class DescribeMigrationTaskCommand extends $Command< DescribeMigrationTaskCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMigrationTaskCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts b/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts index 41cba5c3e6379..e98178e2bcfb4 100644 --- a/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts +++ b/clients/client-migration-hub/commands/DisassociateCreatedArtifactCommand.ts @@ -44,7 +44,6 @@ export class DisassociateCreatedArtifactCommand extends $Command< DisassociateCreatedArtifactCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DisassociateCreatedArtifactCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts b/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts index beb7ebf02ec3b..b4048defdd3d5 100644 --- a/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts +++ b/clients/client-migration-hub/commands/DisassociateDiscoveredResourceCommand.ts @@ -29,7 +29,6 @@ export class DisassociateDiscoveredResourceCommand extends $Command< DisassociateDiscoveredResourceCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateDiscoveredResourceCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts b/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts index 1e59b82737356..019730dbcdc1b 100644 --- a/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts +++ b/clients/client-migration-hub/commands/ImportMigrationTaskCommand.ts @@ -31,7 +31,6 @@ export class ImportMigrationTaskCommand extends $Command< ImportMigrationTaskCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ImportMigrationTaskCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts b/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts index 9f4480f2867d1..d88df3b7aad36 100644 --- a/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts +++ b/clients/client-migration-hub/commands/ListApplicationStatesCommand.ts @@ -30,7 +30,6 @@ export class ListApplicationStatesCommand extends $Command< ListApplicationStatesCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListApplicationStatesCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts b/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts index bd7cd9ae25467..09ec6c4f3609a 100644 --- a/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts +++ b/clients/client-migration-hub/commands/ListCreatedArtifactsCommand.ts @@ -42,7 +42,6 @@ export class ListCreatedArtifactsCommand extends $Command< ListCreatedArtifactsCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListCreatedArtifactsCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts b/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts index b7cc179938799..7e41ec7de22bd 100644 --- a/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts +++ b/clients/client-migration-hub/commands/ListDiscoveredResourcesCommand.ts @@ -28,7 +28,6 @@ export class ListDiscoveredResourcesCommand extends $Command< ListDiscoveredResourcesCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDiscoveredResourcesCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts b/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts index 21e569d86c6ae..cb7ef719f0a20 100644 --- a/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts +++ b/clients/client-migration-hub/commands/ListMigrationTasksCommand.ts @@ -41,7 +41,6 @@ export class ListMigrationTasksCommand extends $Command< ListMigrationTasksCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ListMigrationTasksCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts b/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts index 8fe149bbbf729..9a0eddf7d0d9b 100644 --- a/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts +++ b/clients/client-migration-hub/commands/ListProgressUpdateStreamsCommand.ts @@ -28,7 +28,6 @@ export class ListProgressUpdateStreamsCommand extends $Command< ListProgressUpdateStreamsCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProgressUpdateStreamsCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts b/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts index f6b60194f6cc6..fad31289c6bd9 100644 --- a/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts +++ b/clients/client-migration-hub/commands/NotifyApplicationStateCommand.ts @@ -31,7 +31,6 @@ export class NotifyApplicationStateCommand extends $Command< NotifyApplicationStateCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class NotifyApplicationStateCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts b/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts index 83f38cfccdd6e..b0b547a153c8b 100644 --- a/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts +++ b/clients/client-migration-hub/commands/NotifyMigrationTaskStateCommand.ts @@ -45,7 +45,6 @@ export class NotifyMigrationTaskStateCommand extends $Command< NotifyMigrationTaskStateCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class NotifyMigrationTaskStateCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts b/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts index cc9cc57e4ae40..8901dc1a7cac1 100644 --- a/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts +++ b/clients/client-migration-hub/commands/PutResourceAttributesCommand.ts @@ -53,7 +53,6 @@ export class PutResourceAttributesCommand extends $Command< PutResourceAttributesCommandOutput, MigrationHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class PutResourceAttributesCommand extends $Command< configuration: MigrationHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts b/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts index f587c946a3c86..9c3b341da8638 100644 --- a/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts +++ b/clients/client-migrationhub-config/commands/CreateHomeRegionControlCommand.ts @@ -32,7 +32,6 @@ export class CreateHomeRegionControlCommand extends $Command< CreateHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateHomeRegionControlCommand extends $Command< configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts b/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts index 5a73856c594fb..245d2f38500e2 100644 --- a/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts +++ b/clients/client-migrationhub-config/commands/DescribeHomeRegionControlsCommand.ts @@ -33,7 +33,6 @@ export class DescribeHomeRegionControlsCommand extends $Command< DescribeHomeRegionControlsCommandOutput, MigrationHubConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeHomeRegionControlsCommand extends $Command< configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts b/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts index b05a20a6c3880..c34f7b607b73c 100644 --- a/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts +++ b/clients/client-migrationhub-config/commands/GetHomeRegionCommand.ts @@ -36,7 +36,6 @@ export class GetHomeRegionCommand extends $Command< GetHomeRegionCommandOutput, MigrationHubConfigClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetHomeRegionCommand extends $Command< configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/CreateProjectCommand.ts b/clients/client-mobile/commands/CreateProjectCommand.ts index b4417abd8c78b..35107f11410f9 100644 --- a/clients/client-mobile/commands/CreateProjectCommand.ts +++ b/clients/client-mobile/commands/CreateProjectCommand.ts @@ -30,7 +30,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateProjectCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/DeleteProjectCommand.ts b/clients/client-mobile/commands/DeleteProjectCommand.ts index ff4acbf14575f..7c9de9c8e9248 100644 --- a/clients/client-mobile/commands/DeleteProjectCommand.ts +++ b/clients/client-mobile/commands/DeleteProjectCommand.ts @@ -30,7 +30,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteProjectCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/DescribeBundleCommand.ts b/clients/client-mobile/commands/DescribeBundleCommand.ts index 67004b5be23ea..55d7a5fcbd6b9 100644 --- a/clients/client-mobile/commands/DescribeBundleCommand.ts +++ b/clients/client-mobile/commands/DescribeBundleCommand.ts @@ -30,7 +30,6 @@ export class DescribeBundleCommand extends $Command< DescribeBundleCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeBundleCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/DescribeProjectCommand.ts b/clients/client-mobile/commands/DescribeProjectCommand.ts index 2ccfed123711f..fc3c7bc579733 100644 --- a/clients/client-mobile/commands/DescribeProjectCommand.ts +++ b/clients/client-mobile/commands/DescribeProjectCommand.ts @@ -30,7 +30,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeProjectCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/ExportBundleCommand.ts b/clients/client-mobile/commands/ExportBundleCommand.ts index 77bcb72bf65c5..94fbf8d4cf57a 100644 --- a/clients/client-mobile/commands/ExportBundleCommand.ts +++ b/clients/client-mobile/commands/ExportBundleCommand.ts @@ -31,7 +31,6 @@ export class ExportBundleCommand extends $Command< ExportBundleCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ExportBundleCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/ExportProjectCommand.ts b/clients/client-mobile/commands/ExportProjectCommand.ts index 6a4dca784b0ce..1c814f75a0fd0 100644 --- a/clients/client-mobile/commands/ExportProjectCommand.ts +++ b/clients/client-mobile/commands/ExportProjectCommand.ts @@ -32,7 +32,6 @@ export class ExportProjectCommand extends $Command< ExportProjectCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ExportProjectCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/ListBundlesCommand.ts b/clients/client-mobile/commands/ListBundlesCommand.ts index 8f4ff4592c642..1457fe0be842f 100644 --- a/clients/client-mobile/commands/ListBundlesCommand.ts +++ b/clients/client-mobile/commands/ListBundlesCommand.ts @@ -30,7 +30,6 @@ export class ListBundlesCommand extends $Command< ListBundlesCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListBundlesCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/ListProjectsCommand.ts b/clients/client-mobile/commands/ListProjectsCommand.ts index b13b9132fce45..2f60a3c5dfcd8 100644 --- a/clients/client-mobile/commands/ListProjectsCommand.ts +++ b/clients/client-mobile/commands/ListProjectsCommand.ts @@ -30,7 +30,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListProjectsCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mobile/commands/UpdateProjectCommand.ts b/clients/client-mobile/commands/UpdateProjectCommand.ts index 60d847917ff49..3ccfcc4e86208 100644 --- a/clients/client-mobile/commands/UpdateProjectCommand.ts +++ b/clients/client-mobile/commands/UpdateProjectCommand.ts @@ -30,7 +30,6 @@ export class UpdateProjectCommand extends $Command< UpdateProjectCommandOutput, MobileClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateProjectCommand extends $Command< configuration: MobileClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/CreateBrokerCommand.ts b/clients/client-mq/commands/CreateBrokerCommand.ts index cae5558a6bcf7..dea67eed37544 100644 --- a/clients/client-mq/commands/CreateBrokerCommand.ts +++ b/clients/client-mq/commands/CreateBrokerCommand.ts @@ -28,7 +28,6 @@ export class CreateBrokerCommand extends $Command< CreateBrokerCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateBrokerCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/CreateConfigurationCommand.ts b/clients/client-mq/commands/CreateConfigurationCommand.ts index 63034452514b7..4069cf99b5f0c 100644 --- a/clients/client-mq/commands/CreateConfigurationCommand.ts +++ b/clients/client-mq/commands/CreateConfigurationCommand.ts @@ -28,7 +28,6 @@ export class CreateConfigurationCommand extends $Command< CreateConfigurationCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConfigurationCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/CreateTagsCommand.ts b/clients/client-mq/commands/CreateTagsCommand.ts index 76ccf8076261a..7214701b99ae2 100644 --- a/clients/client-mq/commands/CreateTagsCommand.ts +++ b/clients/client-mq/commands/CreateTagsCommand.ts @@ -28,7 +28,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTagsCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/CreateUserCommand.ts b/clients/client-mq/commands/CreateUserCommand.ts index db69db2deffef..f5c2bdceee953 100644 --- a/clients/client-mq/commands/CreateUserCommand.ts +++ b/clients/client-mq/commands/CreateUserCommand.ts @@ -28,7 +28,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateUserCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DeleteBrokerCommand.ts b/clients/client-mq/commands/DeleteBrokerCommand.ts index 7cd78dfb56486..e0115f1ef0c0a 100644 --- a/clients/client-mq/commands/DeleteBrokerCommand.ts +++ b/clients/client-mq/commands/DeleteBrokerCommand.ts @@ -28,7 +28,6 @@ export class DeleteBrokerCommand extends $Command< DeleteBrokerCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBrokerCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DeleteTagsCommand.ts b/clients/client-mq/commands/DeleteTagsCommand.ts index 1a12df4eb044d..babc381d40f98 100644 --- a/clients/client-mq/commands/DeleteTagsCommand.ts +++ b/clients/client-mq/commands/DeleteTagsCommand.ts @@ -28,7 +28,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTagsCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DeleteUserCommand.ts b/clients/client-mq/commands/DeleteUserCommand.ts index ed4e55b0719e0..2c1d8ec548dbb 100644 --- a/clients/client-mq/commands/DeleteUserCommand.ts +++ b/clients/client-mq/commands/DeleteUserCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DescribeBrokerCommand.ts b/clients/client-mq/commands/DescribeBrokerCommand.ts index 0ac66bb9cb6f9..dd3217971ba3d 100644 --- a/clients/client-mq/commands/DescribeBrokerCommand.ts +++ b/clients/client-mq/commands/DescribeBrokerCommand.ts @@ -28,7 +28,6 @@ export class DescribeBrokerCommand extends $Command< DescribeBrokerCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBrokerCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts b/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts index b7e91d60e5ea3..2198e33621ba5 100644 --- a/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts +++ b/clients/client-mq/commands/DescribeBrokerEngineTypesCommand.ts @@ -28,7 +28,6 @@ export class DescribeBrokerEngineTypesCommand extends $Command< DescribeBrokerEngineTypesCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBrokerEngineTypesCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts b/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts index 3149a6f0eff2a..10415fe6e9a85 100644 --- a/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts +++ b/clients/client-mq/commands/DescribeBrokerInstanceOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeBrokerInstanceOptionsCommand extends $Command< DescribeBrokerInstanceOptionsCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeBrokerInstanceOptionsCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DescribeConfigurationCommand.ts b/clients/client-mq/commands/DescribeConfigurationCommand.ts index 2a37427daa283..26056237bdc68 100644 --- a/clients/client-mq/commands/DescribeConfigurationCommand.ts +++ b/clients/client-mq/commands/DescribeConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DescribeConfigurationCommand extends $Command< DescribeConfigurationCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConfigurationCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts b/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts index b70e73c825ac6..5df63baeac47b 100644 --- a/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts +++ b/clients/client-mq/commands/DescribeConfigurationRevisionCommand.ts @@ -28,7 +28,6 @@ export class DescribeConfigurationRevisionCommand extends $Command< DescribeConfigurationRevisionCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConfigurationRevisionCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/DescribeUserCommand.ts b/clients/client-mq/commands/DescribeUserCommand.ts index d5b547c6bb834..a6b294d909b90 100644 --- a/clients/client-mq/commands/DescribeUserCommand.ts +++ b/clients/client-mq/commands/DescribeUserCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserCommand extends $Command< DescribeUserCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/ListBrokersCommand.ts b/clients/client-mq/commands/ListBrokersCommand.ts index e2b3f124e7c55..be02741650456 100644 --- a/clients/client-mq/commands/ListBrokersCommand.ts +++ b/clients/client-mq/commands/ListBrokersCommand.ts @@ -28,7 +28,6 @@ export class ListBrokersCommand extends $Command< ListBrokersCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBrokersCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts b/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts index 881cad27861d1..5b189700fe1fd 100644 --- a/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts +++ b/clients/client-mq/commands/ListConfigurationRevisionsCommand.ts @@ -28,7 +28,6 @@ export class ListConfigurationRevisionsCommand extends $Command< ListConfigurationRevisionsCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigurationRevisionsCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/ListConfigurationsCommand.ts b/clients/client-mq/commands/ListConfigurationsCommand.ts index 31923f9dc20c5..a8dd3932a95bd 100644 --- a/clients/client-mq/commands/ListConfigurationsCommand.ts +++ b/clients/client-mq/commands/ListConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class ListConfigurationsCommand extends $Command< ListConfigurationsCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigurationsCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/ListTagsCommand.ts b/clients/client-mq/commands/ListTagsCommand.ts index 9fe60d4fb9e2a..165ac44d62fa3 100644 --- a/clients/client-mq/commands/ListTagsCommand.ts +++ b/clients/client-mq/commands/ListTagsCommand.ts @@ -24,7 +24,6 @@ export type ListTagsCommandOutput = ListTagsResponse & __MetadataBearer; * Lists tags for a resource. */ 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-mq/commands/ListUsersCommand.ts b/clients/client-mq/commands/ListUsersCommand.ts index 4c3a050643491..931d6a11dc9b8 100644 --- a/clients/client-mq/commands/ListUsersCommand.ts +++ b/clients/client-mq/commands/ListUsersCommand.ts @@ -24,7 +24,6 @@ export type ListUsersCommandOutput = ListUsersResponse & __MetadataBearer; * Returns a list of all ActiveMQ users. */ export class ListUsersCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class ListUsersCommand 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-mq/commands/RebootBrokerCommand.ts b/clients/client-mq/commands/RebootBrokerCommand.ts index d6d7d0f13c088..350b58d9eb39f 100644 --- a/clients/client-mq/commands/RebootBrokerCommand.ts +++ b/clients/client-mq/commands/RebootBrokerCommand.ts @@ -28,7 +28,6 @@ export class RebootBrokerCommand extends $Command< RebootBrokerCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RebootBrokerCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/UpdateBrokerCommand.ts b/clients/client-mq/commands/UpdateBrokerCommand.ts index 7b04612c5e18f..8f25817cdd2f6 100644 --- a/clients/client-mq/commands/UpdateBrokerCommand.ts +++ b/clients/client-mq/commands/UpdateBrokerCommand.ts @@ -28,7 +28,6 @@ export class UpdateBrokerCommand extends $Command< UpdateBrokerCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBrokerCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/UpdateConfigurationCommand.ts b/clients/client-mq/commands/UpdateConfigurationCommand.ts index ef05f7591a086..3d5b3ed4fd738 100644 --- a/clients/client-mq/commands/UpdateConfigurationCommand.ts +++ b/clients/client-mq/commands/UpdateConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateConfigurationCommand extends $Command< UpdateConfigurationCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConfigurationCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mq/commands/UpdateUserCommand.ts b/clients/client-mq/commands/UpdateUserCommand.ts index 0f8b7a034214f..770924c6c9c48 100644 --- a/clients/client-mq/commands/UpdateUserCommand.ts +++ b/clients/client-mq/commands/UpdateUserCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserCommand extends $Command< UpdateUserCommandOutput, MqClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserCommand extends $Command< configuration: MqClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts b/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts index aa1ac1e35fa1d..7e02a56cd64c4 100644 --- a/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts +++ b/clients/client-mturk/commands/AcceptQualificationRequestCommand.ts @@ -37,7 +37,6 @@ export class AcceptQualificationRequestCommand extends $Command< AcceptQualificationRequestCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AcceptQualificationRequestCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ApproveAssignmentCommand.ts b/clients/client-mturk/commands/ApproveAssignmentCommand.ts index bb2ef94332ff4..a9fc598b56a0c 100644 --- a/clients/client-mturk/commands/ApproveAssignmentCommand.ts +++ b/clients/client-mturk/commands/ApproveAssignmentCommand.ts @@ -57,7 +57,6 @@ export class ApproveAssignmentCommand extends $Command< ApproveAssignmentCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class ApproveAssignmentCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts b/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts index 33cc07e8e5398..263761832e44a 100644 --- a/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts +++ b/clients/client-mturk/commands/AssociateQualificationWithWorkerCommand.ts @@ -48,7 +48,6 @@ export class AssociateQualificationWithWorkerCommand extends $Command< AssociateQualificationWithWorkerCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class AssociateQualificationWithWorkerCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts b/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts index 1a875e0f04046..4044eb50453c8 100644 --- a/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts +++ b/clients/client-mturk/commands/CreateAdditionalAssignmentsForHITCommand.ts @@ -54,7 +54,6 @@ export class CreateAdditionalAssignmentsForHITCommand extends $Command< CreateAdditionalAssignmentsForHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class CreateAdditionalAssignmentsForHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/CreateHITCommand.ts b/clients/client-mturk/commands/CreateHITCommand.ts index 224e146d69865..ad6cd31815d39 100644 --- a/clients/client-mturk/commands/CreateHITCommand.ts +++ b/clients/client-mturk/commands/CreateHITCommand.ts @@ -41,7 +41,6 @@ export class CreateHITCommand extends $Command< CreateHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/CreateHITTypeCommand.ts b/clients/client-mturk/commands/CreateHITTypeCommand.ts index 1ccd7c984c22d..eccc3434f8336 100644 --- a/clients/client-mturk/commands/CreateHITTypeCommand.ts +++ b/clients/client-mturk/commands/CreateHITTypeCommand.ts @@ -33,7 +33,6 @@ export class CreateHITTypeCommand extends $Command< CreateHITTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateHITTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts b/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts index 0032d4b1831a1..bb67015da78e6 100644 --- a/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts +++ b/clients/client-mturk/commands/CreateHITWithHITTypeCommand.ts @@ -45,7 +45,6 @@ export class CreateHITWithHITTypeCommand extends $Command< CreateHITWithHITTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateHITWithHITTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/CreateQualificationTypeCommand.ts b/clients/client-mturk/commands/CreateQualificationTypeCommand.ts index 4508ca785be4c..6219237d4a11d 100644 --- a/clients/client-mturk/commands/CreateQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/CreateQualificationTypeCommand.ts @@ -34,7 +34,6 @@ export class CreateQualificationTypeCommand extends $Command< CreateQualificationTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateQualificationTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/CreateWorkerBlockCommand.ts b/clients/client-mturk/commands/CreateWorkerBlockCommand.ts index 3c66d0d152ae3..c1ccde3088cf2 100644 --- a/clients/client-mturk/commands/CreateWorkerBlockCommand.ts +++ b/clients/client-mturk/commands/CreateWorkerBlockCommand.ts @@ -28,7 +28,6 @@ export class CreateWorkerBlockCommand extends $Command< CreateWorkerBlockCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWorkerBlockCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/DeleteHITCommand.ts b/clients/client-mturk/commands/DeleteHITCommand.ts index cf9f7286a6fb9..2f4116a5c6081 100644 --- a/clients/client-mturk/commands/DeleteHITCommand.ts +++ b/clients/client-mturk/commands/DeleteHITCommand.ts @@ -60,7 +60,6 @@ export class DeleteHITCommand extends $Command< DeleteHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class DeleteHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts b/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts index 7d3ac2d97e306..4f664fb907701 100644 --- a/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/DeleteQualificationTypeCommand.ts @@ -46,7 +46,6 @@ export class DeleteQualificationTypeCommand extends $Command< DeleteQualificationTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DeleteQualificationTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts b/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts index af256d52523be..37aabc6b6025d 100644 --- a/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts +++ b/clients/client-mturk/commands/DeleteWorkerBlockCommand.ts @@ -28,7 +28,6 @@ export class DeleteWorkerBlockCommand extends $Command< DeleteWorkerBlockCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteWorkerBlockCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts b/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts index 1e4b7fda96a72..a253ebaa19e39 100644 --- a/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts +++ b/clients/client-mturk/commands/DisassociateQualificationFromWorkerCommand.ts @@ -39,7 +39,6 @@ export class DisassociateQualificationFromWorkerCommand extends $Command< DisassociateQualificationFromWorkerCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DisassociateQualificationFromWorkerCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/GetAccountBalanceCommand.ts b/clients/client-mturk/commands/GetAccountBalanceCommand.ts index 6b099204b3717..99111b995df42 100644 --- a/clients/client-mturk/commands/GetAccountBalanceCommand.ts +++ b/clients/client-mturk/commands/GetAccountBalanceCommand.ts @@ -28,7 +28,6 @@ export class GetAccountBalanceCommand extends $Command< GetAccountBalanceCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAccountBalanceCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/GetAssignmentCommand.ts b/clients/client-mturk/commands/GetAssignmentCommand.ts index 503fadbe06441..89233b69480cf 100644 --- a/clients/client-mturk/commands/GetAssignmentCommand.ts +++ b/clients/client-mturk/commands/GetAssignmentCommand.ts @@ -30,7 +30,6 @@ export class GetAssignmentCommand extends $Command< GetAssignmentCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetAssignmentCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/GetFileUploadURLCommand.ts b/clients/client-mturk/commands/GetFileUploadURLCommand.ts index 6d54c0a77d5c7..af818e7e93ddd 100644 --- a/clients/client-mturk/commands/GetFileUploadURLCommand.ts +++ b/clients/client-mturk/commands/GetFileUploadURLCommand.ts @@ -45,7 +45,6 @@ export class GetFileUploadURLCommand extends $Command< GetFileUploadURLCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class GetFileUploadURLCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/GetHITCommand.ts b/clients/client-mturk/commands/GetHITCommand.ts index eedc18bed2b25..01c017dd96461 100644 --- a/clients/client-mturk/commands/GetHITCommand.ts +++ b/clients/client-mturk/commands/GetHITCommand.ts @@ -23,7 +23,6 @@ export type GetHITCommandOutput = GetHITResponse & __MetadataBearer; *

*/ export class GetHITCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class GetHITCommand 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-mturk/commands/GetQualificationScoreCommand.ts b/clients/client-mturk/commands/GetQualificationScoreCommand.ts index 8f989a1f422a7..96ed0b73cf443 100644 --- a/clients/client-mturk/commands/GetQualificationScoreCommand.ts +++ b/clients/client-mturk/commands/GetQualificationScoreCommand.ts @@ -41,7 +41,6 @@ export class GetQualificationScoreCommand extends $Command< GetQualificationScoreCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetQualificationScoreCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/GetQualificationTypeCommand.ts b/clients/client-mturk/commands/GetQualificationTypeCommand.ts index 4771f97bfb16d..bc523416011f7 100644 --- a/clients/client-mturk/commands/GetQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/GetQualificationTypeCommand.ts @@ -30,7 +30,6 @@ export class GetQualificationTypeCommand extends $Command< GetQualificationTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetQualificationTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts b/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts index 2916796a16a7f..ef5694afc2fd9 100644 --- a/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts +++ b/clients/client-mturk/commands/ListAssignmentsForHITCommand.ts @@ -54,7 +54,6 @@ export class ListAssignmentsForHITCommand extends $Command< ListAssignmentsForHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class ListAssignmentsForHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListBonusPaymentsCommand.ts b/clients/client-mturk/commands/ListBonusPaymentsCommand.ts index 4b12632d8c0de..e9a6169d28cb8 100644 --- a/clients/client-mturk/commands/ListBonusPaymentsCommand.ts +++ b/clients/client-mturk/commands/ListBonusPaymentsCommand.ts @@ -33,7 +33,6 @@ export class ListBonusPaymentsCommand extends $Command< ListBonusPaymentsCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListBonusPaymentsCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListHITsCommand.ts b/clients/client-mturk/commands/ListHITsCommand.ts index 3a6ffe4050432..3ba8e69f8506d 100644 --- a/clients/client-mturk/commands/ListHITsCommand.ts +++ b/clients/client-mturk/commands/ListHITsCommand.ts @@ -27,7 +27,6 @@ export type ListHITsCommandOutput = ListHITsResponse & __MetadataBearer; *

*/ export class ListHITsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class ListHITsCommand 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-mturk/commands/ListHITsForQualificationTypeCommand.ts b/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts index 03484437fb43c..6a5dcdf8bada7 100644 --- a/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/ListHITsForQualificationTypeCommand.ts @@ -33,7 +33,6 @@ export class ListHITsForQualificationTypeCommand extends $Command< ListHITsForQualificationTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListHITsForQualificationTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListQualificationRequestsCommand.ts b/clients/client-mturk/commands/ListQualificationRequestsCommand.ts index 86610739417b1..b58dcede92912 100644 --- a/clients/client-mturk/commands/ListQualificationRequestsCommand.ts +++ b/clients/client-mturk/commands/ListQualificationRequestsCommand.ts @@ -35,7 +35,6 @@ export class ListQualificationRequestsCommand extends $Command< ListQualificationRequestsCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListQualificationRequestsCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListQualificationTypesCommand.ts b/clients/client-mturk/commands/ListQualificationTypesCommand.ts index d9acb7d0317c4..a457c947044a7 100644 --- a/clients/client-mturk/commands/ListQualificationTypesCommand.ts +++ b/clients/client-mturk/commands/ListQualificationTypesCommand.ts @@ -33,7 +33,6 @@ export class ListQualificationTypesCommand extends $Command< ListQualificationTypesCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListQualificationTypesCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts b/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts index 1a9d93a0213ed..ce05d153b933c 100644 --- a/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts +++ b/clients/client-mturk/commands/ListReviewPolicyResultsForHITCommand.ts @@ -34,7 +34,6 @@ export class ListReviewPolicyResultsForHITCommand extends $Command< ListReviewPolicyResultsForHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListReviewPolicyResultsForHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListReviewableHITsCommand.ts b/clients/client-mturk/commands/ListReviewableHITsCommand.ts index e6091008903f9..23b1188f34156 100644 --- a/clients/client-mturk/commands/ListReviewableHITsCommand.ts +++ b/clients/client-mturk/commands/ListReviewableHITsCommand.ts @@ -31,7 +31,6 @@ export class ListReviewableHITsCommand extends $Command< ListReviewableHITsCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListReviewableHITsCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListWorkerBlocksCommand.ts b/clients/client-mturk/commands/ListWorkerBlocksCommand.ts index 213ce6af79cb3..77edb06bbb2d4 100644 --- a/clients/client-mturk/commands/ListWorkerBlocksCommand.ts +++ b/clients/client-mturk/commands/ListWorkerBlocksCommand.ts @@ -28,7 +28,6 @@ export class ListWorkerBlocksCommand extends $Command< ListWorkerBlocksCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorkerBlocksCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts b/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts index 046487be7c37d..7a2e6859b97d2 100644 --- a/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/ListWorkersWithQualificationTypeCommand.ts @@ -31,7 +31,6 @@ export class ListWorkersWithQualificationTypeCommand extends $Command< ListWorkersWithQualificationTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListWorkersWithQualificationTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/NotifyWorkersCommand.ts b/clients/client-mturk/commands/NotifyWorkersCommand.ts index e22e0186037fd..69d64604183c4 100644 --- a/clients/client-mturk/commands/NotifyWorkersCommand.ts +++ b/clients/client-mturk/commands/NotifyWorkersCommand.ts @@ -37,7 +37,6 @@ export class NotifyWorkersCommand extends $Command< NotifyWorkersCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class NotifyWorkersCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/RejectAssignmentCommand.ts b/clients/client-mturk/commands/RejectAssignmentCommand.ts index 645a0562904bc..904963750a618 100644 --- a/clients/client-mturk/commands/RejectAssignmentCommand.ts +++ b/clients/client-mturk/commands/RejectAssignmentCommand.ts @@ -40,7 +40,6 @@ export class RejectAssignmentCommand extends $Command< RejectAssignmentCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RejectAssignmentCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/RejectQualificationRequestCommand.ts b/clients/client-mturk/commands/RejectQualificationRequestCommand.ts index bb3a2a1575ed3..0b6ebb713f605 100644 --- a/clients/client-mturk/commands/RejectQualificationRequestCommand.ts +++ b/clients/client-mturk/commands/RejectQualificationRequestCommand.ts @@ -34,7 +34,6 @@ export class RejectQualificationRequestCommand extends $Command< RejectQualificationRequestCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RejectQualificationRequestCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/SendBonusCommand.ts b/clients/client-mturk/commands/SendBonusCommand.ts index dfe1f51f0b31e..d60c22ee0758a 100644 --- a/clients/client-mturk/commands/SendBonusCommand.ts +++ b/clients/client-mturk/commands/SendBonusCommand.ts @@ -38,7 +38,6 @@ export class SendBonusCommand extends $Command< SendBonusCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class SendBonusCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/SendTestEventNotificationCommand.ts b/clients/client-mturk/commands/SendTestEventNotificationCommand.ts index 2958dc5d90b23..bbdca93e3b357 100644 --- a/clients/client-mturk/commands/SendTestEventNotificationCommand.ts +++ b/clients/client-mturk/commands/SendTestEventNotificationCommand.ts @@ -34,7 +34,6 @@ export class SendTestEventNotificationCommand extends $Command< SendTestEventNotificationCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SendTestEventNotificationCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts b/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts index e43c9d6286e29..ed2e99a2a8046 100644 --- a/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts +++ b/clients/client-mturk/commands/UpdateExpirationForHITCommand.ts @@ -31,7 +31,6 @@ export class UpdateExpirationForHITCommand extends $Command< UpdateExpirationForHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateExpirationForHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts b/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts index 3a950ee7ddb16..b26dbe4fb1ded 100644 --- a/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts +++ b/clients/client-mturk/commands/UpdateHITReviewStatusCommand.ts @@ -32,7 +32,6 @@ export class UpdateHITReviewStatusCommand extends $Command< UpdateHITReviewStatusCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateHITReviewStatusCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts b/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts index 9879dc837b5ce..7b7d78c9e2614 100644 --- a/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts +++ b/clients/client-mturk/commands/UpdateHITTypeOfHITCommand.ts @@ -35,7 +35,6 @@ export class UpdateHITTypeOfHITCommand extends $Command< UpdateHITTypeOfHITCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateHITTypeOfHITCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts b/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts index 1f671d66476e0..10127bf3c17b9 100644 --- a/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts +++ b/clients/client-mturk/commands/UpdateNotificationSettingsCommand.ts @@ -39,7 +39,6 @@ export class UpdateNotificationSettingsCommand extends $Command< UpdateNotificationSettingsCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class UpdateNotificationSettingsCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts b/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts index 0772008562021..2bb302e23e64d 100644 --- a/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts +++ b/clients/client-mturk/commands/UpdateQualificationTypeCommand.ts @@ -60,7 +60,6 @@ export class UpdateQualificationTypeCommand extends $Command< UpdateQualificationTypeCommandOutput, MTurkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class UpdateQualificationTypeCommand extends $Command< configuration: MTurkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts b/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts index 0915d6f3dc4fc..2c0be575fd8e5 100644 --- a/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts +++ b/clients/client-neptune/commands/AddRoleToDBClusterCommand.ts @@ -29,7 +29,6 @@ export class AddRoleToDBClusterCommand extends $Command< AddRoleToDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AddRoleToDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts b/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts index f7f2cb77a71e8..454b8f3041297 100644 --- a/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts +++ b/clients/client-neptune/commands/AddSourceIdentifierToSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< AddSourceIdentifierToSubscriptionCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/AddTagsToResourceCommand.ts b/clients/client-neptune/commands/AddTagsToResourceCommand.ts index 91a52712d7a1d..7fd76f67298cf 100644 --- a/clients/client-neptune/commands/AddTagsToResourceCommand.ts +++ b/clients/client-neptune/commands/AddTagsToResourceCommand.ts @@ -30,7 +30,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts index 028a7301a4c4f..184a300c4b0d7 100644 --- a/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-neptune/commands/ApplyPendingMaintenanceActionCommand.ts @@ -28,7 +28,6 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< ApplyPendingMaintenanceActionCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts index aa66825283d31..99df66438e51d 100644 --- a/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CopyDBClusterParameterGroupCommand.ts @@ -28,7 +28,6 @@ export class CopyDBClusterParameterGroupCommand extends $Command< CopyDBClusterParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CopyDBClusterParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts index defd4f38322a7..0412381e8d007 100644 --- a/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-neptune/commands/CopyDBClusterSnapshotCommand.ts @@ -31,7 +31,6 @@ export class CopyDBClusterSnapshotCommand extends $Command< CopyDBClusterSnapshotCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CopyDBClusterSnapshotCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts b/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts index 8c12edfb3a838..91b7e4a59ea67 100644 --- a/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CopyDBParameterGroupCommand.ts @@ -28,7 +28,6 @@ export class CopyDBParameterGroupCommand extends $Command< CopyDBParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CopyDBParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBClusterCommand.ts b/clients/client-neptune/commands/CreateDBClusterCommand.ts index b21ed16d5f884..66a82dcebd15a 100644 --- a/clients/client-neptune/commands/CreateDBClusterCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterCommand.ts @@ -34,7 +34,6 @@ export class CreateDBClusterCommand extends $Command< CreateDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBClusterEndpointCommand.ts b/clients/client-neptune/commands/CreateDBClusterEndpointCommand.ts index 4984799533511..d9288e3448bde 100644 --- a/clients/client-neptune/commands/CreateDBClusterEndpointCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterEndpointCommand.ts @@ -28,7 +28,6 @@ export class CreateDBClusterEndpointCommand extends $Command< CreateDBClusterEndpointCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBClusterEndpointCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts index 9052723aea141..0f659305bff5b 100644 --- a/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterParameterGroupCommand.ts @@ -52,7 +52,6 @@ export class CreateDBClusterParameterGroupCommand extends $Command< CreateDBClusterParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts index a6a1fd6d37575..0c0ae7ec70820 100644 --- a/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-neptune/commands/CreateDBClusterSnapshotCommand.ts @@ -28,7 +28,6 @@ export class CreateDBClusterSnapshotCommand extends $Command< CreateDBClusterSnapshotCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBClusterSnapshotCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBInstanceCommand.ts b/clients/client-neptune/commands/CreateDBInstanceCommand.ts index f899ec1bc5a28..1b0903eb985bc 100644 --- a/clients/client-neptune/commands/CreateDBInstanceCommand.ts +++ b/clients/client-neptune/commands/CreateDBInstanceCommand.ts @@ -28,7 +28,6 @@ export class CreateDBInstanceCommand extends $Command< CreateDBInstanceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBInstanceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts b/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts index 7c72a2a09fa71..8ad55d96f42e4 100644 --- a/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/CreateDBParameterGroupCommand.ts @@ -49,7 +49,6 @@ export class CreateDBParameterGroupCommand extends $Command< CreateDBParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class CreateDBParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts b/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts index 52b3ede28e54d..cc8dd31cfac65 100644 --- a/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts +++ b/clients/client-neptune/commands/CreateDBSubnetGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateDBSubnetGroupCommand extends $Command< CreateDBSubnetGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDBSubnetGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts b/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts index 0b6c9f696c46a..595d9f5c2b7a4 100644 --- a/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-neptune/commands/CreateEventSubscriptionCommand.ts @@ -42,7 +42,6 @@ export class CreateEventSubscriptionCommand extends $Command< CreateEventSubscriptionCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateEventSubscriptionCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBClusterCommand.ts b/clients/client-neptune/commands/DeleteDBClusterCommand.ts index 85c715926dce3..70057c5b86f8f 100644 --- a/clients/client-neptune/commands/DeleteDBClusterCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterCommand.ts @@ -34,7 +34,6 @@ export class DeleteDBClusterCommand extends $Command< DeleteDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBClusterEndpointCommand.ts b/clients/client-neptune/commands/DeleteDBClusterEndpointCommand.ts index 1a6af2299f1b9..40e47e1b184ba 100644 --- a/clients/client-neptune/commands/DeleteDBClusterEndpointCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterEndpointCommand.ts @@ -28,7 +28,6 @@ export class DeleteDBClusterEndpointCommand extends $Command< DeleteDBClusterEndpointCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDBClusterEndpointCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts index 1726eabcb4cad..6b5e809769f34 100644 --- a/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterParameterGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< DeleteDBClusterParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts index 09a6a7fe7b6e0..9515115b5c480 100644 --- a/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-neptune/commands/DeleteDBClusterSnapshotCommand.ts @@ -33,7 +33,6 @@ export class DeleteDBClusterSnapshotCommand extends $Command< DeleteDBClusterSnapshotCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteDBClusterSnapshotCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBInstanceCommand.ts b/clients/client-neptune/commands/DeleteDBInstanceCommand.ts index 73adf9ec566a4..ed72d037026cc 100644 --- a/clients/client-neptune/commands/DeleteDBInstanceCommand.ts +++ b/clients/client-neptune/commands/DeleteDBInstanceCommand.ts @@ -41,7 +41,6 @@ export class DeleteDBInstanceCommand extends $Command< DeleteDBInstanceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DeleteDBInstanceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts b/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts index 6ea6fba2772d2..6ad1a8299c9d6 100644 --- a/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/DeleteDBParameterGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteDBParameterGroupCommand extends $Command< DeleteDBParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDBParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts b/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts index 1c3c5957eb351..ccb7bddd47449 100644 --- a/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts +++ b/clients/client-neptune/commands/DeleteDBSubnetGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteDBSubnetGroupCommand extends $Command< DeleteDBSubnetGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDBSubnetGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts b/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts index 15d084f5149ff..b3f9fbef2812e 100644 --- a/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-neptune/commands/DeleteEventSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteEventSubscriptionCommand extends $Command< DeleteEventSubscriptionCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEventSubscriptionCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBClusterEndpointsCommand.ts b/clients/client-neptune/commands/DescribeDBClusterEndpointsCommand.ts index c720cfceee1d1..56e58034abd52 100644 --- a/clients/client-neptune/commands/DescribeDBClusterEndpointsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterEndpointsCommand.ts @@ -32,7 +32,6 @@ export class DescribeDBClusterEndpointsCommand extends $Command< DescribeDBClusterEndpointsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeDBClusterEndpointsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts b/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts index a12afb6cdfc6a..7933ef65e6db7 100644 --- a/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterParameterGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< DescribeDBClusterParameterGroupsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts b/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts index 93aa9f28df586..d9d5f2b1294f5 100644 --- a/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterParametersCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBClusterParametersCommand extends $Command< DescribeDBClusterParametersCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBClusterParametersCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts b/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts index 25778afa34725..cf3d81aff5c6b 100644 --- a/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterSnapshotAttributesCommand.ts @@ -41,7 +41,6 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< DescribeDBClusterSnapshotAttributesCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts index 595100bbd2640..414609f4298d8 100644 --- a/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClusterSnapshotsCommand.ts @@ -29,7 +29,6 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< DescribeDBClusterSnapshotsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBClustersCommand.ts b/clients/client-neptune/commands/DescribeDBClustersCommand.ts index 815dd68368da8..91ccf3e991306 100644 --- a/clients/client-neptune/commands/DescribeDBClustersCommand.ts +++ b/clients/client-neptune/commands/DescribeDBClustersCommand.ts @@ -34,7 +34,6 @@ export class DescribeDBClustersCommand extends $Command< DescribeDBClustersCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeDBClustersCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts b/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts index 50514a8a4efc9..0c8eac25a5e4b 100644 --- a/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBEngineVersionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBEngineVersionsCommand extends $Command< DescribeDBEngineVersionsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBEngineVersionsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBInstancesCommand.ts b/clients/client-neptune/commands/DescribeDBInstancesCommand.ts index ae8ed28abaa8c..0945d1ad297c2 100644 --- a/clients/client-neptune/commands/DescribeDBInstancesCommand.ts +++ b/clients/client-neptune/commands/DescribeDBInstancesCommand.ts @@ -33,7 +33,6 @@ export class DescribeDBInstancesCommand extends $Command< DescribeDBInstancesCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeDBInstancesCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts b/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts index 2b84ed17201dc..d27d998719f8d 100644 --- a/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBParameterGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDBParameterGroupsCommand extends $Command< DescribeDBParameterGroupsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDBParameterGroupsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBParametersCommand.ts b/clients/client-neptune/commands/DescribeDBParametersCommand.ts index 60383ec0c4614..d89666e503ac0 100644 --- a/clients/client-neptune/commands/DescribeDBParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeDBParametersCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBParametersCommand extends $Command< DescribeDBParametersCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBParametersCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts b/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts index 21c78b0fedd30..55ba2727ad998 100644 --- a/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts +++ b/clients/client-neptune/commands/DescribeDBSubnetGroupsCommand.ts @@ -30,7 +30,6 @@ export class DescribeDBSubnetGroupsCommand extends $Command< DescribeDBSubnetGroupsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDBSubnetGroupsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts b/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts index 946424283e9c3..22be8db076724 100644 --- a/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeEngineDefaultClusterParametersCommand.ts @@ -33,7 +33,6 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< DescribeEngineDefaultClusterParametersCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts b/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts index dcfd55b29df39..1288e9451f785 100644 --- a/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts +++ b/clients/client-neptune/commands/DescribeEngineDefaultParametersCommand.ts @@ -29,7 +29,6 @@ export class DescribeEngineDefaultParametersCommand extends $Command< DescribeEngineDefaultParametersCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts b/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts index 6e81e1a6eb0d0..12208bd1e6004 100644 --- a/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-neptune/commands/DescribeEventCategoriesCommand.ts @@ -29,7 +29,6 @@ export class DescribeEventCategoriesCommand extends $Command< DescribeEventCategoriesCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEventCategoriesCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts index 6f0ca98fdea7a..b7ff1c1f8a7e4 100644 --- a/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-neptune/commands/DescribeEventSubscriptionsCommand.ts @@ -31,7 +31,6 @@ export class DescribeEventSubscriptionsCommand extends $Command< DescribeEventSubscriptionsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeEventSubscriptionsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeEventsCommand.ts b/clients/client-neptune/commands/DescribeEventsCommand.ts index c7c081e28826d..bbc3ae5ef5948 100644 --- a/clients/client-neptune/commands/DescribeEventsCommand.ts +++ b/clients/client-neptune/commands/DescribeEventsCommand.ts @@ -31,7 +31,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeEventsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts b/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts index f5ecbea6ca0a1..43650449cdedc 100644 --- a/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts +++ b/clients/client-neptune/commands/DescribeOrderableDBInstanceOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< DescribeOrderableDBInstanceOptionsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts index 4de3733e58b65..b290288c7041a 100644 --- a/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-neptune/commands/DescribePendingMaintenanceActionsCommand.ts @@ -29,7 +29,6 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< DescribePendingMaintenanceActionsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts b/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts index 2489152294914..407fff9e02b69 100644 --- a/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts +++ b/clients/client-neptune/commands/DescribeValidDBInstanceModificationsCommand.ts @@ -34,7 +34,6 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< DescribeValidDBInstanceModificationsCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/FailoverDBClusterCommand.ts b/clients/client-neptune/commands/FailoverDBClusterCommand.ts index 7357db9661d82..f1a7ec886e00e 100644 --- a/clients/client-neptune/commands/FailoverDBClusterCommand.ts +++ b/clients/client-neptune/commands/FailoverDBClusterCommand.ts @@ -35,7 +35,6 @@ export class FailoverDBClusterCommand extends $Command< FailoverDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class FailoverDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ListTagsForResourceCommand.ts b/clients/client-neptune/commands/ListTagsForResourceCommand.ts index a559edda2d665..5469a35fe5dbe 100644 --- a/clients/client-neptune/commands/ListTagsForResourceCommand.ts +++ b/clients/client-neptune/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBClusterCommand.ts b/clients/client-neptune/commands/ModifyDBClusterCommand.ts index 45e1b50ac0df7..bccd007d41abc 100644 --- a/clients/client-neptune/commands/ModifyDBClusterCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterCommand.ts @@ -29,7 +29,6 @@ export class ModifyDBClusterCommand extends $Command< ModifyDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBClusterEndpointCommand.ts b/clients/client-neptune/commands/ModifyDBClusterEndpointCommand.ts index 24bc877517748..a14f9a5101377 100644 --- a/clients/client-neptune/commands/ModifyDBClusterEndpointCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterEndpointCommand.ts @@ -28,7 +28,6 @@ export class ModifyDBClusterEndpointCommand extends $Command< ModifyDBClusterEndpointCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyDBClusterEndpointCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts index 313f21e29e4f3..8a99864575729 100644 --- a/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterParameterGroupCommand.ts @@ -48,7 +48,6 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< ModifyDBClusterParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts b/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts index 4f0469ec6722f..17203a806252d 100644 --- a/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts +++ b/clients/client-neptune/commands/ModifyDBClusterSnapshotAttributeCommand.ts @@ -41,7 +41,6 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< ModifyDBClusterSnapshotAttributeCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBInstanceCommand.ts b/clients/client-neptune/commands/ModifyDBInstanceCommand.ts index a5a2bb713634a..618d9e7660b74 100644 --- a/clients/client-neptune/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-neptune/commands/ModifyDBInstanceCommand.ts @@ -30,7 +30,6 @@ export class ModifyDBInstanceCommand extends $Command< ModifyDBInstanceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyDBInstanceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts b/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts index ea8e7d96f1d85..e210095c29944 100644 --- a/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ModifyDBParameterGroupCommand.ts @@ -47,7 +47,6 @@ export class ModifyDBParameterGroupCommand extends $Command< ModifyDBParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class ModifyDBParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts b/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts index 694f4a924c695..00f8af736f41c 100644 --- a/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts +++ b/clients/client-neptune/commands/ModifyDBSubnetGroupCommand.ts @@ -29,7 +29,6 @@ export class ModifyDBSubnetGroupCommand extends $Command< ModifyDBSubnetGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyDBSubnetGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts b/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts index 72291dd212bc7..9a362a9940f7c 100644 --- a/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-neptune/commands/ModifyEventSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class ModifyEventSubscriptionCommand extends $Command< ModifyEventSubscriptionCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyEventSubscriptionCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts index 1941323332da5..92bbf28e18119 100644 --- a/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts +++ b/clients/client-neptune/commands/PromoteReadReplicaDBClusterCommand.ts @@ -28,7 +28,6 @@ export class PromoteReadReplicaDBClusterCommand extends $Command< PromoteReadReplicaDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PromoteReadReplicaDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/RebootDBInstanceCommand.ts b/clients/client-neptune/commands/RebootDBInstanceCommand.ts index 9e23b6a3d23f0..04fa30bff594c 100644 --- a/clients/client-neptune/commands/RebootDBInstanceCommand.ts +++ b/clients/client-neptune/commands/RebootDBInstanceCommand.ts @@ -32,7 +32,6 @@ export class RebootDBInstanceCommand extends $Command< RebootDBInstanceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RebootDBInstanceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts b/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts index d5fc36618a849..e9d12e27b800a 100644 --- a/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts +++ b/clients/client-neptune/commands/RemoveRoleFromDBClusterCommand.ts @@ -28,7 +28,6 @@ export class RemoveRoleFromDBClusterCommand extends $Command< RemoveRoleFromDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveRoleFromDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts b/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts index 323d7d257965f..d26f91434e221 100644 --- a/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +++ b/clients/client-neptune/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< RemoveSourceIdentifierFromSubscriptionCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts b/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts index a3147c82e0b0b..40327a94e66ad 100644 --- a/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-neptune/commands/RemoveTagsFromResourceCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts b/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts index 2e826764d11c6..2509ee6a8bd12 100644 --- a/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ResetDBClusterParameterGroupCommand.ts @@ -35,7 +35,6 @@ export class ResetDBClusterParameterGroupCommand extends $Command< ResetDBClusterParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts b/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts index d73c42ba5bc58..b63547dd81b61 100644 --- a/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts +++ b/clients/client-neptune/commands/ResetDBParameterGroupCommand.ts @@ -34,7 +34,6 @@ export class ResetDBParameterGroupCommand extends $Command< ResetDBParameterGroupCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ResetDBParameterGroupCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts index 7b3a2580ec461..ee40582dcc688 100644 --- a/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-neptune/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -33,7 +33,6 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< RestoreDBClusterFromSnapshotCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts index 6d768ac0c628c..158b574b49857 100644 --- a/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-neptune/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -40,7 +40,6 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< RestoreDBClusterToPointInTimeCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/StartDBClusterCommand.ts b/clients/client-neptune/commands/StartDBClusterCommand.ts index 413b271de08cd..bed8f74d0db4a 100644 --- a/clients/client-neptune/commands/StartDBClusterCommand.ts +++ b/clients/client-neptune/commands/StartDBClusterCommand.ts @@ -29,7 +29,6 @@ export class StartDBClusterCommand extends $Command< StartDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-neptune/commands/StopDBClusterCommand.ts b/clients/client-neptune/commands/StopDBClusterCommand.ts index e9ea16256aaa1..6e1ade43eb3be 100644 --- a/clients/client-neptune/commands/StopDBClusterCommand.ts +++ b/clients/client-neptune/commands/StopDBClusterCommand.ts @@ -33,7 +33,6 @@ export class StopDBClusterCommand extends $Command< StopDBClusterCommandOutput, NeptuneClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopDBClusterCommand extends $Command< configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/AssociateFirewallPolicyCommand.ts b/clients/client-network-firewall/commands/AssociateFirewallPolicyCommand.ts index 71c6a1bd908c7..cbad79078bfc9 100644 --- a/clients/client-network-firewall/commands/AssociateFirewallPolicyCommand.ts +++ b/clients/client-network-firewall/commands/AssociateFirewallPolicyCommand.ts @@ -32,7 +32,6 @@ export class AssociateFirewallPolicyCommand extends $Command< AssociateFirewallPolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateFirewallPolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/AssociateSubnetsCommand.ts b/clients/client-network-firewall/commands/AssociateSubnetsCommand.ts index 4e2687bd39853..5c69a49037bc1 100644 --- a/clients/client-network-firewall/commands/AssociateSubnetsCommand.ts +++ b/clients/client-network-firewall/commands/AssociateSubnetsCommand.ts @@ -33,7 +33,6 @@ export class AssociateSubnetsCommand extends $Command< AssociateSubnetsCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AssociateSubnetsCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/CreateFirewallCommand.ts b/clients/client-network-firewall/commands/CreateFirewallCommand.ts index 3aa1c04252753..3c1889d685abb 100644 --- a/clients/client-network-firewall/commands/CreateFirewallCommand.ts +++ b/clients/client-network-firewall/commands/CreateFirewallCommand.ts @@ -34,7 +34,6 @@ export class CreateFirewallCommand extends $Command< CreateFirewallCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateFirewallCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/CreateFirewallPolicyCommand.ts b/clients/client-network-firewall/commands/CreateFirewallPolicyCommand.ts index 0c349e41c5a64..5a44f94c562f7 100644 --- a/clients/client-network-firewall/commands/CreateFirewallPolicyCommand.ts +++ b/clients/client-network-firewall/commands/CreateFirewallPolicyCommand.ts @@ -31,7 +31,6 @@ export class CreateFirewallPolicyCommand extends $Command< CreateFirewallPolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateFirewallPolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/CreateRuleGroupCommand.ts b/clients/client-network-firewall/commands/CreateRuleGroupCommand.ts index 664ddf66c9832..be4ddbea9ec99 100644 --- a/clients/client-network-firewall/commands/CreateRuleGroupCommand.ts +++ b/clients/client-network-firewall/commands/CreateRuleGroupCommand.ts @@ -31,7 +31,6 @@ export class CreateRuleGroupCommand extends $Command< CreateRuleGroupCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateRuleGroupCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DeleteFirewallCommand.ts b/clients/client-network-firewall/commands/DeleteFirewallCommand.ts index 8673c09a6ab38..da6dfafb4c3de 100644 --- a/clients/client-network-firewall/commands/DeleteFirewallCommand.ts +++ b/clients/client-network-firewall/commands/DeleteFirewallCommand.ts @@ -37,7 +37,6 @@ export class DeleteFirewallCommand extends $Command< DeleteFirewallCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteFirewallCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DeleteFirewallPolicyCommand.ts b/clients/client-network-firewall/commands/DeleteFirewallPolicyCommand.ts index 992aa9c155a55..83c31a72e1a70 100644 --- a/clients/client-network-firewall/commands/DeleteFirewallPolicyCommand.ts +++ b/clients/client-network-firewall/commands/DeleteFirewallPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteFirewallPolicyCommand extends $Command< DeleteFirewallPolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFirewallPolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DeleteResourcePolicyCommand.ts b/clients/client-network-firewall/commands/DeleteResourcePolicyCommand.ts index 8bea2591a3828..7ab5234306a7d 100644 --- a/clients/client-network-firewall/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-network-firewall/commands/DeleteResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourcePolicyCommand extends $Command< DeleteResourcePolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourcePolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DeleteRuleGroupCommand.ts b/clients/client-network-firewall/commands/DeleteRuleGroupCommand.ts index fe2ffc1188eb2..65cfaa4b56ddc 100644 --- a/clients/client-network-firewall/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-network-firewall/commands/DeleteRuleGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteRuleGroupCommand extends $Command< DeleteRuleGroupCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRuleGroupCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DescribeFirewallCommand.ts b/clients/client-network-firewall/commands/DescribeFirewallCommand.ts index de9ee7f84a0a9..1b1d08fba0af9 100644 --- a/clients/client-network-firewall/commands/DescribeFirewallCommand.ts +++ b/clients/client-network-firewall/commands/DescribeFirewallCommand.ts @@ -28,7 +28,6 @@ export class DescribeFirewallCommand extends $Command< DescribeFirewallCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFirewallCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DescribeFirewallPolicyCommand.ts b/clients/client-network-firewall/commands/DescribeFirewallPolicyCommand.ts index 0d6eed94d523a..d61525e2fdc32 100644 --- a/clients/client-network-firewall/commands/DescribeFirewallPolicyCommand.ts +++ b/clients/client-network-firewall/commands/DescribeFirewallPolicyCommand.ts @@ -28,7 +28,6 @@ export class DescribeFirewallPolicyCommand extends $Command< DescribeFirewallPolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFirewallPolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DescribeLoggingConfigurationCommand.ts b/clients/client-network-firewall/commands/DescribeLoggingConfigurationCommand.ts index 22e3748025814..55639af6cfe18 100644 --- a/clients/client-network-firewall/commands/DescribeLoggingConfigurationCommand.ts +++ b/clients/client-network-firewall/commands/DescribeLoggingConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DescribeLoggingConfigurationCommand extends $Command< DescribeLoggingConfigurationCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLoggingConfigurationCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DescribeResourcePolicyCommand.ts b/clients/client-network-firewall/commands/DescribeResourcePolicyCommand.ts index ae865453e0bea..6f86c37bd559e 100644 --- a/clients/client-network-firewall/commands/DescribeResourcePolicyCommand.ts +++ b/clients/client-network-firewall/commands/DescribeResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class DescribeResourcePolicyCommand extends $Command< DescribeResourcePolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeResourcePolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DescribeRuleGroupCommand.ts b/clients/client-network-firewall/commands/DescribeRuleGroupCommand.ts index 37173d0d41c1c..224c69e6b2a2d 100644 --- a/clients/client-network-firewall/commands/DescribeRuleGroupCommand.ts +++ b/clients/client-network-firewall/commands/DescribeRuleGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeRuleGroupCommand extends $Command< DescribeRuleGroupCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRuleGroupCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/DisassociateSubnetsCommand.ts b/clients/client-network-firewall/commands/DisassociateSubnetsCommand.ts index 1b2543f5322f8..99275efe220cc 100644 --- a/clients/client-network-firewall/commands/DisassociateSubnetsCommand.ts +++ b/clients/client-network-firewall/commands/DisassociateSubnetsCommand.ts @@ -31,7 +31,6 @@ export class DisassociateSubnetsCommand extends $Command< DisassociateSubnetsCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DisassociateSubnetsCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/ListFirewallPoliciesCommand.ts b/clients/client-network-firewall/commands/ListFirewallPoliciesCommand.ts index 64024e8d8513c..ce7520ab1bef6 100644 --- a/clients/client-network-firewall/commands/ListFirewallPoliciesCommand.ts +++ b/clients/client-network-firewall/commands/ListFirewallPoliciesCommand.ts @@ -30,7 +30,6 @@ export class ListFirewallPoliciesCommand extends $Command< ListFirewallPoliciesCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListFirewallPoliciesCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/ListFirewallsCommand.ts b/clients/client-network-firewall/commands/ListFirewallsCommand.ts index d649be2450926..b22e8c8d9c023 100644 --- a/clients/client-network-firewall/commands/ListFirewallsCommand.ts +++ b/clients/client-network-firewall/commands/ListFirewallsCommand.ts @@ -31,7 +31,6 @@ export class ListFirewallsCommand extends $Command< ListFirewallsCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListFirewallsCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/ListRuleGroupsCommand.ts b/clients/client-network-firewall/commands/ListRuleGroupsCommand.ts index 2f067366a0483..d65f3f8ebaff2 100644 --- a/clients/client-network-firewall/commands/ListRuleGroupsCommand.ts +++ b/clients/client-network-firewall/commands/ListRuleGroupsCommand.ts @@ -30,7 +30,6 @@ export class ListRuleGroupsCommand extends $Command< ListRuleGroupsCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListRuleGroupsCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/ListTagsForResourceCommand.ts b/clients/client-network-firewall/commands/ListTagsForResourceCommand.ts index 9eea52df0ff85..1d490335edf33 100644 --- a/clients/client-network-firewall/commands/ListTagsForResourceCommand.ts +++ b/clients/client-network-firewall/commands/ListTagsForResourceCommand.ts @@ -34,7 +34,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/PutResourcePolicyCommand.ts b/clients/client-network-firewall/commands/PutResourcePolicyCommand.ts index d39003264b66e..65fe4b531fc33 100644 --- a/clients/client-network-firewall/commands/PutResourcePolicyCommand.ts +++ b/clients/client-network-firewall/commands/PutResourcePolicyCommand.ts @@ -42,7 +42,6 @@ export class PutResourcePolicyCommand extends $Command< PutResourcePolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class PutResourcePolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/TagResourceCommand.ts b/clients/client-network-firewall/commands/TagResourceCommand.ts index 4d9cce13baa26..8593da7b3f662 100644 --- a/clients/client-network-firewall/commands/TagResourceCommand.ts +++ b/clients/client-network-firewall/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UntagResourceCommand.ts b/clients/client-network-firewall/commands/UntagResourceCommand.ts index de1a9883618f8..642d9a6871e69 100644 --- a/clients/client-network-firewall/commands/UntagResourceCommand.ts +++ b/clients/client-network-firewall/commands/UntagResourceCommand.ts @@ -34,7 +34,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UntagResourceCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateFirewallDeleteProtectionCommand.ts b/clients/client-network-firewall/commands/UpdateFirewallDeleteProtectionCommand.ts index b70467d06d49d..343fdd532a06d 100644 --- a/clients/client-network-firewall/commands/UpdateFirewallDeleteProtectionCommand.ts +++ b/clients/client-network-firewall/commands/UpdateFirewallDeleteProtectionCommand.ts @@ -31,7 +31,6 @@ export class UpdateFirewallDeleteProtectionCommand extends $Command< UpdateFirewallDeleteProtectionCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateFirewallDeleteProtectionCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateFirewallDescriptionCommand.ts b/clients/client-network-firewall/commands/UpdateFirewallDescriptionCommand.ts index 75b512bdced05..c4d86798ec43f 100644 --- a/clients/client-network-firewall/commands/UpdateFirewallDescriptionCommand.ts +++ b/clients/client-network-firewall/commands/UpdateFirewallDescriptionCommand.ts @@ -29,7 +29,6 @@ export class UpdateFirewallDescriptionCommand extends $Command< UpdateFirewallDescriptionCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateFirewallDescriptionCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateFirewallPolicyChangeProtectionCommand.ts b/clients/client-network-firewall/commands/UpdateFirewallPolicyChangeProtectionCommand.ts index 6571b6aed3b42..9f385c71af5c5 100644 --- a/clients/client-network-firewall/commands/UpdateFirewallPolicyChangeProtectionCommand.ts +++ b/clients/client-network-firewall/commands/UpdateFirewallPolicyChangeProtectionCommand.ts @@ -32,7 +32,6 @@ export class UpdateFirewallPolicyChangeProtectionCommand extends $Command< UpdateFirewallPolicyChangeProtectionCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateFirewallPolicyChangeProtectionCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateFirewallPolicyCommand.ts b/clients/client-network-firewall/commands/UpdateFirewallPolicyCommand.ts index 882b41dc38618..92b9dd4368188 100644 --- a/clients/client-network-firewall/commands/UpdateFirewallPolicyCommand.ts +++ b/clients/client-network-firewall/commands/UpdateFirewallPolicyCommand.ts @@ -28,7 +28,6 @@ export class UpdateFirewallPolicyCommand extends $Command< UpdateFirewallPolicyCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFirewallPolicyCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateLoggingConfigurationCommand.ts b/clients/client-network-firewall/commands/UpdateLoggingConfigurationCommand.ts index f61b2ddb1385a..ecd79cea9f82a 100644 --- a/clients/client-network-firewall/commands/UpdateLoggingConfigurationCommand.ts +++ b/clients/client-network-firewall/commands/UpdateLoggingConfigurationCommand.ts @@ -53,7 +53,6 @@ export class UpdateLoggingConfigurationCommand extends $Command< UpdateLoggingConfigurationCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class UpdateLoggingConfigurationCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateRuleGroupCommand.ts b/clients/client-network-firewall/commands/UpdateRuleGroupCommand.ts index 9e013b4354a20..d88bde4505ee2 100644 --- a/clients/client-network-firewall/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-network-firewall/commands/UpdateRuleGroupCommand.ts @@ -33,7 +33,6 @@ export class UpdateRuleGroupCommand extends $Command< UpdateRuleGroupCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateRuleGroupCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-network-firewall/commands/UpdateSubnetChangeProtectionCommand.ts b/clients/client-network-firewall/commands/UpdateSubnetChangeProtectionCommand.ts index 1d39b8f5264a8..0e8b2a139ac1c 100644 --- a/clients/client-network-firewall/commands/UpdateSubnetChangeProtectionCommand.ts +++ b/clients/client-network-firewall/commands/UpdateSubnetChangeProtectionCommand.ts @@ -28,7 +28,6 @@ export class UpdateSubnetChangeProtectionCommand extends $Command< UpdateSubnetChangeProtectionCommandOutput, NetworkFirewallClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSubnetChangeProtectionCommand extends $Command< configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts b/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts index 1fc8a1f7f50af..a295998b8b24e 100644 --- a/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts +++ b/clients/client-networkmanager/commands/AssociateCustomerGatewayCommand.ts @@ -36,7 +36,6 @@ export class AssociateCustomerGatewayCommand extends $Command< AssociateCustomerGatewayCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssociateCustomerGatewayCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/AssociateLinkCommand.ts b/clients/client-networkmanager/commands/AssociateLinkCommand.ts index 577fd9f2828c6..8650fa15760f3 100644 --- a/clients/client-networkmanager/commands/AssociateLinkCommand.ts +++ b/clients/client-networkmanager/commands/AssociateLinkCommand.ts @@ -28,7 +28,6 @@ export class AssociateLinkCommand extends $Command< AssociateLinkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateLinkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/AssociateTransitGatewayConnectPeerCommand.ts b/clients/client-networkmanager/commands/AssociateTransitGatewayConnectPeerCommand.ts index a2d0d20c735ea..b4c8e99e89089 100644 --- a/clients/client-networkmanager/commands/AssociateTransitGatewayConnectPeerCommand.ts +++ b/clients/client-networkmanager/commands/AssociateTransitGatewayConnectPeerCommand.ts @@ -36,7 +36,6 @@ export class AssociateTransitGatewayConnectPeerCommand extends $Command< AssociateTransitGatewayConnectPeerCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssociateTransitGatewayConnectPeerCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/CreateConnectionCommand.ts b/clients/client-networkmanager/commands/CreateConnectionCommand.ts index 097e855e75bea..17fee433ec49e 100644 --- a/clients/client-networkmanager/commands/CreateConnectionCommand.ts +++ b/clients/client-networkmanager/commands/CreateConnectionCommand.ts @@ -28,7 +28,6 @@ export class CreateConnectionCommand extends $Command< CreateConnectionCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConnectionCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/CreateDeviceCommand.ts b/clients/client-networkmanager/commands/CreateDeviceCommand.ts index 4095744075e46..5d9a2e7b24e92 100644 --- a/clients/client-networkmanager/commands/CreateDeviceCommand.ts +++ b/clients/client-networkmanager/commands/CreateDeviceCommand.ts @@ -29,7 +29,6 @@ export class CreateDeviceCommand extends $Command< CreateDeviceCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDeviceCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts b/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts index b3dbc14c25552..c03d6eb9d6194 100644 --- a/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts +++ b/clients/client-networkmanager/commands/CreateGlobalNetworkCommand.ts @@ -28,7 +28,6 @@ export class CreateGlobalNetworkCommand extends $Command< CreateGlobalNetworkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGlobalNetworkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/CreateLinkCommand.ts b/clients/client-networkmanager/commands/CreateLinkCommand.ts index 90a0b07b9c53e..f64b7d3b85adc 100644 --- a/clients/client-networkmanager/commands/CreateLinkCommand.ts +++ b/clients/client-networkmanager/commands/CreateLinkCommand.ts @@ -28,7 +28,6 @@ export class CreateLinkCommand extends $Command< CreateLinkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLinkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/CreateSiteCommand.ts b/clients/client-networkmanager/commands/CreateSiteCommand.ts index 4530a9ed08c09..c90703ba8c019 100644 --- a/clients/client-networkmanager/commands/CreateSiteCommand.ts +++ b/clients/client-networkmanager/commands/CreateSiteCommand.ts @@ -28,7 +28,6 @@ export class CreateSiteCommand extends $Command< CreateSiteCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSiteCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DeleteConnectionCommand.ts b/clients/client-networkmanager/commands/DeleteConnectionCommand.ts index ee1ff56453721..8757a9a557c7f 100644 --- a/clients/client-networkmanager/commands/DeleteConnectionCommand.ts +++ b/clients/client-networkmanager/commands/DeleteConnectionCommand.ts @@ -28,7 +28,6 @@ export class DeleteConnectionCommand extends $Command< DeleteConnectionCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConnectionCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DeleteDeviceCommand.ts b/clients/client-networkmanager/commands/DeleteDeviceCommand.ts index c4de281e3e09f..86ccd47ca7e32 100644 --- a/clients/client-networkmanager/commands/DeleteDeviceCommand.ts +++ b/clients/client-networkmanager/commands/DeleteDeviceCommand.ts @@ -29,7 +29,6 @@ export class DeleteDeviceCommand extends $Command< DeleteDeviceCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDeviceCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts b/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts index e527dfa157cec..59622dd13653f 100644 --- a/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts +++ b/clients/client-networkmanager/commands/DeleteGlobalNetworkCommand.ts @@ -29,7 +29,6 @@ export class DeleteGlobalNetworkCommand extends $Command< DeleteGlobalNetworkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteGlobalNetworkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DeleteLinkCommand.ts b/clients/client-networkmanager/commands/DeleteLinkCommand.ts index 030bc77839d97..276ab00f411a6 100644 --- a/clients/client-networkmanager/commands/DeleteLinkCommand.ts +++ b/clients/client-networkmanager/commands/DeleteLinkCommand.ts @@ -29,7 +29,6 @@ export class DeleteLinkCommand extends $Command< DeleteLinkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteLinkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DeleteSiteCommand.ts b/clients/client-networkmanager/commands/DeleteSiteCommand.ts index 5e07c42522e88..13929bb64ab3e 100644 --- a/clients/client-networkmanager/commands/DeleteSiteCommand.ts +++ b/clients/client-networkmanager/commands/DeleteSiteCommand.ts @@ -28,7 +28,6 @@ export class DeleteSiteCommand extends $Command< DeleteSiteCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSiteCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts b/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts index 618587a07b309..18a96c6dcfc37 100644 --- a/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts +++ b/clients/client-networkmanager/commands/DeregisterTransitGatewayCommand.ts @@ -29,7 +29,6 @@ export class DeregisterTransitGatewayCommand extends $Command< DeregisterTransitGatewayCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeregisterTransitGatewayCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts b/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts index 6cb631345653c..8e13a0f864a8d 100644 --- a/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts +++ b/clients/client-networkmanager/commands/DescribeGlobalNetworksCommand.ts @@ -31,7 +31,6 @@ export class DescribeGlobalNetworksCommand extends $Command< DescribeGlobalNetworksCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeGlobalNetworksCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts b/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts index 70d86df19e864..0614178c71cea 100644 --- a/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts +++ b/clients/client-networkmanager/commands/DisassociateCustomerGatewayCommand.ts @@ -28,7 +28,6 @@ export class DisassociateCustomerGatewayCommand extends $Command< DisassociateCustomerGatewayCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateCustomerGatewayCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DisassociateLinkCommand.ts b/clients/client-networkmanager/commands/DisassociateLinkCommand.ts index 92785240baa5a..730ce76ecaa15 100644 --- a/clients/client-networkmanager/commands/DisassociateLinkCommand.ts +++ b/clients/client-networkmanager/commands/DisassociateLinkCommand.ts @@ -29,7 +29,6 @@ export class DisassociateLinkCommand extends $Command< DisassociateLinkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateLinkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/DisassociateTransitGatewayConnectPeerCommand.ts b/clients/client-networkmanager/commands/DisassociateTransitGatewayConnectPeerCommand.ts index 46bc9fd817064..968dff81d29c4 100644 --- a/clients/client-networkmanager/commands/DisassociateTransitGatewayConnectPeerCommand.ts +++ b/clients/client-networkmanager/commands/DisassociateTransitGatewayConnectPeerCommand.ts @@ -32,7 +32,6 @@ export class DisassociateTransitGatewayConnectPeerCommand extends $Command< DisassociateTransitGatewayConnectPeerCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateTransitGatewayConnectPeerCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetConnectionsCommand.ts b/clients/client-networkmanager/commands/GetConnectionsCommand.ts index e8e4a25561790..aa9bc1ff3ea35 100644 --- a/clients/client-networkmanager/commands/GetConnectionsCommand.ts +++ b/clients/client-networkmanager/commands/GetConnectionsCommand.ts @@ -28,7 +28,6 @@ export class GetConnectionsCommand extends $Command< GetConnectionsCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectionsCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts b/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts index 7af6f73333d4b..6372803d28b05 100644 --- a/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts +++ b/clients/client-networkmanager/commands/GetCustomerGatewayAssociationsCommand.ts @@ -29,7 +29,6 @@ export class GetCustomerGatewayAssociationsCommand extends $Command< GetCustomerGatewayAssociationsCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetCustomerGatewayAssociationsCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetDevicesCommand.ts b/clients/client-networkmanager/commands/GetDevicesCommand.ts index 3ea22366268cb..f80adb04827e2 100644 --- a/clients/client-networkmanager/commands/GetDevicesCommand.ts +++ b/clients/client-networkmanager/commands/GetDevicesCommand.ts @@ -28,7 +28,6 @@ export class GetDevicesCommand extends $Command< GetDevicesCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDevicesCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts b/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts index 9eff352bf1162..1dd8a4f43063f 100644 --- a/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts +++ b/clients/client-networkmanager/commands/GetLinkAssociationsCommand.ts @@ -29,7 +29,6 @@ export class GetLinkAssociationsCommand extends $Command< GetLinkAssociationsCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetLinkAssociationsCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetLinksCommand.ts b/clients/client-networkmanager/commands/GetLinksCommand.ts index c0d735c0cc218..b49bcb83b3912 100644 --- a/clients/client-networkmanager/commands/GetLinksCommand.ts +++ b/clients/client-networkmanager/commands/GetLinksCommand.ts @@ -29,7 +29,6 @@ export class GetLinksCommand extends $Command< GetLinksCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetLinksCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetSitesCommand.ts b/clients/client-networkmanager/commands/GetSitesCommand.ts index c7da5dd9ed2b3..3a06ea6b8c9f2 100644 --- a/clients/client-networkmanager/commands/GetSitesCommand.ts +++ b/clients/client-networkmanager/commands/GetSitesCommand.ts @@ -28,7 +28,6 @@ export class GetSitesCommand extends $Command< GetSitesCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSitesCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetTransitGatewayConnectPeerAssociationsCommand.ts b/clients/client-networkmanager/commands/GetTransitGatewayConnectPeerAssociationsCommand.ts index 793a6fe3d5d14..7d549240b0d52 100644 --- a/clients/client-networkmanager/commands/GetTransitGatewayConnectPeerAssociationsCommand.ts +++ b/clients/client-networkmanager/commands/GetTransitGatewayConnectPeerAssociationsCommand.ts @@ -32,7 +32,6 @@ export class GetTransitGatewayConnectPeerAssociationsCommand extends $Command< GetTransitGatewayConnectPeerAssociationsCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetTransitGatewayConnectPeerAssociationsCommand extends $Command< GetTransitGatewayConnectPeerAssociationsCommandInput, GetTransitGatewayConnectPeerAssociationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts b/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts index 8d22e83bfafee..0a5ce8d13c133 100644 --- a/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts +++ b/clients/client-networkmanager/commands/GetTransitGatewayRegistrationsCommand.ts @@ -29,7 +29,6 @@ export class GetTransitGatewayRegistrationsCommand extends $Command< GetTransitGatewayRegistrationsCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetTransitGatewayRegistrationsCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts b/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts index ccf12c25eab91..7553b4b3d40ee 100644 --- a/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts +++ b/clients/client-networkmanager/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts b/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts index 538723d6c8fc6..7e3f09c6fdd25 100644 --- a/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts +++ b/clients/client-networkmanager/commands/RegisterTransitGatewayCommand.ts @@ -30,7 +30,6 @@ export class RegisterTransitGatewayCommand extends $Command< RegisterTransitGatewayCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RegisterTransitGatewayCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/TagResourceCommand.ts b/clients/client-networkmanager/commands/TagResourceCommand.ts index efa95b8bb666e..bc008f0b18cf8 100644 --- a/clients/client-networkmanager/commands/TagResourceCommand.ts +++ b/clients/client-networkmanager/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/UntagResourceCommand.ts b/clients/client-networkmanager/commands/UntagResourceCommand.ts index 8614528c8250d..ee6a8744c7011 100644 --- a/clients/client-networkmanager/commands/UntagResourceCommand.ts +++ b/clients/client-networkmanager/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/UpdateConnectionCommand.ts b/clients/client-networkmanager/commands/UpdateConnectionCommand.ts index 580ffe23a0558..eee6824118a8c 100644 --- a/clients/client-networkmanager/commands/UpdateConnectionCommand.ts +++ b/clients/client-networkmanager/commands/UpdateConnectionCommand.ts @@ -29,7 +29,6 @@ export class UpdateConnectionCommand extends $Command< UpdateConnectionCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateConnectionCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/UpdateDeviceCommand.ts b/clients/client-networkmanager/commands/UpdateDeviceCommand.ts index c9cc39cc4d0eb..5e0d4b51acbd3 100644 --- a/clients/client-networkmanager/commands/UpdateDeviceCommand.ts +++ b/clients/client-networkmanager/commands/UpdateDeviceCommand.ts @@ -29,7 +29,6 @@ export class UpdateDeviceCommand extends $Command< UpdateDeviceCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDeviceCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts b/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts index 146dd6a3b0411..f94f67312c289 100644 --- a/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts +++ b/clients/client-networkmanager/commands/UpdateGlobalNetworkCommand.ts @@ -29,7 +29,6 @@ export class UpdateGlobalNetworkCommand extends $Command< UpdateGlobalNetworkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGlobalNetworkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/UpdateLinkCommand.ts b/clients/client-networkmanager/commands/UpdateLinkCommand.ts index a4ba1d721acdd..f42f00397ebbf 100644 --- a/clients/client-networkmanager/commands/UpdateLinkCommand.ts +++ b/clients/client-networkmanager/commands/UpdateLinkCommand.ts @@ -29,7 +29,6 @@ export class UpdateLinkCommand extends $Command< UpdateLinkCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateLinkCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-networkmanager/commands/UpdateSiteCommand.ts b/clients/client-networkmanager/commands/UpdateSiteCommand.ts index 454937a59702b..26da7ed09c5fa 100644 --- a/clients/client-networkmanager/commands/UpdateSiteCommand.ts +++ b/clients/client-networkmanager/commands/UpdateSiteCommand.ts @@ -29,7 +29,6 @@ export class UpdateSiteCommand extends $Command< UpdateSiteCommandOutput, NetworkManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateSiteCommand extends $Command< configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/AssignInstanceCommand.ts b/clients/client-opsworks/commands/AssignInstanceCommand.ts index d319c2a0f5f63..1973a443975f6 100644 --- a/clients/client-opsworks/commands/AssignInstanceCommand.ts +++ b/clients/client-opsworks/commands/AssignInstanceCommand.ts @@ -45,7 +45,6 @@ export class AssignInstanceCommand extends $Command< AssignInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class AssignInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/AssignVolumeCommand.ts b/clients/client-opsworks/commands/AssignVolumeCommand.ts index 4edc7a6787f94..3bd538a221422 100644 --- a/clients/client-opsworks/commands/AssignVolumeCommand.ts +++ b/clients/client-opsworks/commands/AssignVolumeCommand.ts @@ -36,7 +36,6 @@ export class AssignVolumeCommand extends $Command< AssignVolumeCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssignVolumeCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/AssociateElasticIpCommand.ts b/clients/client-opsworks/commands/AssociateElasticIpCommand.ts index 73b75a541e5da..c588dd4472da6 100644 --- a/clients/client-opsworks/commands/AssociateElasticIpCommand.ts +++ b/clients/client-opsworks/commands/AssociateElasticIpCommand.ts @@ -36,7 +36,6 @@ export class AssociateElasticIpCommand extends $Command< AssociateElasticIpCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssociateElasticIpCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts b/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts index 10560545ec835..ed501c6441f6f 100644 --- a/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts +++ b/clients/client-opsworks/commands/AttachElasticLoadBalancerCommand.ts @@ -41,7 +41,6 @@ export class AttachElasticLoadBalancerCommand extends $Command< AttachElasticLoadBalancerCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class AttachElasticLoadBalancerCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CloneStackCommand.ts b/clients/client-opsworks/commands/CloneStackCommand.ts index 9d661ab9d9e71..65b0fa646464b 100644 --- a/clients/client-opsworks/commands/CloneStackCommand.ts +++ b/clients/client-opsworks/commands/CloneStackCommand.ts @@ -33,7 +33,6 @@ export class CloneStackCommand extends $Command< CloneStackCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CloneStackCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CreateAppCommand.ts b/clients/client-opsworks/commands/CreateAppCommand.ts index 2d776eebf2696..b24673dfaa6e0 100644 --- a/clients/client-opsworks/commands/CreateAppCommand.ts +++ b/clients/client-opsworks/commands/CreateAppCommand.ts @@ -31,7 +31,6 @@ export class CreateAppCommand extends $Command< CreateAppCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateAppCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CreateDeploymentCommand.ts b/clients/client-opsworks/commands/CreateDeploymentCommand.ts index 3f1346a0ccac5..83ab5adf1e2a5 100644 --- a/clients/client-opsworks/commands/CreateDeploymentCommand.ts +++ b/clients/client-opsworks/commands/CreateDeploymentCommand.ts @@ -34,7 +34,6 @@ export class CreateDeploymentCommand extends $Command< CreateDeploymentCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDeploymentCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CreateInstanceCommand.ts b/clients/client-opsworks/commands/CreateInstanceCommand.ts index 851b34a0b2904..a88f4f9b36ecd 100644 --- a/clients/client-opsworks/commands/CreateInstanceCommand.ts +++ b/clients/client-opsworks/commands/CreateInstanceCommand.ts @@ -34,7 +34,6 @@ export class CreateInstanceCommand extends $Command< CreateInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CreateLayerCommand.ts b/clients/client-opsworks/commands/CreateLayerCommand.ts index 78522d0c31a92..14bbc5f1ed1d9 100644 --- a/clients/client-opsworks/commands/CreateLayerCommand.ts +++ b/clients/client-opsworks/commands/CreateLayerCommand.ts @@ -41,7 +41,6 @@ export class CreateLayerCommand extends $Command< CreateLayerCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateLayerCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CreateStackCommand.ts b/clients/client-opsworks/commands/CreateStackCommand.ts index 490723924b920..58c6959aa3148 100644 --- a/clients/client-opsworks/commands/CreateStackCommand.ts +++ b/clients/client-opsworks/commands/CreateStackCommand.ts @@ -33,7 +33,6 @@ export class CreateStackCommand extends $Command< CreateStackCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateStackCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/CreateUserProfileCommand.ts b/clients/client-opsworks/commands/CreateUserProfileCommand.ts index 7489dc5c48a80..bb72432dbf637 100644 --- a/clients/client-opsworks/commands/CreateUserProfileCommand.ts +++ b/clients/client-opsworks/commands/CreateUserProfileCommand.ts @@ -32,7 +32,6 @@ export class CreateUserProfileCommand extends $Command< CreateUserProfileCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateUserProfileCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeleteAppCommand.ts b/clients/client-opsworks/commands/DeleteAppCommand.ts index 998fdb612a929..e0de0f2e64653 100644 --- a/clients/client-opsworks/commands/DeleteAppCommand.ts +++ b/clients/client-opsworks/commands/DeleteAppCommand.ts @@ -30,7 +30,6 @@ export class DeleteAppCommand extends $Command< DeleteAppCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAppCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeleteInstanceCommand.ts b/clients/client-opsworks/commands/DeleteInstanceCommand.ts index ea33e07b32015..f9d7f261c67aa 100644 --- a/clients/client-opsworks/commands/DeleteInstanceCommand.ts +++ b/clients/client-opsworks/commands/DeleteInstanceCommand.ts @@ -35,7 +35,6 @@ export class DeleteInstanceCommand extends $Command< DeleteInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeleteLayerCommand.ts b/clients/client-opsworks/commands/DeleteLayerCommand.ts index 88440c9333f25..dcc6f65f5ce07 100644 --- a/clients/client-opsworks/commands/DeleteLayerCommand.ts +++ b/clients/client-opsworks/commands/DeleteLayerCommand.ts @@ -35,7 +35,6 @@ export class DeleteLayerCommand extends $Command< DeleteLayerCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteLayerCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeleteStackCommand.ts b/clients/client-opsworks/commands/DeleteStackCommand.ts index 85b5d32e07b2b..a029bb89dc9c4 100644 --- a/clients/client-opsworks/commands/DeleteStackCommand.ts +++ b/clients/client-opsworks/commands/DeleteStackCommand.ts @@ -35,7 +35,6 @@ export class DeleteStackCommand extends $Command< DeleteStackCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteStackCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeleteUserProfileCommand.ts b/clients/client-opsworks/commands/DeleteUserProfileCommand.ts index a9673f32aa279..27f90c959d1a6 100644 --- a/clients/client-opsworks/commands/DeleteUserProfileCommand.ts +++ b/clients/client-opsworks/commands/DeleteUserProfileCommand.ts @@ -32,7 +32,6 @@ export class DeleteUserProfileCommand extends $Command< DeleteUserProfileCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteUserProfileCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts b/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts index 4d1f5c51d1584..0c07a1dbc79b1 100644 --- a/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts +++ b/clients/client-opsworks/commands/DeregisterEcsClusterCommand.ts @@ -36,7 +36,6 @@ export class DeregisterEcsClusterCommand extends $Command< DeregisterEcsClusterCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeregisterEcsClusterCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts b/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts index b4d133cbadfd8..4e3b99b3d044e 100644 --- a/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts +++ b/clients/client-opsworks/commands/DeregisterElasticIpCommand.ts @@ -34,7 +34,6 @@ export class DeregisterElasticIpCommand extends $Command< DeregisterElasticIpCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeregisterElasticIpCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeregisterInstanceCommand.ts b/clients/client-opsworks/commands/DeregisterInstanceCommand.ts index a8d555eb9a8dd..181bd6f363965 100644 --- a/clients/client-opsworks/commands/DeregisterInstanceCommand.ts +++ b/clients/client-opsworks/commands/DeregisterInstanceCommand.ts @@ -35,7 +35,6 @@ export class DeregisterInstanceCommand extends $Command< DeregisterInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeregisterInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts b/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts index 49a87ab9dc064..c4c9fae35fea9 100644 --- a/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts +++ b/clients/client-opsworks/commands/DeregisterRdsDbInstanceCommand.ts @@ -33,7 +33,6 @@ export class DeregisterRdsDbInstanceCommand extends $Command< DeregisterRdsDbInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeregisterRdsDbInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DeregisterVolumeCommand.ts b/clients/client-opsworks/commands/DeregisterVolumeCommand.ts index 5a02b6d64fb55..0dceceec30acd 100644 --- a/clients/client-opsworks/commands/DeregisterVolumeCommand.ts +++ b/clients/client-opsworks/commands/DeregisterVolumeCommand.ts @@ -35,7 +35,6 @@ export class DeregisterVolumeCommand extends $Command< DeregisterVolumeCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeregisterVolumeCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts b/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts index d3e3d95c5cef0..1780bdb58cfa0 100644 --- a/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts +++ b/clients/client-opsworks/commands/DescribeAgentVersionsCommand.ts @@ -30,7 +30,6 @@ export class DescribeAgentVersionsCommand extends $Command< DescribeAgentVersionsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAgentVersionsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeAppsCommand.ts b/clients/client-opsworks/commands/DescribeAppsCommand.ts index 19201e8dc8ea4..26c1d89f1ed09 100644 --- a/clients/client-opsworks/commands/DescribeAppsCommand.ts +++ b/clients/client-opsworks/commands/DescribeAppsCommand.ts @@ -36,7 +36,6 @@ export class DescribeAppsCommand extends $Command< DescribeAppsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeAppsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeCommandsCommand.ts b/clients/client-opsworks/commands/DescribeCommandsCommand.ts index 0428df778cd7b..ca481bb87132b 100644 --- a/clients/client-opsworks/commands/DescribeCommandsCommand.ts +++ b/clients/client-opsworks/commands/DescribeCommandsCommand.ts @@ -36,7 +36,6 @@ export class DescribeCommandsCommand extends $Command< DescribeCommandsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeCommandsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts b/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts index bfbb305909e58..3a639a76e2276 100644 --- a/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts +++ b/clients/client-opsworks/commands/DescribeDeploymentsCommand.ts @@ -36,7 +36,6 @@ export class DescribeDeploymentsCommand extends $Command< DescribeDeploymentsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeDeploymentsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts b/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts index 9126e437b6f48..04877780d5e57 100644 --- a/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts +++ b/clients/client-opsworks/commands/DescribeEcsClustersCommand.ts @@ -37,7 +37,6 @@ export class DescribeEcsClustersCommand extends $Command< DescribeEcsClustersCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeEcsClustersCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts b/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts index 2fc2241c5e836..65dd7d7fb96d8 100644 --- a/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts +++ b/clients/client-opsworks/commands/DescribeElasticIpsCommand.ts @@ -36,7 +36,6 @@ export class DescribeElasticIpsCommand extends $Command< DescribeElasticIpsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeElasticIpsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts b/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts index 2f9d4a438766c..95e0e0982b70c 100644 --- a/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts +++ b/clients/client-opsworks/commands/DescribeElasticLoadBalancersCommand.ts @@ -36,7 +36,6 @@ export class DescribeElasticLoadBalancersCommand extends $Command< DescribeElasticLoadBalancersCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeElasticLoadBalancersCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeInstancesCommand.ts b/clients/client-opsworks/commands/DescribeInstancesCommand.ts index b3ac1da130e4e..8d9a6a31cbcc0 100644 --- a/clients/client-opsworks/commands/DescribeInstancesCommand.ts +++ b/clients/client-opsworks/commands/DescribeInstancesCommand.ts @@ -36,7 +36,6 @@ export class DescribeInstancesCommand extends $Command< DescribeInstancesCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeInstancesCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeLayersCommand.ts b/clients/client-opsworks/commands/DescribeLayersCommand.ts index 7385b83081284..1254480f94e17 100644 --- a/clients/client-opsworks/commands/DescribeLayersCommand.ts +++ b/clients/client-opsworks/commands/DescribeLayersCommand.ts @@ -36,7 +36,6 @@ export class DescribeLayersCommand extends $Command< DescribeLayersCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeLayersCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts index 3c3ba41215707..875dc566bc9bf 100644 --- a/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/DescribeLoadBasedAutoScalingCommand.ts @@ -36,7 +36,6 @@ export class DescribeLoadBasedAutoScalingCommand extends $Command< DescribeLoadBasedAutoScalingCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeLoadBasedAutoScalingCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts b/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts index d11e68c2f553b..1402df9969f03 100644 --- a/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts +++ b/clients/client-opsworks/commands/DescribeMyUserProfileCommand.ts @@ -33,7 +33,6 @@ export class DescribeMyUserProfileCommand extends $Command< DescribeMyUserProfileCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeMyUserProfileCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts b/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts index 32b72e9eb1ea6..26ed332c803dd 100644 --- a/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts +++ b/clients/client-opsworks/commands/DescribeOperatingSystemsCommand.ts @@ -28,7 +28,6 @@ export class DescribeOperatingSystemsCommand extends $Command< DescribeOperatingSystemsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOperatingSystemsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribePermissionsCommand.ts b/clients/client-opsworks/commands/DescribePermissionsCommand.ts index d24abbc13898d..a9bd49aa42e9e 100644 --- a/clients/client-opsworks/commands/DescribePermissionsCommand.ts +++ b/clients/client-opsworks/commands/DescribePermissionsCommand.ts @@ -33,7 +33,6 @@ export class DescribePermissionsCommand extends $Command< DescribePermissionsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribePermissionsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts b/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts index 76f019636a88c..874dba65c23e3 100644 --- a/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts +++ b/clients/client-opsworks/commands/DescribeRaidArraysCommand.ts @@ -36,7 +36,6 @@ export class DescribeRaidArraysCommand extends $Command< DescribeRaidArraysCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeRaidArraysCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts b/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts index 4946d0bb47f6a..69c5a0905290b 100644 --- a/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts +++ b/clients/client-opsworks/commands/DescribeRdsDbInstancesCommand.ts @@ -34,7 +34,6 @@ export class DescribeRdsDbInstancesCommand extends $Command< DescribeRdsDbInstancesCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeRdsDbInstancesCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts b/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts index 744443a6c8ef4..36685710f366b 100644 --- a/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts +++ b/clients/client-opsworks/commands/DescribeServiceErrorsCommand.ts @@ -34,7 +34,6 @@ export class DescribeServiceErrorsCommand extends $Command< DescribeServiceErrorsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeServiceErrorsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts b/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts index 39bcf58928881..71a6f9f87d467 100644 --- a/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts +++ b/clients/client-opsworks/commands/DescribeStackProvisioningParametersCommand.ts @@ -37,7 +37,6 @@ export class DescribeStackProvisioningParametersCommand extends $Command< DescribeStackProvisioningParametersCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeStackProvisioningParametersCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts b/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts index b0d05049283cf..9dde4899811c7 100644 --- a/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts +++ b/clients/client-opsworks/commands/DescribeStackSummaryCommand.ts @@ -34,7 +34,6 @@ export class DescribeStackSummaryCommand extends $Command< DescribeStackSummaryCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeStackSummaryCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeStacksCommand.ts b/clients/client-opsworks/commands/DescribeStacksCommand.ts index cc64f27bb8878..a8f1957917d60 100644 --- a/clients/client-opsworks/commands/DescribeStacksCommand.ts +++ b/clients/client-opsworks/commands/DescribeStacksCommand.ts @@ -33,7 +33,6 @@ export class DescribeStacksCommand extends $Command< DescribeStacksCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeStacksCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts index 95302d6dc1ee2..f811a1ad5ffd7 100644 --- a/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/DescribeTimeBasedAutoScalingCommand.ts @@ -36,7 +36,6 @@ export class DescribeTimeBasedAutoScalingCommand extends $Command< DescribeTimeBasedAutoScalingCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeTimeBasedAutoScalingCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts b/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts index 3be8bdaa1e400..203525b640852 100644 --- a/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts +++ b/clients/client-opsworks/commands/DescribeUserProfilesCommand.ts @@ -32,7 +32,6 @@ export class DescribeUserProfilesCommand extends $Command< DescribeUserProfilesCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeUserProfilesCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DescribeVolumesCommand.ts b/clients/client-opsworks/commands/DescribeVolumesCommand.ts index 21a367f64b606..86ab996c4c3f2 100644 --- a/clients/client-opsworks/commands/DescribeVolumesCommand.ts +++ b/clients/client-opsworks/commands/DescribeVolumesCommand.ts @@ -36,7 +36,6 @@ export class DescribeVolumesCommand extends $Command< DescribeVolumesCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeVolumesCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts b/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts index 276e8deade597..61c14dc9fdfd3 100644 --- a/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts +++ b/clients/client-opsworks/commands/DetachElasticLoadBalancerCommand.ts @@ -33,7 +33,6 @@ export class DetachElasticLoadBalancerCommand extends $Command< DetachElasticLoadBalancerCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DetachElasticLoadBalancerCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts b/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts index 41d6515ef3ea4..7dbdd51a138d7 100644 --- a/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts +++ b/clients/client-opsworks/commands/DisassociateElasticIpCommand.ts @@ -34,7 +34,6 @@ export class DisassociateElasticIpCommand extends $Command< DisassociateElasticIpCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DisassociateElasticIpCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts b/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts index b8af953fa1b09..5455af143a36e 100644 --- a/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts +++ b/clients/client-opsworks/commands/GetHostnameSuggestionCommand.ts @@ -33,7 +33,6 @@ export class GetHostnameSuggestionCommand extends $Command< GetHostnameSuggestionCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetHostnameSuggestionCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/GrantAccessCommand.ts b/clients/client-opsworks/commands/GrantAccessCommand.ts index 4a37ef883fcdc..d740dc63fa08a 100644 --- a/clients/client-opsworks/commands/GrantAccessCommand.ts +++ b/clients/client-opsworks/commands/GrantAccessCommand.ts @@ -31,7 +31,6 @@ export class GrantAccessCommand extends $Command< GrantAccessCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GrantAccessCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/ListTagsCommand.ts b/clients/client-opsworks/commands/ListTagsCommand.ts index 6e8fe33da0b11..54cf3063259de 100644 --- a/clients/client-opsworks/commands/ListTagsCommand.ts +++ b/clients/client-opsworks/commands/ListTagsCommand.ts @@ -25,7 +25,6 @@ export class ListTagsCommand extends $Command< ListTagsCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTagsCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/RebootInstanceCommand.ts b/clients/client-opsworks/commands/RebootInstanceCommand.ts index e050eba11920c..76abfb7b3f43d 100644 --- a/clients/client-opsworks/commands/RebootInstanceCommand.ts +++ b/clients/client-opsworks/commands/RebootInstanceCommand.ts @@ -34,7 +34,6 @@ export class RebootInstanceCommand extends $Command< RebootInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RebootInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts b/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts index 88a75e2756118..0b0878cfbf071 100644 --- a/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts +++ b/clients/client-opsworks/commands/RegisterEcsClusterCommand.ts @@ -38,7 +38,6 @@ export class RegisterEcsClusterCommand extends $Command< RegisterEcsClusterCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class RegisterEcsClusterCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/RegisterElasticIpCommand.ts b/clients/client-opsworks/commands/RegisterElasticIpCommand.ts index af686715f0a1c..dc3b55728a1c0 100644 --- a/clients/client-opsworks/commands/RegisterElasticIpCommand.ts +++ b/clients/client-opsworks/commands/RegisterElasticIpCommand.ts @@ -35,7 +35,6 @@ export class RegisterElasticIpCommand extends $Command< RegisterElasticIpCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RegisterElasticIpCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/RegisterInstanceCommand.ts b/clients/client-opsworks/commands/RegisterInstanceCommand.ts index cd4c948f0f3cc..39d25482eaa25 100644 --- a/clients/client-opsworks/commands/RegisterInstanceCommand.ts +++ b/clients/client-opsworks/commands/RegisterInstanceCommand.ts @@ -46,7 +46,6 @@ export class RegisterInstanceCommand extends $Command< RegisterInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class RegisterInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts b/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts index 2e4973255ef7a..28ed2babfbd91 100644 --- a/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts +++ b/clients/client-opsworks/commands/RegisterRdsDbInstanceCommand.ts @@ -33,7 +33,6 @@ export class RegisterRdsDbInstanceCommand extends $Command< RegisterRdsDbInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RegisterRdsDbInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/RegisterVolumeCommand.ts b/clients/client-opsworks/commands/RegisterVolumeCommand.ts index 51dfac7ce9390..4def105d7b3e6 100644 --- a/clients/client-opsworks/commands/RegisterVolumeCommand.ts +++ b/clients/client-opsworks/commands/RegisterVolumeCommand.ts @@ -35,7 +35,6 @@ export class RegisterVolumeCommand extends $Command< RegisterVolumeCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RegisterVolumeCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts index ce1ecd77f3ead..2917e7f7e71d1 100644 --- a/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/SetLoadBasedAutoScalingCommand.ts @@ -38,7 +38,6 @@ export class SetLoadBasedAutoScalingCommand extends $Command< SetLoadBasedAutoScalingCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class SetLoadBasedAutoScalingCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/SetPermissionCommand.ts b/clients/client-opsworks/commands/SetPermissionCommand.ts index a67e3176342c9..7a3908f601de6 100644 --- a/clients/client-opsworks/commands/SetPermissionCommand.ts +++ b/clients/client-opsworks/commands/SetPermissionCommand.ts @@ -34,7 +34,6 @@ export class SetPermissionCommand extends $Command< SetPermissionCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SetPermissionCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts b/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts index ce97b3227a619..8a1be35e2055d 100644 --- a/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts +++ b/clients/client-opsworks/commands/SetTimeBasedAutoScalingCommand.ts @@ -35,7 +35,6 @@ export class SetTimeBasedAutoScalingCommand extends $Command< SetTimeBasedAutoScalingCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class SetTimeBasedAutoScalingCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/StartInstanceCommand.ts b/clients/client-opsworks/commands/StartInstanceCommand.ts index bad07cb19eb4d..95e430f95184b 100644 --- a/clients/client-opsworks/commands/StartInstanceCommand.ts +++ b/clients/client-opsworks/commands/StartInstanceCommand.ts @@ -34,7 +34,6 @@ export class StartInstanceCommand extends $Command< StartInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StartInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/StartStackCommand.ts b/clients/client-opsworks/commands/StartStackCommand.ts index 9fea9565f2709..c510f1e812345 100644 --- a/clients/client-opsworks/commands/StartStackCommand.ts +++ b/clients/client-opsworks/commands/StartStackCommand.ts @@ -33,7 +33,6 @@ export class StartStackCommand extends $Command< StartStackCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartStackCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/StopInstanceCommand.ts b/clients/client-opsworks/commands/StopInstanceCommand.ts index 1d7bad6b9605a..02751127da25f 100644 --- a/clients/client-opsworks/commands/StopInstanceCommand.ts +++ b/clients/client-opsworks/commands/StopInstanceCommand.ts @@ -36,7 +36,6 @@ export class StopInstanceCommand extends $Command< StopInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StopInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/StopStackCommand.ts b/clients/client-opsworks/commands/StopStackCommand.ts index 6afa92d95a4c4..10d3fc3e3148b 100644 --- a/clients/client-opsworks/commands/StopStackCommand.ts +++ b/clients/client-opsworks/commands/StopStackCommand.ts @@ -30,7 +30,6 @@ export class StopStackCommand extends $Command< StopStackCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StopStackCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/TagResourceCommand.ts b/clients/client-opsworks/commands/TagResourceCommand.ts index 3f713db4b3a77..47d64fdc7c24d 100644 --- a/clients/client-opsworks/commands/TagResourceCommand.ts +++ b/clients/client-opsworks/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UnassignInstanceCommand.ts b/clients/client-opsworks/commands/UnassignInstanceCommand.ts index 9c02e3e525152..dad4af6921e16 100644 --- a/clients/client-opsworks/commands/UnassignInstanceCommand.ts +++ b/clients/client-opsworks/commands/UnassignInstanceCommand.ts @@ -36,7 +36,6 @@ export class UnassignInstanceCommand extends $Command< UnassignInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UnassignInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UnassignVolumeCommand.ts b/clients/client-opsworks/commands/UnassignVolumeCommand.ts index c4a38ca7f1622..9d6b542e9d2bc 100644 --- a/clients/client-opsworks/commands/UnassignVolumeCommand.ts +++ b/clients/client-opsworks/commands/UnassignVolumeCommand.ts @@ -35,7 +35,6 @@ export class UnassignVolumeCommand extends $Command< UnassignVolumeCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UnassignVolumeCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UntagResourceCommand.ts b/clients/client-opsworks/commands/UntagResourceCommand.ts index d51454253a4ad..7a3d0fa91bb3d 100644 --- a/clients/client-opsworks/commands/UntagResourceCommand.ts +++ b/clients/client-opsworks/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateAppCommand.ts b/clients/client-opsworks/commands/UpdateAppCommand.ts index 6e6e49eaca962..979c19efd8b65 100644 --- a/clients/client-opsworks/commands/UpdateAppCommand.ts +++ b/clients/client-opsworks/commands/UpdateAppCommand.ts @@ -30,7 +30,6 @@ export class UpdateAppCommand extends $Command< UpdateAppCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateAppCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateElasticIpCommand.ts b/clients/client-opsworks/commands/UpdateElasticIpCommand.ts index 15f9e946874cc..fa481e13de94b 100644 --- a/clients/client-opsworks/commands/UpdateElasticIpCommand.ts +++ b/clients/client-opsworks/commands/UpdateElasticIpCommand.ts @@ -33,7 +33,6 @@ export class UpdateElasticIpCommand extends $Command< UpdateElasticIpCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateElasticIpCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateInstanceCommand.ts b/clients/client-opsworks/commands/UpdateInstanceCommand.ts index 45ebcf17fa557..6054f2b7d8cd1 100644 --- a/clients/client-opsworks/commands/UpdateInstanceCommand.ts +++ b/clients/client-opsworks/commands/UpdateInstanceCommand.ts @@ -33,7 +33,6 @@ export class UpdateInstanceCommand extends $Command< UpdateInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateLayerCommand.ts b/clients/client-opsworks/commands/UpdateLayerCommand.ts index ecb73133ff0fd..9b19e4362db9c 100644 --- a/clients/client-opsworks/commands/UpdateLayerCommand.ts +++ b/clients/client-opsworks/commands/UpdateLayerCommand.ts @@ -33,7 +33,6 @@ export class UpdateLayerCommand extends $Command< UpdateLayerCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateLayerCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts b/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts index 0a98e919e84ac..bc75c277af514 100644 --- a/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts +++ b/clients/client-opsworks/commands/UpdateMyUserProfileCommand.ts @@ -33,7 +33,6 @@ export class UpdateMyUserProfileCommand extends $Command< UpdateMyUserProfileCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateMyUserProfileCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts b/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts index 8ac591f710e5d..4520d42971967 100644 --- a/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts +++ b/clients/client-opsworks/commands/UpdateRdsDbInstanceCommand.ts @@ -33,7 +33,6 @@ export class UpdateRdsDbInstanceCommand extends $Command< UpdateRdsDbInstanceCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateRdsDbInstanceCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateStackCommand.ts b/clients/client-opsworks/commands/UpdateStackCommand.ts index d960d548a77d7..15ae644f176a6 100644 --- a/clients/client-opsworks/commands/UpdateStackCommand.ts +++ b/clients/client-opsworks/commands/UpdateStackCommand.ts @@ -33,7 +33,6 @@ export class UpdateStackCommand extends $Command< UpdateStackCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateStackCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateUserProfileCommand.ts b/clients/client-opsworks/commands/UpdateUserProfileCommand.ts index f1f511c0f4d64..dfc4f1e66b9e5 100644 --- a/clients/client-opsworks/commands/UpdateUserProfileCommand.ts +++ b/clients/client-opsworks/commands/UpdateUserProfileCommand.ts @@ -32,7 +32,6 @@ export class UpdateUserProfileCommand extends $Command< UpdateUserProfileCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateUserProfileCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworks/commands/UpdateVolumeCommand.ts b/clients/client-opsworks/commands/UpdateVolumeCommand.ts index e25e589ba203f..8babb47578532 100644 --- a/clients/client-opsworks/commands/UpdateVolumeCommand.ts +++ b/clients/client-opsworks/commands/UpdateVolumeCommand.ts @@ -33,7 +33,6 @@ export class UpdateVolumeCommand extends $Command< UpdateVolumeCommandOutput, OpsWorksClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateVolumeCommand extends $Command< configuration: OpsWorksClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/AssociateNodeCommand.ts b/clients/client-opsworkscm/commands/AssociateNodeCommand.ts index 1ececb67d32fd..6c814a52cff99 100644 --- a/clients/client-opsworkscm/commands/AssociateNodeCommand.ts +++ b/clients/client-opsworkscm/commands/AssociateNodeCommand.ts @@ -44,7 +44,6 @@ export class AssociateNodeCommand extends $Command< AssociateNodeCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class AssociateNodeCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/CreateBackupCommand.ts b/clients/client-opsworkscm/commands/CreateBackupCommand.ts index 64da3a365a4e4..da515011f23f2 100644 --- a/clients/client-opsworkscm/commands/CreateBackupCommand.ts +++ b/clients/client-opsworkscm/commands/CreateBackupCommand.ts @@ -45,7 +45,6 @@ export class CreateBackupCommand extends $Command< CreateBackupCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateBackupCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/CreateServerCommand.ts b/clients/client-opsworkscm/commands/CreateServerCommand.ts index b6434a2fa500b..fccce0a3290f1 100644 --- a/clients/client-opsworkscm/commands/CreateServerCommand.ts +++ b/clients/client-opsworkscm/commands/CreateServerCommand.ts @@ -55,7 +55,6 @@ export class CreateServerCommand extends $Command< CreateServerCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CreateServerCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DeleteBackupCommand.ts b/clients/client-opsworkscm/commands/DeleteBackupCommand.ts index 951c5a216248b..7653ae9428ea6 100644 --- a/clients/client-opsworkscm/commands/DeleteBackupCommand.ts +++ b/clients/client-opsworkscm/commands/DeleteBackupCommand.ts @@ -35,7 +35,6 @@ export class DeleteBackupCommand extends $Command< DeleteBackupCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteBackupCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DeleteServerCommand.ts b/clients/client-opsworkscm/commands/DeleteServerCommand.ts index 8b72022ba122a..452b6e99cc67e 100644 --- a/clients/client-opsworkscm/commands/DeleteServerCommand.ts +++ b/clients/client-opsworkscm/commands/DeleteServerCommand.ts @@ -43,7 +43,6 @@ export class DeleteServerCommand extends $Command< DeleteServerCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DeleteServerCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts b/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts index e4763f68e947b..21583888ae56b 100644 --- a/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeAccountAttributesCommand.ts @@ -33,7 +33,6 @@ export class DescribeAccountAttributesCommand extends $Command< DescribeAccountAttributesCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeAccountAttributesCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts b/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts index 0b385bcb79c67..c7e204ac1272d 100644 --- a/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeBackupsCommand.ts @@ -38,7 +38,6 @@ export class DescribeBackupsCommand extends $Command< DescribeBackupsCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeBackupsCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DescribeEventsCommand.ts b/clients/client-opsworkscm/commands/DescribeEventsCommand.ts index a6bfe20de4a30..2f8028e969947 100644 --- a/clients/client-opsworkscm/commands/DescribeEventsCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeEventsCommand.ts @@ -37,7 +37,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeEventsCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts b/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts index 78864181dbb8b..27328f6bb288e 100644 --- a/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeNodeAssociationStatusCommand.ts @@ -34,7 +34,6 @@ export class DescribeNodeAssociationStatusCommand extends $Command< DescribeNodeAssociationStatusCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeNodeAssociationStatusCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DescribeServersCommand.ts b/clients/client-opsworkscm/commands/DescribeServersCommand.ts index de9affea81940..8ec101461bd31 100644 --- a/clients/client-opsworkscm/commands/DescribeServersCommand.ts +++ b/clients/client-opsworkscm/commands/DescribeServersCommand.ts @@ -39,7 +39,6 @@ export class DescribeServersCommand extends $Command< DescribeServersCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeServersCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts b/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts index ec42a9aeed7df..70b948d687d46 100644 --- a/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts +++ b/clients/client-opsworkscm/commands/DisassociateNodeCommand.ts @@ -35,7 +35,6 @@ export class DisassociateNodeCommand extends $Command< DisassociateNodeCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociateNodeCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts b/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts index 8114235465089..4b48f46056015 100644 --- a/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts +++ b/clients/client-opsworkscm/commands/ExportServerEngineAttributeCommand.ts @@ -39,7 +39,6 @@ export class ExportServerEngineAttributeCommand extends $Command< ExportServerEngineAttributeCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ExportServerEngineAttributeCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts b/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts index d57bd9e6cdbb0..6aad6a8412f69 100644 --- a/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-opsworkscm/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/RestoreServerCommand.ts b/clients/client-opsworkscm/commands/RestoreServerCommand.ts index 0dcaab70dbf78..6ff397e765865 100644 --- a/clients/client-opsworkscm/commands/RestoreServerCommand.ts +++ b/clients/client-opsworkscm/commands/RestoreServerCommand.ts @@ -42,7 +42,6 @@ export class RestoreServerCommand extends $Command< RestoreServerCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class RestoreServerCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts b/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts index 21a5731adedf7..fb54cab39b2e2 100644 --- a/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts +++ b/clients/client-opsworkscm/commands/StartMaintenanceCommand.ts @@ -35,7 +35,6 @@ export class StartMaintenanceCommand extends $Command< StartMaintenanceCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartMaintenanceCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/TagResourceCommand.ts b/clients/client-opsworkscm/commands/TagResourceCommand.ts index 4a5d9c4616603..08a6330b60c11 100644 --- a/clients/client-opsworkscm/commands/TagResourceCommand.ts +++ b/clients/client-opsworkscm/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/UntagResourceCommand.ts b/clients/client-opsworkscm/commands/UntagResourceCommand.ts index 348145e2903eb..4f301c66e0067 100644 --- a/clients/client-opsworkscm/commands/UntagResourceCommand.ts +++ b/clients/client-opsworkscm/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/UpdateServerCommand.ts b/clients/client-opsworkscm/commands/UpdateServerCommand.ts index 42656d4596b89..a9162d90d0e9e 100644 --- a/clients/client-opsworkscm/commands/UpdateServerCommand.ts +++ b/clients/client-opsworkscm/commands/UpdateServerCommand.ts @@ -33,7 +33,6 @@ export class UpdateServerCommand extends $Command< UpdateServerCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateServerCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts b/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts index 7d99687116049..4afb6823cdf47 100644 --- a/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts +++ b/clients/client-opsworkscm/commands/UpdateServerEngineAttributesCommand.ts @@ -41,7 +41,6 @@ export class UpdateServerEngineAttributesCommand extends $Command< UpdateServerEngineAttributesCommandOutput, OpsWorksCMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class UpdateServerEngineAttributesCommand extends $Command< configuration: OpsWorksCMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/AcceptHandshakeCommand.ts b/clients/client-organizations/commands/AcceptHandshakeCommand.ts index 591a7c2f4d622..499f5623d3562 100644 --- a/clients/client-organizations/commands/AcceptHandshakeCommand.ts +++ b/clients/client-organizations/commands/AcceptHandshakeCommand.ts @@ -57,7 +57,6 @@ export class AcceptHandshakeCommand extends $Command< AcceptHandshakeCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class AcceptHandshakeCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/AttachPolicyCommand.ts b/clients/client-organizations/commands/AttachPolicyCommand.ts index f03258f8c9d6f..4f2ff020dfc67 100644 --- a/clients/client-organizations/commands/AttachPolicyCommand.ts +++ b/clients/client-organizations/commands/AttachPolicyCommand.ts @@ -53,7 +53,6 @@ export class AttachPolicyCommand extends $Command< AttachPolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class AttachPolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/CancelHandshakeCommand.ts b/clients/client-organizations/commands/CancelHandshakeCommand.ts index 6ad50450a3287..e8e0b46e6173b 100644 --- a/clients/client-organizations/commands/CancelHandshakeCommand.ts +++ b/clients/client-organizations/commands/CancelHandshakeCommand.ts @@ -33,7 +33,6 @@ export class CancelHandshakeCommand extends $Command< CancelHandshakeCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CancelHandshakeCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/CreateAccountCommand.ts b/clients/client-organizations/commands/CreateAccountCommand.ts index 65d038237f0ff..55eab251af7c3 100644 --- a/clients/client-organizations/commands/CreateAccountCommand.ts +++ b/clients/client-organizations/commands/CreateAccountCommand.ts @@ -105,7 +105,6 @@ export class CreateAccountCommand extends $Command< CreateAccountCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -123,10 +122,7 @@ export class CreateAccountCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts b/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts index 8ba11ca674d1c..a031f62e8d5b8 100644 --- a/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts +++ b/clients/client-organizations/commands/CreateGovCloudAccountCommand.ts @@ -160,7 +160,6 @@ export class CreateGovCloudAccountCommand extends $Command< CreateGovCloudAccountCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -178,10 +177,7 @@ export class CreateGovCloudAccountCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/CreateOrganizationCommand.ts b/clients/client-organizations/commands/CreateOrganizationCommand.ts index b7609ff46d7d3..2729b2fd27df9 100644 --- a/clients/client-organizations/commands/CreateOrganizationCommand.ts +++ b/clients/client-organizations/commands/CreateOrganizationCommand.ts @@ -38,7 +38,6 @@ export class CreateOrganizationCommand extends $Command< CreateOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts b/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts index a0246a87df0c4..eceb0b0fc0fb0 100644 --- a/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/CreateOrganizationalUnitCommand.ts @@ -38,7 +38,6 @@ export class CreateOrganizationalUnitCommand extends $Command< CreateOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateOrganizationalUnitCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/CreatePolicyCommand.ts b/clients/client-organizations/commands/CreatePolicyCommand.ts index 85aa174ee2f7a..9874b48ea0e85 100644 --- a/clients/client-organizations/commands/CreatePolicyCommand.ts +++ b/clients/client-organizations/commands/CreatePolicyCommand.ts @@ -34,7 +34,6 @@ export class CreatePolicyCommand extends $Command< CreatePolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreatePolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DeclineHandshakeCommand.ts b/clients/client-organizations/commands/DeclineHandshakeCommand.ts index f5285f4cd6cc6..46ad8c0a5598a 100644 --- a/clients/client-organizations/commands/DeclineHandshakeCommand.ts +++ b/clients/client-organizations/commands/DeclineHandshakeCommand.ts @@ -34,7 +34,6 @@ export class DeclineHandshakeCommand extends $Command< DeclineHandshakeCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeclineHandshakeCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DeleteOrganizationCommand.ts b/clients/client-organizations/commands/DeleteOrganizationCommand.ts index b74c5b12262af..6b1f8724c98c0 100644 --- a/clients/client-organizations/commands/DeleteOrganizationCommand.ts +++ b/clients/client-organizations/commands/DeleteOrganizationCommand.ts @@ -28,7 +28,6 @@ export class DeleteOrganizationCommand extends $Command< DeleteOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts b/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts index f86f09c9a09f0..0f808cfb87cdf 100644 --- a/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/DeleteOrganizationalUnitCommand.ts @@ -30,7 +30,6 @@ export class DeleteOrganizationalUnitCommand extends $Command< DeleteOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteOrganizationalUnitCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DeletePolicyCommand.ts b/clients/client-organizations/commands/DeletePolicyCommand.ts index 310f4bae66fe8..4e84ac0183b6d 100644 --- a/clients/client-organizations/commands/DeletePolicyCommand.ts +++ b/clients/client-organizations/commands/DeletePolicyCommand.ts @@ -31,7 +31,6 @@ export class DeletePolicyCommand extends $Command< DeletePolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeletePolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DeregisterDelegatedAdministratorCommand.ts b/clients/client-organizations/commands/DeregisterDelegatedAdministratorCommand.ts index 3885176fa67ac..29f53567d3eda 100644 --- a/clients/client-organizations/commands/DeregisterDelegatedAdministratorCommand.ts +++ b/clients/client-organizations/commands/DeregisterDelegatedAdministratorCommand.ts @@ -41,7 +41,6 @@ export class DeregisterDelegatedAdministratorCommand extends $Command< DeregisterDelegatedAdministratorCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DeregisterDelegatedAdministratorCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribeAccountCommand.ts b/clients/client-organizations/commands/DescribeAccountCommand.ts index 3ac3bb19f72f8..33225ca570ec2 100644 --- a/clients/client-organizations/commands/DescribeAccountCommand.ts +++ b/clients/client-organizations/commands/DescribeAccountCommand.ts @@ -30,7 +30,6 @@ export class DescribeAccountCommand extends $Command< DescribeAccountCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAccountCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts b/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts index f55ed85eee687..84d58c3b73d45 100644 --- a/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts +++ b/clients/client-organizations/commands/DescribeCreateAccountStatusCommand.ts @@ -30,7 +30,6 @@ export class DescribeCreateAccountStatusCommand extends $Command< DescribeCreateAccountStatusCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeCreateAccountStatusCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts b/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts index 57f2c2a810f76..528a7d6c79e69 100644 --- a/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts +++ b/clients/client-organizations/commands/DescribeEffectivePolicyCommand.ts @@ -37,7 +37,6 @@ export class DescribeEffectivePolicyCommand extends $Command< DescribeEffectivePolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeEffectivePolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribeHandshakeCommand.ts b/clients/client-organizations/commands/DescribeHandshakeCommand.ts index de17747125811..0b8b3efdb201c 100644 --- a/clients/client-organizations/commands/DescribeHandshakeCommand.ts +++ b/clients/client-organizations/commands/DescribeHandshakeCommand.ts @@ -34,7 +34,6 @@ export class DescribeHandshakeCommand extends $Command< DescribeHandshakeCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeHandshakeCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribeOrganizationCommand.ts b/clients/client-organizations/commands/DescribeOrganizationCommand.ts index bfd64c1b191e6..df87dba31442f 100644 --- a/clients/client-organizations/commands/DescribeOrganizationCommand.ts +++ b/clients/client-organizations/commands/DescribeOrganizationCommand.ts @@ -35,7 +35,6 @@ export class DescribeOrganizationCommand extends $Command< DescribeOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts b/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts index f359e5923c3ef..5cf1eeb8258ef 100644 --- a/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/DescribeOrganizationalUnitCommand.ts @@ -30,7 +30,6 @@ export class DescribeOrganizationalUnitCommand extends $Command< DescribeOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeOrganizationalUnitCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DescribePolicyCommand.ts b/clients/client-organizations/commands/DescribePolicyCommand.ts index a7ba5f76afb9f..de2a789092e2f 100644 --- a/clients/client-organizations/commands/DescribePolicyCommand.ts +++ b/clients/client-organizations/commands/DescribePolicyCommand.ts @@ -30,7 +30,6 @@ export class DescribePolicyCommand extends $Command< DescribePolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribePolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DetachPolicyCommand.ts b/clients/client-organizations/commands/DetachPolicyCommand.ts index e459075639aa9..8e1cbc9f73231 100644 --- a/clients/client-organizations/commands/DetachPolicyCommand.ts +++ b/clients/client-organizations/commands/DetachPolicyCommand.ts @@ -42,7 +42,6 @@ export class DetachPolicyCommand extends $Command< DetachPolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DetachPolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts b/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts index b30e90228cc07..040a6945ca30c 100644 --- a/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts +++ b/clients/client-organizations/commands/DisableAWSServiceAccessCommand.ts @@ -52,7 +52,6 @@ export class DisableAWSServiceAccessCommand extends $Command< DisableAWSServiceAccessCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DisableAWSServiceAccessCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/DisablePolicyTypeCommand.ts b/clients/client-organizations/commands/DisablePolicyTypeCommand.ts index 207ad7e5db5e4..ef66e8ce2d98e 100644 --- a/clients/client-organizations/commands/DisablePolicyTypeCommand.ts +++ b/clients/client-organizations/commands/DisablePolicyTypeCommand.ts @@ -38,7 +38,6 @@ export class DisablePolicyTypeCommand extends $Command< DisablePolicyTypeCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DisablePolicyTypeCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts b/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts index 2d5dd06436dc6..5704e84c8b335 100644 --- a/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts +++ b/clients/client-organizations/commands/EnableAWSServiceAccessCommand.ts @@ -46,7 +46,6 @@ export class EnableAWSServiceAccessCommand extends $Command< EnableAWSServiceAccessCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class EnableAWSServiceAccessCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/EnableAllFeaturesCommand.ts b/clients/client-organizations/commands/EnableAllFeaturesCommand.ts index 51069741cce43..4e24a6d990d99 100644 --- a/clients/client-organizations/commands/EnableAllFeaturesCommand.ts +++ b/clients/client-organizations/commands/EnableAllFeaturesCommand.ts @@ -53,7 +53,6 @@ export class EnableAllFeaturesCommand extends $Command< EnableAllFeaturesCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class EnableAllFeaturesCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/EnablePolicyTypeCommand.ts b/clients/client-organizations/commands/EnablePolicyTypeCommand.ts index a335b65f9c698..6660b9d206128 100644 --- a/clients/client-organizations/commands/EnablePolicyTypeCommand.ts +++ b/clients/client-organizations/commands/EnablePolicyTypeCommand.ts @@ -38,7 +38,6 @@ export class EnablePolicyTypeCommand extends $Command< EnablePolicyTypeCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class EnablePolicyTypeCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts b/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts index e51187ed2bbc2..d11ab7e4f6648 100644 --- a/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts +++ b/clients/client-organizations/commands/InviteAccountToOrganizationCommand.ts @@ -53,7 +53,6 @@ export class InviteAccountToOrganizationCommand extends $Command< InviteAccountToOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class InviteAccountToOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/LeaveOrganizationCommand.ts b/clients/client-organizations/commands/LeaveOrganizationCommand.ts index ff4e3954c659b..5d430504ed9ef 100644 --- a/clients/client-organizations/commands/LeaveOrganizationCommand.ts +++ b/clients/client-organizations/commands/LeaveOrganizationCommand.ts @@ -79,7 +79,6 @@ export class LeaveOrganizationCommand extends $Command< LeaveOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class LeaveOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts b/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts index 78d22aaa68a6a..81e06689e67ca 100644 --- a/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts +++ b/clients/client-organizations/commands/ListAWSServiceAccessForOrganizationCommand.ts @@ -40,7 +40,6 @@ export class ListAWSServiceAccessForOrganizationCommand extends $Command< ListAWSServiceAccessForOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListAWSServiceAccessForOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListAccountsCommand.ts b/clients/client-organizations/commands/ListAccountsCommand.ts index 11f1c3c73462b..4968d761b24c4 100644 --- a/clients/client-organizations/commands/ListAccountsCommand.ts +++ b/clients/client-organizations/commands/ListAccountsCommand.ts @@ -39,7 +39,6 @@ export class ListAccountsCommand extends $Command< ListAccountsCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ListAccountsCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListAccountsForParentCommand.ts b/clients/client-organizations/commands/ListAccountsForParentCommand.ts index d08cd8ed62d5b..4e9bd9ff16e98 100644 --- a/clients/client-organizations/commands/ListAccountsForParentCommand.ts +++ b/clients/client-organizations/commands/ListAccountsForParentCommand.ts @@ -42,7 +42,6 @@ export class ListAccountsForParentCommand extends $Command< ListAccountsForParentCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListAccountsForParentCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListChildrenCommand.ts b/clients/client-organizations/commands/ListChildrenCommand.ts index 379b1aeea3129..0c023d4e3c872 100644 --- a/clients/client-organizations/commands/ListChildrenCommand.ts +++ b/clients/client-organizations/commands/ListChildrenCommand.ts @@ -40,7 +40,6 @@ export class ListChildrenCommand extends $Command< ListChildrenCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListChildrenCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts b/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts index f9320cc0acea6..eb0096e7609b3 100644 --- a/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts +++ b/clients/client-organizations/commands/ListCreateAccountStatusCommand.ts @@ -39,7 +39,6 @@ export class ListCreateAccountStatusCommand extends $Command< ListCreateAccountStatusCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ListCreateAccountStatusCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListDelegatedAdministratorsCommand.ts b/clients/client-organizations/commands/ListDelegatedAdministratorsCommand.ts index b07577f62881a..8c8cd96974767 100644 --- a/clients/client-organizations/commands/ListDelegatedAdministratorsCommand.ts +++ b/clients/client-organizations/commands/ListDelegatedAdministratorsCommand.ts @@ -31,7 +31,6 @@ export class ListDelegatedAdministratorsCommand extends $Command< ListDelegatedAdministratorsCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListDelegatedAdministratorsCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListDelegatedServicesForAccountCommand.ts b/clients/client-organizations/commands/ListDelegatedServicesForAccountCommand.ts index 0ab3c7f306b03..f79b742fb0032 100644 --- a/clients/client-organizations/commands/ListDelegatedServicesForAccountCommand.ts +++ b/clients/client-organizations/commands/ListDelegatedServicesForAccountCommand.ts @@ -31,7 +31,6 @@ export class ListDelegatedServicesForAccountCommand extends $Command< ListDelegatedServicesForAccountCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListDelegatedServicesForAccountCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts b/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts index 4b9c115ab4b0e..ac10e29ecfe51 100644 --- a/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts +++ b/clients/client-organizations/commands/ListHandshakesForAccountCommand.ts @@ -41,7 +41,6 @@ export class ListHandshakesForAccountCommand extends $Command< ListHandshakesForAccountCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ListHandshakesForAccountCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts b/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts index 80b2c33b52274..b2c4de6b30032 100644 --- a/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts +++ b/clients/client-organizations/commands/ListHandshakesForOrganizationCommand.ts @@ -44,7 +44,6 @@ export class ListHandshakesForOrganizationCommand extends $Command< ListHandshakesForOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class ListHandshakesForOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts b/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts index 03b2bcb11fef5..db0ade3c76a37 100644 --- a/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts +++ b/clients/client-organizations/commands/ListOrganizationalUnitsForParentCommand.ts @@ -38,7 +38,6 @@ export class ListOrganizationalUnitsForParentCommand extends $Command< ListOrganizationalUnitsForParentCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListOrganizationalUnitsForParentCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListParentsCommand.ts b/clients/client-organizations/commands/ListParentsCommand.ts index fa744ef813645..cd3cf04cfbdcb 100644 --- a/clients/client-organizations/commands/ListParentsCommand.ts +++ b/clients/client-organizations/commands/ListParentsCommand.ts @@ -43,7 +43,6 @@ export class ListParentsCommand extends $Command< ListParentsCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class ListParentsCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListPoliciesCommand.ts b/clients/client-organizations/commands/ListPoliciesCommand.ts index 3831105beaba1..ef5d3f962e20c 100644 --- a/clients/client-organizations/commands/ListPoliciesCommand.ts +++ b/clients/client-organizations/commands/ListPoliciesCommand.ts @@ -38,7 +38,6 @@ export class ListPoliciesCommand extends $Command< ListPoliciesCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListPoliciesCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts b/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts index 82ad14c21c2ef..1322b6d08a046 100644 --- a/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts +++ b/clients/client-organizations/commands/ListPoliciesForTargetCommand.ts @@ -40,7 +40,6 @@ export class ListPoliciesForTargetCommand extends $Command< ListPoliciesForTargetCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListPoliciesForTargetCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListRootsCommand.ts b/clients/client-organizations/commands/ListRootsCommand.ts index 8f120a0bac046..be4ddb8ea1541 100644 --- a/clients/client-organizations/commands/ListRootsCommand.ts +++ b/clients/client-organizations/commands/ListRootsCommand.ts @@ -42,7 +42,6 @@ export class ListRootsCommand extends $Command< ListRootsCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListRootsCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListTagsForResourceCommand.ts b/clients/client-organizations/commands/ListTagsForResourceCommand.ts index 9d3bfdbadcab3..9eadc4e831ce1 100644 --- a/clients/client-organizations/commands/ListTagsForResourceCommand.ts +++ b/clients/client-organizations/commands/ListTagsForResourceCommand.ts @@ -45,7 +45,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts b/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts index f7a1d259575bd..11373ec1ecacb 100644 --- a/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts +++ b/clients/client-organizations/commands/ListTargetsForPolicyCommand.ts @@ -39,7 +39,6 @@ export class ListTargetsForPolicyCommand extends $Command< ListTargetsForPolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ListTargetsForPolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/MoveAccountCommand.ts b/clients/client-organizations/commands/MoveAccountCommand.ts index 52b5fd4b7436f..6b1ec8febf5e3 100644 --- a/clients/client-organizations/commands/MoveAccountCommand.ts +++ b/clients/client-organizations/commands/MoveAccountCommand.ts @@ -30,7 +30,6 @@ export class MoveAccountCommand extends $Command< MoveAccountCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class MoveAccountCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/RegisterDelegatedAdministratorCommand.ts b/clients/client-organizations/commands/RegisterDelegatedAdministratorCommand.ts index b6f1bb765a5d2..79d1c9bf415e1 100644 --- a/clients/client-organizations/commands/RegisterDelegatedAdministratorCommand.ts +++ b/clients/client-organizations/commands/RegisterDelegatedAdministratorCommand.ts @@ -36,7 +36,6 @@ export class RegisterDelegatedAdministratorCommand extends $Command< RegisterDelegatedAdministratorCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class RegisterDelegatedAdministratorCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts b/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts index a6839909a696f..81d5ae3ff995c 100644 --- a/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts +++ b/clients/client-organizations/commands/RemoveAccountFromOrganizationCommand.ts @@ -58,7 +58,6 @@ export class RemoveAccountFromOrganizationCommand extends $Command< RemoveAccountFromOrganizationCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class RemoveAccountFromOrganizationCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/TagResourceCommand.ts b/clients/client-organizations/commands/TagResourceCommand.ts index 04bb42a15d64a..bb9011db7fd10 100644 --- a/clients/client-organizations/commands/TagResourceCommand.ts +++ b/clients/client-organizations/commands/TagResourceCommand.ts @@ -44,7 +44,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class TagResourceCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/UntagResourceCommand.ts b/clients/client-organizations/commands/UntagResourceCommand.ts index a05bed05450f7..940c00be9949d 100644 --- a/clients/client-organizations/commands/UntagResourceCommand.ts +++ b/clients/client-organizations/commands/UntagResourceCommand.ts @@ -44,7 +44,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class UntagResourceCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts b/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts index ff1d02cb5377d..560c51b02177d 100644 --- a/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts +++ b/clients/client-organizations/commands/UpdateOrganizationalUnitCommand.ts @@ -31,7 +31,6 @@ export class UpdateOrganizationalUnitCommand extends $Command< UpdateOrganizationalUnitCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateOrganizationalUnitCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-organizations/commands/UpdatePolicyCommand.ts b/clients/client-organizations/commands/UpdatePolicyCommand.ts index e38ae63c46f68..9a0f2b3b5296b 100644 --- a/clients/client-organizations/commands/UpdatePolicyCommand.ts +++ b/clients/client-organizations/commands/UpdatePolicyCommand.ts @@ -31,7 +31,6 @@ export class UpdatePolicyCommand extends $Command< UpdatePolicyCommandOutput, OrganizationsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdatePolicyCommand extends $Command< configuration: OrganizationsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/CreateOutpostCommand.ts b/clients/client-outposts/commands/CreateOutpostCommand.ts index 622814514c3c8..5480fd93a10a8 100644 --- a/clients/client-outposts/commands/CreateOutpostCommand.ts +++ b/clients/client-outposts/commands/CreateOutpostCommand.ts @@ -28,7 +28,6 @@ export class CreateOutpostCommand extends $Command< CreateOutpostCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateOutpostCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/DeleteOutpostCommand.ts b/clients/client-outposts/commands/DeleteOutpostCommand.ts index b5f249173cbd4..4571ad785c4d7 100644 --- a/clients/client-outposts/commands/DeleteOutpostCommand.ts +++ b/clients/client-outposts/commands/DeleteOutpostCommand.ts @@ -28,7 +28,6 @@ export class DeleteOutpostCommand extends $Command< DeleteOutpostCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteOutpostCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/DeleteSiteCommand.ts b/clients/client-outposts/commands/DeleteSiteCommand.ts index 9218f42fca1d4..e50a8ca343911 100644 --- a/clients/client-outposts/commands/DeleteSiteCommand.ts +++ b/clients/client-outposts/commands/DeleteSiteCommand.ts @@ -28,7 +28,6 @@ export class DeleteSiteCommand extends $Command< DeleteSiteCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSiteCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/GetOutpostCommand.ts b/clients/client-outposts/commands/GetOutpostCommand.ts index 242d13583e533..494e904148c82 100644 --- a/clients/client-outposts/commands/GetOutpostCommand.ts +++ b/clients/client-outposts/commands/GetOutpostCommand.ts @@ -28,7 +28,6 @@ export class GetOutpostCommand extends $Command< GetOutpostCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOutpostCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts b/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts index 44a3f45f54456..7f57423b204fb 100644 --- a/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts +++ b/clients/client-outposts/commands/GetOutpostInstanceTypesCommand.ts @@ -28,7 +28,6 @@ export class GetOutpostInstanceTypesCommand extends $Command< GetOutpostInstanceTypesCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOutpostInstanceTypesCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/ListOutpostsCommand.ts b/clients/client-outposts/commands/ListOutpostsCommand.ts index cd5c9893b9e57..cc74b78007091 100644 --- a/clients/client-outposts/commands/ListOutpostsCommand.ts +++ b/clients/client-outposts/commands/ListOutpostsCommand.ts @@ -28,7 +28,6 @@ export class ListOutpostsCommand extends $Command< ListOutpostsCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOutpostsCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-outposts/commands/ListSitesCommand.ts b/clients/client-outposts/commands/ListSitesCommand.ts index 270fcd83a48ec..09c9396e46ac4 100644 --- a/clients/client-outposts/commands/ListSitesCommand.ts +++ b/clients/client-outposts/commands/ListSitesCommand.ts @@ -28,7 +28,6 @@ export class ListSitesCommand extends $Command< ListSitesCommandOutput, OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSitesCommand extends $Command< configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize-events/commands/PutEventsCommand.ts b/clients/client-personalize-events/commands/PutEventsCommand.ts index 3241eb02b2109..4500d338ebd84 100644 --- a/clients/client-personalize-events/commands/PutEventsCommand.ts +++ b/clients/client-personalize-events/commands/PutEventsCommand.ts @@ -32,7 +32,6 @@ export class PutEventsCommand extends $Command< PutEventsCommandOutput, PersonalizeEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutEventsCommand extends $Command< configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize-events/commands/PutItemsCommand.ts b/clients/client-personalize-events/commands/PutItemsCommand.ts index 3a291461e5e07..b3d151b904c8b 100644 --- a/clients/client-personalize-events/commands/PutItemsCommand.ts +++ b/clients/client-personalize-events/commands/PutItemsCommand.ts @@ -33,7 +33,6 @@ export class PutItemsCommand extends $Command< PutItemsCommandOutput, PersonalizeEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutItemsCommand extends $Command< configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize-events/commands/PutUsersCommand.ts b/clients/client-personalize-events/commands/PutUsersCommand.ts index e10ba9c80972d..ef031fd584fa6 100644 --- a/clients/client-personalize-events/commands/PutUsersCommand.ts +++ b/clients/client-personalize-events/commands/PutUsersCommand.ts @@ -33,7 +33,6 @@ export class PutUsersCommand extends $Command< PutUsersCommandOutput, PersonalizeEventsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutUsersCommand extends $Command< configuration: PersonalizeEventsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts b/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts index 1b7e2c4523cba..227a591160939 100644 --- a/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts +++ b/clients/client-personalize-runtime/commands/GetPersonalizedRankingCommand.ts @@ -37,7 +37,6 @@ export class GetPersonalizedRankingCommand extends $Command< GetPersonalizedRankingCommandOutput, PersonalizeRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetPersonalizedRankingCommand extends $Command< configuration: PersonalizeRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts b/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts index df335976654c9..7473f030e547f 100644 --- a/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts +++ b/clients/client-personalize-runtime/commands/GetRecommendationsCommand.ts @@ -46,7 +46,6 @@ export class GetRecommendationsCommand extends $Command< GetRecommendationsCommandOutput, PersonalizeRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetRecommendationsCommand extends $Command< configuration: PersonalizeRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts b/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts index 33295b5d61256..b428d5c3816b3 100644 --- a/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts +++ b/clients/client-personalize/commands/CreateBatchInferenceJobCommand.ts @@ -29,7 +29,6 @@ export class CreateBatchInferenceJobCommand extends $Command< CreateBatchInferenceJobCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateBatchInferenceJobCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateCampaignCommand.ts b/clients/client-personalize/commands/CreateCampaignCommand.ts index 6791a93e962b6..37cbb236af925 100644 --- a/clients/client-personalize/commands/CreateCampaignCommand.ts +++ b/clients/client-personalize/commands/CreateCampaignCommand.ts @@ -91,7 +91,6 @@ export class CreateCampaignCommand extends $Command< CreateCampaignCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -109,10 +108,7 @@ export class CreateCampaignCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateDatasetCommand.ts b/clients/client-personalize/commands/CreateDatasetCommand.ts index e4142282b22ca..0187d3c79c7e6 100644 --- a/clients/client-personalize/commands/CreateDatasetCommand.ts +++ b/clients/client-personalize/commands/CreateDatasetCommand.ts @@ -78,7 +78,6 @@ export class CreateDatasetCommand extends $Command< CreateDatasetCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -96,10 +95,7 @@ export class CreateDatasetCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateDatasetGroupCommand.ts b/clients/client-personalize/commands/CreateDatasetGroupCommand.ts index 8ae748859643a..4713b0be44c96 100644 --- a/clients/client-personalize/commands/CreateDatasetGroupCommand.ts +++ b/clients/client-personalize/commands/CreateDatasetGroupCommand.ts @@ -103,7 +103,6 @@ export class CreateDatasetGroupCommand extends $Command< CreateDatasetGroupCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -121,10 +120,7 @@ export class CreateDatasetGroupCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts b/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts index 78867fc59a045..e19240350fa23 100644 --- a/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts +++ b/clients/client-personalize/commands/CreateDatasetImportJobCommand.ts @@ -67,7 +67,6 @@ export class CreateDatasetImportJobCommand extends $Command< CreateDatasetImportJobCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class CreateDatasetImportJobCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateEventTrackerCommand.ts b/clients/client-personalize/commands/CreateEventTrackerCommand.ts index 5eafec2730bf9..a94ef76f6079b 100644 --- a/clients/client-personalize/commands/CreateEventTrackerCommand.ts +++ b/clients/client-personalize/commands/CreateEventTrackerCommand.ts @@ -75,7 +75,6 @@ export class CreateEventTrackerCommand extends $Command< CreateEventTrackerCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class CreateEventTrackerCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateFilterCommand.ts b/clients/client-personalize/commands/CreateFilterCommand.ts index 8fb686d9a45fc..7cdd28d155889 100644 --- a/clients/client-personalize/commands/CreateFilterCommand.ts +++ b/clients/client-personalize/commands/CreateFilterCommand.ts @@ -29,7 +29,6 @@ export class CreateFilterCommand extends $Command< CreateFilterCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateFilterCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateSchemaCommand.ts b/clients/client-personalize/commands/CreateSchemaCommand.ts index 09b9e173e3c30..77f8f602ecda0 100644 --- a/clients/client-personalize/commands/CreateSchemaCommand.ts +++ b/clients/client-personalize/commands/CreateSchemaCommand.ts @@ -53,7 +53,6 @@ export class CreateSchemaCommand extends $Command< CreateSchemaCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class CreateSchemaCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateSolutionCommand.ts b/clients/client-personalize/commands/CreateSolutionCommand.ts index 6fdd24a4cdfa0..9291a158c6489 100644 --- a/clients/client-personalize/commands/CreateSolutionCommand.ts +++ b/clients/client-personalize/commands/CreateSolutionCommand.ts @@ -96,7 +96,6 @@ export class CreateSolutionCommand extends $Command< CreateSolutionCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -114,10 +113,7 @@ export class CreateSolutionCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/CreateSolutionVersionCommand.ts b/clients/client-personalize/commands/CreateSolutionVersionCommand.ts index 1ec89ac1b7195..46759e74857ec 100644 --- a/clients/client-personalize/commands/CreateSolutionVersionCommand.ts +++ b/clients/client-personalize/commands/CreateSolutionVersionCommand.ts @@ -80,7 +80,6 @@ export class CreateSolutionVersionCommand extends $Command< CreateSolutionVersionCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,10 +97,7 @@ export class CreateSolutionVersionCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteCampaignCommand.ts b/clients/client-personalize/commands/DeleteCampaignCommand.ts index 02feb64430577..540d147e7ac61 100644 --- a/clients/client-personalize/commands/DeleteCampaignCommand.ts +++ b/clients/client-personalize/commands/DeleteCampaignCommand.ts @@ -33,7 +33,6 @@ export class DeleteCampaignCommand extends $Command< DeleteCampaignCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteCampaignCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteDatasetCommand.ts b/clients/client-personalize/commands/DeleteDatasetCommand.ts index 8213053e6fec7..2d4ffee421598 100644 --- a/clients/client-personalize/commands/DeleteDatasetCommand.ts +++ b/clients/client-personalize/commands/DeleteDatasetCommand.ts @@ -30,7 +30,6 @@ export class DeleteDatasetCommand extends $Command< DeleteDatasetCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteDatasetCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts b/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts index 6edb9ec38d18a..1963b6ad3511b 100644 --- a/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts +++ b/clients/client-personalize/commands/DeleteDatasetGroupCommand.ts @@ -40,7 +40,6 @@ export class DeleteDatasetGroupCommand extends $Command< DeleteDatasetGroupCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteDatasetGroupCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteEventTrackerCommand.ts b/clients/client-personalize/commands/DeleteEventTrackerCommand.ts index 241bb1823949b..ca852b318c074 100644 --- a/clients/client-personalize/commands/DeleteEventTrackerCommand.ts +++ b/clients/client-personalize/commands/DeleteEventTrackerCommand.ts @@ -30,7 +30,6 @@ export class DeleteEventTrackerCommand extends $Command< DeleteEventTrackerCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEventTrackerCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteFilterCommand.ts b/clients/client-personalize/commands/DeleteFilterCommand.ts index f06fcb7df729a..701dc58db9661 100644 --- a/clients/client-personalize/commands/DeleteFilterCommand.ts +++ b/clients/client-personalize/commands/DeleteFilterCommand.ts @@ -28,7 +28,6 @@ export class DeleteFilterCommand extends $Command< DeleteFilterCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFilterCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteSchemaCommand.ts b/clients/client-personalize/commands/DeleteSchemaCommand.ts index 356e47b4503b0..d11bba8af43ba 100644 --- a/clients/client-personalize/commands/DeleteSchemaCommand.ts +++ b/clients/client-personalize/commands/DeleteSchemaCommand.ts @@ -30,7 +30,6 @@ export class DeleteSchemaCommand extends $Command< DeleteSchemaCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteSchemaCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DeleteSolutionCommand.ts b/clients/client-personalize/commands/DeleteSolutionCommand.ts index 794866e765ac7..18918ecc851be 100644 --- a/clients/client-personalize/commands/DeleteSolutionCommand.ts +++ b/clients/client-personalize/commands/DeleteSolutionCommand.ts @@ -34,7 +34,6 @@ export class DeleteSolutionCommand extends $Command< DeleteSolutionCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteSolutionCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeAlgorithmCommand.ts b/clients/client-personalize/commands/DescribeAlgorithmCommand.ts index c4b22354ed2fa..116cd32a42d9e 100644 --- a/clients/client-personalize/commands/DescribeAlgorithmCommand.ts +++ b/clients/client-personalize/commands/DescribeAlgorithmCommand.ts @@ -28,7 +28,6 @@ export class DescribeAlgorithmCommand extends $Command< DescribeAlgorithmCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAlgorithmCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts b/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts index 3a455bcc2fef8..3ee7a45a14695 100644 --- a/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts +++ b/clients/client-personalize/commands/DescribeBatchInferenceJobCommand.ts @@ -30,7 +30,6 @@ export class DescribeBatchInferenceJobCommand extends $Command< DescribeBatchInferenceJobCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeBatchInferenceJobCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeCampaignCommand.ts b/clients/client-personalize/commands/DescribeCampaignCommand.ts index 476444f6470cd..50821f3c6dc1a 100644 --- a/clients/client-personalize/commands/DescribeCampaignCommand.ts +++ b/clients/client-personalize/commands/DescribeCampaignCommand.ts @@ -40,7 +40,6 @@ export class DescribeCampaignCommand extends $Command< DescribeCampaignCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeCampaignCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeDatasetCommand.ts b/clients/client-personalize/commands/DescribeDatasetCommand.ts index f372bd926f9d7..4609a1315ded9 100644 --- a/clients/client-personalize/commands/DescribeDatasetCommand.ts +++ b/clients/client-personalize/commands/DescribeDatasetCommand.ts @@ -28,7 +28,6 @@ export class DescribeDatasetCommand extends $Command< DescribeDatasetCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDatasetCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts b/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts index b43311fa3bd2a..50e0d43f7e1a8 100644 --- a/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts +++ b/clients/client-personalize/commands/DescribeDatasetGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeDatasetGroupCommand extends $Command< DescribeDatasetGroupCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDatasetGroupCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts b/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts index 960f3d00bbfc0..19c3c9aee2d48 100644 --- a/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts +++ b/clients/client-personalize/commands/DescribeDatasetImportJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeDatasetImportJobCommand extends $Command< DescribeDatasetImportJobCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDatasetImportJobCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeEventTrackerCommand.ts b/clients/client-personalize/commands/DescribeEventTrackerCommand.ts index f8aaaae843a0f..40ea03a400438 100644 --- a/clients/client-personalize/commands/DescribeEventTrackerCommand.ts +++ b/clients/client-personalize/commands/DescribeEventTrackerCommand.ts @@ -30,7 +30,6 @@ export class DescribeEventTrackerCommand extends $Command< DescribeEventTrackerCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeEventTrackerCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts b/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts index 102b70c714cf3..9c4e352c86dd6 100644 --- a/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts +++ b/clients/client-personalize/commands/DescribeFeatureTransformationCommand.ts @@ -28,7 +28,6 @@ export class DescribeFeatureTransformationCommand extends $Command< DescribeFeatureTransformationCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFeatureTransformationCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeFilterCommand.ts b/clients/client-personalize/commands/DescribeFilterCommand.ts index 80a57cc0e06b1..daea55e4b22fc 100644 --- a/clients/client-personalize/commands/DescribeFilterCommand.ts +++ b/clients/client-personalize/commands/DescribeFilterCommand.ts @@ -28,7 +28,6 @@ export class DescribeFilterCommand extends $Command< DescribeFilterCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFilterCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeRecipeCommand.ts b/clients/client-personalize/commands/DescribeRecipeCommand.ts index 0e7c01287b0a2..7344afd31ccee 100644 --- a/clients/client-personalize/commands/DescribeRecipeCommand.ts +++ b/clients/client-personalize/commands/DescribeRecipeCommand.ts @@ -46,7 +46,6 @@ export class DescribeRecipeCommand extends $Command< DescribeRecipeCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DescribeRecipeCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeSchemaCommand.ts b/clients/client-personalize/commands/DescribeSchemaCommand.ts index bca34f98cc128..f4b1b4405bf82 100644 --- a/clients/client-personalize/commands/DescribeSchemaCommand.ts +++ b/clients/client-personalize/commands/DescribeSchemaCommand.ts @@ -29,7 +29,6 @@ export class DescribeSchemaCommand extends $Command< DescribeSchemaCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSchemaCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeSolutionCommand.ts b/clients/client-personalize/commands/DescribeSolutionCommand.ts index 6b5ed92cf1285..c92e3d3d2f0f5 100644 --- a/clients/client-personalize/commands/DescribeSolutionCommand.ts +++ b/clients/client-personalize/commands/DescribeSolutionCommand.ts @@ -29,7 +29,6 @@ export class DescribeSolutionCommand extends $Command< DescribeSolutionCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSolutionCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts b/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts index 7738f522fe606..cdd972a8377e8 100644 --- a/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts +++ b/clients/client-personalize/commands/DescribeSolutionVersionCommand.ts @@ -28,7 +28,6 @@ export class DescribeSolutionVersionCommand extends $Command< DescribeSolutionVersionCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSolutionVersionCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/GetSolutionMetricsCommand.ts b/clients/client-personalize/commands/GetSolutionMetricsCommand.ts index 6b24fc499ca4e..2db599737be34 100644 --- a/clients/client-personalize/commands/GetSolutionMetricsCommand.ts +++ b/clients/client-personalize/commands/GetSolutionMetricsCommand.ts @@ -28,7 +28,6 @@ export class GetSolutionMetricsCommand extends $Command< GetSolutionMetricsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSolutionMetricsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts b/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts index bd164a651452f..faf3790305018 100644 --- a/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts +++ b/clients/client-personalize/commands/ListBatchInferenceJobsCommand.ts @@ -29,7 +29,6 @@ export class ListBatchInferenceJobsCommand extends $Command< ListBatchInferenceJobsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListBatchInferenceJobsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListCampaignsCommand.ts b/clients/client-personalize/commands/ListCampaignsCommand.ts index 5cc6ef9c3e42d..6ce7a72015c5b 100644 --- a/clients/client-personalize/commands/ListCampaignsCommand.ts +++ b/clients/client-personalize/commands/ListCampaignsCommand.ts @@ -31,7 +31,6 @@ export class ListCampaignsCommand extends $Command< ListCampaignsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListCampaignsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListDatasetGroupsCommand.ts b/clients/client-personalize/commands/ListDatasetGroupsCommand.ts index 4eb8b9853b8af..01aa7330f18fe 100644 --- a/clients/client-personalize/commands/ListDatasetGroupsCommand.ts +++ b/clients/client-personalize/commands/ListDatasetGroupsCommand.ts @@ -30,7 +30,6 @@ export class ListDatasetGroupsCommand extends $Command< ListDatasetGroupsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDatasetGroupsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts b/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts index f44c218273a18..9e76fe4406e6c 100644 --- a/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts +++ b/clients/client-personalize/commands/ListDatasetImportJobsCommand.ts @@ -32,7 +32,6 @@ export class ListDatasetImportJobsCommand extends $Command< ListDatasetImportJobsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListDatasetImportJobsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListDatasetsCommand.ts b/clients/client-personalize/commands/ListDatasetsCommand.ts index 83e873d48402a..88189b58af606 100644 --- a/clients/client-personalize/commands/ListDatasetsCommand.ts +++ b/clients/client-personalize/commands/ListDatasetsCommand.ts @@ -30,7 +30,6 @@ export class ListDatasetsCommand extends $Command< ListDatasetsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDatasetsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListEventTrackersCommand.ts b/clients/client-personalize/commands/ListEventTrackersCommand.ts index a8294a3a7ce30..e4371314743b3 100644 --- a/clients/client-personalize/commands/ListEventTrackersCommand.ts +++ b/clients/client-personalize/commands/ListEventTrackersCommand.ts @@ -31,7 +31,6 @@ export class ListEventTrackersCommand extends $Command< ListEventTrackersCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListEventTrackersCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListFiltersCommand.ts b/clients/client-personalize/commands/ListFiltersCommand.ts index c0c5fd9108d9c..f3f862ef83683 100644 --- a/clients/client-personalize/commands/ListFiltersCommand.ts +++ b/clients/client-personalize/commands/ListFiltersCommand.ts @@ -28,7 +28,6 @@ export class ListFiltersCommand extends $Command< ListFiltersCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFiltersCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListRecipesCommand.ts b/clients/client-personalize/commands/ListRecipesCommand.ts index 753c17b7d2c5b..2ef129f89209c 100644 --- a/clients/client-personalize/commands/ListRecipesCommand.ts +++ b/clients/client-personalize/commands/ListRecipesCommand.ts @@ -29,7 +29,6 @@ export class ListRecipesCommand extends $Command< ListRecipesCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRecipesCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListSchemasCommand.ts b/clients/client-personalize/commands/ListSchemasCommand.ts index 5de2f1397aa15..d6846405cf777 100644 --- a/clients/client-personalize/commands/ListSchemasCommand.ts +++ b/clients/client-personalize/commands/ListSchemasCommand.ts @@ -30,7 +30,6 @@ export class ListSchemasCommand extends $Command< ListSchemasCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListSchemasCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListSolutionVersionsCommand.ts b/clients/client-personalize/commands/ListSolutionVersionsCommand.ts index 1c2d47710498b..b5c48f2580058 100644 --- a/clients/client-personalize/commands/ListSolutionVersionsCommand.ts +++ b/clients/client-personalize/commands/ListSolutionVersionsCommand.ts @@ -31,7 +31,6 @@ export class ListSolutionVersionsCommand extends $Command< ListSolutionVersionsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListSolutionVersionsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/ListSolutionsCommand.ts b/clients/client-personalize/commands/ListSolutionsCommand.ts index 294ceea4d0a5a..5acbdb2636ae2 100644 --- a/clients/client-personalize/commands/ListSolutionsCommand.ts +++ b/clients/client-personalize/commands/ListSolutionsCommand.ts @@ -31,7 +31,6 @@ export class ListSolutionsCommand extends $Command< ListSolutionsCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListSolutionsCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-personalize/commands/UpdateCampaignCommand.ts b/clients/client-personalize/commands/UpdateCampaignCommand.ts index 7e104b5298dbf..10602b3a39435 100644 --- a/clients/client-personalize/commands/UpdateCampaignCommand.ts +++ b/clients/client-personalize/commands/UpdateCampaignCommand.ts @@ -36,7 +36,6 @@ export class UpdateCampaignCommand extends $Command< UpdateCampaignCommandOutput, PersonalizeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateCampaignCommand extends $Command< configuration: PersonalizeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pi/commands/DescribeDimensionKeysCommand.ts b/clients/client-pi/commands/DescribeDimensionKeysCommand.ts index 99c86219f3fc2..2d3247bdd02db 100644 --- a/clients/client-pi/commands/DescribeDimensionKeysCommand.ts +++ b/clients/client-pi/commands/DescribeDimensionKeysCommand.ts @@ -29,7 +29,6 @@ export class DescribeDimensionKeysCommand extends $Command< DescribeDimensionKeysCommandOutput, PIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDimensionKeysCommand extends $Command< configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pi/commands/GetResourceMetricsCommand.ts b/clients/client-pi/commands/GetResourceMetricsCommand.ts index 3a9c8c403efae..fe0985910a760 100644 --- a/clients/client-pi/commands/GetResourceMetricsCommand.ts +++ b/clients/client-pi/commands/GetResourceMetricsCommand.ts @@ -30,7 +30,6 @@ export class GetResourceMetricsCommand extends $Command< GetResourceMetricsCommandOutput, PIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetResourceMetricsCommand extends $Command< configuration: PIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts index 5ceadd948ce3f..c83dde49d8fd1 100644 --- a/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateConfigurationSetCommand.ts @@ -32,7 +32,6 @@ export class CreateConfigurationSetCommand extends $Command< CreateConfigurationSetCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateConfigurationSetCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts index 161d79fae5062..f8aa4d4c77a6f 100644 --- a/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -38,7 +38,6 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< CreateConfigurationSetEventDestinationCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts b/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts index 3bb009fcaf2bd..73c6cb81e6598 100644 --- a/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateDedicatedIpPoolCommand.ts @@ -31,7 +31,6 @@ export class CreateDedicatedIpPoolCommand extends $Command< CreateDedicatedIpPoolCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDedicatedIpPoolCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts index b820380a9f0bf..0744bd7bb7cf0 100644 --- a/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateDeliverabilityTestReportCommand.ts @@ -34,7 +34,6 @@ export class CreateDeliverabilityTestReportCommand extends $Command< CreateDeliverabilityTestReportCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDeliverabilityTestReportCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts index 4d8db3f096e82..f2b3969f6beb4 100644 --- a/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/commands/CreateEmailIdentityCommand.ts @@ -41,7 +41,6 @@ export class CreateEmailIdentityCommand extends $Command< CreateEmailIdentityCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateEmailIdentityCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts index 6aad3b9596b30..293498a26f1ef 100644 --- a/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteConfigurationSetCommand.ts @@ -33,7 +33,6 @@ export class DeleteConfigurationSetCommand extends $Command< DeleteConfigurationSetCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteConfigurationSetCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts index 4e63c47ed4aa0..3f2007a0a9d1a 100644 --- a/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -37,7 +37,6 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< DeleteConfigurationSetEventDestinationCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts b/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts index 6c61abc30b22e..b596e4870a070 100644 --- a/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteDedicatedIpPoolCommand.ts @@ -28,7 +28,6 @@ export class DeleteDedicatedIpPoolCommand extends $Command< DeleteDedicatedIpPoolCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDedicatedIpPoolCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts index d6c306024504c..bb6aef26861b5 100644 --- a/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/commands/DeleteEmailIdentityCommand.ts @@ -29,7 +29,6 @@ export class DeleteEmailIdentityCommand extends $Command< DeleteEmailIdentityCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteEmailIdentityCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetAccountCommand.ts b/clients/client-pinpoint-email/commands/GetAccountCommand.ts index d28ec8fda5ba3..25db85ce5b405 100644 --- a/clients/client-pinpoint-email/commands/GetAccountCommand.ts +++ b/clients/client-pinpoint-email/commands/GetAccountCommand.ts @@ -29,7 +29,6 @@ export class GetAccountCommand extends $Command< GetAccountCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAccountCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts b/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts index ab5ce011b8477..d45ac31691ad9 100644 --- a/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetBlacklistReportsCommand.ts @@ -28,7 +28,6 @@ export class GetBlacklistReportsCommand extends $Command< GetBlacklistReportsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBlacklistReportsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts b/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts index 7fd967480feb2..2fc63d4b7bcd9 100644 --- a/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts +++ b/clients/client-pinpoint-email/commands/GetConfigurationSetCommand.ts @@ -35,7 +35,6 @@ export class GetConfigurationSetCommand extends $Command< GetConfigurationSetCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetConfigurationSetCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts index fcb2a5ac69334..ec4c60960b09d 100644 --- a/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -38,7 +38,6 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< GetConfigurationSetEventDestinationsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts b/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts index 04cbfbee74d2f..d997ea161f6c2 100644 --- a/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDedicatedIpCommand.ts @@ -30,7 +30,6 @@ export class GetDedicatedIpCommand extends $Command< GetDedicatedIpCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDedicatedIpCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts b/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts index 26e5f3652fec9..247440f91339a 100644 --- a/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDedicatedIpsCommand.ts @@ -29,7 +29,6 @@ export class GetDedicatedIpsCommand extends $Command< GetDedicatedIpsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDedicatedIpsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts b/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts index b1794496f2cf5..61a06fe8cc986 100644 --- a/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDeliverabilityDashboardOptionsCommand.ts @@ -38,7 +38,6 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< GetDeliverabilityDashboardOptionsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts b/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts index c615204af35b6..c597e03cd8af6 100644 --- a/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDeliverabilityTestReportCommand.ts @@ -28,7 +28,6 @@ export class GetDeliverabilityTestReportCommand extends $Command< GetDeliverabilityTestReportCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeliverabilityTestReportCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts b/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts index 42c87548b51bb..06d85045c4fa4 100644 --- a/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDomainDeliverabilityCampaignCommand.ts @@ -31,7 +31,6 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< GetDomainDeliverabilityCampaignCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts b/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts index 119aca9ca00da..3ba35e6d06165 100644 --- a/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts +++ b/clients/client-pinpoint-email/commands/GetDomainStatisticsReportCommand.ts @@ -29,7 +29,6 @@ export class GetDomainStatisticsReportCommand extends $Command< GetDomainStatisticsReportCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDomainStatisticsReportCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts b/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts index 7f8c5eb371590..fd08eb827be7e 100644 --- a/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts +++ b/clients/client-pinpoint-email/commands/GetEmailIdentityCommand.ts @@ -30,7 +30,6 @@ export class GetEmailIdentityCommand extends $Command< GetEmailIdentityCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEmailIdentityCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts b/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts index 7a3e11725b6b6..ae1adc58fdad8 100644 --- a/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListConfigurationSetsCommand.ts @@ -34,7 +34,6 @@ export class ListConfigurationSetsCommand extends $Command< ListConfigurationSetsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListConfigurationSetsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts b/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts index eeb739427fb3d..edb1df5a10de6 100644 --- a/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListDedicatedIpPoolsCommand.ts @@ -29,7 +29,6 @@ export class ListDedicatedIpPoolsCommand extends $Command< ListDedicatedIpPoolsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDedicatedIpPoolsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts b/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts index 1b9c03294ee7c..e7771333b3f5a 100644 --- a/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListDeliverabilityTestReportsCommand.ts @@ -30,7 +30,6 @@ export class ListDeliverabilityTestReportsCommand extends $Command< ListDeliverabilityTestReportsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDeliverabilityTestReportsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts b/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts index 599600ce19aac..d775d7b7a47f8 100644 --- a/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts +++ b/clients/client-pinpoint-email/commands/ListDomainDeliverabilityCampaignsCommand.ts @@ -35,7 +35,6 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< ListDomainDeliverabilityCampaignsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts b/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts index aaa474f019cfe..928965ae6da2d 100644 --- a/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts +++ b/clients/client-pinpoint-email/commands/ListEmailIdentitiesCommand.ts @@ -30,7 +30,6 @@ export class ListEmailIdentitiesCommand extends $Command< ListEmailIdentitiesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListEmailIdentitiesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts b/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts index 4b1faf3ea8513..be256fb975863 100644 --- a/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts +++ b/clients/client-pinpoint-email/commands/ListTagsForResourceCommand.ts @@ -33,7 +33,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts index 29fea8f661c4b..29506f2df976e 100644 --- a/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts @@ -32,7 +32,6 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< PutAccountDedicatedIpWarmupAttributesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts index d9de26adba014..c6a74ecb29432 100644 --- a/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutAccountSendingAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutAccountSendingAttributesCommand extends $Command< PutAccountSendingAttributesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAccountSendingAttributesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 48db216e971c7..7466bc68d8e03 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< PutConfigurationSetDeliveryOptionsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts index 20e96fd62f84f..a9f3e1c01f76f 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetReputationOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< PutConfigurationSetReputationOptionsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts index b522ba3432dda..111eea6e4ad36 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetSendingOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< PutConfigurationSetSendingOptionsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts b/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts index 6e26ff6d0b77c..659d7d447b9e7 100644 --- a/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-pinpoint-email/commands/PutConfigurationSetTrackingOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< PutConfigurationSetTrackingOptionsCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts b/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts index e1856f44ae689..8415bdbd2601b 100644 --- a/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts +++ b/clients/client-pinpoint-email/commands/PutDedicatedIpInPoolCommand.ts @@ -37,7 +37,6 @@ export class PutDedicatedIpInPoolCommand extends $Command< PutDedicatedIpInPoolCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutDedicatedIpInPoolCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts index 6c5125e6e935f..909f949c3b185 100644 --- a/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutDedicatedIpWarmupAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< PutDedicatedIpWarmupAttributesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts b/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts index 5b2fe482c6257..e810e7d80bd72 100644 --- a/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts +++ b/clients/client-pinpoint-email/commands/PutDeliverabilityDashboardOptionCommand.ts @@ -34,7 +34,6 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< PutDeliverabilityDashboardOptionCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts index f204f947027bd..5f0e8c05bf327 100644 --- a/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutEmailIdentityDkimAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< PutEmailIdentityDkimAttributesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts index d5b4d109293af..390f8e7db69a2 100644 --- a/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutEmailIdentityFeedbackAttributesCommand.ts @@ -42,7 +42,6 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< PutEmailIdentityFeedbackAttributesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts b/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts index b8fcc39111b57..bb9f31319410e 100644 --- a/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts +++ b/clients/client-pinpoint-email/commands/PutEmailIdentityMailFromAttributesCommand.ts @@ -33,7 +33,6 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< PutEmailIdentityMailFromAttributesCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/SendEmailCommand.ts b/clients/client-pinpoint-email/commands/SendEmailCommand.ts index b565d5873dd8a..7b178668245eb 100644 --- a/clients/client-pinpoint-email/commands/SendEmailCommand.ts +++ b/clients/client-pinpoint-email/commands/SendEmailCommand.ts @@ -45,7 +45,6 @@ export class SendEmailCommand extends $Command< SendEmailCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class SendEmailCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/TagResourceCommand.ts b/clients/client-pinpoint-email/commands/TagResourceCommand.ts index f09186ce1e565..e212e4e42426f 100644 --- a/clients/client-pinpoint-email/commands/TagResourceCommand.ts +++ b/clients/client-pinpoint-email/commands/TagResourceCommand.ts @@ -36,7 +36,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class TagResourceCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/UntagResourceCommand.ts b/clients/client-pinpoint-email/commands/UntagResourceCommand.ts index c4c657a0049a7..e14e22376ff2b 100644 --- a/clients/client-pinpoint-email/commands/UntagResourceCommand.ts +++ b/clients/client-pinpoint-email/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts index 77a5f61d60ffe..8b5141548c2e6 100644 --- a/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-email/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -37,7 +37,6 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< UpdateConfigurationSetEventDestinationCommandOutput, PinpointEmailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< configuration: PinpointEmailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts index e6ef60a684a76..023533b52a173 100644 --- a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetCommand.ts @@ -28,7 +28,6 @@ export class CreateConfigurationSetCommand extends $Command< CreateConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateConfigurationSetCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts index b89ee49d4697c..a347ae41c8711 100644 --- a/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -32,7 +32,6 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< CreateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts index da233f69adb6f..e8fd4b8ccab96 100644 --- a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetCommand.ts @@ -28,7 +28,6 @@ export class DeleteConfigurationSetCommand extends $Command< DeleteConfigurationSetCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteConfigurationSetCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts index 362270d5ea61f..3a079a36e985f 100644 --- a/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -32,7 +32,6 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< DeleteConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts index 9e98b39c20dfc..df11f17415981 100644 --- a/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -32,7 +32,6 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< GetConfigurationSetEventDestinationsCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts b/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts index 1ac5688925634..22d38fb73c6ce 100644 --- a/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/ListConfigurationSetsCommand.ts @@ -28,7 +28,6 @@ export class ListConfigurationSetsCommand extends $Command< ListConfigurationSetsCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConfigurationSetsCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts b/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts index 5b0e5a8c5a18f..de4418f7cb446 100644 --- a/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/SendVoiceMessageCommand.ts @@ -28,7 +28,6 @@ export class SendVoiceMessageCommand extends $Command< SendVoiceMessageCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SendVoiceMessageCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts index 079725c14aafe..eeb58b35b0baf 100644 --- a/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-pinpoint-sms-voice/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -32,7 +32,6 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< UpdateConfigurationSetEventDestinationCommandOutput, PinpointSMSVoiceClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< configuration: PinpointSMSVoiceClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateAppCommand.ts b/clients/client-pinpoint/commands/CreateAppCommand.ts index 19d238db1b78f..dc00bf5cf6c61 100644 --- a/clients/client-pinpoint/commands/CreateAppCommand.ts +++ b/clients/client-pinpoint/commands/CreateAppCommand.ts @@ -28,7 +28,6 @@ export class CreateAppCommand extends $Command< CreateAppCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAppCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateCampaignCommand.ts b/clients/client-pinpoint/commands/CreateCampaignCommand.ts index 3fc79de0b7ff0..c7d4059b41a31 100644 --- a/clients/client-pinpoint/commands/CreateCampaignCommand.ts +++ b/clients/client-pinpoint/commands/CreateCampaignCommand.ts @@ -28,7 +28,6 @@ export class CreateCampaignCommand extends $Command< CreateCampaignCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCampaignCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts b/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts index 74785e48788a9..ffea1f6700d2a 100644 --- a/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreateEmailTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreateEmailTemplateCommand extends $Command< CreateEmailTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateEmailTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateExportJobCommand.ts b/clients/client-pinpoint/commands/CreateExportJobCommand.ts index 84a86d5e5dea7..274d68e57f467 100644 --- a/clients/client-pinpoint/commands/CreateExportJobCommand.ts +++ b/clients/client-pinpoint/commands/CreateExportJobCommand.ts @@ -28,7 +28,6 @@ export class CreateExportJobCommand extends $Command< CreateExportJobCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateExportJobCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateImportJobCommand.ts b/clients/client-pinpoint/commands/CreateImportJobCommand.ts index 3949e27d81349..1ba6223875449 100644 --- a/clients/client-pinpoint/commands/CreateImportJobCommand.ts +++ b/clients/client-pinpoint/commands/CreateImportJobCommand.ts @@ -28,7 +28,6 @@ export class CreateImportJobCommand extends $Command< CreateImportJobCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImportJobCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateJourneyCommand.ts b/clients/client-pinpoint/commands/CreateJourneyCommand.ts index b9cab7d9fb292..cf1072462acae 100644 --- a/clients/client-pinpoint/commands/CreateJourneyCommand.ts +++ b/clients/client-pinpoint/commands/CreateJourneyCommand.ts @@ -28,7 +28,6 @@ export class CreateJourneyCommand extends $Command< CreateJourneyCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateJourneyCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts b/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts index 17095330dfb5e..eb53a2e57a1ed 100644 --- a/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreatePushTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreatePushTemplateCommand extends $Command< CreatePushTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePushTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateRecommenderConfigurationCommand.ts b/clients/client-pinpoint/commands/CreateRecommenderConfigurationCommand.ts index de60ca8cfdda1..75f8b37064f97 100644 --- a/clients/client-pinpoint/commands/CreateRecommenderConfigurationCommand.ts +++ b/clients/client-pinpoint/commands/CreateRecommenderConfigurationCommand.ts @@ -28,7 +28,6 @@ export class CreateRecommenderConfigurationCommand extends $Command< CreateRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRecommenderConfigurationCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateSegmentCommand.ts b/clients/client-pinpoint/commands/CreateSegmentCommand.ts index 37c0ca3c83005..d854ebddba04f 100644 --- a/clients/client-pinpoint/commands/CreateSegmentCommand.ts +++ b/clients/client-pinpoint/commands/CreateSegmentCommand.ts @@ -28,7 +28,6 @@ export class CreateSegmentCommand extends $Command< CreateSegmentCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSegmentCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts b/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts index 9dd14933e0b13..2125a813435a3 100644 --- a/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreateSmsTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreateSmsTemplateCommand extends $Command< CreateSmsTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSmsTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts index 76eed2590adba..29015f6f7c7b6 100644 --- a/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/CreateVoiceTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreateVoiceTemplateCommand extends $Command< CreateVoiceTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateVoiceTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts b/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts index 2cfe281faf028..10bcb1c78a5b8 100644 --- a/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteAdmChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteAdmChannelCommand extends $Command< DeleteAdmChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAdmChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts index bef1107892847..54cb7a2e1aea4 100644 --- a/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteApnsChannelCommand extends $Command< DeleteApnsChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApnsChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts index a540a7a6fe714..997e99db1d181 100644 --- a/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsSandboxChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteApnsSandboxChannelCommand extends $Command< DeleteApnsSandboxChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApnsSandboxChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts index 740ea71446125..ea27d094ec5e1 100644 --- a/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsVoipChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteApnsVoipChannelCommand extends $Command< DeleteApnsVoipChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApnsVoipChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts b/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts index d6755f562ef06..34fa40bd7e1a2 100644 --- a/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteApnsVoipSandboxChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteApnsVoipSandboxChannelCommand extends $Command< DeleteApnsVoipSandboxChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteApnsVoipSandboxChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteAppCommand.ts b/clients/client-pinpoint/commands/DeleteAppCommand.ts index 10dc75e30c4e8..b23137238f077 100644 --- a/clients/client-pinpoint/commands/DeleteAppCommand.ts +++ b/clients/client-pinpoint/commands/DeleteAppCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppCommand extends $Command< DeleteAppCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts b/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts index 58d5834b6ce07..ee0bbf3b6bd5b 100644 --- a/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteBaiduChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteBaiduChannelCommand extends $Command< DeleteBaiduChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteBaiduChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteCampaignCommand.ts b/clients/client-pinpoint/commands/DeleteCampaignCommand.ts index 5b55d7a30f059..7b4af254c12ad 100644 --- a/clients/client-pinpoint/commands/DeleteCampaignCommand.ts +++ b/clients/client-pinpoint/commands/DeleteCampaignCommand.ts @@ -28,7 +28,6 @@ export class DeleteCampaignCommand extends $Command< DeleteCampaignCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCampaignCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts b/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts index 15d0fe187c522..7ea99cde8a6fd 100644 --- a/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEmailChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteEmailChannelCommand extends $Command< DeleteEmailChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEmailChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts b/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts index e2ec76a95e7c3..480fd9a3648d5 100644 --- a/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEmailTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteEmailTemplateCommand extends $Command< DeleteEmailTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEmailTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteEndpointCommand.ts b/clients/client-pinpoint/commands/DeleteEndpointCommand.ts index 0fc4088aae775..2ff72fc81e6c6 100644 --- a/clients/client-pinpoint/commands/DeleteEndpointCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEndpointCommand.ts @@ -28,7 +28,6 @@ export class DeleteEndpointCommand extends $Command< DeleteEndpointCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEndpointCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts b/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts index 27f2c181dc4b8..a67386b0781c8 100644 --- a/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts +++ b/clients/client-pinpoint/commands/DeleteEventStreamCommand.ts @@ -28,7 +28,6 @@ export class DeleteEventStreamCommand extends $Command< DeleteEventStreamCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEventStreamCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts b/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts index e0f1bce1beb4b..4e0dc13733068 100644 --- a/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteGcmChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteGcmChannelCommand extends $Command< DeleteGcmChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGcmChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteJourneyCommand.ts b/clients/client-pinpoint/commands/DeleteJourneyCommand.ts index 5854a8eff5674..1ebd45b27e867 100644 --- a/clients/client-pinpoint/commands/DeleteJourneyCommand.ts +++ b/clients/client-pinpoint/commands/DeleteJourneyCommand.ts @@ -28,7 +28,6 @@ export class DeleteJourneyCommand extends $Command< DeleteJourneyCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteJourneyCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts b/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts index d24fd5ad8cd78..58a6db7075244 100644 --- a/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeletePushTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeletePushTemplateCommand extends $Command< DeletePushTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePushTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteRecommenderConfigurationCommand.ts b/clients/client-pinpoint/commands/DeleteRecommenderConfigurationCommand.ts index 4063144ce87f9..f9993edb14bc7 100644 --- a/clients/client-pinpoint/commands/DeleteRecommenderConfigurationCommand.ts +++ b/clients/client-pinpoint/commands/DeleteRecommenderConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteRecommenderConfigurationCommand extends $Command< DeleteRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRecommenderConfigurationCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteSegmentCommand.ts b/clients/client-pinpoint/commands/DeleteSegmentCommand.ts index 265bf03224f89..0ab5751b9756f 100644 --- a/clients/client-pinpoint/commands/DeleteSegmentCommand.ts +++ b/clients/client-pinpoint/commands/DeleteSegmentCommand.ts @@ -28,7 +28,6 @@ export class DeleteSegmentCommand extends $Command< DeleteSegmentCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSegmentCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts b/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts index b8f6b0d3b0357..0465c2a876f56 100644 --- a/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteSmsChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteSmsChannelCommand extends $Command< DeleteSmsChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSmsChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts b/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts index 5675f58b7e7ab..34a4e35cb539b 100644 --- a/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeleteSmsTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteSmsTemplateCommand extends $Command< DeleteSmsTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSmsTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts b/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts index a2725172521d9..323a86ee81825 100644 --- a/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts +++ b/clients/client-pinpoint/commands/DeleteUserEndpointsCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserEndpointsCommand extends $Command< DeleteUserEndpointsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserEndpointsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts b/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts index 0d61e749bb321..2bd775ef46653 100644 --- a/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts +++ b/clients/client-pinpoint/commands/DeleteVoiceChannelCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceChannelCommand extends $Command< DeleteVoiceChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVoiceChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts index e07c229819d8d..1271c4707d464 100644 --- a/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/DeleteVoiceTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteVoiceTemplateCommand extends $Command< DeleteVoiceTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVoiceTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetAdmChannelCommand.ts b/clients/client-pinpoint/commands/GetAdmChannelCommand.ts index e983532e1a44e..408a5ad24abbc 100644 --- a/clients/client-pinpoint/commands/GetAdmChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetAdmChannelCommand.ts @@ -28,7 +28,6 @@ export class GetAdmChannelCommand extends $Command< GetAdmChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAdmChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetApnsChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsChannelCommand.ts index ec7343bfc72d0..1bd75f74b82c5 100644 --- a/clients/client-pinpoint/commands/GetApnsChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsChannelCommand.ts @@ -28,7 +28,6 @@ export class GetApnsChannelCommand extends $Command< GetApnsChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApnsChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts index 7fbb6e9498eba..d4e1a147e41e0 100644 --- a/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsSandboxChannelCommand.ts @@ -28,7 +28,6 @@ export class GetApnsSandboxChannelCommand extends $Command< GetApnsSandboxChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApnsSandboxChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts index b7dd70cbc98c8..0b7e3d0dd82d5 100644 --- a/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsVoipChannelCommand.ts @@ -28,7 +28,6 @@ export class GetApnsVoipChannelCommand extends $Command< GetApnsVoipChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApnsVoipChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts b/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts index b1ac037e50da7..f388039d7fbe1 100644 --- a/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetApnsVoipSandboxChannelCommand.ts @@ -28,7 +28,6 @@ export class GetApnsVoipSandboxChannelCommand extends $Command< GetApnsVoipSandboxChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApnsVoipSandboxChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetAppCommand.ts b/clients/client-pinpoint/commands/GetAppCommand.ts index 39ead1400e0cb..e066832906eb0 100644 --- a/clients/client-pinpoint/commands/GetAppCommand.ts +++ b/clients/client-pinpoint/commands/GetAppCommand.ts @@ -21,7 +21,6 @@ export type GetAppCommandOutput = GetAppResponse & __MetadataBearer; *

Retrieves information about an application.

*/ 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-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts b/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts index 938499d058faa..bba2bd803d7da 100644 --- a/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts +++ b/clients/client-pinpoint/commands/GetApplicationDateRangeKpiCommand.ts @@ -28,7 +28,6 @@ export class GetApplicationDateRangeKpiCommand extends $Command< GetApplicationDateRangeKpiCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApplicationDateRangeKpiCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts b/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts index ae015465663b6..682373c0027ea 100644 --- a/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts +++ b/clients/client-pinpoint/commands/GetApplicationSettingsCommand.ts @@ -28,7 +28,6 @@ export class GetApplicationSettingsCommand extends $Command< GetApplicationSettingsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetApplicationSettingsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetAppsCommand.ts b/clients/client-pinpoint/commands/GetAppsCommand.ts index 95ed54e8b6aa1..f14fb90b91356 100644 --- a/clients/client-pinpoint/commands/GetAppsCommand.ts +++ b/clients/client-pinpoint/commands/GetAppsCommand.ts @@ -24,7 +24,6 @@ export type GetAppsCommandOutput = GetAppsResponse & __MetadataBearer; *

Retrieves information about all the applications that are associated with your Amazon Pinpoint account.

*/ export class GetAppsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetAppsCommand 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-pinpoint/commands/GetBaiduChannelCommand.ts b/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts index 593586a4b295c..772fbf7cc31bc 100644 --- a/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetBaiduChannelCommand.ts @@ -28,7 +28,6 @@ export class GetBaiduChannelCommand extends $Command< GetBaiduChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBaiduChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts b/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts index d89ac85a0a350..de0e3d0f00f40 100644 --- a/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignActivitiesCommand.ts @@ -28,7 +28,6 @@ export class GetCampaignActivitiesCommand extends $Command< GetCampaignActivitiesCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCampaignActivitiesCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetCampaignCommand.ts b/clients/client-pinpoint/commands/GetCampaignCommand.ts index be530c455bb37..2bb1b6a707202 100644 --- a/clients/client-pinpoint/commands/GetCampaignCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignCommand.ts @@ -28,7 +28,6 @@ export class GetCampaignCommand extends $Command< GetCampaignCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCampaignCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts b/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts index 339bbff972441..202a2734be61d 100644 --- a/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignDateRangeKpiCommand.ts @@ -28,7 +28,6 @@ export class GetCampaignDateRangeKpiCommand extends $Command< GetCampaignDateRangeKpiCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCampaignDateRangeKpiCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts b/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts index feed39ba5866a..f3ea9cf5ab5e7 100644 --- a/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignVersionCommand.ts @@ -28,7 +28,6 @@ export class GetCampaignVersionCommand extends $Command< GetCampaignVersionCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCampaignVersionCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts b/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts index 2f2992382434c..636ad7f5999ba 100644 --- a/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignVersionsCommand.ts @@ -28,7 +28,6 @@ export class GetCampaignVersionsCommand extends $Command< GetCampaignVersionsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCampaignVersionsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetCampaignsCommand.ts b/clients/client-pinpoint/commands/GetCampaignsCommand.ts index 850832e6c90eb..2bea8c1eb7655 100644 --- a/clients/client-pinpoint/commands/GetCampaignsCommand.ts +++ b/clients/client-pinpoint/commands/GetCampaignsCommand.ts @@ -28,7 +28,6 @@ export class GetCampaignsCommand extends $Command< GetCampaignsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCampaignsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetChannelsCommand.ts b/clients/client-pinpoint/commands/GetChannelsCommand.ts index c3381e3c9e748..37f453bee1418 100644 --- a/clients/client-pinpoint/commands/GetChannelsCommand.ts +++ b/clients/client-pinpoint/commands/GetChannelsCommand.ts @@ -28,7 +28,6 @@ export class GetChannelsCommand extends $Command< GetChannelsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetChannelsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetEmailChannelCommand.ts b/clients/client-pinpoint/commands/GetEmailChannelCommand.ts index ad0dba0651c60..5d327fd0f38f9 100644 --- a/clients/client-pinpoint/commands/GetEmailChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetEmailChannelCommand.ts @@ -28,7 +28,6 @@ export class GetEmailChannelCommand extends $Command< GetEmailChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEmailChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts b/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts index 4b4b3ec6b3c86..d36da2bf2cc02 100644 --- a/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetEmailTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetEmailTemplateCommand extends $Command< GetEmailTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEmailTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetEndpointCommand.ts b/clients/client-pinpoint/commands/GetEndpointCommand.ts index b3d59bc74e797..f58ad17ce068d 100644 --- a/clients/client-pinpoint/commands/GetEndpointCommand.ts +++ b/clients/client-pinpoint/commands/GetEndpointCommand.ts @@ -28,7 +28,6 @@ export class GetEndpointCommand extends $Command< GetEndpointCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEndpointCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetEventStreamCommand.ts b/clients/client-pinpoint/commands/GetEventStreamCommand.ts index 5f257ca9e2395..b64c8ca18562d 100644 --- a/clients/client-pinpoint/commands/GetEventStreamCommand.ts +++ b/clients/client-pinpoint/commands/GetEventStreamCommand.ts @@ -28,7 +28,6 @@ export class GetEventStreamCommand extends $Command< GetEventStreamCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEventStreamCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetExportJobCommand.ts b/clients/client-pinpoint/commands/GetExportJobCommand.ts index d22b25b4c4592..8a279fc8fe661 100644 --- a/clients/client-pinpoint/commands/GetExportJobCommand.ts +++ b/clients/client-pinpoint/commands/GetExportJobCommand.ts @@ -28,7 +28,6 @@ export class GetExportJobCommand extends $Command< GetExportJobCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetExportJobCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetExportJobsCommand.ts b/clients/client-pinpoint/commands/GetExportJobsCommand.ts index e62db084df1ec..998c44c91ab77 100644 --- a/clients/client-pinpoint/commands/GetExportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetExportJobsCommand.ts @@ -28,7 +28,6 @@ export class GetExportJobsCommand extends $Command< GetExportJobsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetExportJobsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetGcmChannelCommand.ts b/clients/client-pinpoint/commands/GetGcmChannelCommand.ts index 57149eaceec0c..4c64d1dc0131c 100644 --- a/clients/client-pinpoint/commands/GetGcmChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetGcmChannelCommand.ts @@ -28,7 +28,6 @@ export class GetGcmChannelCommand extends $Command< GetGcmChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGcmChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetImportJobCommand.ts b/clients/client-pinpoint/commands/GetImportJobCommand.ts index 3e347908b82d8..a07282da8f165 100644 --- a/clients/client-pinpoint/commands/GetImportJobCommand.ts +++ b/clients/client-pinpoint/commands/GetImportJobCommand.ts @@ -28,7 +28,6 @@ export class GetImportJobCommand extends $Command< GetImportJobCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImportJobCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetImportJobsCommand.ts b/clients/client-pinpoint/commands/GetImportJobsCommand.ts index 88ba455fcd730..d40fe3282bac6 100644 --- a/clients/client-pinpoint/commands/GetImportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetImportJobsCommand.ts @@ -28,7 +28,6 @@ export class GetImportJobsCommand extends $Command< GetImportJobsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImportJobsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetJourneyCommand.ts b/clients/client-pinpoint/commands/GetJourneyCommand.ts index fceb85b2592d3..9bcef747db4c9 100644 --- a/clients/client-pinpoint/commands/GetJourneyCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyCommand.ts @@ -28,7 +28,6 @@ export class GetJourneyCommand extends $Command< GetJourneyCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetJourneyCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts b/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts index 3172ad87bb4d8..a9bc7d1c1252b 100644 --- a/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyDateRangeKpiCommand.ts @@ -28,7 +28,6 @@ export class GetJourneyDateRangeKpiCommand extends $Command< GetJourneyDateRangeKpiCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetJourneyDateRangeKpiCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts b/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts index 9b5b88a93da4f..501c26518f7d6 100644 --- a/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyExecutionActivityMetricsCommand.ts @@ -32,7 +32,6 @@ export class GetJourneyExecutionActivityMetricsCommand extends $Command< GetJourneyExecutionActivityMetricsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetJourneyExecutionActivityMetricsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts b/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts index 477b37f81a20a..85c635858dc82 100644 --- a/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts +++ b/clients/client-pinpoint/commands/GetJourneyExecutionMetricsCommand.ts @@ -28,7 +28,6 @@ export class GetJourneyExecutionMetricsCommand extends $Command< GetJourneyExecutionMetricsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetJourneyExecutionMetricsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetPushTemplateCommand.ts b/clients/client-pinpoint/commands/GetPushTemplateCommand.ts index 1f84b238de186..918b882cc9a48 100644 --- a/clients/client-pinpoint/commands/GetPushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetPushTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetPushTemplateCommand extends $Command< GetPushTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPushTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetRecommenderConfigurationCommand.ts b/clients/client-pinpoint/commands/GetRecommenderConfigurationCommand.ts index 37c996f8abd8a..935707f7f7f16 100644 --- a/clients/client-pinpoint/commands/GetRecommenderConfigurationCommand.ts +++ b/clients/client-pinpoint/commands/GetRecommenderConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetRecommenderConfigurationCommand extends $Command< GetRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRecommenderConfigurationCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetRecommenderConfigurationsCommand.ts b/clients/client-pinpoint/commands/GetRecommenderConfigurationsCommand.ts index 7805694521f75..c81593790981e 100644 --- a/clients/client-pinpoint/commands/GetRecommenderConfigurationsCommand.ts +++ b/clients/client-pinpoint/commands/GetRecommenderConfigurationsCommand.ts @@ -28,7 +28,6 @@ export class GetRecommenderConfigurationsCommand extends $Command< GetRecommenderConfigurationsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRecommenderConfigurationsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSegmentCommand.ts b/clients/client-pinpoint/commands/GetSegmentCommand.ts index ba50240e0afe7..538076434dcb5 100644 --- a/clients/client-pinpoint/commands/GetSegmentCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentCommand.ts @@ -28,7 +28,6 @@ export class GetSegmentCommand extends $Command< GetSegmentCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSegmentCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts b/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts index 73fab2ae819d8..850a29a0aa4f6 100644 --- a/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentExportJobsCommand.ts @@ -28,7 +28,6 @@ export class GetSegmentExportJobsCommand extends $Command< GetSegmentExportJobsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSegmentExportJobsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts b/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts index 19a97719d09b7..a3a7875dff736 100644 --- a/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentImportJobsCommand.ts @@ -28,7 +28,6 @@ export class GetSegmentImportJobsCommand extends $Command< GetSegmentImportJobsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSegmentImportJobsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts b/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts index d79862f3f352b..35cbb71e1a17c 100644 --- a/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentVersionCommand.ts @@ -28,7 +28,6 @@ export class GetSegmentVersionCommand extends $Command< GetSegmentVersionCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSegmentVersionCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts b/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts index 5758570f5449e..b46321ab713a5 100644 --- a/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentVersionsCommand.ts @@ -28,7 +28,6 @@ export class GetSegmentVersionsCommand extends $Command< GetSegmentVersionsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSegmentVersionsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSegmentsCommand.ts b/clients/client-pinpoint/commands/GetSegmentsCommand.ts index 095571b3b8a7a..92872c419b892 100644 --- a/clients/client-pinpoint/commands/GetSegmentsCommand.ts +++ b/clients/client-pinpoint/commands/GetSegmentsCommand.ts @@ -28,7 +28,6 @@ export class GetSegmentsCommand extends $Command< GetSegmentsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSegmentsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSmsChannelCommand.ts b/clients/client-pinpoint/commands/GetSmsChannelCommand.ts index 5867a63b7e565..632a23cc0e5fc 100644 --- a/clients/client-pinpoint/commands/GetSmsChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetSmsChannelCommand.ts @@ -28,7 +28,6 @@ export class GetSmsChannelCommand extends $Command< GetSmsChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSmsChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts b/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts index 059d8027250c2..2721c2be59109 100644 --- a/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetSmsTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetSmsTemplateCommand extends $Command< GetSmsTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSmsTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts b/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts index 830605a0920ff..5999c95ec0974 100644 --- a/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts +++ b/clients/client-pinpoint/commands/GetUserEndpointsCommand.ts @@ -28,7 +28,6 @@ export class GetUserEndpointsCommand extends $Command< GetUserEndpointsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetUserEndpointsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts b/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts index d430ba0dd1c36..a655f27fdb183 100644 --- a/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts +++ b/clients/client-pinpoint/commands/GetVoiceChannelCommand.ts @@ -28,7 +28,6 @@ export class GetVoiceChannelCommand extends $Command< GetVoiceChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVoiceChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts index 5c1e2a21f8b9f..33d26171c51d4 100644 --- a/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/GetVoiceTemplateCommand.ts @@ -28,7 +28,6 @@ export class GetVoiceTemplateCommand extends $Command< GetVoiceTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVoiceTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/ListJourneysCommand.ts b/clients/client-pinpoint/commands/ListJourneysCommand.ts index 17d22928e6137..58fa01a928f5a 100644 --- a/clients/client-pinpoint/commands/ListJourneysCommand.ts +++ b/clients/client-pinpoint/commands/ListJourneysCommand.ts @@ -28,7 +28,6 @@ export class ListJourneysCommand extends $Command< ListJourneysCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListJourneysCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts b/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts index b57362dde8436..fe96007ad5ae4 100644 --- a/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts +++ b/clients/client-pinpoint/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts b/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts index 12627c6b4f98e..b8a6b58b01770 100644 --- a/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts +++ b/clients/client-pinpoint/commands/ListTemplateVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListTemplateVersionsCommand extends $Command< ListTemplateVersionsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTemplateVersionsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/ListTemplatesCommand.ts b/clients/client-pinpoint/commands/ListTemplatesCommand.ts index d58f082daf454..ca161ebdd210c 100644 --- a/clients/client-pinpoint/commands/ListTemplatesCommand.ts +++ b/clients/client-pinpoint/commands/ListTemplatesCommand.ts @@ -28,7 +28,6 @@ export class ListTemplatesCommand extends $Command< ListTemplatesCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTemplatesCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts b/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts index d91f1309b1e52..3ac544434e235 100644 --- a/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts +++ b/clients/client-pinpoint/commands/PhoneNumberValidateCommand.ts @@ -28,7 +28,6 @@ export class PhoneNumberValidateCommand extends $Command< PhoneNumberValidateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PhoneNumberValidateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/PutEventStreamCommand.ts b/clients/client-pinpoint/commands/PutEventStreamCommand.ts index 0210f9a688358..a75cd8756d424 100644 --- a/clients/client-pinpoint/commands/PutEventStreamCommand.ts +++ b/clients/client-pinpoint/commands/PutEventStreamCommand.ts @@ -28,7 +28,6 @@ export class PutEventStreamCommand extends $Command< PutEventStreamCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEventStreamCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/PutEventsCommand.ts b/clients/client-pinpoint/commands/PutEventsCommand.ts index 5c69556d57ea2..6c799ffbb5233 100644 --- a/clients/client-pinpoint/commands/PutEventsCommand.ts +++ b/clients/client-pinpoint/commands/PutEventsCommand.ts @@ -28,7 +28,6 @@ export class PutEventsCommand extends $Command< PutEventsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEventsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/RemoveAttributesCommand.ts b/clients/client-pinpoint/commands/RemoveAttributesCommand.ts index 38229a0c34aa2..d3a123213fc5b 100644 --- a/clients/client-pinpoint/commands/RemoveAttributesCommand.ts +++ b/clients/client-pinpoint/commands/RemoveAttributesCommand.ts @@ -28,7 +28,6 @@ export class RemoveAttributesCommand extends $Command< RemoveAttributesCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveAttributesCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/SendMessagesCommand.ts b/clients/client-pinpoint/commands/SendMessagesCommand.ts index 4a34734e3dd34..4ecf74daa3ccf 100644 --- a/clients/client-pinpoint/commands/SendMessagesCommand.ts +++ b/clients/client-pinpoint/commands/SendMessagesCommand.ts @@ -28,7 +28,6 @@ export class SendMessagesCommand extends $Command< SendMessagesCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SendMessagesCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts b/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts index 1ba020ce4be8a..7994c411936eb 100644 --- a/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts +++ b/clients/client-pinpoint/commands/SendUsersMessagesCommand.ts @@ -28,7 +28,6 @@ export class SendUsersMessagesCommand extends $Command< SendUsersMessagesCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SendUsersMessagesCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/TagResourceCommand.ts b/clients/client-pinpoint/commands/TagResourceCommand.ts index fd4246e8e2553..38e8058e881f0 100644 --- a/clients/client-pinpoint/commands/TagResourceCommand.ts +++ b/clients/client-pinpoint/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UntagResourceCommand.ts b/clients/client-pinpoint/commands/UntagResourceCommand.ts index aaa03af2e1e9a..d8f4157a76381 100644 --- a/clients/client-pinpoint/commands/UntagResourceCommand.ts +++ b/clients/client-pinpoint/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts b/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts index a0426a8073917..26b560abae4c8 100644 --- a/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateAdmChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateAdmChannelCommand extends $Command< UpdateAdmChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAdmChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts index af54f48cbef4b..aba1bbf2f807e 100644 --- a/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateApnsChannelCommand extends $Command< UpdateApnsChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApnsChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts index 50349015dc215..90d739474b6cb 100644 --- a/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsSandboxChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateApnsSandboxChannelCommand extends $Command< UpdateApnsSandboxChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApnsSandboxChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts index 32e095fd682e8..8144b15b4912a 100644 --- a/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsVoipChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateApnsVoipChannelCommand extends $Command< UpdateApnsVoipChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApnsVoipChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts b/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts index 83477c75de199..de43883afffd7 100644 --- a/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApnsVoipSandboxChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateApnsVoipSandboxChannelCommand extends $Command< UpdateApnsVoipSandboxChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApnsVoipSandboxChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts b/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts index 25cd9c9576d68..451d6a1051d17 100644 --- a/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts +++ b/clients/client-pinpoint/commands/UpdateApplicationSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateApplicationSettingsCommand extends $Command< UpdateApplicationSettingsCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateApplicationSettingsCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts b/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts index 4a15a13410982..68457cefcc059 100644 --- a/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateBaiduChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateBaiduChannelCommand extends $Command< UpdateBaiduChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateBaiduChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateCampaignCommand.ts b/clients/client-pinpoint/commands/UpdateCampaignCommand.ts index 32126f32ab579..11ca2e951fd06 100644 --- a/clients/client-pinpoint/commands/UpdateCampaignCommand.ts +++ b/clients/client-pinpoint/commands/UpdateCampaignCommand.ts @@ -28,7 +28,6 @@ export class UpdateCampaignCommand extends $Command< UpdateCampaignCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCampaignCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts b/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts index 13dc942c43104..b3d97d2a67c8e 100644 --- a/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEmailChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateEmailChannelCommand extends $Command< UpdateEmailChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEmailChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts b/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts index 0797a27f8b4f9..d7fc321e014d7 100644 --- a/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEmailTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateEmailTemplateCommand extends $Command< UpdateEmailTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEmailTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateEndpointCommand.ts b/clients/client-pinpoint/commands/UpdateEndpointCommand.ts index 72efdafb9b2e5..546c5c22f9f7c 100644 --- a/clients/client-pinpoint/commands/UpdateEndpointCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEndpointCommand.ts @@ -28,7 +28,6 @@ export class UpdateEndpointCommand extends $Command< UpdateEndpointCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEndpointCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts b/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts index c1d7144b00461..45c52cc0bb7fa 100644 --- a/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts +++ b/clients/client-pinpoint/commands/UpdateEndpointsBatchCommand.ts @@ -28,7 +28,6 @@ export class UpdateEndpointsBatchCommand extends $Command< UpdateEndpointsBatchCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEndpointsBatchCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts b/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts index c6993da7c7388..93b052a255ecd 100644 --- a/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateGcmChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateGcmChannelCommand extends $Command< UpdateGcmChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGcmChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateJourneyCommand.ts b/clients/client-pinpoint/commands/UpdateJourneyCommand.ts index 7584eb1e53588..e26ae32687fab 100644 --- a/clients/client-pinpoint/commands/UpdateJourneyCommand.ts +++ b/clients/client-pinpoint/commands/UpdateJourneyCommand.ts @@ -28,7 +28,6 @@ export class UpdateJourneyCommand extends $Command< UpdateJourneyCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateJourneyCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts b/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts index 3528df27be57c..a761e71b483d3 100644 --- a/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateJourneyStateCommand.ts @@ -28,7 +28,6 @@ export class UpdateJourneyStateCommand extends $Command< UpdateJourneyStateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateJourneyStateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts b/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts index 08496338569a0..88b0c5cc77053 100644 --- a/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdatePushTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdatePushTemplateCommand extends $Command< UpdatePushTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePushTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateRecommenderConfigurationCommand.ts b/clients/client-pinpoint/commands/UpdateRecommenderConfigurationCommand.ts index a432a47994e54..7677620f02f8a 100644 --- a/clients/client-pinpoint/commands/UpdateRecommenderConfigurationCommand.ts +++ b/clients/client-pinpoint/commands/UpdateRecommenderConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateRecommenderConfigurationCommand extends $Command< UpdateRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRecommenderConfigurationCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateSegmentCommand.ts b/clients/client-pinpoint/commands/UpdateSegmentCommand.ts index 207e4ffa476e2..4f6688b57160a 100644 --- a/clients/client-pinpoint/commands/UpdateSegmentCommand.ts +++ b/clients/client-pinpoint/commands/UpdateSegmentCommand.ts @@ -28,7 +28,6 @@ export class UpdateSegmentCommand extends $Command< UpdateSegmentCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSegmentCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts b/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts index a592fd6ce7ba6..ae32ac5eefb94 100644 --- a/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateSmsChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateSmsChannelCommand extends $Command< UpdateSmsChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSmsChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts b/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts index 525fced8bd584..ec622e01002d7 100644 --- a/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateSmsTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateSmsTemplateCommand extends $Command< UpdateSmsTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSmsTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts b/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts index 760d922c182fe..c9d213477594a 100644 --- a/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts +++ b/clients/client-pinpoint/commands/UpdateTemplateActiveVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateTemplateActiveVersionCommand extends $Command< UpdateTemplateActiveVersionCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTemplateActiveVersionCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts b/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts index da2b644371205..994b04ed750b4 100644 --- a/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts +++ b/clients/client-pinpoint/commands/UpdateVoiceChannelCommand.ts @@ -28,7 +28,6 @@ export class UpdateVoiceChannelCommand extends $Command< UpdateVoiceChannelCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVoiceChannelCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts b/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts index 53d938b2917ea..cbef2d2020b78 100644 --- a/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts +++ b/clients/client-pinpoint/commands/UpdateVoiceTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateVoiceTemplateCommand extends $Command< UpdateVoiceTemplateCommandOutput, PinpointClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVoiceTemplateCommand extends $Command< configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/DeleteLexiconCommand.ts b/clients/client-polly/commands/DeleteLexiconCommand.ts index 82b536334f15a..9aa69d804f27e 100644 --- a/clients/client-polly/commands/DeleteLexiconCommand.ts +++ b/clients/client-polly/commands/DeleteLexiconCommand.ts @@ -32,7 +32,6 @@ export class DeleteLexiconCommand extends $Command< DeleteLexiconCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLexiconCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/DescribeVoicesCommand.ts b/clients/client-polly/commands/DescribeVoicesCommand.ts index 88f7d01664453..dabdd9e1b5ce6 100644 --- a/clients/client-polly/commands/DescribeVoicesCommand.ts +++ b/clients/client-polly/commands/DescribeVoicesCommand.ts @@ -44,7 +44,6 @@ export class DescribeVoicesCommand extends $Command< DescribeVoicesCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DescribeVoicesCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/GetLexiconCommand.ts b/clients/client-polly/commands/GetLexiconCommand.ts index 594ceba3082bb..4adb12c452195 100644 --- a/clients/client-polly/commands/GetLexiconCommand.ts +++ b/clients/client-polly/commands/GetLexiconCommand.ts @@ -30,7 +30,6 @@ export class GetLexiconCommand extends $Command< GetLexiconCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetLexiconCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts b/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts index 7d06224639ec4..788d59250b891 100644 --- a/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts +++ b/clients/client-polly/commands/GetSpeechSynthesisTaskCommand.ts @@ -30,7 +30,6 @@ export class GetSpeechSynthesisTaskCommand extends $Command< GetSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetSpeechSynthesisTaskCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/ListLexiconsCommand.ts b/clients/client-polly/commands/ListLexiconsCommand.ts index 11d498db89489..a7e0edca27314 100644 --- a/clients/client-polly/commands/ListLexiconsCommand.ts +++ b/clients/client-polly/commands/ListLexiconsCommand.ts @@ -30,7 +30,6 @@ export class ListLexiconsCommand extends $Command< ListLexiconsCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListLexiconsCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts b/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts index 9c7110e431953..689bd86673cef 100644 --- a/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts +++ b/clients/client-polly/commands/ListSpeechSynthesisTasksCommand.ts @@ -30,7 +30,6 @@ export class ListSpeechSynthesisTasksCommand extends $Command< ListSpeechSynthesisTasksCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListSpeechSynthesisTasksCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/PutLexiconCommand.ts b/clients/client-polly/commands/PutLexiconCommand.ts index 38f5bae496eb1..c7a3deec759d5 100644 --- a/clients/client-polly/commands/PutLexiconCommand.ts +++ b/clients/client-polly/commands/PutLexiconCommand.ts @@ -33,7 +33,6 @@ export class PutLexiconCommand extends $Command< PutLexiconCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutLexiconCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts b/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts index db50c5ea01912..95d6f3d4c0179 100644 --- a/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts +++ b/clients/client-polly/commands/StartSpeechSynthesisTaskCommand.ts @@ -33,7 +33,6 @@ export class StartSpeechSynthesisTaskCommand extends $Command< StartSpeechSynthesisTaskCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StartSpeechSynthesisTaskCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-polly/commands/SynthesizeSpeechCommand.ts b/clients/client-polly/commands/SynthesizeSpeechCommand.ts index 0d5e9260cac0b..d5145cdf5e8a2 100644 --- a/clients/client-polly/commands/SynthesizeSpeechCommand.ts +++ b/clients/client-polly/commands/SynthesizeSpeechCommand.ts @@ -32,7 +32,6 @@ export class SynthesizeSpeechCommand extends $Command< SynthesizeSpeechCommandOutput, PollyClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SynthesizeSpeechCommand extends $Command< configuration: PollyClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pricing/commands/DescribeServicesCommand.ts b/clients/client-pricing/commands/DescribeServicesCommand.ts index 03c0e6b028345..e20dd45c92cf8 100644 --- a/clients/client-pricing/commands/DescribeServicesCommand.ts +++ b/clients/client-pricing/commands/DescribeServicesCommand.ts @@ -34,7 +34,6 @@ export class DescribeServicesCommand extends $Command< DescribeServicesCommandOutput, PricingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeServicesCommand extends $Command< configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pricing/commands/GetAttributeValuesCommand.ts b/clients/client-pricing/commands/GetAttributeValuesCommand.ts index 50846bc6215ac..25fe3be9c2383 100644 --- a/clients/client-pricing/commands/GetAttributeValuesCommand.ts +++ b/clients/client-pricing/commands/GetAttributeValuesCommand.ts @@ -31,7 +31,6 @@ export class GetAttributeValuesCommand extends $Command< GetAttributeValuesCommandOutput, PricingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetAttributeValuesCommand extends $Command< configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-pricing/commands/GetProductsCommand.ts b/clients/client-pricing/commands/GetProductsCommand.ts index 7f69e52f386c7..17921148dd80d 100644 --- a/clients/client-pricing/commands/GetProductsCommand.ts +++ b/clients/client-pricing/commands/GetProductsCommand.ts @@ -28,7 +28,6 @@ export class GetProductsCommand extends $Command< GetProductsCommandOutput, PricingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProductsCommand extends $Command< configuration: PricingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb-session/commands/SendCommandCommand.ts b/clients/client-qldb-session/commands/SendCommandCommand.ts index 5b62d70831c32..1abee84b34146 100644 --- a/clients/client-qldb-session/commands/SendCommandCommand.ts +++ b/clients/client-qldb-session/commands/SendCommandCommand.ts @@ -48,7 +48,6 @@ export class SendCommandCommand extends $Command< SendCommandCommandOutput, QLDBSessionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class SendCommandCommand extends $Command< configuration: QLDBSessionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/CancelJournalKinesisStreamCommand.ts b/clients/client-qldb/commands/CancelJournalKinesisStreamCommand.ts index 97347d2ae61ee..f5f9c9a5007a5 100644 --- a/clients/client-qldb/commands/CancelJournalKinesisStreamCommand.ts +++ b/clients/client-qldb/commands/CancelJournalKinesisStreamCommand.ts @@ -32,7 +32,6 @@ export class CancelJournalKinesisStreamCommand extends $Command< CancelJournalKinesisStreamCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CancelJournalKinesisStreamCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/CreateLedgerCommand.ts b/clients/client-qldb/commands/CreateLedgerCommand.ts index 4045cccae4bf3..ba59179cff1ea 100644 --- a/clients/client-qldb/commands/CreateLedgerCommand.ts +++ b/clients/client-qldb/commands/CreateLedgerCommand.ts @@ -28,7 +28,6 @@ export class CreateLedgerCommand extends $Command< CreateLedgerCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateLedgerCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/DeleteLedgerCommand.ts b/clients/client-qldb/commands/DeleteLedgerCommand.ts index 1699fac9bf7c4..a7b600cf6251b 100644 --- a/clients/client-qldb/commands/DeleteLedgerCommand.ts +++ b/clients/client-qldb/commands/DeleteLedgerCommand.ts @@ -32,7 +32,6 @@ export class DeleteLedgerCommand extends $Command< DeleteLedgerCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLedgerCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/DescribeJournalKinesisStreamCommand.ts b/clients/client-qldb/commands/DescribeJournalKinesisStreamCommand.ts index dde18240bc8f7..376140baafd97 100644 --- a/clients/client-qldb/commands/DescribeJournalKinesisStreamCommand.ts +++ b/clients/client-qldb/commands/DescribeJournalKinesisStreamCommand.ts @@ -30,7 +30,6 @@ export class DescribeJournalKinesisStreamCommand extends $Command< DescribeJournalKinesisStreamCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeJournalKinesisStreamCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts b/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts index 2c5cf2d75be00..252b26318c46c 100644 --- a/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts +++ b/clients/client-qldb/commands/DescribeJournalS3ExportCommand.ts @@ -35,7 +35,6 @@ export class DescribeJournalS3ExportCommand extends $Command< DescribeJournalS3ExportCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeJournalS3ExportCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/DescribeLedgerCommand.ts b/clients/client-qldb/commands/DescribeLedgerCommand.ts index d5d7e761f3628..c01c775736d4c 100644 --- a/clients/client-qldb/commands/DescribeLedgerCommand.ts +++ b/clients/client-qldb/commands/DescribeLedgerCommand.ts @@ -28,7 +28,6 @@ export class DescribeLedgerCommand extends $Command< DescribeLedgerCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLedgerCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/ExportJournalToS3Command.ts b/clients/client-qldb/commands/ExportJournalToS3Command.ts index 228b6c99bf1b1..8d528b96a7276 100644 --- a/clients/client-qldb/commands/ExportJournalToS3Command.ts +++ b/clients/client-qldb/commands/ExportJournalToS3Command.ts @@ -35,7 +35,6 @@ export class ExportJournalToS3Command extends $Command< ExportJournalToS3CommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ExportJournalToS3Command extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/GetBlockCommand.ts b/clients/client-qldb/commands/GetBlockCommand.ts index c5101891308b8..e1ee892d2aeba 100644 --- a/clients/client-qldb/commands/GetBlockCommand.ts +++ b/clients/client-qldb/commands/GetBlockCommand.ts @@ -33,7 +33,6 @@ export type GetBlockCommandOutput = GetBlockResponse & __MetadataBearer; * InvalidParameterException.

*/ export class GetBlockCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetBlockCommand 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-qldb/commands/GetDigestCommand.ts b/clients/client-qldb/commands/GetDigestCommand.ts index ec0937d71f853..1191459d6b14c 100644 --- a/clients/client-qldb/commands/GetDigestCommand.ts +++ b/clients/client-qldb/commands/GetDigestCommand.ts @@ -29,7 +29,6 @@ export class GetDigestCommand extends $Command< GetDigestCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDigestCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/GetRevisionCommand.ts b/clients/client-qldb/commands/GetRevisionCommand.ts index 54e5a8f64732a..39ebde9c4b59b 100644 --- a/clients/client-qldb/commands/GetRevisionCommand.ts +++ b/clients/client-qldb/commands/GetRevisionCommand.ts @@ -30,7 +30,6 @@ export class GetRevisionCommand extends $Command< GetRevisionCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetRevisionCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/ListJournalKinesisStreamsForLedgerCommand.ts b/clients/client-qldb/commands/ListJournalKinesisStreamsForLedgerCommand.ts index 592a952bf4117..2d8cd4fc43489 100644 --- a/clients/client-qldb/commands/ListJournalKinesisStreamsForLedgerCommand.ts +++ b/clients/client-qldb/commands/ListJournalKinesisStreamsForLedgerCommand.ts @@ -37,7 +37,6 @@ export class ListJournalKinesisStreamsForLedgerCommand extends $Command< ListJournalKinesisStreamsForLedgerCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListJournalKinesisStreamsForLedgerCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts b/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts index 234597a90c72b..1aca4a844415b 100644 --- a/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts +++ b/clients/client-qldb/commands/ListJournalS3ExportsCommand.ts @@ -34,7 +34,6 @@ export class ListJournalS3ExportsCommand extends $Command< ListJournalS3ExportsCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListJournalS3ExportsCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts b/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts index fa9de2a81b83f..852db013ca000 100644 --- a/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts +++ b/clients/client-qldb/commands/ListJournalS3ExportsForLedgerCommand.ts @@ -33,7 +33,6 @@ export class ListJournalS3ExportsForLedgerCommand extends $Command< ListJournalS3ExportsForLedgerCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListJournalS3ExportsForLedgerCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/ListLedgersCommand.ts b/clients/client-qldb/commands/ListLedgersCommand.ts index baf0cd9f3a2a2..2bc93e26210d5 100644 --- a/clients/client-qldb/commands/ListLedgersCommand.ts +++ b/clients/client-qldb/commands/ListLedgersCommand.ts @@ -31,7 +31,6 @@ export class ListLedgersCommand extends $Command< ListLedgersCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListLedgersCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/ListTagsForResourceCommand.ts b/clients/client-qldb/commands/ListTagsForResourceCommand.ts index 37462843f12c0..555e6edd431ba 100644 --- a/clients/client-qldb/commands/ListTagsForResourceCommand.ts +++ b/clients/client-qldb/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/StreamJournalToKinesisCommand.ts b/clients/client-qldb/commands/StreamJournalToKinesisCommand.ts index cc06a9f8e9b06..d3148fd42d69a 100644 --- a/clients/client-qldb/commands/StreamJournalToKinesisCommand.ts +++ b/clients/client-qldb/commands/StreamJournalToKinesisCommand.ts @@ -30,7 +30,6 @@ export class StreamJournalToKinesisCommand extends $Command< StreamJournalToKinesisCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StreamJournalToKinesisCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/TagResourceCommand.ts b/clients/client-qldb/commands/TagResourceCommand.ts index 7eb6e6e5063a3..47e4268218540 100644 --- a/clients/client-qldb/commands/TagResourceCommand.ts +++ b/clients/client-qldb/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/UntagResourceCommand.ts b/clients/client-qldb/commands/UntagResourceCommand.ts index 52179e573f022..a39b2399dc8b1 100644 --- a/clients/client-qldb/commands/UntagResourceCommand.ts +++ b/clients/client-qldb/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-qldb/commands/UpdateLedgerCommand.ts b/clients/client-qldb/commands/UpdateLedgerCommand.ts index 6845307719c3c..f5700fc985e85 100644 --- a/clients/client-qldb/commands/UpdateLedgerCommand.ts +++ b/clients/client-qldb/commands/UpdateLedgerCommand.ts @@ -28,7 +28,6 @@ export class UpdateLedgerCommand extends $Command< UpdateLedgerCommandOutput, QLDBClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateLedgerCommand extends $Command< configuration: QLDBClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CancelIngestionCommand.ts b/clients/client-quicksight/commands/CancelIngestionCommand.ts index e13a184ca34f0..a6c5dca8c98ef 100644 --- a/clients/client-quicksight/commands/CancelIngestionCommand.ts +++ b/clients/client-quicksight/commands/CancelIngestionCommand.ts @@ -28,7 +28,6 @@ export class CancelIngestionCommand extends $Command< CancelIngestionCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelIngestionCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateAccountCustomizationCommand.ts b/clients/client-quicksight/commands/CreateAccountCustomizationCommand.ts index 00af2e839fd57..beab1d9c55f75 100644 --- a/clients/client-quicksight/commands/CreateAccountCustomizationCommand.ts +++ b/clients/client-quicksight/commands/CreateAccountCustomizationCommand.ts @@ -49,7 +49,6 @@ export class CreateAccountCustomizationCommand extends $Command< CreateAccountCustomizationCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class CreateAccountCustomizationCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateAnalysisCommand.ts b/clients/client-quicksight/commands/CreateAnalysisCommand.ts index 74728ee014f80..a140944c0c04d 100644 --- a/clients/client-quicksight/commands/CreateAnalysisCommand.ts +++ b/clients/client-quicksight/commands/CreateAnalysisCommand.ts @@ -28,7 +28,6 @@ export class CreateAnalysisCommand extends $Command< CreateAnalysisCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAnalysisCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateDashboardCommand.ts b/clients/client-quicksight/commands/CreateDashboardCommand.ts index 93c69fd8a72e0..17c13f2dddd2e 100644 --- a/clients/client-quicksight/commands/CreateDashboardCommand.ts +++ b/clients/client-quicksight/commands/CreateDashboardCommand.ts @@ -34,7 +34,6 @@ export class CreateDashboardCommand extends $Command< CreateDashboardCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDashboardCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateDataSetCommand.ts b/clients/client-quicksight/commands/CreateDataSetCommand.ts index 9f5fe57de7020..02b13dcc8e1cd 100644 --- a/clients/client-quicksight/commands/CreateDataSetCommand.ts +++ b/clients/client-quicksight/commands/CreateDataSetCommand.ts @@ -28,7 +28,6 @@ export class CreateDataSetCommand extends $Command< CreateDataSetCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDataSetCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateDataSourceCommand.ts b/clients/client-quicksight/commands/CreateDataSourceCommand.ts index f5a6b1a04bc8a..0c83d2955348c 100644 --- a/clients/client-quicksight/commands/CreateDataSourceCommand.ts +++ b/clients/client-quicksight/commands/CreateDataSourceCommand.ts @@ -28,7 +28,6 @@ export class CreateDataSourceCommand extends $Command< CreateDataSourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDataSourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateGroupCommand.ts b/clients/client-quicksight/commands/CreateGroupCommand.ts index ac0c2e8297938..a3f824a75c88a 100644 --- a/clients/client-quicksight/commands/CreateGroupCommand.ts +++ b/clients/client-quicksight/commands/CreateGroupCommand.ts @@ -32,7 +32,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateGroupCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts b/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts index 52a060644fe82..90167e88c637c 100644 --- a/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts +++ b/clients/client-quicksight/commands/CreateGroupMembershipCommand.ts @@ -28,7 +28,6 @@ export class CreateGroupMembershipCommand extends $Command< CreateGroupMembershipCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGroupMembershipCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts index e087313620384..19400fc3197e8 100644 --- a/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/CreateIAMPolicyAssignmentCommand.ts @@ -31,7 +31,6 @@ export class CreateIAMPolicyAssignmentCommand extends $Command< CreateIAMPolicyAssignmentCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateIAMPolicyAssignmentCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateIngestionCommand.ts b/clients/client-quicksight/commands/CreateIngestionCommand.ts index b95412d7f6cd4..13cefc106cda2 100644 --- a/clients/client-quicksight/commands/CreateIngestionCommand.ts +++ b/clients/client-quicksight/commands/CreateIngestionCommand.ts @@ -32,7 +32,6 @@ export class CreateIngestionCommand extends $Command< CreateIngestionCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateIngestionCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateNamespaceCommand.ts b/clients/client-quicksight/commands/CreateNamespaceCommand.ts index 582c1fa2ba73c..e3028358dcce8 100644 --- a/clients/client-quicksight/commands/CreateNamespaceCommand.ts +++ b/clients/client-quicksight/commands/CreateNamespaceCommand.ts @@ -35,7 +35,6 @@ export class CreateNamespaceCommand extends $Command< CreateNamespaceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateNamespaceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts b/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts index 88c21c2cb33b8..39cdc93facff3 100644 --- a/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/CreateTemplateAliasCommand.ts @@ -28,7 +28,6 @@ export class CreateTemplateAliasCommand extends $Command< CreateTemplateAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTemplateAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateTemplateCommand.ts b/clients/client-quicksight/commands/CreateTemplateCommand.ts index 651a3c2270660..1056839c896ec 100644 --- a/clients/client-quicksight/commands/CreateTemplateCommand.ts +++ b/clients/client-quicksight/commands/CreateTemplateCommand.ts @@ -35,7 +35,6 @@ export class CreateTemplateCommand extends $Command< CreateTemplateCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateTemplateCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateThemeAliasCommand.ts b/clients/client-quicksight/commands/CreateThemeAliasCommand.ts index 8d7dd46844cd5..49b8f29e1dce3 100644 --- a/clients/client-quicksight/commands/CreateThemeAliasCommand.ts +++ b/clients/client-quicksight/commands/CreateThemeAliasCommand.ts @@ -28,7 +28,6 @@ export class CreateThemeAliasCommand extends $Command< CreateThemeAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateThemeAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/CreateThemeCommand.ts b/clients/client-quicksight/commands/CreateThemeCommand.ts index 9d9a1c98a7df8..f3c9f4fd0a50d 100644 --- a/clients/client-quicksight/commands/CreateThemeCommand.ts +++ b/clients/client-quicksight/commands/CreateThemeCommand.ts @@ -31,7 +31,6 @@ export class CreateThemeCommand extends $Command< CreateThemeCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateThemeCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteAccountCustomizationCommand.ts b/clients/client-quicksight/commands/DeleteAccountCustomizationCommand.ts index 3a48f6d701fbe..c93815dbb01c8 100644 --- a/clients/client-quicksight/commands/DeleteAccountCustomizationCommand.ts +++ b/clients/client-quicksight/commands/DeleteAccountCustomizationCommand.ts @@ -29,7 +29,6 @@ export class DeleteAccountCustomizationCommand extends $Command< DeleteAccountCustomizationCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAccountCustomizationCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteAnalysisCommand.ts b/clients/client-quicksight/commands/DeleteAnalysisCommand.ts index 37cd4e752a2a5..d6a1332828d8e 100644 --- a/clients/client-quicksight/commands/DeleteAnalysisCommand.ts +++ b/clients/client-quicksight/commands/DeleteAnalysisCommand.ts @@ -39,7 +39,6 @@ export class DeleteAnalysisCommand extends $Command< DeleteAnalysisCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteAnalysisCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteDashboardCommand.ts b/clients/client-quicksight/commands/DeleteDashboardCommand.ts index c026aac5cd90a..be312afd4639b 100644 --- a/clients/client-quicksight/commands/DeleteDashboardCommand.ts +++ b/clients/client-quicksight/commands/DeleteDashboardCommand.ts @@ -28,7 +28,6 @@ export class DeleteDashboardCommand extends $Command< DeleteDashboardCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDashboardCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteDataSetCommand.ts b/clients/client-quicksight/commands/DeleteDataSetCommand.ts index 8adf897017988..fb7f4d27cd494 100644 --- a/clients/client-quicksight/commands/DeleteDataSetCommand.ts +++ b/clients/client-quicksight/commands/DeleteDataSetCommand.ts @@ -28,7 +28,6 @@ export class DeleteDataSetCommand extends $Command< DeleteDataSetCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDataSetCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteDataSourceCommand.ts b/clients/client-quicksight/commands/DeleteDataSourceCommand.ts index 0831de9338b37..45c1a2535821c 100644 --- a/clients/client-quicksight/commands/DeleteDataSourceCommand.ts +++ b/clients/client-quicksight/commands/DeleteDataSourceCommand.ts @@ -29,7 +29,6 @@ export class DeleteDataSourceCommand extends $Command< DeleteDataSourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDataSourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteGroupCommand.ts b/clients/client-quicksight/commands/DeleteGroupCommand.ts index 2084ae12c64fb..f5124fa4f9509 100644 --- a/clients/client-quicksight/commands/DeleteGroupCommand.ts +++ b/clients/client-quicksight/commands/DeleteGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGroupCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts b/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts index 3d111826bf94a..d154804421d7e 100644 --- a/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts +++ b/clients/client-quicksight/commands/DeleteGroupMembershipCommand.ts @@ -28,7 +28,6 @@ export class DeleteGroupMembershipCommand extends $Command< DeleteGroupMembershipCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGroupMembershipCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts index 6af28b569cdaa..e17a9e98a0d3c 100644 --- a/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/DeleteIAMPolicyAssignmentCommand.ts @@ -28,7 +28,6 @@ export class DeleteIAMPolicyAssignmentCommand extends $Command< DeleteIAMPolicyAssignmentCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteIAMPolicyAssignmentCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteNamespaceCommand.ts b/clients/client-quicksight/commands/DeleteNamespaceCommand.ts index d796b81a11aed..cd7f83d3cec72 100644 --- a/clients/client-quicksight/commands/DeleteNamespaceCommand.ts +++ b/clients/client-quicksight/commands/DeleteNamespaceCommand.ts @@ -30,7 +30,6 @@ export class DeleteNamespaceCommand extends $Command< DeleteNamespaceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteNamespaceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts b/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts index 9692239b4fe28..95d52d12e9e81 100644 --- a/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/DeleteTemplateAliasCommand.ts @@ -29,7 +29,6 @@ export class DeleteTemplateAliasCommand extends $Command< DeleteTemplateAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTemplateAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteTemplateCommand.ts b/clients/client-quicksight/commands/DeleteTemplateCommand.ts index cbbd498e53820..47751fbe26b03 100644 --- a/clients/client-quicksight/commands/DeleteTemplateCommand.ts +++ b/clients/client-quicksight/commands/DeleteTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteTemplateCommand extends $Command< DeleteTemplateCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTemplateCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteThemeAliasCommand.ts b/clients/client-quicksight/commands/DeleteThemeAliasCommand.ts index cc08081188dac..02ee0eb6bf006 100644 --- a/clients/client-quicksight/commands/DeleteThemeAliasCommand.ts +++ b/clients/client-quicksight/commands/DeleteThemeAliasCommand.ts @@ -30,7 +30,6 @@ export class DeleteThemeAliasCommand extends $Command< DeleteThemeAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteThemeAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteThemeCommand.ts b/clients/client-quicksight/commands/DeleteThemeCommand.ts index 5b800cb0f4b71..30c64580d68b0 100644 --- a/clients/client-quicksight/commands/DeleteThemeCommand.ts +++ b/clients/client-quicksight/commands/DeleteThemeCommand.ts @@ -28,7 +28,6 @@ export class DeleteThemeCommand extends $Command< DeleteThemeCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteThemeCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts b/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts index 7adb816fcc3c0..a9a45f28797ac 100644 --- a/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts +++ b/clients/client-quicksight/commands/DeleteUserByPrincipalIdCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserByPrincipalIdCommand extends $Command< DeleteUserByPrincipalIdCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserByPrincipalIdCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DeleteUserCommand.ts b/clients/client-quicksight/commands/DeleteUserCommand.ts index 1c666fb5576bb..6761f70790bd6 100644 --- a/clients/client-quicksight/commands/DeleteUserCommand.ts +++ b/clients/client-quicksight/commands/DeleteUserCommand.ts @@ -30,7 +30,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteUserCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeAccountCustomizationCommand.ts b/clients/client-quicksight/commands/DescribeAccountCustomizationCommand.ts index b899d850fff14..541cb6c58b38d 100644 --- a/clients/client-quicksight/commands/DescribeAccountCustomizationCommand.ts +++ b/clients/client-quicksight/commands/DescribeAccountCustomizationCommand.ts @@ -84,7 +84,6 @@ export class DescribeAccountCustomizationCommand extends $Command< DescribeAccountCustomizationCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -102,10 +101,7 @@ export class DescribeAccountCustomizationCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeAccountSettingsCommand.ts b/clients/client-quicksight/commands/DescribeAccountSettingsCommand.ts index 6ab20f71b3b9a..8ce74ff04282e 100644 --- a/clients/client-quicksight/commands/DescribeAccountSettingsCommand.ts +++ b/clients/client-quicksight/commands/DescribeAccountSettingsCommand.ts @@ -29,7 +29,6 @@ export class DescribeAccountSettingsCommand extends $Command< DescribeAccountSettingsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAccountSettingsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeAnalysisCommand.ts b/clients/client-quicksight/commands/DescribeAnalysisCommand.ts index 95fd1e20dd069..39f783da34a5d 100644 --- a/clients/client-quicksight/commands/DescribeAnalysisCommand.ts +++ b/clients/client-quicksight/commands/DescribeAnalysisCommand.ts @@ -28,7 +28,6 @@ export class DescribeAnalysisCommand extends $Command< DescribeAnalysisCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAnalysisCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeAnalysisPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeAnalysisPermissionsCommand.ts index 0c11484aae67a..b976fd1d22f63 100644 --- a/clients/client-quicksight/commands/DescribeAnalysisPermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeAnalysisPermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeAnalysisPermissionsCommand extends $Command< DescribeAnalysisPermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAnalysisPermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeDashboardCommand.ts b/clients/client-quicksight/commands/DescribeDashboardCommand.ts index 1cff125451ff2..addc5fe0fff69 100644 --- a/clients/client-quicksight/commands/DescribeDashboardCommand.ts +++ b/clients/client-quicksight/commands/DescribeDashboardCommand.ts @@ -28,7 +28,6 @@ export class DescribeDashboardCommand extends $Command< DescribeDashboardCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDashboardCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts index 7ee8f697223db..54dcc5ab02149 100644 --- a/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeDashboardPermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDashboardPermissionsCommand extends $Command< DescribeDashboardPermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDashboardPermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeDataSetCommand.ts b/clients/client-quicksight/commands/DescribeDataSetCommand.ts index 583cdb8aa8f54..4b2ae8e55f2e3 100644 --- a/clients/client-quicksight/commands/DescribeDataSetCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSetCommand.ts @@ -28,7 +28,6 @@ export class DescribeDataSetCommand extends $Command< DescribeDataSetCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDataSetCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts index 06b153e1f6771..e67e951fff79e 100644 --- a/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSetPermissionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeDataSetPermissionsCommand extends $Command< DescribeDataSetPermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDataSetPermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeDataSourceCommand.ts b/clients/client-quicksight/commands/DescribeDataSourceCommand.ts index 89ce7bfb7001e..d9f94d5513d29 100644 --- a/clients/client-quicksight/commands/DescribeDataSourceCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSourceCommand.ts @@ -28,7 +28,6 @@ export class DescribeDataSourceCommand extends $Command< DescribeDataSourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDataSourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts index 64dffb2bd3d9e..bab31eb4afa4d 100644 --- a/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeDataSourcePermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDataSourcePermissionsCommand extends $Command< DescribeDataSourcePermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDataSourcePermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeGroupCommand.ts b/clients/client-quicksight/commands/DescribeGroupCommand.ts index 154c347a16e22..0a09c398d084f 100644 --- a/clients/client-quicksight/commands/DescribeGroupCommand.ts +++ b/clients/client-quicksight/commands/DescribeGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeGroupCommand extends $Command< DescribeGroupCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGroupCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts index 1d900915cbedd..58807f3dfe47c 100644 --- a/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/DescribeIAMPolicyAssignmentCommand.ts @@ -28,7 +28,6 @@ export class DescribeIAMPolicyAssignmentCommand extends $Command< DescribeIAMPolicyAssignmentCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeIAMPolicyAssignmentCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeIngestionCommand.ts b/clients/client-quicksight/commands/DescribeIngestionCommand.ts index e83ceecaf9c2a..7c2c0cd1030e6 100644 --- a/clients/client-quicksight/commands/DescribeIngestionCommand.ts +++ b/clients/client-quicksight/commands/DescribeIngestionCommand.ts @@ -28,7 +28,6 @@ export class DescribeIngestionCommand extends $Command< DescribeIngestionCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeIngestionCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeNamespaceCommand.ts b/clients/client-quicksight/commands/DescribeNamespaceCommand.ts index 2d0be30db49f9..094f22c9ee89b 100644 --- a/clients/client-quicksight/commands/DescribeNamespaceCommand.ts +++ b/clients/client-quicksight/commands/DescribeNamespaceCommand.ts @@ -28,7 +28,6 @@ export class DescribeNamespaceCommand extends $Command< DescribeNamespaceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNamespaceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts b/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts index 79db32a5edaf6..0dc155cdfb5bc 100644 --- a/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/DescribeTemplateAliasCommand.ts @@ -28,7 +28,6 @@ export class DescribeTemplateAliasCommand extends $Command< DescribeTemplateAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTemplateAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeTemplateCommand.ts b/clients/client-quicksight/commands/DescribeTemplateCommand.ts index 9129ece96b361..c695a4dbfe887 100644 --- a/clients/client-quicksight/commands/DescribeTemplateCommand.ts +++ b/clients/client-quicksight/commands/DescribeTemplateCommand.ts @@ -28,7 +28,6 @@ export class DescribeTemplateCommand extends $Command< DescribeTemplateCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTemplateCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts index bb8019f6a860f..37df8fec5b8fe 100644 --- a/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeTemplatePermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTemplatePermissionsCommand extends $Command< DescribeTemplatePermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTemplatePermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeThemeAliasCommand.ts b/clients/client-quicksight/commands/DescribeThemeAliasCommand.ts index 59b7e3966c73f..779f6481a8a58 100644 --- a/clients/client-quicksight/commands/DescribeThemeAliasCommand.ts +++ b/clients/client-quicksight/commands/DescribeThemeAliasCommand.ts @@ -28,7 +28,6 @@ export class DescribeThemeAliasCommand extends $Command< DescribeThemeAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThemeAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeThemeCommand.ts b/clients/client-quicksight/commands/DescribeThemeCommand.ts index ed3270bf267e2..7a88aeea94868 100644 --- a/clients/client-quicksight/commands/DescribeThemeCommand.ts +++ b/clients/client-quicksight/commands/DescribeThemeCommand.ts @@ -28,7 +28,6 @@ export class DescribeThemeCommand extends $Command< DescribeThemeCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThemeCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeThemePermissionsCommand.ts b/clients/client-quicksight/commands/DescribeThemePermissionsCommand.ts index 031718da40406..3e1ee51dabb2c 100644 --- a/clients/client-quicksight/commands/DescribeThemePermissionsCommand.ts +++ b/clients/client-quicksight/commands/DescribeThemePermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeThemePermissionsCommand extends $Command< DescribeThemePermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeThemePermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/DescribeUserCommand.ts b/clients/client-quicksight/commands/DescribeUserCommand.ts index b446e98c98ae8..6441922e14b4b 100644 --- a/clients/client-quicksight/commands/DescribeUserCommand.ts +++ b/clients/client-quicksight/commands/DescribeUserCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserCommand extends $Command< DescribeUserCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts b/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts index 254a56f782260..971038a4129a8 100644 --- a/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts +++ b/clients/client-quicksight/commands/GetDashboardEmbedUrlCommand.ts @@ -50,7 +50,6 @@ export class GetDashboardEmbedUrlCommand extends $Command< GetDashboardEmbedUrlCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class GetDashboardEmbedUrlCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/GetSessionEmbedUrlCommand.ts b/clients/client-quicksight/commands/GetSessionEmbedUrlCommand.ts index a53bd967978d8..dffdc3f6c2b5f 100644 --- a/clients/client-quicksight/commands/GetSessionEmbedUrlCommand.ts +++ b/clients/client-quicksight/commands/GetSessionEmbedUrlCommand.ts @@ -52,7 +52,6 @@ export class GetSessionEmbedUrlCommand extends $Command< GetSessionEmbedUrlCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class GetSessionEmbedUrlCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListAnalysesCommand.ts b/clients/client-quicksight/commands/ListAnalysesCommand.ts index 2c5fbbf49b736..f254e7afeea24 100644 --- a/clients/client-quicksight/commands/ListAnalysesCommand.ts +++ b/clients/client-quicksight/commands/ListAnalysesCommand.ts @@ -28,7 +28,6 @@ export class ListAnalysesCommand extends $Command< ListAnalysesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAnalysesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts b/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts index d5b8a7763a4cb..c143c3ce63b93 100644 --- a/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts +++ b/clients/client-quicksight/commands/ListDashboardVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListDashboardVersionsCommand extends $Command< ListDashboardVersionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDashboardVersionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListDashboardsCommand.ts b/clients/client-quicksight/commands/ListDashboardsCommand.ts index 106528712c77f..5574ecfa8b97a 100644 --- a/clients/client-quicksight/commands/ListDashboardsCommand.ts +++ b/clients/client-quicksight/commands/ListDashboardsCommand.ts @@ -28,7 +28,6 @@ export class ListDashboardsCommand extends $Command< ListDashboardsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDashboardsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListDataSetsCommand.ts b/clients/client-quicksight/commands/ListDataSetsCommand.ts index 11c481cd0cc18..20b3136410cee 100644 --- a/clients/client-quicksight/commands/ListDataSetsCommand.ts +++ b/clients/client-quicksight/commands/ListDataSetsCommand.ts @@ -29,7 +29,6 @@ export class ListDataSetsCommand extends $Command< ListDataSetsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDataSetsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListDataSourcesCommand.ts b/clients/client-quicksight/commands/ListDataSourcesCommand.ts index 37b9fa25b2e7e..91cdf0cee5287 100644 --- a/clients/client-quicksight/commands/ListDataSourcesCommand.ts +++ b/clients/client-quicksight/commands/ListDataSourcesCommand.ts @@ -28,7 +28,6 @@ export class ListDataSourcesCommand extends $Command< ListDataSourcesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataSourcesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts b/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts index 796467d6f3a8a..7a40c343d75ff 100644 --- a/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts +++ b/clients/client-quicksight/commands/ListGroupMembershipsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupMembershipsCommand extends $Command< ListGroupMembershipsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupMembershipsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListGroupsCommand.ts b/clients/client-quicksight/commands/ListGroupsCommand.ts index 15d487db0387b..c0bb5cc0043e4 100644 --- a/clients/client-quicksight/commands/ListGroupsCommand.ts +++ b/clients/client-quicksight/commands/ListGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts index ddc8f88e8cb90..7903888ceb906 100644 --- a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts +++ b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsCommand.ts @@ -28,7 +28,6 @@ export class ListIAMPolicyAssignmentsCommand extends $Command< ListIAMPolicyAssignmentsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIAMPolicyAssignmentsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts index 647a3ab7d9ed5..eec0aabbee6cf 100644 --- a/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts +++ b/clients/client-quicksight/commands/ListIAMPolicyAssignmentsForUserCommand.ts @@ -30,7 +30,6 @@ export class ListIAMPolicyAssignmentsForUserCommand extends $Command< ListIAMPolicyAssignmentsForUserCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListIAMPolicyAssignmentsForUserCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListIngestionsCommand.ts b/clients/client-quicksight/commands/ListIngestionsCommand.ts index 7e1e9f6ee1ea1..d8c27f035822a 100644 --- a/clients/client-quicksight/commands/ListIngestionsCommand.ts +++ b/clients/client-quicksight/commands/ListIngestionsCommand.ts @@ -28,7 +28,6 @@ export class ListIngestionsCommand extends $Command< ListIngestionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListIngestionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListNamespacesCommand.ts b/clients/client-quicksight/commands/ListNamespacesCommand.ts index 54ba58dd7eb8e..f6bea79ecb450 100644 --- a/clients/client-quicksight/commands/ListNamespacesCommand.ts +++ b/clients/client-quicksight/commands/ListNamespacesCommand.ts @@ -28,7 +28,6 @@ export class ListNamespacesCommand extends $Command< ListNamespacesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListNamespacesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListTagsForResourceCommand.ts b/clients/client-quicksight/commands/ListTagsForResourceCommand.ts index aa0daee6e871e..bfec3745dc4f8 100644 --- a/clients/client-quicksight/commands/ListTagsForResourceCommand.ts +++ b/clients/client-quicksight/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts b/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts index aae05c39385c1..e2ccbe2feddd8 100644 --- a/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts +++ b/clients/client-quicksight/commands/ListTemplateAliasesCommand.ts @@ -28,7 +28,6 @@ export class ListTemplateAliasesCommand extends $Command< ListTemplateAliasesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTemplateAliasesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts b/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts index 4b3d1f0f202a6..c5df8fd130909 100644 --- a/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts +++ b/clients/client-quicksight/commands/ListTemplateVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListTemplateVersionsCommand extends $Command< ListTemplateVersionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTemplateVersionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListTemplatesCommand.ts b/clients/client-quicksight/commands/ListTemplatesCommand.ts index 87ade191b7899..d9f275f5e6a64 100644 --- a/clients/client-quicksight/commands/ListTemplatesCommand.ts +++ b/clients/client-quicksight/commands/ListTemplatesCommand.ts @@ -28,7 +28,6 @@ export class ListTemplatesCommand extends $Command< ListTemplatesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTemplatesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListThemeAliasesCommand.ts b/clients/client-quicksight/commands/ListThemeAliasesCommand.ts index 2bd8c3bd41ec9..e6a14eaf564c0 100644 --- a/clients/client-quicksight/commands/ListThemeAliasesCommand.ts +++ b/clients/client-quicksight/commands/ListThemeAliasesCommand.ts @@ -28,7 +28,6 @@ export class ListThemeAliasesCommand extends $Command< ListThemeAliasesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThemeAliasesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListThemeVersionsCommand.ts b/clients/client-quicksight/commands/ListThemeVersionsCommand.ts index 8cc6a9616bce5..8280bbb340ac9 100644 --- a/clients/client-quicksight/commands/ListThemeVersionsCommand.ts +++ b/clients/client-quicksight/commands/ListThemeVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListThemeVersionsCommand extends $Command< ListThemeVersionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThemeVersionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListThemesCommand.ts b/clients/client-quicksight/commands/ListThemesCommand.ts index 5f1334b2e4d30..e9ca83579dea0 100644 --- a/clients/client-quicksight/commands/ListThemesCommand.ts +++ b/clients/client-quicksight/commands/ListThemesCommand.ts @@ -28,7 +28,6 @@ export class ListThemesCommand extends $Command< ListThemesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListThemesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListUserGroupsCommand.ts b/clients/client-quicksight/commands/ListUserGroupsCommand.ts index 77837d8870011..7873d832f79a8 100644 --- a/clients/client-quicksight/commands/ListUserGroupsCommand.ts +++ b/clients/client-quicksight/commands/ListUserGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListUserGroupsCommand extends $Command< ListUserGroupsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListUserGroupsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/ListUsersCommand.ts b/clients/client-quicksight/commands/ListUsersCommand.ts index d377eacc00f9e..12d187de5d592 100644 --- a/clients/client-quicksight/commands/ListUsersCommand.ts +++ b/clients/client-quicksight/commands/ListUsersCommand.ts @@ -28,7 +28,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListUsersCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/RegisterUserCommand.ts b/clients/client-quicksight/commands/RegisterUserCommand.ts index d91c772ee34a7..626584d01e3f9 100644 --- a/clients/client-quicksight/commands/RegisterUserCommand.ts +++ b/clients/client-quicksight/commands/RegisterUserCommand.ts @@ -29,7 +29,6 @@ export class RegisterUserCommand extends $Command< RegisterUserCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RegisterUserCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/RestoreAnalysisCommand.ts b/clients/client-quicksight/commands/RestoreAnalysisCommand.ts index 6d326a24707ec..6ee21a5fd5e0e 100644 --- a/clients/client-quicksight/commands/RestoreAnalysisCommand.ts +++ b/clients/client-quicksight/commands/RestoreAnalysisCommand.ts @@ -28,7 +28,6 @@ export class RestoreAnalysisCommand extends $Command< RestoreAnalysisCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RestoreAnalysisCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/SearchAnalysesCommand.ts b/clients/client-quicksight/commands/SearchAnalysesCommand.ts index 6c407284d49f3..7792ede0bc351 100644 --- a/clients/client-quicksight/commands/SearchAnalysesCommand.ts +++ b/clients/client-quicksight/commands/SearchAnalysesCommand.ts @@ -28,7 +28,6 @@ export class SearchAnalysesCommand extends $Command< SearchAnalysesCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchAnalysesCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/SearchDashboardsCommand.ts b/clients/client-quicksight/commands/SearchDashboardsCommand.ts index 222ea5b63cc96..bf9b4ebe359bc 100644 --- a/clients/client-quicksight/commands/SearchDashboardsCommand.ts +++ b/clients/client-quicksight/commands/SearchDashboardsCommand.ts @@ -28,7 +28,6 @@ export class SearchDashboardsCommand extends $Command< SearchDashboardsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchDashboardsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/TagResourceCommand.ts b/clients/client-quicksight/commands/TagResourceCommand.ts index a19c0465ea96c..9ef2689944efa 100644 --- a/clients/client-quicksight/commands/TagResourceCommand.ts +++ b/clients/client-quicksight/commands/TagResourceCommand.ts @@ -49,7 +49,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class TagResourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UntagResourceCommand.ts b/clients/client-quicksight/commands/UntagResourceCommand.ts index 91bdfe2b36086..72e5947eb6463 100644 --- a/clients/client-quicksight/commands/UntagResourceCommand.ts +++ b/clients/client-quicksight/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateAccountCustomizationCommand.ts b/clients/client-quicksight/commands/UpdateAccountCustomizationCommand.ts index fd3724a828ffb..1379f7d514a0c 100644 --- a/clients/client-quicksight/commands/UpdateAccountCustomizationCommand.ts +++ b/clients/client-quicksight/commands/UpdateAccountCustomizationCommand.ts @@ -33,7 +33,6 @@ export class UpdateAccountCustomizationCommand extends $Command< UpdateAccountCustomizationCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateAccountCustomizationCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateAccountSettingsCommand.ts b/clients/client-quicksight/commands/UpdateAccountSettingsCommand.ts index f6717c44a8edd..7e414d44c85a2 100644 --- a/clients/client-quicksight/commands/UpdateAccountSettingsCommand.ts +++ b/clients/client-quicksight/commands/UpdateAccountSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateAccountSettingsCommand extends $Command< UpdateAccountSettingsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAccountSettingsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateAnalysisCommand.ts b/clients/client-quicksight/commands/UpdateAnalysisCommand.ts index 840f71733c054..16edb597eb304 100644 --- a/clients/client-quicksight/commands/UpdateAnalysisCommand.ts +++ b/clients/client-quicksight/commands/UpdateAnalysisCommand.ts @@ -28,7 +28,6 @@ export class UpdateAnalysisCommand extends $Command< UpdateAnalysisCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAnalysisCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateAnalysisPermissionsCommand.ts b/clients/client-quicksight/commands/UpdateAnalysisPermissionsCommand.ts index 5e53616b7dc93..8296f7cf9cf69 100644 --- a/clients/client-quicksight/commands/UpdateAnalysisPermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateAnalysisPermissionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateAnalysisPermissionsCommand extends $Command< UpdateAnalysisPermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAnalysisPermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDashboardCommand.ts b/clients/client-quicksight/commands/UpdateDashboardCommand.ts index 269302b2237f4..b33dcfc984771 100644 --- a/clients/client-quicksight/commands/UpdateDashboardCommand.ts +++ b/clients/client-quicksight/commands/UpdateDashboardCommand.ts @@ -28,7 +28,6 @@ export class UpdateDashboardCommand extends $Command< UpdateDashboardCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDashboardCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts b/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts index 846a32265f1d1..af8d10a477e49 100644 --- a/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateDashboardPermissionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateDashboardPermissionsCommand extends $Command< UpdateDashboardPermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDashboardPermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts b/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts index 758f5d8a52af5..6ad89f694ef8f 100644 --- a/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts +++ b/clients/client-quicksight/commands/UpdateDashboardPublishedVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateDashboardPublishedVersionCommand extends $Command< UpdateDashboardPublishedVersionCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDashboardPublishedVersionCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDataSetCommand.ts b/clients/client-quicksight/commands/UpdateDataSetCommand.ts index c5c6340167365..58054a83a4eda 100644 --- a/clients/client-quicksight/commands/UpdateDataSetCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSetCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataSetCommand extends $Command< UpdateDataSetCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataSetCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts b/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts index 6978ede34f280..52fa115f297bb 100644 --- a/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSetPermissionsCommand.ts @@ -29,7 +29,6 @@ export class UpdateDataSetPermissionsCommand extends $Command< UpdateDataSetPermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDataSetPermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDataSourceCommand.ts b/clients/client-quicksight/commands/UpdateDataSourceCommand.ts index 2cab025a0991b..e50cec0c5b317 100644 --- a/clients/client-quicksight/commands/UpdateDataSourceCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSourceCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataSourceCommand extends $Command< UpdateDataSourceCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataSourceCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts b/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts index 33485779700ff..dc02385df0a7a 100644 --- a/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateDataSourcePermissionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateDataSourcePermissionsCommand extends $Command< UpdateDataSourcePermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDataSourcePermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateGroupCommand.ts b/clients/client-quicksight/commands/UpdateGroupCommand.ts index d9b4fdde6a05a..76e58df993374 100644 --- a/clients/client-quicksight/commands/UpdateGroupCommand.ts +++ b/clients/client-quicksight/commands/UpdateGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateGroupCommand extends $Command< UpdateGroupCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGroupCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts b/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts index c11a4dd295447..f6f97e4935e8c 100644 --- a/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts +++ b/clients/client-quicksight/commands/UpdateIAMPolicyAssignmentCommand.ts @@ -31,7 +31,6 @@ export class UpdateIAMPolicyAssignmentCommand extends $Command< UpdateIAMPolicyAssignmentCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateIAMPolicyAssignmentCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts b/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts index d849423a61d89..ed9bfe76b3d8f 100644 --- a/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts +++ b/clients/client-quicksight/commands/UpdateTemplateAliasCommand.ts @@ -28,7 +28,6 @@ export class UpdateTemplateAliasCommand extends $Command< UpdateTemplateAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTemplateAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateTemplateCommand.ts b/clients/client-quicksight/commands/UpdateTemplateCommand.ts index f5d25bd42937a..ef3007644774a 100644 --- a/clients/client-quicksight/commands/UpdateTemplateCommand.ts +++ b/clients/client-quicksight/commands/UpdateTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateTemplateCommand extends $Command< UpdateTemplateCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTemplateCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts b/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts index 1001a26753600..d6faf992f3724 100644 --- a/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateTemplatePermissionsCommand.ts @@ -28,7 +28,6 @@ export class UpdateTemplatePermissionsCommand extends $Command< UpdateTemplatePermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTemplatePermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateThemeAliasCommand.ts b/clients/client-quicksight/commands/UpdateThemeAliasCommand.ts index 0b124e8fc8117..34509e6062da7 100644 --- a/clients/client-quicksight/commands/UpdateThemeAliasCommand.ts +++ b/clients/client-quicksight/commands/UpdateThemeAliasCommand.ts @@ -28,7 +28,6 @@ export class UpdateThemeAliasCommand extends $Command< UpdateThemeAliasCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThemeAliasCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateThemeCommand.ts b/clients/client-quicksight/commands/UpdateThemeCommand.ts index f967cded12982..4ace100c26069 100644 --- a/clients/client-quicksight/commands/UpdateThemeCommand.ts +++ b/clients/client-quicksight/commands/UpdateThemeCommand.ts @@ -28,7 +28,6 @@ export class UpdateThemeCommand extends $Command< UpdateThemeCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateThemeCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateThemePermissionsCommand.ts b/clients/client-quicksight/commands/UpdateThemePermissionsCommand.ts index 8608f9f3a6f96..c4d75594c0014 100644 --- a/clients/client-quicksight/commands/UpdateThemePermissionsCommand.ts +++ b/clients/client-quicksight/commands/UpdateThemePermissionsCommand.ts @@ -121,7 +121,6 @@ export class UpdateThemePermissionsCommand extends $Command< UpdateThemePermissionsCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -139,10 +138,7 @@ export class UpdateThemePermissionsCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-quicksight/commands/UpdateUserCommand.ts b/clients/client-quicksight/commands/UpdateUserCommand.ts index 902af920f1767..d27027100827f 100644 --- a/clients/client-quicksight/commands/UpdateUserCommand.ts +++ b/clients/client-quicksight/commands/UpdateUserCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserCommand extends $Command< UpdateUserCommandOutput, QuickSightClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserCommand extends $Command< configuration: QuickSightClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts b/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts index a428a775dd36c..f85ddc9144954 100644 --- a/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts +++ b/clients/client-ram/commands/AcceptResourceShareInvitationCommand.ts @@ -28,7 +28,6 @@ export class AcceptResourceShareInvitationCommand extends $Command< AcceptResourceShareInvitationCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptResourceShareInvitationCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/AssociateResourceShareCommand.ts b/clients/client-ram/commands/AssociateResourceShareCommand.ts index 15dfd54c0bb70..e43c6bc6507cf 100644 --- a/clients/client-ram/commands/AssociateResourceShareCommand.ts +++ b/clients/client-ram/commands/AssociateResourceShareCommand.ts @@ -28,7 +28,6 @@ export class AssociateResourceShareCommand extends $Command< AssociateResourceShareCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateResourceShareCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts b/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts index e0a999f47cb40..579947577a733 100644 --- a/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts +++ b/clients/client-ram/commands/AssociateResourceSharePermissionCommand.ts @@ -28,7 +28,6 @@ export class AssociateResourceSharePermissionCommand extends $Command< AssociateResourceSharePermissionCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateResourceSharePermissionCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/CreateResourceShareCommand.ts b/clients/client-ram/commands/CreateResourceShareCommand.ts index b48c0448c19ea..43526cc2408c3 100644 --- a/clients/client-ram/commands/CreateResourceShareCommand.ts +++ b/clients/client-ram/commands/CreateResourceShareCommand.ts @@ -28,7 +28,6 @@ export class CreateResourceShareCommand extends $Command< CreateResourceShareCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateResourceShareCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/DeleteResourceShareCommand.ts b/clients/client-ram/commands/DeleteResourceShareCommand.ts index a00d40b0c5b83..0528448348439 100644 --- a/clients/client-ram/commands/DeleteResourceShareCommand.ts +++ b/clients/client-ram/commands/DeleteResourceShareCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourceShareCommand extends $Command< DeleteResourceShareCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourceShareCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/DisassociateResourceShareCommand.ts b/clients/client-ram/commands/DisassociateResourceShareCommand.ts index a9e5ebdfa6b3d..fb14f3a334552 100644 --- a/clients/client-ram/commands/DisassociateResourceShareCommand.ts +++ b/clients/client-ram/commands/DisassociateResourceShareCommand.ts @@ -28,7 +28,6 @@ export class DisassociateResourceShareCommand extends $Command< DisassociateResourceShareCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateResourceShareCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts b/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts index 72e2076855895..d7719fe8801b5 100644 --- a/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts +++ b/clients/client-ram/commands/DisassociateResourceSharePermissionCommand.ts @@ -32,7 +32,6 @@ export class DisassociateResourceSharePermissionCommand extends $Command< DisassociateResourceSharePermissionCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateResourceSharePermissionCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts b/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts index c739843a7618b..9411ee65032ee 100644 --- a/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts +++ b/clients/client-ram/commands/EnableSharingWithAwsOrganizationCommand.ts @@ -29,7 +29,6 @@ export class EnableSharingWithAwsOrganizationCommand extends $Command< EnableSharingWithAwsOrganizationCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableSharingWithAwsOrganizationCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/GetPermissionCommand.ts b/clients/client-ram/commands/GetPermissionCommand.ts index ec30fc26fc0c9..11613282a23d8 100644 --- a/clients/client-ram/commands/GetPermissionCommand.ts +++ b/clients/client-ram/commands/GetPermissionCommand.ts @@ -28,7 +28,6 @@ export class GetPermissionCommand extends $Command< GetPermissionCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPermissionCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/GetResourcePoliciesCommand.ts b/clients/client-ram/commands/GetResourcePoliciesCommand.ts index 62221dae7658d..cb845067a99fd 100644 --- a/clients/client-ram/commands/GetResourcePoliciesCommand.ts +++ b/clients/client-ram/commands/GetResourcePoliciesCommand.ts @@ -28,7 +28,6 @@ export class GetResourcePoliciesCommand extends $Command< GetResourcePoliciesCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourcePoliciesCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts b/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts index 670c8eee74058..1705090718f02 100644 --- a/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts +++ b/clients/client-ram/commands/GetResourceShareAssociationsCommand.ts @@ -28,7 +28,6 @@ export class GetResourceShareAssociationsCommand extends $Command< GetResourceShareAssociationsCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourceShareAssociationsCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts b/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts index 282c02d63bb0a..1c60086835e33 100644 --- a/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts +++ b/clients/client-ram/commands/GetResourceShareInvitationsCommand.ts @@ -28,7 +28,6 @@ export class GetResourceShareInvitationsCommand extends $Command< GetResourceShareInvitationsCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourceShareInvitationsCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/GetResourceSharesCommand.ts b/clients/client-ram/commands/GetResourceSharesCommand.ts index 518c0eebc11ec..1933110b48ec2 100644 --- a/clients/client-ram/commands/GetResourceSharesCommand.ts +++ b/clients/client-ram/commands/GetResourceSharesCommand.ts @@ -28,7 +28,6 @@ export class GetResourceSharesCommand extends $Command< GetResourceSharesCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourceSharesCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts b/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts index ab950f8bec8bd..1bc33f1c8443f 100644 --- a/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts +++ b/clients/client-ram/commands/ListPendingInvitationResourcesCommand.ts @@ -28,7 +28,6 @@ export class ListPendingInvitationResourcesCommand extends $Command< ListPendingInvitationResourcesCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPendingInvitationResourcesCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/ListPermissionsCommand.ts b/clients/client-ram/commands/ListPermissionsCommand.ts index 1486b44f047a2..fb534e108ed74 100644 --- a/clients/client-ram/commands/ListPermissionsCommand.ts +++ b/clients/client-ram/commands/ListPermissionsCommand.ts @@ -28,7 +28,6 @@ export class ListPermissionsCommand extends $Command< ListPermissionsCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPermissionsCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/ListPrincipalsCommand.ts b/clients/client-ram/commands/ListPrincipalsCommand.ts index 199539d16fa21..805045a87944a 100644 --- a/clients/client-ram/commands/ListPrincipalsCommand.ts +++ b/clients/client-ram/commands/ListPrincipalsCommand.ts @@ -29,7 +29,6 @@ export class ListPrincipalsCommand extends $Command< ListPrincipalsCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPrincipalsCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts b/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts index 72f3c0caf8eb5..d831e103f93b3 100644 --- a/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts +++ b/clients/client-ram/commands/ListResourceSharePermissionsCommand.ts @@ -28,7 +28,6 @@ export class ListResourceSharePermissionsCommand extends $Command< ListResourceSharePermissionsCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourceSharePermissionsCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/ListResourceTypesCommand.ts b/clients/client-ram/commands/ListResourceTypesCommand.ts index 66b637c08c887..273dea8b9f0fc 100644 --- a/clients/client-ram/commands/ListResourceTypesCommand.ts +++ b/clients/client-ram/commands/ListResourceTypesCommand.ts @@ -28,7 +28,6 @@ export class ListResourceTypesCommand extends $Command< ListResourceTypesCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourceTypesCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/ListResourcesCommand.ts b/clients/client-ram/commands/ListResourcesCommand.ts index 3b14f7c043ceb..37be7f8fdbdc9 100644 --- a/clients/client-ram/commands/ListResourcesCommand.ts +++ b/clients/client-ram/commands/ListResourcesCommand.ts @@ -28,7 +28,6 @@ export class ListResourcesCommand extends $Command< ListResourcesCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourcesCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts b/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts index 007c9247b5a6b..8d70da272e508 100644 --- a/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts +++ b/clients/client-ram/commands/PromoteResourceShareCreatedFromPolicyCommand.ts @@ -44,7 +44,6 @@ export class PromoteResourceShareCreatedFromPolicyCommand extends $Command< PromoteResourceShareCreatedFromPolicyCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class PromoteResourceShareCreatedFromPolicyCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts b/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts index 260682e290800..44e0919c64d9c 100644 --- a/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts +++ b/clients/client-ram/commands/RejectResourceShareInvitationCommand.ts @@ -28,7 +28,6 @@ export class RejectResourceShareInvitationCommand extends $Command< RejectResourceShareInvitationCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RejectResourceShareInvitationCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/TagResourceCommand.ts b/clients/client-ram/commands/TagResourceCommand.ts index 3ebd34cc87062..a18f21fd18470 100644 --- a/clients/client-ram/commands/TagResourceCommand.ts +++ b/clients/client-ram/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/UntagResourceCommand.ts b/clients/client-ram/commands/UntagResourceCommand.ts index f0088f603ee2a..ba3bebb234c0b 100644 --- a/clients/client-ram/commands/UntagResourceCommand.ts +++ b/clients/client-ram/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ram/commands/UpdateResourceShareCommand.ts b/clients/client-ram/commands/UpdateResourceShareCommand.ts index cce6c391ae628..eb4ba797bab4d 100644 --- a/clients/client-ram/commands/UpdateResourceShareCommand.ts +++ b/clients/client-ram/commands/UpdateResourceShareCommand.ts @@ -28,7 +28,6 @@ export class UpdateResourceShareCommand extends $Command< UpdateResourceShareCommandOutput, RAMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateResourceShareCommand extends $Command< configuration: RAMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts b/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts index 5c7c805b4ce7f..f73b1f9efec7f 100644 --- a/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts +++ b/clients/client-rds-data/commands/BatchExecuteStatementCommand.ts @@ -36,7 +36,6 @@ export class BatchExecuteStatementCommand extends $Command< BatchExecuteStatementCommandOutput, RDSDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class BatchExecuteStatementCommand extends $Command< configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds-data/commands/BeginTransactionCommand.ts b/clients/client-rds-data/commands/BeginTransactionCommand.ts index 269843b049407..ac918a75aa948 100644 --- a/clients/client-rds-data/commands/BeginTransactionCommand.ts +++ b/clients/client-rds-data/commands/BeginTransactionCommand.ts @@ -39,7 +39,6 @@ export class BeginTransactionCommand extends $Command< BeginTransactionCommandOutput, RDSDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class BeginTransactionCommand extends $Command< configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds-data/commands/CommitTransactionCommand.ts b/clients/client-rds-data/commands/CommitTransactionCommand.ts index feae4a0d920be..b824513acdb42 100644 --- a/clients/client-rds-data/commands/CommitTransactionCommand.ts +++ b/clients/client-rds-data/commands/CommitTransactionCommand.ts @@ -29,7 +29,6 @@ export class CommitTransactionCommand extends $Command< CommitTransactionCommandOutput, RDSDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CommitTransactionCommand extends $Command< configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds-data/commands/ExecuteSqlCommand.ts b/clients/client-rds-data/commands/ExecuteSqlCommand.ts index 160faa8615e26..d0975dde3fdaa 100644 --- a/clients/client-rds-data/commands/ExecuteSqlCommand.ts +++ b/clients/client-rds-data/commands/ExecuteSqlCommand.ts @@ -34,7 +34,6 @@ export class ExecuteSqlCommand extends $Command< ExecuteSqlCommandOutput, RDSDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ExecuteSqlCommand extends $Command< configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds-data/commands/ExecuteStatementCommand.ts b/clients/client-rds-data/commands/ExecuteStatementCommand.ts index f2278d886a026..69551c5f7a183 100644 --- a/clients/client-rds-data/commands/ExecuteStatementCommand.ts +++ b/clients/client-rds-data/commands/ExecuteStatementCommand.ts @@ -34,7 +34,6 @@ export class ExecuteStatementCommand extends $Command< ExecuteStatementCommandOutput, RDSDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ExecuteStatementCommand extends $Command< configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds-data/commands/RollbackTransactionCommand.ts b/clients/client-rds-data/commands/RollbackTransactionCommand.ts index abc1dc733ec64..04c229035bb72 100644 --- a/clients/client-rds-data/commands/RollbackTransactionCommand.ts +++ b/clients/client-rds-data/commands/RollbackTransactionCommand.ts @@ -28,7 +28,6 @@ export class RollbackTransactionCommand extends $Command< RollbackTransactionCommandOutput, RDSDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RollbackTransactionCommand extends $Command< configuration: RDSDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/AddRoleToDBClusterCommand.ts b/clients/client-rds/commands/AddRoleToDBClusterCommand.ts index a9ccb649410e9..b3ec3960fcffe 100644 --- a/clients/client-rds/commands/AddRoleToDBClusterCommand.ts +++ b/clients/client-rds/commands/AddRoleToDBClusterCommand.ts @@ -33,7 +33,6 @@ export class AddRoleToDBClusterCommand extends $Command< AddRoleToDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AddRoleToDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts b/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts index e27a4bfe86e4b..fe65914af41fd 100644 --- a/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts +++ b/clients/client-rds/commands/AddRoleToDBInstanceCommand.ts @@ -31,7 +31,6 @@ export class AddRoleToDBInstanceCommand extends $Command< AddRoleToDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AddRoleToDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts b/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts index 51e425b9495a5..0a50999999763 100644 --- a/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts +++ b/clients/client-rds/commands/AddSourceIdentifierToSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< AddSourceIdentifierToSubscriptionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddSourceIdentifierToSubscriptionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/AddTagsToResourceCommand.ts b/clients/client-rds/commands/AddTagsToResourceCommand.ts index 1c7b269b39107..93b5750666e9f 100644 --- a/clients/client-rds/commands/AddTagsToResourceCommand.ts +++ b/clients/client-rds/commands/AddTagsToResourceCommand.ts @@ -30,7 +30,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts b/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts index 2a8d58b8719dc..aa6a6a05655ba 100644 --- a/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts +++ b/clients/client-rds/commands/ApplyPendingMaintenanceActionCommand.ts @@ -28,7 +28,6 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< ApplyPendingMaintenanceActionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ApplyPendingMaintenanceActionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts b/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts index 0fce4ed18b02c..d730339cfa080 100644 --- a/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts +++ b/clients/client-rds/commands/AuthorizeDBSecurityGroupIngressCommand.ts @@ -39,7 +39,6 @@ export class AuthorizeDBSecurityGroupIngressCommand extends $Command< AuthorizeDBSecurityGroupIngressCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class AuthorizeDBSecurityGroupIngressCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/BacktrackDBClusterCommand.ts b/clients/client-rds/commands/BacktrackDBClusterCommand.ts index 34bfef913004b..f27d2ecaac6b5 100644 --- a/clients/client-rds/commands/BacktrackDBClusterCommand.ts +++ b/clients/client-rds/commands/BacktrackDBClusterCommand.ts @@ -36,7 +36,6 @@ export class BacktrackDBClusterCommand extends $Command< BacktrackDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class BacktrackDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CancelExportTaskCommand.ts b/clients/client-rds/commands/CancelExportTaskCommand.ts index 3bf9f096ef70d..34146af9f0b2d 100644 --- a/clients/client-rds/commands/CancelExportTaskCommand.ts +++ b/clients/client-rds/commands/CancelExportTaskCommand.ts @@ -30,7 +30,6 @@ export class CancelExportTaskCommand extends $Command< CancelExportTaskCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CancelExportTaskCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts index 2a3c4112dbcee..a4abe771e2db4 100644 --- a/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/CopyDBClusterParameterGroupCommand.ts @@ -31,7 +31,6 @@ export class CopyDBClusterParameterGroupCommand extends $Command< CopyDBClusterParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CopyDBClusterParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts index c1bb3df362d77..8c567f0433da1 100644 --- a/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-rds/commands/CopyDBClusterSnapshotCommand.ts @@ -103,7 +103,6 @@ export class CopyDBClusterSnapshotCommand extends $Command< CopyDBClusterSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -121,11 +120,8 @@ export class CopyDBClusterSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CopyDBParameterGroupCommand.ts b/clients/client-rds/commands/CopyDBParameterGroupCommand.ts index 834bf1af0451f..331a5cac152c2 100644 --- a/clients/client-rds/commands/CopyDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/CopyDBParameterGroupCommand.ts @@ -28,7 +28,6 @@ export class CopyDBParameterGroupCommand extends $Command< CopyDBParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CopyDBParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CopyDBSnapshotCommand.ts b/clients/client-rds/commands/CopyDBSnapshotCommand.ts index 9d4f70ddd06c0..e242f20dba7d5 100644 --- a/clients/client-rds/commands/CopyDBSnapshotCommand.ts +++ b/clients/client-rds/commands/CopyDBSnapshotCommand.ts @@ -37,7 +37,6 @@ export class CopyDBSnapshotCommand extends $Command< CopyDBSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class CopyDBSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CopyOptionGroupCommand.ts b/clients/client-rds/commands/CopyOptionGroupCommand.ts index 7f2c94a02fb20..7719ac74c8b81 100644 --- a/clients/client-rds/commands/CopyOptionGroupCommand.ts +++ b/clients/client-rds/commands/CopyOptionGroupCommand.ts @@ -28,7 +28,6 @@ export class CopyOptionGroupCommand extends $Command< CopyOptionGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CopyOptionGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts b/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts index 8291dfa5d1730..6f6bd684ae8f6 100644 --- a/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts +++ b/clients/client-rds/commands/CreateCustomAvailabilityZoneCommand.ts @@ -34,7 +34,6 @@ export class CreateCustomAvailabilityZoneCommand extends $Command< CreateCustomAvailabilityZoneCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateCustomAvailabilityZoneCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBClusterCommand.ts b/clients/client-rds/commands/CreateDBClusterCommand.ts index 788098f2f0748..ecfbbe21d3077 100644 --- a/clients/client-rds/commands/CreateDBClusterCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterCommand.ts @@ -42,7 +42,6 @@ export class CreateDBClusterCommand extends $Command< CreateDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,11 +59,8 @@ export class CreateDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts b/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts index 3d1c077bdb9c7..0684415810813 100644 --- a/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterEndpointCommand.ts @@ -31,7 +31,6 @@ export class CreateDBClusterEndpointCommand extends $Command< CreateDBClusterEndpointCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDBClusterEndpointCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts index 6c9ff93a6dfb5..d5ea5164dd234 100644 --- a/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterParameterGroupCommand.ts @@ -59,7 +59,6 @@ export class CreateDBClusterParameterGroupCommand extends $Command< CreateDBClusterParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateDBClusterParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts index 98d7be8b66227..4624a2f58fdc5 100644 --- a/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-rds/commands/CreateDBClusterSnapshotCommand.ts @@ -34,7 +34,6 @@ export class CreateDBClusterSnapshotCommand extends $Command< CreateDBClusterSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDBClusterSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBInstanceCommand.ts b/clients/client-rds/commands/CreateDBInstanceCommand.ts index f845ce133fd85..fe9bee640644b 100644 --- a/clients/client-rds/commands/CreateDBInstanceCommand.ts +++ b/clients/client-rds/commands/CreateDBInstanceCommand.ts @@ -28,7 +28,6 @@ export class CreateDBInstanceCommand extends $Command< CreateDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts b/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts index be100503d0731..92d3100d6b8db 100644 --- a/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts +++ b/clients/client-rds/commands/CreateDBInstanceReadReplicaCommand.ts @@ -44,7 +44,6 @@ export class CreateDBInstanceReadReplicaCommand extends $Command< CreateDBInstanceReadReplicaCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class CreateDBInstanceReadReplicaCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBParameterGroupCommand.ts b/clients/client-rds/commands/CreateDBParameterGroupCommand.ts index dcb23eff82061..c76ab5468b4ad 100644 --- a/clients/client-rds/commands/CreateDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBParameterGroupCommand.ts @@ -48,7 +48,6 @@ export class CreateDBParameterGroupCommand extends $Command< CreateDBParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateDBParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBProxyCommand.ts b/clients/client-rds/commands/CreateDBProxyCommand.ts index 0be55956d8a0b..f6776664f2251 100644 --- a/clients/client-rds/commands/CreateDBProxyCommand.ts +++ b/clients/client-rds/commands/CreateDBProxyCommand.ts @@ -28,7 +28,6 @@ export class CreateDBProxyCommand extends $Command< CreateDBProxyCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBProxyCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts b/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts index d11c6e92224a2..812091de73b52 100644 --- a/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBSecurityGroupCommand.ts @@ -31,7 +31,6 @@ export class CreateDBSecurityGroupCommand extends $Command< CreateDBSecurityGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDBSecurityGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBSnapshotCommand.ts b/clients/client-rds/commands/CreateDBSnapshotCommand.ts index 88d9b7a5e48e6..a1cb7937a9c56 100644 --- a/clients/client-rds/commands/CreateDBSnapshotCommand.ts +++ b/clients/client-rds/commands/CreateDBSnapshotCommand.ts @@ -29,7 +29,6 @@ export class CreateDBSnapshotCommand extends $Command< CreateDBSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDBSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts b/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts index 4b2ed4e323210..dece237f15369 100644 --- a/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts +++ b/clients/client-rds/commands/CreateDBSubnetGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateDBSubnetGroupCommand extends $Command< CreateDBSubnetGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDBSubnetGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateEventSubscriptionCommand.ts b/clients/client-rds/commands/CreateEventSubscriptionCommand.ts index 181bbcc6d1bbf..451f70dcdf3ec 100644 --- a/clients/client-rds/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-rds/commands/CreateEventSubscriptionCommand.ts @@ -50,7 +50,6 @@ export class CreateEventSubscriptionCommand extends $Command< CreateEventSubscriptionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class CreateEventSubscriptionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateGlobalClusterCommand.ts b/clients/client-rds/commands/CreateGlobalClusterCommand.ts index 6f13ec31312a0..4b5265f6416ae 100644 --- a/clients/client-rds/commands/CreateGlobalClusterCommand.ts +++ b/clients/client-rds/commands/CreateGlobalClusterCommand.ts @@ -44,7 +44,6 @@ export class CreateGlobalClusterCommand extends $Command< CreateGlobalClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateGlobalClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/CreateOptionGroupCommand.ts b/clients/client-rds/commands/CreateOptionGroupCommand.ts index 133bb318de659..bc16d463a37a2 100644 --- a/clients/client-rds/commands/CreateOptionGroupCommand.ts +++ b/clients/client-rds/commands/CreateOptionGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateOptionGroupCommand extends $Command< CreateOptionGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateOptionGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts b/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts index c0fa8fac55368..7a189e3c9c28f 100644 --- a/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts +++ b/clients/client-rds/commands/DeleteCustomAvailabilityZoneCommand.ts @@ -34,7 +34,6 @@ export class DeleteCustomAvailabilityZoneCommand extends $Command< DeleteCustomAvailabilityZoneCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteCustomAvailabilityZoneCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBClusterCommand.ts b/clients/client-rds/commands/DeleteDBClusterCommand.ts index 678ff8e226a2f..03e854d7e2911 100644 --- a/clients/client-rds/commands/DeleteDBClusterCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterCommand.ts @@ -38,7 +38,6 @@ export class DeleteDBClusterCommand extends $Command< DeleteDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts b/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts index 4d89a9583453d..b5f66dffc2d29 100644 --- a/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterEndpointCommand.ts @@ -31,7 +31,6 @@ export class DeleteDBClusterEndpointCommand extends $Command< DeleteDBClusterEndpointCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDBClusterEndpointCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts index c706c04370ed2..ab29ff5c08111 100644 --- a/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterParameterGroupCommand.ts @@ -35,7 +35,6 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< DeleteDBClusterParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteDBClusterParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts index 7c5bc4efa3831..ffc7343dffac1 100644 --- a/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-rds/commands/DeleteDBClusterSnapshotCommand.ts @@ -39,7 +39,6 @@ export class DeleteDBClusterSnapshotCommand extends $Command< DeleteDBClusterSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteDBClusterSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts b/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts index 065a20197f9c1..0c61d1b653d66 100644 --- a/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts +++ b/clients/client-rds/commands/DeleteDBInstanceAutomatedBackupCommand.ts @@ -28,7 +28,6 @@ export class DeleteDBInstanceAutomatedBackupCommand extends $Command< DeleteDBInstanceAutomatedBackupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDBInstanceAutomatedBackupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBInstanceCommand.ts b/clients/client-rds/commands/DeleteDBInstanceCommand.ts index 9a0ea11760ee3..b9c11884340ca 100644 --- a/clients/client-rds/commands/DeleteDBInstanceCommand.ts +++ b/clients/client-rds/commands/DeleteDBInstanceCommand.ts @@ -53,7 +53,6 @@ export class DeleteDBInstanceCommand extends $Command< DeleteDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class DeleteDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts b/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts index ee7c7c999998f..07b1b02ac9e31 100644 --- a/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBParameterGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteDBParameterGroupCommand extends $Command< DeleteDBParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDBParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBProxyCommand.ts b/clients/client-rds/commands/DeleteDBProxyCommand.ts index dc87bfba2e157..f83a6f246420b 100644 --- a/clients/client-rds/commands/DeleteDBProxyCommand.ts +++ b/clients/client-rds/commands/DeleteDBProxyCommand.ts @@ -28,7 +28,6 @@ export class DeleteDBProxyCommand extends $Command< DeleteDBProxyCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDBProxyCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts b/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts index 77ddbe71173db..28336615dc292 100644 --- a/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBSecurityGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteDBSecurityGroupCommand extends $Command< DeleteDBSecurityGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDBSecurityGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBSnapshotCommand.ts b/clients/client-rds/commands/DeleteDBSnapshotCommand.ts index 7911dfdfa4565..331997472b764 100644 --- a/clients/client-rds/commands/DeleteDBSnapshotCommand.ts +++ b/clients/client-rds/commands/DeleteDBSnapshotCommand.ts @@ -32,7 +32,6 @@ export class DeleteDBSnapshotCommand extends $Command< DeleteDBSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteDBSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts b/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts index 940e4fe25cea0..edaf3fdbcae64 100644 --- a/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts +++ b/clients/client-rds/commands/DeleteDBSubnetGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteDBSubnetGroupCommand extends $Command< DeleteDBSubnetGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteDBSubnetGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts b/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts index 5e812d6ceab10..783e5d3ab5c92 100644 --- a/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-rds/commands/DeleteEventSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteEventSubscriptionCommand extends $Command< DeleteEventSubscriptionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEventSubscriptionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteGlobalClusterCommand.ts b/clients/client-rds/commands/DeleteGlobalClusterCommand.ts index b29b350ac3339..fffb8d4306c5b 100644 --- a/clients/client-rds/commands/DeleteGlobalClusterCommand.ts +++ b/clients/client-rds/commands/DeleteGlobalClusterCommand.ts @@ -34,7 +34,6 @@ export class DeleteGlobalClusterCommand extends $Command< DeleteGlobalClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteGlobalClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteInstallationMediaCommand.ts b/clients/client-rds/commands/DeleteInstallationMediaCommand.ts index c4aa95e9e570a..7d8a99117799b 100644 --- a/clients/client-rds/commands/DeleteInstallationMediaCommand.ts +++ b/clients/client-rds/commands/DeleteInstallationMediaCommand.ts @@ -29,7 +29,6 @@ export class DeleteInstallationMediaCommand extends $Command< DeleteInstallationMediaCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteInstallationMediaCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeleteOptionGroupCommand.ts b/clients/client-rds/commands/DeleteOptionGroupCommand.ts index cbac8173152cf..8db48d5c76c42 100644 --- a/clients/client-rds/commands/DeleteOptionGroupCommand.ts +++ b/clients/client-rds/commands/DeleteOptionGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteOptionGroupCommand extends $Command< DeleteOptionGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteOptionGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts b/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts index 7b62a7453f91c..b017245905e8d 100644 --- a/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts +++ b/clients/client-rds/commands/DeregisterDBProxyTargetsCommand.ts @@ -28,7 +28,6 @@ export class DeregisterDBProxyTargetsCommand extends $Command< DeregisterDBProxyTargetsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterDBProxyTargetsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeAccountAttributesCommand.ts b/clients/client-rds/commands/DescribeAccountAttributesCommand.ts index 985d9b7cbdac7..db6a8ea2d86fc 100644 --- a/clients/client-rds/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-rds/commands/DescribeAccountAttributesCommand.ts @@ -29,7 +29,6 @@ export class DescribeAccountAttributesCommand extends $Command< DescribeAccountAttributesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAccountAttributesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeCertificatesCommand.ts b/clients/client-rds/commands/DescribeCertificatesCommand.ts index 1cc8c19804506..92dbe9bdce932 100644 --- a/clients/client-rds/commands/DescribeCertificatesCommand.ts +++ b/clients/client-rds/commands/DescribeCertificatesCommand.ts @@ -28,7 +28,6 @@ export class DescribeCertificatesCommand extends $Command< DescribeCertificatesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCertificatesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts b/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts index c6f123657a13a..73bd2cdd61b64 100644 --- a/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts +++ b/clients/client-rds/commands/DescribeCustomAvailabilityZonesCommand.ts @@ -34,7 +34,6 @@ export class DescribeCustomAvailabilityZonesCommand extends $Command< DescribeCustomAvailabilityZonesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeCustomAvailabilityZonesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts b/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts index 5e7a3c3f195f1..b9b3e4b481f9c 100644 --- a/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterBacktracksCommand.ts @@ -35,7 +35,6 @@ export class DescribeDBClusterBacktracksCommand extends $Command< DescribeDBClusterBacktracksCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDBClusterBacktracksCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts b/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts index 5b592cdc75ab4..d21f57fabccd0 100644 --- a/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterEndpointsCommand.ts @@ -31,7 +31,6 @@ export class DescribeDBClusterEndpointsCommand extends $Command< DescribeDBClusterEndpointsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeDBClusterEndpointsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts b/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts index 7f9d2b211a495..0c87ebcadf7b8 100644 --- a/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterParameterGroupsCommand.ts @@ -39,7 +39,6 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< DescribeDBClusterParameterGroupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeDBClusterParameterGroupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts b/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts index b33dc4b647422..d681b9cafaf75 100644 --- a/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterParametersCommand.ts @@ -35,7 +35,6 @@ export class DescribeDBClusterParametersCommand extends $Command< DescribeDBClusterParametersCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDBClusterParametersCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts b/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts index 173dedaf22f1d..59037cbc51191 100644 --- a/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterSnapshotAttributesCommand.ts @@ -42,7 +42,6 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< DescribeDBClusterSnapshotAttributesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeDBClusterSnapshotAttributesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts index 60be68790c956..38d1965865616 100644 --- a/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-rds/commands/DescribeDBClusterSnapshotsCommand.ts @@ -35,7 +35,6 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< DescribeDBClusterSnapshotsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDBClusterSnapshotsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBClustersCommand.ts b/clients/client-rds/commands/DescribeDBClustersCommand.ts index 5f97e8816f6e1..d6aa85852714e 100644 --- a/clients/client-rds/commands/DescribeDBClustersCommand.ts +++ b/clients/client-rds/commands/DescribeDBClustersCommand.ts @@ -35,7 +35,6 @@ export class DescribeDBClustersCommand extends $Command< DescribeDBClustersCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDBClustersCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts b/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts index 0c59702d81ca6..4515474a29270 100644 --- a/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts +++ b/clients/client-rds/commands/DescribeDBEngineVersionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBEngineVersionsCommand extends $Command< DescribeDBEngineVersionsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBEngineVersionsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts b/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts index 7d981f74a5bba..5033a5aa425ad 100644 --- a/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBInstanceAutomatedBackupsCommand.ts @@ -34,7 +34,6 @@ export class DescribeDBInstanceAutomatedBackupsCommand extends $Command< DescribeDBInstanceAutomatedBackupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeDBInstanceAutomatedBackupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBInstancesCommand.ts b/clients/client-rds/commands/DescribeDBInstancesCommand.ts index f1e1cd2fce4d9..ee957ba52870c 100644 --- a/clients/client-rds/commands/DescribeDBInstancesCommand.ts +++ b/clients/client-rds/commands/DescribeDBInstancesCommand.ts @@ -31,7 +31,6 @@ export class DescribeDBInstancesCommand extends $Command< DescribeDBInstancesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeDBInstancesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBLogFilesCommand.ts b/clients/client-rds/commands/DescribeDBLogFilesCommand.ts index 8dea76a73b60a..4d03f9b64a833 100644 --- a/clients/client-rds/commands/DescribeDBLogFilesCommand.ts +++ b/clients/client-rds/commands/DescribeDBLogFilesCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBLogFilesCommand extends $Command< DescribeDBLogFilesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBLogFilesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts b/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts index 42be8d8802a03..78a0634245e13 100644 --- a/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBParameterGroupsCommand.ts @@ -31,7 +31,6 @@ export class DescribeDBParameterGroupsCommand extends $Command< DescribeDBParameterGroupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeDBParameterGroupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBParametersCommand.ts b/clients/client-rds/commands/DescribeDBParametersCommand.ts index 1304c7f9a61a2..8975431b03382 100644 --- a/clients/client-rds/commands/DescribeDBParametersCommand.ts +++ b/clients/client-rds/commands/DescribeDBParametersCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBParametersCommand extends $Command< DescribeDBParametersCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBParametersCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBProxiesCommand.ts b/clients/client-rds/commands/DescribeDBProxiesCommand.ts index b6ee578021b15..11042dd38fdf9 100644 --- a/clients/client-rds/commands/DescribeDBProxiesCommand.ts +++ b/clients/client-rds/commands/DescribeDBProxiesCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBProxiesCommand extends $Command< DescribeDBProxiesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBProxiesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts b/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts index c2a5e98253bc1..db9a56de087d9 100644 --- a/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBProxyTargetGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBProxyTargetGroupsCommand extends $Command< DescribeDBProxyTargetGroupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBProxyTargetGroupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts b/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts index bfd75b0b7e1b1..fc875a6b74346 100644 --- a/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts +++ b/clients/client-rds/commands/DescribeDBProxyTargetsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBProxyTargetsCommand extends $Command< DescribeDBProxyTargetsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBProxyTargetsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts b/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts index 2df05e64e4e3f..9c1c2e60f7f49 100644 --- a/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBSecurityGroupsCommand.ts @@ -31,7 +31,6 @@ export class DescribeDBSecurityGroupsCommand extends $Command< DescribeDBSecurityGroupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeDBSecurityGroupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts b/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts index 583e2d44adc59..fb4e5aa1bc662 100644 --- a/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts +++ b/clients/client-rds/commands/DescribeDBSnapshotAttributesCommand.ts @@ -35,7 +35,6 @@ export class DescribeDBSnapshotAttributesCommand extends $Command< DescribeDBSnapshotAttributesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeDBSnapshotAttributesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts b/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts index 9cee4d3330e63..58dae19f59ddb 100644 --- a/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts +++ b/clients/client-rds/commands/DescribeDBSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class DescribeDBSnapshotsCommand extends $Command< DescribeDBSnapshotsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDBSnapshotsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts b/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts index 4a1b8e998c414..e5d26daa442c1 100644 --- a/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeDBSubnetGroupsCommand.ts @@ -31,7 +31,6 @@ export class DescribeDBSubnetGroupsCommand extends $Command< DescribeDBSubnetGroupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeDBSubnetGroupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts b/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts index c1dcb468f0fba..ddc4a9437c452 100644 --- a/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts +++ b/clients/client-rds/commands/DescribeEngineDefaultClusterParametersCommand.ts @@ -36,7 +36,6 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< DescribeEngineDefaultClusterParametersCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeEngineDefaultClusterParametersCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts b/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts index 793e4caedd5f4..3f57001e7f1ea 100644 --- a/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts +++ b/clients/client-rds/commands/DescribeEngineDefaultParametersCommand.ts @@ -28,7 +28,6 @@ export class DescribeEngineDefaultParametersCommand extends $Command< DescribeEngineDefaultParametersCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEngineDefaultParametersCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeEventCategoriesCommand.ts b/clients/client-rds/commands/DescribeEventCategoriesCommand.ts index d1ff4aefa265b..0c55e5a836fbb 100644 --- a/clients/client-rds/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-rds/commands/DescribeEventCategoriesCommand.ts @@ -33,7 +33,6 @@ export class DescribeEventCategoriesCommand extends $Command< DescribeEventCategoriesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEventCategoriesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts index ea33054eedbe9..1d63a34a49351 100644 --- a/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-rds/commands/DescribeEventSubscriptionsCommand.ts @@ -30,7 +30,6 @@ export class DescribeEventSubscriptionsCommand extends $Command< DescribeEventSubscriptionsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeEventSubscriptionsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeEventsCommand.ts b/clients/client-rds/commands/DescribeEventsCommand.ts index 96dcd7ef2db0d..da9b7982c5087 100644 --- a/clients/client-rds/commands/DescribeEventsCommand.ts +++ b/clients/client-rds/commands/DescribeEventsCommand.ts @@ -33,7 +33,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeEventsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeExportTasksCommand.ts b/clients/client-rds/commands/DescribeExportTasksCommand.ts index 08fbba889d822..43eae98a9e682 100644 --- a/clients/client-rds/commands/DescribeExportTasksCommand.ts +++ b/clients/client-rds/commands/DescribeExportTasksCommand.ts @@ -29,7 +29,6 @@ export class DescribeExportTasksCommand extends $Command< DescribeExportTasksCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeExportTasksCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeGlobalClustersCommand.ts b/clients/client-rds/commands/DescribeGlobalClustersCommand.ts index a6a64f006c9ff..372dc4b3bcd26 100644 --- a/clients/client-rds/commands/DescribeGlobalClustersCommand.ts +++ b/clients/client-rds/commands/DescribeGlobalClustersCommand.ts @@ -37,7 +37,6 @@ export class DescribeGlobalClustersCommand extends $Command< DescribeGlobalClustersCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeGlobalClustersCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeInstallationMediaCommand.ts b/clients/client-rds/commands/DescribeInstallationMediaCommand.ts index 18c5f14af2420..506ab28df9d3b 100644 --- a/clients/client-rds/commands/DescribeInstallationMediaCommand.ts +++ b/clients/client-rds/commands/DescribeInstallationMediaCommand.ts @@ -29,7 +29,6 @@ export class DescribeInstallationMediaCommand extends $Command< DescribeInstallationMediaCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeInstallationMediaCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts b/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts index df55887f6d9e8..e5a9aa2f87b55 100644 --- a/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts +++ b/clients/client-rds/commands/DescribeOptionGroupOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeOptionGroupOptionsCommand extends $Command< DescribeOptionGroupOptionsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOptionGroupOptionsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeOptionGroupsCommand.ts b/clients/client-rds/commands/DescribeOptionGroupsCommand.ts index 3d1c1a20a1a63..e717278829eb4 100644 --- a/clients/client-rds/commands/DescribeOptionGroupsCommand.ts +++ b/clients/client-rds/commands/DescribeOptionGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeOptionGroupsCommand extends $Command< DescribeOptionGroupsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOptionGroupsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts b/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts index 5d6d9ad61cb01..a640c25c9da2a 100644 --- a/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts +++ b/clients/client-rds/commands/DescribeOrderableDBInstanceOptionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< DescribeOrderableDBInstanceOptionsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOrderableDBInstanceOptionsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts b/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts index f73c7ff653fe8..a4f03c5e26171 100644 --- a/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts +++ b/clients/client-rds/commands/DescribePendingMaintenanceActionsCommand.ts @@ -28,7 +28,6 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< DescribePendingMaintenanceActionsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePendingMaintenanceActionsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts b/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts index 217b836e63d11..c48e93c4a570c 100644 --- a/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts +++ b/clients/client-rds/commands/DescribeReservedDBInstancesCommand.ts @@ -28,7 +28,6 @@ export class DescribeReservedDBInstancesCommand extends $Command< DescribeReservedDBInstancesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeReservedDBInstancesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts b/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts index 7716ba4d28a20..bf7cc1ea28088 100644 --- a/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts +++ b/clients/client-rds/commands/DescribeReservedDBInstancesOfferingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeReservedDBInstancesOfferingsCommand extends $Command< DescribeReservedDBInstancesOfferingsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeReservedDBInstancesOfferingsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeSourceRegionsCommand.ts b/clients/client-rds/commands/DescribeSourceRegionsCommand.ts index c54c03a487254..a9cde8cfdf30b 100644 --- a/clients/client-rds/commands/DescribeSourceRegionsCommand.ts +++ b/clients/client-rds/commands/DescribeSourceRegionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeSourceRegionsCommand extends $Command< DescribeSourceRegionsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSourceRegionsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts b/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts index 107f84ddae008..2f42a89466da8 100644 --- a/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts +++ b/clients/client-rds/commands/DescribeValidDBInstanceModificationsCommand.ts @@ -36,7 +36,6 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< DescribeValidDBInstanceModificationsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeValidDBInstanceModificationsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts b/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts index ed5ca754263af..db96050cf1abb 100644 --- a/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts +++ b/clients/client-rds/commands/DownloadDBLogFilePortionCommand.ts @@ -28,7 +28,6 @@ export class DownloadDBLogFilePortionCommand extends $Command< DownloadDBLogFilePortionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DownloadDBLogFilePortionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/FailoverDBClusterCommand.ts b/clients/client-rds/commands/FailoverDBClusterCommand.ts index 669bf3a811440..3ed50297ac38d 100644 --- a/clients/client-rds/commands/FailoverDBClusterCommand.ts +++ b/clients/client-rds/commands/FailoverDBClusterCommand.ts @@ -41,7 +41,6 @@ export class FailoverDBClusterCommand extends $Command< FailoverDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class FailoverDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ImportInstallationMediaCommand.ts b/clients/client-rds/commands/ImportInstallationMediaCommand.ts index 64ab1832eb162..7f93b01c04f14 100644 --- a/clients/client-rds/commands/ImportInstallationMediaCommand.ts +++ b/clients/client-rds/commands/ImportInstallationMediaCommand.ts @@ -30,7 +30,6 @@ export class ImportInstallationMediaCommand extends $Command< ImportInstallationMediaCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ImportInstallationMediaCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ListTagsForResourceCommand.ts b/clients/client-rds/commands/ListTagsForResourceCommand.ts index 486be4871e04d..df07cda706b80 100644 --- a/clients/client-rds/commands/ListTagsForResourceCommand.ts +++ b/clients/client-rds/commands/ListTagsForResourceCommand.ts @@ -31,7 +31,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyCertificatesCommand.ts b/clients/client-rds/commands/ModifyCertificatesCommand.ts index 8783e0b08a021..ed49e06caa054 100644 --- a/clients/client-rds/commands/ModifyCertificatesCommand.ts +++ b/clients/client-rds/commands/ModifyCertificatesCommand.ts @@ -52,7 +52,6 @@ export class ModifyCertificatesCommand extends $Command< ModifyCertificatesCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class ModifyCertificatesCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts b/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts index 7bc39d2a5eacf..98b139b0cb806 100644 --- a/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts +++ b/clients/client-rds/commands/ModifyCurrentDBClusterCapacityCommand.ts @@ -45,7 +45,6 @@ export class ModifyCurrentDBClusterCapacityCommand extends $Command< ModifyCurrentDBClusterCapacityCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class ModifyCurrentDBClusterCapacityCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBClusterCommand.ts b/clients/client-rds/commands/ModifyDBClusterCommand.ts index 0004f9d340509..cc13e9a9c8665 100644 --- a/clients/client-rds/commands/ModifyDBClusterCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterCommand.ts @@ -37,7 +37,6 @@ export class ModifyDBClusterCommand extends $Command< ModifyDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ModifyDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts b/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts index 2be3a0f6a93a5..51ddccce1b7a0 100644 --- a/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterEndpointCommand.ts @@ -32,7 +32,6 @@ export class ModifyDBClusterEndpointCommand extends $Command< ModifyDBClusterEndpointCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyDBClusterEndpointCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts index d7279ac093594..2860dabc0bb3f 100644 --- a/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterParameterGroupCommand.ts @@ -58,7 +58,6 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< ModifyDBClusterParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class ModifyDBClusterParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts b/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts index 9de37524aebfb..e1010d2972bc8 100644 --- a/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts +++ b/clients/client-rds/commands/ModifyDBClusterSnapshotAttributeCommand.ts @@ -49,7 +49,6 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< ModifyDBClusterSnapshotAttributeCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class ModifyDBClusterSnapshotAttributeCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBInstanceCommand.ts b/clients/client-rds/commands/ModifyDBInstanceCommand.ts index 8face8577ec7d..5a30cafe5fed7 100644 --- a/clients/client-rds/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-rds/commands/ModifyDBInstanceCommand.ts @@ -33,7 +33,6 @@ export class ModifyDBInstanceCommand extends $Command< ModifyDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts b/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts index 39f15b6e23d37..50197c9ad5204 100644 --- a/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBParameterGroupCommand.ts @@ -47,7 +47,6 @@ export class ModifyDBParameterGroupCommand extends $Command< ModifyDBParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class ModifyDBParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBProxyCommand.ts b/clients/client-rds/commands/ModifyDBProxyCommand.ts index 5114189a42ff1..e44366d620267 100644 --- a/clients/client-rds/commands/ModifyDBProxyCommand.ts +++ b/clients/client-rds/commands/ModifyDBProxyCommand.ts @@ -28,7 +28,6 @@ export class ModifyDBProxyCommand extends $Command< ModifyDBProxyCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyDBProxyCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts b/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts index a5f9f2dfb9819..68b59630a02f4 100644 --- a/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBProxyTargetGroupCommand.ts @@ -28,7 +28,6 @@ export class ModifyDBProxyTargetGroupCommand extends $Command< ModifyDBProxyTargetGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyDBProxyTargetGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts b/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts index 765ec96c4a5ad..954d59cdb5a54 100644 --- a/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts +++ b/clients/client-rds/commands/ModifyDBSnapshotAttributeCommand.ts @@ -44,7 +44,6 @@ export class ModifyDBSnapshotAttributeCommand extends $Command< ModifyDBSnapshotAttributeCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class ModifyDBSnapshotAttributeCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBSnapshotCommand.ts b/clients/client-rds/commands/ModifyDBSnapshotCommand.ts index 937e5389d7136..4114c63fce94b 100644 --- a/clients/client-rds/commands/ModifyDBSnapshotCommand.ts +++ b/clients/client-rds/commands/ModifyDBSnapshotCommand.ts @@ -34,7 +34,6 @@ export class ModifyDBSnapshotCommand extends $Command< ModifyDBSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ModifyDBSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts b/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts index 6b27306f847b4..dddd38771d45e 100644 --- a/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts +++ b/clients/client-rds/commands/ModifyDBSubnetGroupCommand.ts @@ -28,7 +28,6 @@ export class ModifyDBSubnetGroupCommand extends $Command< ModifyDBSubnetGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyDBSubnetGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts b/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts index b775d1e4033ff..c4fec7841ba42 100644 --- a/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-rds/commands/ModifyEventSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class ModifyEventSubscriptionCommand extends $Command< ModifyEventSubscriptionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyEventSubscriptionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyGlobalClusterCommand.ts b/clients/client-rds/commands/ModifyGlobalClusterCommand.ts index eef2f68977e45..f7c2601cf3f95 100644 --- a/clients/client-rds/commands/ModifyGlobalClusterCommand.ts +++ b/clients/client-rds/commands/ModifyGlobalClusterCommand.ts @@ -36,7 +36,6 @@ export class ModifyGlobalClusterCommand extends $Command< ModifyGlobalClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ModifyGlobalClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ModifyOptionGroupCommand.ts b/clients/client-rds/commands/ModifyOptionGroupCommand.ts index 250db1b721760..b94389f51dbc0 100644 --- a/clients/client-rds/commands/ModifyOptionGroupCommand.ts +++ b/clients/client-rds/commands/ModifyOptionGroupCommand.ts @@ -28,7 +28,6 @@ export class ModifyOptionGroupCommand extends $Command< ModifyOptionGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyOptionGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/PromoteReadReplicaCommand.ts b/clients/client-rds/commands/PromoteReadReplicaCommand.ts index b3850007cd8de..a2d965b385eab 100644 --- a/clients/client-rds/commands/PromoteReadReplicaCommand.ts +++ b/clients/client-rds/commands/PromoteReadReplicaCommand.ts @@ -46,7 +46,6 @@ export class PromoteReadReplicaCommand extends $Command< PromoteReadReplicaCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class PromoteReadReplicaCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts index dde37de090440..a3fe80a2f2552 100644 --- a/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts +++ b/clients/client-rds/commands/PromoteReadReplicaDBClusterCommand.ts @@ -31,7 +31,6 @@ export class PromoteReadReplicaDBClusterCommand extends $Command< PromoteReadReplicaDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class PromoteReadReplicaDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts b/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts index 16546a6587e05..3a01082637470 100644 --- a/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts +++ b/clients/client-rds/commands/PurchaseReservedDBInstancesOfferingCommand.ts @@ -32,7 +32,6 @@ export class PurchaseReservedDBInstancesOfferingCommand extends $Command< PurchaseReservedDBInstancesOfferingCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PurchaseReservedDBInstancesOfferingCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RebootDBInstanceCommand.ts b/clients/client-rds/commands/RebootDBInstanceCommand.ts index 97208006d38ec..652f3714a9edc 100644 --- a/clients/client-rds/commands/RebootDBInstanceCommand.ts +++ b/clients/client-rds/commands/RebootDBInstanceCommand.ts @@ -39,7 +39,6 @@ export class RebootDBInstanceCommand extends $Command< RebootDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class RebootDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts b/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts index f59754bf0ab5c..fa32e5b9e8e0b 100644 --- a/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts +++ b/clients/client-rds/commands/RegisterDBProxyTargetsCommand.ts @@ -28,7 +28,6 @@ export class RegisterDBProxyTargetsCommand extends $Command< RegisterDBProxyTargetsCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterDBProxyTargetsCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts b/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts index 130ef48531b49..53dbf10172ee7 100644 --- a/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts +++ b/clients/client-rds/commands/RemoveFromGlobalClusterCommand.ts @@ -35,7 +35,6 @@ export class RemoveFromGlobalClusterCommand extends $Command< RemoveFromGlobalClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RemoveFromGlobalClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts b/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts index 52007307b336c..ed08efc686ae2 100644 --- a/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts +++ b/clients/client-rds/commands/RemoveRoleFromDBClusterCommand.ts @@ -33,7 +33,6 @@ export class RemoveRoleFromDBClusterCommand extends $Command< RemoveRoleFromDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class RemoveRoleFromDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts b/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts index c29ecac2eb843..ed2789d4a2468 100644 --- a/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts +++ b/clients/client-rds/commands/RemoveRoleFromDBInstanceCommand.ts @@ -28,7 +28,6 @@ export class RemoveRoleFromDBInstanceCommand extends $Command< RemoveRoleFromDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveRoleFromDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts b/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts index 8bb8de0d2646e..0631b5fb2cdc6 100644 --- a/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +++ b/clients/client-rds/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< RemoveSourceIdentifierFromSubscriptionCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts b/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts index af527c01171c7..8c9891f987948 100644 --- a/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-rds/commands/RemoveTagsFromResourceCommand.ts @@ -32,7 +32,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts b/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts index 1034d499dee82..8f1c50981c5fd 100644 --- a/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts +++ b/clients/client-rds/commands/ResetDBClusterParameterGroupCommand.ts @@ -47,7 +47,6 @@ export class ResetDBClusterParameterGroupCommand extends $Command< ResetDBClusterParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class ResetDBClusterParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/ResetDBParameterGroupCommand.ts b/clients/client-rds/commands/ResetDBParameterGroupCommand.ts index 6b3f2bdd9c912..a07ab4855dcd5 100644 --- a/clients/client-rds/commands/ResetDBParameterGroupCommand.ts +++ b/clients/client-rds/commands/ResetDBParameterGroupCommand.ts @@ -35,7 +35,6 @@ export class ResetDBParameterGroupCommand extends $Command< ResetDBParameterGroupCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ResetDBParameterGroupCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts b/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts index 0ffc28b72d667..9b85c39e3269b 100644 --- a/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts +++ b/clients/client-rds/commands/RestoreDBClusterFromS3Command.ts @@ -47,7 +47,6 @@ export class RestoreDBClusterFromS3Command extends $Command< RestoreDBClusterFromS3CommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class RestoreDBClusterFromS3Command extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts index d256902dbb8bf..e660a32bc9ef9 100644 --- a/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-rds/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -47,7 +47,6 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< RestoreDBClusterFromSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class RestoreDBClusterFromSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts index 2749433deffbc..a58915b7b632f 100644 --- a/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-rds/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -47,7 +47,6 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< RestoreDBClusterToPointInTimeCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class RestoreDBClusterToPointInTimeCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts b/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts index 8d9216030e815..22e2fdc5cb128 100644 --- a/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts +++ b/clients/client-rds/commands/RestoreDBInstanceFromDBSnapshotCommand.ts @@ -41,7 +41,6 @@ export class RestoreDBInstanceFromDBSnapshotCommand extends $Command< RestoreDBInstanceFromDBSnapshotCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class RestoreDBInstanceFromDBSnapshotCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts b/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts index 4111661834093..3432503f628de 100644 --- a/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts +++ b/clients/client-rds/commands/RestoreDBInstanceFromS3Command.ts @@ -35,7 +35,6 @@ export class RestoreDBInstanceFromS3Command extends $Command< RestoreDBInstanceFromS3CommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RestoreDBInstanceFromS3Command extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts b/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts index 615026c0af29b..da5172a131b04 100644 --- a/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts +++ b/clients/client-rds/commands/RestoreDBInstanceToPointInTimeCommand.ts @@ -37,7 +37,6 @@ export class RestoreDBInstanceToPointInTimeCommand extends $Command< RestoreDBInstanceToPointInTimeCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class RestoreDBInstanceToPointInTimeCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts b/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts index b46fe6af0364f..62b2b06340064 100644 --- a/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts +++ b/clients/client-rds/commands/RevokeDBSecurityGroupIngressCommand.ts @@ -28,7 +28,6 @@ export class RevokeDBSecurityGroupIngressCommand extends $Command< RevokeDBSecurityGroupIngressCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokeDBSecurityGroupIngressCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StartActivityStreamCommand.ts b/clients/client-rds/commands/StartActivityStreamCommand.ts index 040fe028f88e3..00f58f5b74280 100644 --- a/clients/client-rds/commands/StartActivityStreamCommand.ts +++ b/clients/client-rds/commands/StartActivityStreamCommand.ts @@ -30,7 +30,6 @@ export class StartActivityStreamCommand extends $Command< StartActivityStreamCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartActivityStreamCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StartDBClusterCommand.ts b/clients/client-rds/commands/StartDBClusterCommand.ts index cca1bf0931191..9475695b18fee 100644 --- a/clients/client-rds/commands/StartDBClusterCommand.ts +++ b/clients/client-rds/commands/StartDBClusterCommand.ts @@ -37,7 +37,6 @@ export class StartDBClusterCommand extends $Command< StartDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StartDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts b/clients/client-rds/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts index 6fc84926c6558..b269832071772 100644 --- a/clients/client-rds/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts +++ b/clients/client-rds/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts @@ -35,7 +35,6 @@ export class StartDBInstanceAutomatedBackupsReplicationCommand extends $Command< StartDBInstanceAutomatedBackupsReplicationCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class StartDBInstanceAutomatedBackupsReplicationCommand extends $Command< StartDBInstanceAutomatedBackupsReplicationCommandInput, StartDBInstanceAutomatedBackupsReplicationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StartDBInstanceCommand.ts b/clients/client-rds/commands/StartDBInstanceCommand.ts index 3e9067d8378a0..a4114c5eac34a 100644 --- a/clients/client-rds/commands/StartDBInstanceCommand.ts +++ b/clients/client-rds/commands/StartDBInstanceCommand.ts @@ -43,7 +43,6 @@ export class StartDBInstanceCommand extends $Command< StartDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class StartDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StartExportTaskCommand.ts b/clients/client-rds/commands/StartExportTaskCommand.ts index 9eaeceb00b073..23dde41555e78 100644 --- a/clients/client-rds/commands/StartExportTaskCommand.ts +++ b/clients/client-rds/commands/StartExportTaskCommand.ts @@ -31,7 +31,6 @@ export class StartExportTaskCommand extends $Command< StartExportTaskCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartExportTaskCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StopActivityStreamCommand.ts b/clients/client-rds/commands/StopActivityStreamCommand.ts index e32666cc2e92d..f91997bf0ee2a 100644 --- a/clients/client-rds/commands/StopActivityStreamCommand.ts +++ b/clients/client-rds/commands/StopActivityStreamCommand.ts @@ -32,7 +32,6 @@ export class StopActivityStreamCommand extends $Command< StopActivityStreamCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopActivityStreamCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StopDBClusterCommand.ts b/clients/client-rds/commands/StopDBClusterCommand.ts index ae48703988d50..dc3ad8d7021ab 100644 --- a/clients/client-rds/commands/StopDBClusterCommand.ts +++ b/clients/client-rds/commands/StopDBClusterCommand.ts @@ -40,7 +40,6 @@ export class StopDBClusterCommand extends $Command< StopDBClusterCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class StopDBClusterCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StopDBInstanceAutomatedBackupsReplicationCommand.ts b/clients/client-rds/commands/StopDBInstanceAutomatedBackupsReplicationCommand.ts index 65d16758cf41f..8a944c10f1fcb 100644 --- a/clients/client-rds/commands/StopDBInstanceAutomatedBackupsReplicationCommand.ts +++ b/clients/client-rds/commands/StopDBInstanceAutomatedBackupsReplicationCommand.ts @@ -35,7 +35,6 @@ export class StopDBInstanceAutomatedBackupsReplicationCommand extends $Command< StopDBInstanceAutomatedBackupsReplicationCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class StopDBInstanceAutomatedBackupsReplicationCommand extends $Command< StopDBInstanceAutomatedBackupsReplicationCommandInput, StopDBInstanceAutomatedBackupsReplicationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rds/commands/StopDBInstanceCommand.ts b/clients/client-rds/commands/StopDBInstanceCommand.ts index 9431927c4957d..2331c218b9b39 100644 --- a/clients/client-rds/commands/StopDBInstanceCommand.ts +++ b/clients/client-rds/commands/StopDBInstanceCommand.ts @@ -45,7 +45,6 @@ export class StopDBInstanceCommand extends $Command< StopDBInstanceCommandOutput, RDSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class StopDBInstanceCommand extends $Command< configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/CancelStatementCommand.ts b/clients/client-redshift-data/commands/CancelStatementCommand.ts index 6df9f60d4983f..a4f7fd8fcd1e0 100644 --- a/clients/client-redshift-data/commands/CancelStatementCommand.ts +++ b/clients/client-redshift-data/commands/CancelStatementCommand.ts @@ -28,7 +28,6 @@ export class CancelStatementCommand extends $Command< CancelStatementCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelStatementCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/DescribeStatementCommand.ts b/clients/client-redshift-data/commands/DescribeStatementCommand.ts index cab68017e5759..48854b5d71db5 100644 --- a/clients/client-redshift-data/commands/DescribeStatementCommand.ts +++ b/clients/client-redshift-data/commands/DescribeStatementCommand.ts @@ -30,7 +30,6 @@ export class DescribeStatementCommand extends $Command< DescribeStatementCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeStatementCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/DescribeTableCommand.ts b/clients/client-redshift-data/commands/DescribeTableCommand.ts index 01abbbe13b086..f1d0e0e72a057 100644 --- a/clients/client-redshift-data/commands/DescribeTableCommand.ts +++ b/clients/client-redshift-data/commands/DescribeTableCommand.ts @@ -43,7 +43,6 @@ export class DescribeTableCommand extends $Command< DescribeTableCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DescribeTableCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/ExecuteStatementCommand.ts b/clients/client-redshift-data/commands/ExecuteStatementCommand.ts index d30fc308e7d8d..c4aed954f4b6b 100644 --- a/clients/client-redshift-data/commands/ExecuteStatementCommand.ts +++ b/clients/client-redshift-data/commands/ExecuteStatementCommand.ts @@ -42,7 +42,6 @@ export class ExecuteStatementCommand extends $Command< ExecuteStatementCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ExecuteStatementCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/GetStatementResultCommand.ts b/clients/client-redshift-data/commands/GetStatementResultCommand.ts index 43de68cb52582..2e36e57f3e593 100644 --- a/clients/client-redshift-data/commands/GetStatementResultCommand.ts +++ b/clients/client-redshift-data/commands/GetStatementResultCommand.ts @@ -29,7 +29,6 @@ export class GetStatementResultCommand extends $Command< GetStatementResultCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetStatementResultCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/ListDatabasesCommand.ts b/clients/client-redshift-data/commands/ListDatabasesCommand.ts index 8b4503f4feec7..492a972106081 100644 --- a/clients/client-redshift-data/commands/ListDatabasesCommand.ts +++ b/clients/client-redshift-data/commands/ListDatabasesCommand.ts @@ -42,7 +42,6 @@ export class ListDatabasesCommand extends $Command< ListDatabasesCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListDatabasesCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/ListSchemasCommand.ts b/clients/client-redshift-data/commands/ListSchemasCommand.ts index ceb6dc20f2172..beab12d7eec64 100644 --- a/clients/client-redshift-data/commands/ListSchemasCommand.ts +++ b/clients/client-redshift-data/commands/ListSchemasCommand.ts @@ -42,7 +42,6 @@ export class ListSchemasCommand extends $Command< ListSchemasCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ListSchemasCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/ListStatementsCommand.ts b/clients/client-redshift-data/commands/ListStatementsCommand.ts index 39e31ac7ef4e2..eb0ee2a1743f5 100644 --- a/clients/client-redshift-data/commands/ListStatementsCommand.ts +++ b/clients/client-redshift-data/commands/ListStatementsCommand.ts @@ -29,7 +29,6 @@ export class ListStatementsCommand extends $Command< ListStatementsCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListStatementsCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift-data/commands/ListTablesCommand.ts b/clients/client-redshift-data/commands/ListTablesCommand.ts index 425d1ca7e9294..22036facdc2f2 100644 --- a/clients/client-redshift-data/commands/ListTablesCommand.ts +++ b/clients/client-redshift-data/commands/ListTablesCommand.ts @@ -43,7 +43,6 @@ export class ListTablesCommand extends $Command< ListTablesCommandOutput, RedshiftDataClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class ListTablesCommand extends $Command< configuration: RedshiftDataClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts b/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts index e97cdfbd9a454..3922e55d960f0 100644 --- a/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts +++ b/clients/client-redshift/commands/AcceptReservedNodeExchangeCommand.ts @@ -30,7 +30,6 @@ export class AcceptReservedNodeExchangeCommand extends $Command< AcceptReservedNodeExchangeCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AcceptReservedNodeExchangeCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts b/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts index 9706570e0877d..1336511c271d6 100644 --- a/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts +++ b/clients/client-redshift/commands/AuthorizeClusterSecurityGroupIngressCommand.ts @@ -47,7 +47,6 @@ export class AuthorizeClusterSecurityGroupIngressCommand extends $Command< AuthorizeClusterSecurityGroupIngressCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class AuthorizeClusterSecurityGroupIngressCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts b/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts index 906a32e9e91a0..2edd11db573af 100644 --- a/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts +++ b/clients/client-redshift/commands/AuthorizeSnapshotAccessCommand.ts @@ -33,7 +33,6 @@ export class AuthorizeSnapshotAccessCommand extends $Command< AuthorizeSnapshotAccessCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AuthorizeSnapshotAccessCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts b/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts index be70d8ad8e528..ed31b28c58cd3 100644 --- a/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/BatchDeleteClusterSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteClusterSnapshotsCommand extends $Command< BatchDeleteClusterSnapshotsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteClusterSnapshotsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts b/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts index c8565477afa66..07dccb8b3ac2e 100644 --- a/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/BatchModifyClusterSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class BatchModifyClusterSnapshotsCommand extends $Command< BatchModifyClusterSnapshotsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchModifyClusterSnapshotsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CancelResizeCommand.ts b/clients/client-redshift/commands/CancelResizeCommand.ts index 78273d1146cdd..da4ab78654a9b 100644 --- a/clients/client-redshift/commands/CancelResizeCommand.ts +++ b/clients/client-redshift/commands/CancelResizeCommand.ts @@ -25,7 +25,6 @@ export class CancelResizeCommand extends $Command< CancelResizeCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class CancelResizeCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts b/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts index 65e60ce8b8b28..c128b2109681d 100644 --- a/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/CopyClusterSnapshotCommand.ts @@ -39,7 +39,6 @@ export class CopyClusterSnapshotCommand extends $Command< CopyClusterSnapshotCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CopyClusterSnapshotCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateClusterCommand.ts b/clients/client-redshift/commands/CreateClusterCommand.ts index 1d26810228654..de3237128082f 100644 --- a/clients/client-redshift/commands/CreateClusterCommand.ts +++ b/clients/client-redshift/commands/CreateClusterCommand.ts @@ -34,7 +34,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts b/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts index 39f8c75dc8512..b8d8bcd19ba58 100644 --- a/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/CreateClusterParameterGroupCommand.ts @@ -36,7 +36,6 @@ export class CreateClusterParameterGroupCommand extends $Command< CreateClusterParameterGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateClusterParameterGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts b/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts index 68de8a43a4c47..a4050f3a2ebc8 100644 --- a/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts +++ b/clients/client-redshift/commands/CreateClusterSecurityGroupCommand.ts @@ -33,7 +33,6 @@ export class CreateClusterSecurityGroupCommand extends $Command< CreateClusterSecurityGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateClusterSecurityGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts b/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts index a12ea93782492..89b0b80e78fcc 100644 --- a/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/CreateClusterSnapshotCommand.ts @@ -33,7 +33,6 @@ export class CreateClusterSnapshotCommand extends $Command< CreateClusterSnapshotCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateClusterSnapshotCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts b/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts index ad953283bf555..4e69ae7ede6a0 100644 --- a/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts +++ b/clients/client-redshift/commands/CreateClusterSubnetGroupCommand.ts @@ -34,7 +34,6 @@ export class CreateClusterSubnetGroupCommand extends $Command< CreateClusterSubnetGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateClusterSubnetGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts b/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts index c1ceaa8487080..952db97a46658 100644 --- a/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/CreateEventSubscriptionCommand.ts @@ -45,7 +45,6 @@ export class CreateEventSubscriptionCommand extends $Command< CreateEventSubscriptionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateEventSubscriptionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts b/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts index 9c837eeb10fed..ff338faa6ff00 100644 --- a/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts +++ b/clients/client-redshift/commands/CreateHsmClientCertificateCommand.ts @@ -35,7 +35,6 @@ export class CreateHsmClientCertificateCommand extends $Command< CreateHsmClientCertificateCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateHsmClientCertificateCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts b/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts index 7c21b2c5b1fa1..f4204bfca6b98 100644 --- a/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts +++ b/clients/client-redshift/commands/CreateHsmConfigurationCommand.ts @@ -34,7 +34,6 @@ export class CreateHsmConfigurationCommand extends $Command< CreateHsmConfigurationCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateHsmConfigurationCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateScheduledActionCommand.ts b/clients/client-redshift/commands/CreateScheduledActionCommand.ts index 04d1b0b640556..1c79ffca2b12a 100644 --- a/clients/client-redshift/commands/CreateScheduledActionCommand.ts +++ b/clients/client-redshift/commands/CreateScheduledActionCommand.ts @@ -30,7 +30,6 @@ export class CreateScheduledActionCommand extends $Command< CreateScheduledActionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateScheduledActionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts b/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts index bf398c9e976af..c9865cbb4a68f 100644 --- a/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts +++ b/clients/client-redshift/commands/CreateSnapshotCopyGrantCommand.ts @@ -35,7 +35,6 @@ export class CreateSnapshotCopyGrantCommand extends $Command< CreateSnapshotCopyGrantCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateSnapshotCopyGrantCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts b/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts index ea35e5c3431b7..c921858533b6d 100644 --- a/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/CreateSnapshotScheduleCommand.ts @@ -28,7 +28,6 @@ export class CreateSnapshotScheduleCommand extends $Command< CreateSnapshotScheduleCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSnapshotScheduleCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateTagsCommand.ts b/clients/client-redshift/commands/CreateTagsCommand.ts index 3b226992ef982..ac34a0473e6c0 100644 --- a/clients/client-redshift/commands/CreateTagsCommand.ts +++ b/clients/client-redshift/commands/CreateTagsCommand.ts @@ -29,7 +29,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTagsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/CreateUsageLimitCommand.ts b/clients/client-redshift/commands/CreateUsageLimitCommand.ts index f06774ba28a8b..e500e3fb4857f 100644 --- a/clients/client-redshift/commands/CreateUsageLimitCommand.ts +++ b/clients/client-redshift/commands/CreateUsageLimitCommand.ts @@ -29,7 +29,6 @@ export class CreateUsageLimitCommand extends $Command< CreateUsageLimitCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateUsageLimitCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteClusterCommand.ts b/clients/client-redshift/commands/DeleteClusterCommand.ts index d54005b0586b7..5c57defe7e7a0 100644 --- a/clients/client-redshift/commands/DeleteClusterCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterCommand.ts @@ -43,7 +43,6 @@ export class DeleteClusterCommand extends $Command< DeleteClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DeleteClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts b/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts index c7598e36201d0..0923cf4f5cf1b 100644 --- a/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterParameterGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteClusterParameterGroupCommand extends $Command< DeleteClusterParameterGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteClusterParameterGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts b/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts index e2ea905b165fb..91f45c3664026 100644 --- a/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterSecurityGroupCommand.ts @@ -36,7 +36,6 @@ export class DeleteClusterSecurityGroupCommand extends $Command< DeleteClusterSecurityGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteClusterSecurityGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts b/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts index 6373494407ca4..1c8eb7ec97bb3 100644 --- a/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterSnapshotCommand.ts @@ -34,7 +34,6 @@ export class DeleteClusterSnapshotCommand extends $Command< DeleteClusterSnapshotCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteClusterSnapshotCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts b/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts index 6c2186d628431..192a3c86e9190 100644 --- a/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts +++ b/clients/client-redshift/commands/DeleteClusterSubnetGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteClusterSubnetGroupCommand extends $Command< DeleteClusterSubnetGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteClusterSubnetGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts b/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts index f066d17a28302..6637caa715a39 100644 --- a/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/DeleteEventSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteEventSubscriptionCommand extends $Command< DeleteEventSubscriptionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteEventSubscriptionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts b/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts index b3d0f07e2773e..6aac331c681bd 100644 --- a/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts +++ b/clients/client-redshift/commands/DeleteHsmClientCertificateCommand.ts @@ -28,7 +28,6 @@ export class DeleteHsmClientCertificateCommand extends $Command< DeleteHsmClientCertificateCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteHsmClientCertificateCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts b/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts index 38311212e3399..76ad769b5bc16 100644 --- a/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts +++ b/clients/client-redshift/commands/DeleteHsmConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteHsmConfigurationCommand extends $Command< DeleteHsmConfigurationCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteHsmConfigurationCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteScheduledActionCommand.ts b/clients/client-redshift/commands/DeleteScheduledActionCommand.ts index d233193620cf3..2fff3dfc4e0dd 100644 --- a/clients/client-redshift/commands/DeleteScheduledActionCommand.ts +++ b/clients/client-redshift/commands/DeleteScheduledActionCommand.ts @@ -29,7 +29,6 @@ export class DeleteScheduledActionCommand extends $Command< DeleteScheduledActionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteScheduledActionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts b/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts index b45c28516e51a..dca574b46ed4e 100644 --- a/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts +++ b/clients/client-redshift/commands/DeleteSnapshotCopyGrantCommand.ts @@ -28,7 +28,6 @@ export class DeleteSnapshotCopyGrantCommand extends $Command< DeleteSnapshotCopyGrantCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSnapshotCopyGrantCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts b/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts index 98228ef8c940e..2b0b8f337675a 100644 --- a/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/DeleteSnapshotScheduleCommand.ts @@ -28,7 +28,6 @@ export class DeleteSnapshotScheduleCommand extends $Command< DeleteSnapshotScheduleCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSnapshotScheduleCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteTagsCommand.ts b/clients/client-redshift/commands/DeleteTagsCommand.ts index 172147c5c9e23..c0ee93867a8ce 100644 --- a/clients/client-redshift/commands/DeleteTagsCommand.ts +++ b/clients/client-redshift/commands/DeleteTagsCommand.ts @@ -26,7 +26,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class DeleteTagsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DeleteUsageLimitCommand.ts b/clients/client-redshift/commands/DeleteUsageLimitCommand.ts index 9d5b57a7008ba..6e502054467c8 100644 --- a/clients/client-redshift/commands/DeleteUsageLimitCommand.ts +++ b/clients/client-redshift/commands/DeleteUsageLimitCommand.ts @@ -28,7 +28,6 @@ export class DeleteUsageLimitCommand extends $Command< DeleteUsageLimitCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUsageLimitCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts b/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts index d9eef9feb3397..05c2f0539141b 100644 --- a/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts +++ b/clients/client-redshift/commands/DescribeAccountAttributesCommand.ts @@ -28,7 +28,6 @@ export class DescribeAccountAttributesCommand extends $Command< DescribeAccountAttributesCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAccountAttributesCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts b/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts index 56bda7e148987..df549efa97508 100644 --- a/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterDbRevisionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeClusterDbRevisionsCommand extends $Command< DescribeClusterDbRevisionsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClusterDbRevisionsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts index 1d9a1471e3f65..3eb59558d7466 100644 --- a/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterParameterGroupsCommand.ts @@ -44,7 +44,6 @@ export class DescribeClusterParameterGroupsCommand extends $Command< DescribeClusterParameterGroupsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DescribeClusterParameterGroupsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterParametersCommand.ts b/clients/client-redshift/commands/DescribeClusterParametersCommand.ts index 05992b5d64c56..46f84330a646b 100644 --- a/clients/client-redshift/commands/DescribeClusterParametersCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterParametersCommand.ts @@ -39,7 +39,6 @@ export class DescribeClusterParametersCommand extends $Command< DescribeClusterParametersCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DescribeClusterParametersCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts index 6ba57b00405cf..b42c87d967fe9 100644 --- a/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSecurityGroupsCommand.ts @@ -42,7 +42,6 @@ export class DescribeClusterSecurityGroupsCommand extends $Command< DescribeClusterSecurityGroupsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeClusterSecurityGroupsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts b/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts index 7a27fc3ad7be7..11df675e64848 100644 --- a/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSnapshotsCommand.ts @@ -40,7 +40,6 @@ export class DescribeClusterSnapshotsCommand extends $Command< DescribeClusterSnapshotsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeClusterSnapshotsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts b/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts index af0057b0192f0..7a2b08ca0fa1b 100644 --- a/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterSubnetGroupsCommand.ts @@ -38,7 +38,6 @@ export class DescribeClusterSubnetGroupsCommand extends $Command< DescribeClusterSubnetGroupsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeClusterSubnetGroupsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterTracksCommand.ts b/clients/client-redshift/commands/DescribeClusterTracksCommand.ts index 39f7420351976..e9d92c18f577e 100644 --- a/clients/client-redshift/commands/DescribeClusterTracksCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterTracksCommand.ts @@ -28,7 +28,6 @@ export class DescribeClusterTracksCommand extends $Command< DescribeClusterTracksCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClusterTracksCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts b/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts index e3e6b88e8cf32..d8d6053686dca 100644 --- a/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts +++ b/clients/client-redshift/commands/DescribeClusterVersionsCommand.ts @@ -33,7 +33,6 @@ export class DescribeClusterVersionsCommand extends $Command< DescribeClusterVersionsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeClusterVersionsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeClustersCommand.ts b/clients/client-redshift/commands/DescribeClustersCommand.ts index ba108d9cf7afd..7225031baf12e 100644 --- a/clients/client-redshift/commands/DescribeClustersCommand.ts +++ b/clients/client-redshift/commands/DescribeClustersCommand.ts @@ -40,7 +40,6 @@ export class DescribeClustersCommand extends $Command< DescribeClustersCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DescribeClustersCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts b/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts index c61c40fc25612..7ea01827f8891 100644 --- a/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts +++ b/clients/client-redshift/commands/DescribeDefaultClusterParametersCommand.ts @@ -33,7 +33,6 @@ export class DescribeDefaultClusterParametersCommand extends $Command< DescribeDefaultClusterParametersCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeDefaultClusterParametersCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts b/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts index bc3ff4e4586fc..e7bad5470a1be 100644 --- a/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts +++ b/clients/client-redshift/commands/DescribeEventCategoriesCommand.ts @@ -30,7 +30,6 @@ export class DescribeEventCategoriesCommand extends $Command< DescribeEventCategoriesCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeEventCategoriesCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts b/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts index d4f8952fbeed8..eef0c8b6e25a1 100644 --- a/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeEventSubscriptionsCommand.ts @@ -38,7 +38,6 @@ export class DescribeEventSubscriptionsCommand extends $Command< DescribeEventSubscriptionsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeEventSubscriptionsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeEventsCommand.ts b/clients/client-redshift/commands/DescribeEventsCommand.ts index 5b62bab8c3fdb..cceaf1c50660d 100644 --- a/clients/client-redshift/commands/DescribeEventsCommand.ts +++ b/clients/client-redshift/commands/DescribeEventsCommand.ts @@ -31,7 +31,6 @@ export class DescribeEventsCommand extends $Command< DescribeEventsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeEventsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts b/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts index 56145bfab19f0..fe4741d561e19 100644 --- a/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts +++ b/clients/client-redshift/commands/DescribeHsmClientCertificatesCommand.ts @@ -38,7 +38,6 @@ export class DescribeHsmClientCertificatesCommand extends $Command< DescribeHsmClientCertificatesCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeHsmClientCertificatesCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts b/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts index c0dcb51c863cd..17b57e14cd883 100644 --- a/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts +++ b/clients/client-redshift/commands/DescribeHsmConfigurationsCommand.ts @@ -38,7 +38,6 @@ export class DescribeHsmConfigurationsCommand extends $Command< DescribeHsmConfigurationsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeHsmConfigurationsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts b/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts index ea41977731c46..f5051d299b749 100644 --- a/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts +++ b/clients/client-redshift/commands/DescribeLoggingStatusCommand.ts @@ -29,7 +29,6 @@ export class DescribeLoggingStatusCommand extends $Command< DescribeLoggingStatusCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeLoggingStatusCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts b/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts index 77c1dc1888efc..b9b014e19c718 100644 --- a/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeNodeConfigurationOptionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeNodeConfigurationOptionsCommand extends $Command< DescribeNodeConfigurationOptionsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeNodeConfigurationOptionsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts b/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts index f41514c8683e8..89afa17044860 100644 --- a/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts +++ b/clients/client-redshift/commands/DescribeOrderableClusterOptionsCommand.ts @@ -36,7 +36,6 @@ export class DescribeOrderableClusterOptionsCommand extends $Command< DescribeOrderableClusterOptionsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeOrderableClusterOptionsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts b/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts index 7c60aa8253249..0e8de0aab01c1 100644 --- a/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts +++ b/clients/client-redshift/commands/DescribeReservedNodeOfferingsCommand.ts @@ -37,7 +37,6 @@ export class DescribeReservedNodeOfferingsCommand extends $Command< DescribeReservedNodeOfferingsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeReservedNodeOfferingsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeReservedNodesCommand.ts b/clients/client-redshift/commands/DescribeReservedNodesCommand.ts index ee3cda2b47d36..079019d7f52a2 100644 --- a/clients/client-redshift/commands/DescribeReservedNodesCommand.ts +++ b/clients/client-redshift/commands/DescribeReservedNodesCommand.ts @@ -28,7 +28,6 @@ export class DescribeReservedNodesCommand extends $Command< DescribeReservedNodesCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeReservedNodesCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeResizeCommand.ts b/clients/client-redshift/commands/DescribeResizeCommand.ts index 89d396de68e83..8808a84bcb5ce 100644 --- a/clients/client-redshift/commands/DescribeResizeCommand.ts +++ b/clients/client-redshift/commands/DescribeResizeCommand.ts @@ -33,7 +33,6 @@ export class DescribeResizeCommand extends $Command< DescribeResizeCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeResizeCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts b/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts index 72760f8e6662c..f25352eef0497 100644 --- a/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts +++ b/clients/client-redshift/commands/DescribeScheduledActionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeScheduledActionsCommand extends $Command< DescribeScheduledActionsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeScheduledActionsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts b/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts index 9c05b36be41be..93cbe37ec7be8 100644 --- a/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts +++ b/clients/client-redshift/commands/DescribeSnapshotCopyGrantsCommand.ts @@ -34,7 +34,6 @@ export class DescribeSnapshotCopyGrantsCommand extends $Command< DescribeSnapshotCopyGrantsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeSnapshotCopyGrantsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts b/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts index 72385a96c69b3..b11e5ce6edbb5 100644 --- a/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts +++ b/clients/client-redshift/commands/DescribeSnapshotSchedulesCommand.ts @@ -28,7 +28,6 @@ export class DescribeSnapshotSchedulesCommand extends $Command< DescribeSnapshotSchedulesCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSnapshotSchedulesCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeStorageCommand.ts b/clients/client-redshift/commands/DescribeStorageCommand.ts index 475a9036f4dff..e14b886ec8a41 100644 --- a/clients/client-redshift/commands/DescribeStorageCommand.ts +++ b/clients/client-redshift/commands/DescribeStorageCommand.ts @@ -28,7 +28,6 @@ export class DescribeStorageCommand extends $Command< DescribeStorageCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeStorageCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts b/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts index 43ddffdbfb014..ef3c9edf9ae0f 100644 --- a/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts +++ b/clients/client-redshift/commands/DescribeTableRestoreStatusCommand.ts @@ -33,7 +33,6 @@ export class DescribeTableRestoreStatusCommand extends $Command< DescribeTableRestoreStatusCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeTableRestoreStatusCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeTagsCommand.ts b/clients/client-redshift/commands/DescribeTagsCommand.ts index c3fe1eacb6a65..9e6aee27016b2 100644 --- a/clients/client-redshift/commands/DescribeTagsCommand.ts +++ b/clients/client-redshift/commands/DescribeTagsCommand.ts @@ -49,7 +49,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DescribeTagsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DescribeUsageLimitsCommand.ts b/clients/client-redshift/commands/DescribeUsageLimitsCommand.ts index 2730d952d54a8..957b33e0ef759 100644 --- a/clients/client-redshift/commands/DescribeUsageLimitsCommand.ts +++ b/clients/client-redshift/commands/DescribeUsageLimitsCommand.ts @@ -47,7 +47,6 @@ export class DescribeUsageLimitsCommand extends $Command< DescribeUsageLimitsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DescribeUsageLimitsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DisableLoggingCommand.ts b/clients/client-redshift/commands/DisableLoggingCommand.ts index 3f3ea175a6336..0b9857619ec82 100644 --- a/clients/client-redshift/commands/DisableLoggingCommand.ts +++ b/clients/client-redshift/commands/DisableLoggingCommand.ts @@ -29,7 +29,6 @@ export class DisableLoggingCommand extends $Command< DisableLoggingCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableLoggingCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts b/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts index a44ccef9f9999..d3c8b77b78a26 100644 --- a/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts +++ b/clients/client-redshift/commands/DisableSnapshotCopyCommand.ts @@ -32,7 +32,6 @@ export class DisableSnapshotCopyCommand extends $Command< DisableSnapshotCopyCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisableSnapshotCopyCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/EnableLoggingCommand.ts b/clients/client-redshift/commands/EnableLoggingCommand.ts index 0e137b385f597..bb5056ac8ca15 100644 --- a/clients/client-redshift/commands/EnableLoggingCommand.ts +++ b/clients/client-redshift/commands/EnableLoggingCommand.ts @@ -29,7 +29,6 @@ export class EnableLoggingCommand extends $Command< EnableLoggingCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableLoggingCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts b/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts index 25d73323180a4..15788b0370873 100644 --- a/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts +++ b/clients/client-redshift/commands/EnableSnapshotCopyCommand.ts @@ -29,7 +29,6 @@ export class EnableSnapshotCopyCommand extends $Command< EnableSnapshotCopyCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableSnapshotCopyCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/GetClusterCredentialsCommand.ts b/clients/client-redshift/commands/GetClusterCredentialsCommand.ts index eddd3ae88b33f..d847f7b054205 100644 --- a/clients/client-redshift/commands/GetClusterCredentialsCommand.ts +++ b/clients/client-redshift/commands/GetClusterCredentialsCommand.ts @@ -48,7 +48,6 @@ export class GetClusterCredentialsCommand extends $Command< GetClusterCredentialsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class GetClusterCredentialsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts b/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts index e32b42c06cfd0..d64d37d1f3870 100644 --- a/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts +++ b/clients/client-redshift/commands/GetReservedNodeExchangeOfferingsCommand.ts @@ -33,7 +33,6 @@ export class GetReservedNodeExchangeOfferingsCommand extends $Command< GetReservedNodeExchangeOfferingsCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetReservedNodeExchangeOfferingsCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterCommand.ts b/clients/client-redshift/commands/ModifyClusterCommand.ts index 2a5be84046052..56734e6757a0a 100644 --- a/clients/client-redshift/commands/ModifyClusterCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterCommand.ts @@ -36,7 +36,6 @@ export class ModifyClusterCommand extends $Command< ModifyClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ModifyClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts b/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts index d0b9f051499fa..facc35645a609 100644 --- a/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterDbRevisionCommand.ts @@ -29,7 +29,6 @@ export class ModifyClusterDbRevisionCommand extends $Command< ModifyClusterDbRevisionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyClusterDbRevisionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts b/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts index 6972aa28841be..7676c44eeb4b1 100644 --- a/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterIamRolesCommand.ts @@ -30,7 +30,6 @@ export class ModifyClusterIamRolesCommand extends $Command< ModifyClusterIamRolesCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyClusterIamRolesCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts b/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts index 78ef68ca8ce83..96ff5c4df62fc 100644 --- a/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterMaintenanceCommand.ts @@ -28,7 +28,6 @@ export class ModifyClusterMaintenanceCommand extends $Command< ModifyClusterMaintenanceCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyClusterMaintenanceCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts b/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts index 6106d2c1239f8..0397fd479da19 100644 --- a/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterParameterGroupCommand.ts @@ -33,7 +33,6 @@ export class ModifyClusterParameterGroupCommand extends $Command< ModifyClusterParameterGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyClusterParameterGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts b/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts index f82c63bf39823..db721a72ba477 100644 --- a/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterSnapshotCommand.ts @@ -29,7 +29,6 @@ export class ModifyClusterSnapshotCommand extends $Command< ModifyClusterSnapshotCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyClusterSnapshotCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts b/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts index 43caf9d92804f..fb80202e8d477 100644 --- a/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterSnapshotScheduleCommand.ts @@ -28,7 +28,6 @@ export class ModifyClusterSnapshotScheduleCommand extends $Command< ModifyClusterSnapshotScheduleCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyClusterSnapshotScheduleCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts b/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts index 5db58ae62283d..02fd3cfcc07c7 100644 --- a/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts +++ b/clients/client-redshift/commands/ModifyClusterSubnetGroupCommand.ts @@ -29,7 +29,6 @@ export class ModifyClusterSubnetGroupCommand extends $Command< ModifyClusterSubnetGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyClusterSubnetGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts b/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts index 66129661663fa..3092dbc6bb770 100644 --- a/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts +++ b/clients/client-redshift/commands/ModifyEventSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class ModifyEventSubscriptionCommand extends $Command< ModifyEventSubscriptionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyEventSubscriptionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyScheduledActionCommand.ts b/clients/client-redshift/commands/ModifyScheduledActionCommand.ts index 237edbdee911f..a2f260bebe576 100644 --- a/clients/client-redshift/commands/ModifyScheduledActionCommand.ts +++ b/clients/client-redshift/commands/ModifyScheduledActionCommand.ts @@ -30,7 +30,6 @@ export class ModifyScheduledActionCommand extends $Command< ModifyScheduledActionCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyScheduledActionCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts b/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts index 248e29b5869dc..4d6706fc6212e 100644 --- a/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts +++ b/clients/client-redshift/commands/ModifySnapshotCopyRetentionPeriodCommand.ts @@ -34,7 +34,6 @@ export class ModifySnapshotCopyRetentionPeriodCommand extends $Command< ModifySnapshotCopyRetentionPeriodCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ModifySnapshotCopyRetentionPeriodCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts b/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts index 47750e72bc239..9810a6abf986a 100644 --- a/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts +++ b/clients/client-redshift/commands/ModifySnapshotScheduleCommand.ts @@ -30,7 +30,6 @@ export class ModifySnapshotScheduleCommand extends $Command< ModifySnapshotScheduleCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifySnapshotScheduleCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ModifyUsageLimitCommand.ts b/clients/client-redshift/commands/ModifyUsageLimitCommand.ts index 515ac781c6cee..143ce500f9315 100644 --- a/clients/client-redshift/commands/ModifyUsageLimitCommand.ts +++ b/clients/client-redshift/commands/ModifyUsageLimitCommand.ts @@ -30,7 +30,6 @@ export class ModifyUsageLimitCommand extends $Command< ModifyUsageLimitCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyUsageLimitCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/PauseClusterCommand.ts b/clients/client-redshift/commands/PauseClusterCommand.ts index 7f1c73d1b35d9..3653626cfbad6 100644 --- a/clients/client-redshift/commands/PauseClusterCommand.ts +++ b/clients/client-redshift/commands/PauseClusterCommand.ts @@ -26,7 +26,6 @@ export class PauseClusterCommand extends $Command< PauseClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class PauseClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts b/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts index 75f0619841b22..efed7bece780e 100644 --- a/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts +++ b/clients/client-redshift/commands/PurchaseReservedNodeOfferingCommand.ts @@ -36,7 +36,6 @@ export class PurchaseReservedNodeOfferingCommand extends $Command< PurchaseReservedNodeOfferingCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PurchaseReservedNodeOfferingCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/RebootClusterCommand.ts b/clients/client-redshift/commands/RebootClusterCommand.ts index 3dfce37428b27..7aae0f2924b14 100644 --- a/clients/client-redshift/commands/RebootClusterCommand.ts +++ b/clients/client-redshift/commands/RebootClusterCommand.ts @@ -35,7 +35,6 @@ export class RebootClusterCommand extends $Command< RebootClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RebootClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts b/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts index 49939c1d256e6..54ea9958c0ef7 100644 --- a/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts +++ b/clients/client-redshift/commands/ResetClusterParameterGroupCommand.ts @@ -32,7 +32,6 @@ export class ResetClusterParameterGroupCommand extends $Command< ResetClusterParameterGroupCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ResetClusterParameterGroupCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ResizeClusterCommand.ts b/clients/client-redshift/commands/ResizeClusterCommand.ts index 7671aacfbfd18..20dd280984503 100644 --- a/clients/client-redshift/commands/ResizeClusterCommand.ts +++ b/clients/client-redshift/commands/ResizeClusterCommand.ts @@ -71,7 +71,6 @@ export class ResizeClusterCommand extends $Command< ResizeClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class ResizeClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts b/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts index 944c31c83a1b8..7e79978d68a1f 100644 --- a/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/RestoreFromClusterSnapshotCommand.ts @@ -39,7 +39,6 @@ export class RestoreFromClusterSnapshotCommand extends $Command< RestoreFromClusterSnapshotCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class RestoreFromClusterSnapshotCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts b/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts index 5b4c6e411aac7..246c78443dc43 100644 --- a/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts +++ b/clients/client-redshift/commands/RestoreTableFromClusterSnapshotCommand.ts @@ -39,7 +39,6 @@ export class RestoreTableFromClusterSnapshotCommand extends $Command< RestoreTableFromClusterSnapshotCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class RestoreTableFromClusterSnapshotCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/ResumeClusterCommand.ts b/clients/client-redshift/commands/ResumeClusterCommand.ts index b507e08c33ce0..7b0f00da184ba 100644 --- a/clients/client-redshift/commands/ResumeClusterCommand.ts +++ b/clients/client-redshift/commands/ResumeClusterCommand.ts @@ -29,7 +29,6 @@ export class ResumeClusterCommand extends $Command< ResumeClusterCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ResumeClusterCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts b/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts index 05b366cf4311a..f27ec0f2132d0 100644 --- a/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts +++ b/clients/client-redshift/commands/RevokeClusterSecurityGroupIngressCommand.ts @@ -32,7 +32,6 @@ export class RevokeClusterSecurityGroupIngressCommand extends $Command< RevokeClusterSecurityGroupIngressCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RevokeClusterSecurityGroupIngressCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts b/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts index 5c492d5d71b26..b26ad28331c6c 100644 --- a/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts +++ b/clients/client-redshift/commands/RevokeSnapshotAccessCommand.ts @@ -34,7 +34,6 @@ export class RevokeSnapshotAccessCommand extends $Command< RevokeSnapshotAccessCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RevokeSnapshotAccessCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts b/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts index ff689672de37c..8cc8864849cdc 100644 --- a/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts +++ b/clients/client-redshift/commands/RotateEncryptionKeyCommand.ts @@ -28,7 +28,6 @@ export class RotateEncryptionKeyCommand extends $Command< RotateEncryptionKeyCommandOutput, RedshiftClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RotateEncryptionKeyCommand extends $Command< configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/CompareFacesCommand.ts b/clients/client-rekognition/commands/CompareFacesCommand.ts index f3ee514408119..21c2c87140959 100644 --- a/clients/client-rekognition/commands/CompareFacesCommand.ts +++ b/clients/client-rekognition/commands/CompareFacesCommand.ts @@ -79,7 +79,6 @@ export class CompareFacesCommand extends $Command< CompareFacesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class CompareFacesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/CreateCollectionCommand.ts b/clients/client-rekognition/commands/CreateCollectionCommand.ts index affb195e080c4..6e0c144fb6cb5 100644 --- a/clients/client-rekognition/commands/CreateCollectionCommand.ts +++ b/clients/client-rekognition/commands/CreateCollectionCommand.ts @@ -40,7 +40,6 @@ export class CreateCollectionCommand extends $Command< CreateCollectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateCollectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/CreateProjectCommand.ts b/clients/client-rekognition/commands/CreateProjectCommand.ts index d680273911f79..e5e8160c1296c 100644 --- a/clients/client-rekognition/commands/CreateProjectCommand.ts +++ b/clients/client-rekognition/commands/CreateProjectCommand.ts @@ -30,7 +30,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateProjectCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/CreateProjectVersionCommand.ts b/clients/client-rekognition/commands/CreateProjectVersionCommand.ts index cb94818394862..13e1f7c6f0ca5 100644 --- a/clients/client-rekognition/commands/CreateProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/CreateProjectVersionCommand.ts @@ -39,7 +39,6 @@ export class CreateProjectVersionCommand extends $Command< CreateProjectVersionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateProjectVersionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts b/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts index abb67c8bdd059..4cde1f66154d2 100644 --- a/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/CreateStreamProcessorCommand.ts @@ -36,7 +36,6 @@ export class CreateStreamProcessorCommand extends $Command< CreateStreamProcessorCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateStreamProcessorCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DeleteCollectionCommand.ts b/clients/client-rekognition/commands/DeleteCollectionCommand.ts index 7e3691f41acba..bfe463c73dbc1 100644 --- a/clients/client-rekognition/commands/DeleteCollectionCommand.ts +++ b/clients/client-rekognition/commands/DeleteCollectionCommand.ts @@ -32,7 +32,6 @@ export class DeleteCollectionCommand extends $Command< DeleteCollectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteCollectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DeleteFacesCommand.ts b/clients/client-rekognition/commands/DeleteFacesCommand.ts index 7d69504c30a42..6ead2c00e938b 100644 --- a/clients/client-rekognition/commands/DeleteFacesCommand.ts +++ b/clients/client-rekognition/commands/DeleteFacesCommand.ts @@ -31,7 +31,6 @@ export class DeleteFacesCommand extends $Command< DeleteFacesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteFacesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DeleteProjectCommand.ts b/clients/client-rekognition/commands/DeleteProjectCommand.ts index c05c12ea8aab5..9d70b473ad23e 100644 --- a/clients/client-rekognition/commands/DeleteProjectCommand.ts +++ b/clients/client-rekognition/commands/DeleteProjectCommand.ts @@ -31,7 +31,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteProjectCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DeleteProjectVersionCommand.ts b/clients/client-rekognition/commands/DeleteProjectVersionCommand.ts index f4f49e3c2f60f..2a2a0ef76726d 100644 --- a/clients/client-rekognition/commands/DeleteProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/DeleteProjectVersionCommand.ts @@ -35,7 +35,6 @@ export class DeleteProjectVersionCommand extends $Command< DeleteProjectVersionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteProjectVersionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts b/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts index 2253ee7608f15..3cc6600a8f5ae 100644 --- a/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/DeleteStreamProcessorCommand.ts @@ -29,7 +29,6 @@ export class DeleteStreamProcessorCommand extends $Command< DeleteStreamProcessorCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteStreamProcessorCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DescribeCollectionCommand.ts b/clients/client-rekognition/commands/DescribeCollectionCommand.ts index 0ea105f48b4b5..4901c76ef7a90 100644 --- a/clients/client-rekognition/commands/DescribeCollectionCommand.ts +++ b/clients/client-rekognition/commands/DescribeCollectionCommand.ts @@ -33,7 +33,6 @@ export class DescribeCollectionCommand extends $Command< DescribeCollectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeCollectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts b/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts index 18c19a5c7b1ef..755d682a72185 100644 --- a/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts +++ b/clients/client-rekognition/commands/DescribeProjectVersionsCommand.ts @@ -32,7 +32,6 @@ export class DescribeProjectVersionsCommand extends $Command< DescribeProjectVersionsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeProjectVersionsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DescribeProjectsCommand.ts b/clients/client-rekognition/commands/DescribeProjectsCommand.ts index 872ef2a9834fc..bae2dea95375a 100644 --- a/clients/client-rekognition/commands/DescribeProjectsCommand.ts +++ b/clients/client-rekognition/commands/DescribeProjectsCommand.ts @@ -29,7 +29,6 @@ export class DescribeProjectsCommand extends $Command< DescribeProjectsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeProjectsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts b/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts index fc674f0cd30ee..3d3b2ed75d46e 100644 --- a/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/DescribeStreamProcessorCommand.ts @@ -29,7 +29,6 @@ export class DescribeStreamProcessorCommand extends $Command< DescribeStreamProcessorCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeStreamProcessorCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts b/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts index 5da4474b9e73e..d2d740febed1b 100644 --- a/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts +++ b/clients/client-rekognition/commands/DetectCustomLabelsCommand.ts @@ -53,7 +53,6 @@ export class DetectCustomLabelsCommand extends $Command< DetectCustomLabelsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class DetectCustomLabelsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DetectFacesCommand.ts b/clients/client-rekognition/commands/DetectFacesCommand.ts index 33fffbc37e8ca..122da339edb28 100644 --- a/clients/client-rekognition/commands/DetectFacesCommand.ts +++ b/clients/client-rekognition/commands/DetectFacesCommand.ts @@ -50,7 +50,6 @@ export class DetectFacesCommand extends $Command< DetectFacesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DetectFacesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DetectLabelsCommand.ts b/clients/client-rekognition/commands/DetectLabelsCommand.ts index 445a2b8c667a3..8b9cff2a2eb2e 100644 --- a/clients/client-rekognition/commands/DetectLabelsCommand.ts +++ b/clients/client-rekognition/commands/DetectLabelsCommand.ts @@ -101,7 +101,6 @@ export class DetectLabelsCommand extends $Command< DetectLabelsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -119,10 +118,7 @@ export class DetectLabelsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts b/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts index bfa9ed434780c..09b40182b463a 100644 --- a/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts +++ b/clients/client-rekognition/commands/DetectModerationLabelsCommand.ts @@ -41,7 +41,6 @@ export class DetectModerationLabelsCommand extends $Command< DetectModerationLabelsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DetectModerationLabelsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DetectProtectiveEquipmentCommand.ts b/clients/client-rekognition/commands/DetectProtectiveEquipmentCommand.ts index 79d6f429eb0e5..1d3d3077b0592 100644 --- a/clients/client-rekognition/commands/DetectProtectiveEquipmentCommand.ts +++ b/clients/client-rekognition/commands/DetectProtectiveEquipmentCommand.ts @@ -67,7 +67,6 @@ export class DetectProtectiveEquipmentCommand extends $Command< DetectProtectiveEquipmentCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class DetectProtectiveEquipmentCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/DetectTextCommand.ts b/clients/client-rekognition/commands/DetectTextCommand.ts index 51c907b5605b1..18de69a2fb87e 100644 --- a/clients/client-rekognition/commands/DetectTextCommand.ts +++ b/clients/client-rekognition/commands/DetectTextCommand.ts @@ -49,7 +49,6 @@ export class DetectTextCommand extends $Command< DetectTextCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DetectTextCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts b/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts index 9d01002622ba5..d658eb29209b4 100644 --- a/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts +++ b/clients/client-rekognition/commands/GetCelebrityInfoCommand.ts @@ -35,7 +35,6 @@ export class GetCelebrityInfoCommand extends $Command< GetCelebrityInfoCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetCelebrityInfoCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts b/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts index a7ff54fe2cce0..46819a4d2acd9 100644 --- a/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts +++ b/clients/client-rekognition/commands/GetCelebrityRecognitionCommand.ts @@ -64,7 +64,6 @@ export class GetCelebrityRecognitionCommand extends $Command< GetCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class GetCelebrityRecognitionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetContentModerationCommand.ts b/clients/client-rekognition/commands/GetContentModerationCommand.ts index 36bae238852db..9ea3496741e0f 100644 --- a/clients/client-rekognition/commands/GetContentModerationCommand.ts +++ b/clients/client-rekognition/commands/GetContentModerationCommand.ts @@ -56,7 +56,6 @@ export class GetContentModerationCommand extends $Command< GetContentModerationCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class GetContentModerationCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetFaceDetectionCommand.ts b/clients/client-rekognition/commands/GetFaceDetectionCommand.ts index 3645c6ce84a20..734d94669d02c 100644 --- a/clients/client-rekognition/commands/GetFaceDetectionCommand.ts +++ b/clients/client-rekognition/commands/GetFaceDetectionCommand.ts @@ -40,7 +40,6 @@ export class GetFaceDetectionCommand extends $Command< GetFaceDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetFaceDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetFaceSearchCommand.ts b/clients/client-rekognition/commands/GetFaceSearchCommand.ts index 848f8647cbc6f..08e917c9ab8f3 100644 --- a/clients/client-rekognition/commands/GetFaceSearchCommand.ts +++ b/clients/client-rekognition/commands/GetFaceSearchCommand.ts @@ -59,7 +59,6 @@ export class GetFaceSearchCommand extends $Command< GetFaceSearchCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class GetFaceSearchCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetLabelDetectionCommand.ts b/clients/client-rekognition/commands/GetLabelDetectionCommand.ts index 7ee1916074282..77148f3321c25 100644 --- a/clients/client-rekognition/commands/GetLabelDetectionCommand.ts +++ b/clients/client-rekognition/commands/GetLabelDetectionCommand.ts @@ -48,7 +48,6 @@ export class GetLabelDetectionCommand extends $Command< GetLabelDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class GetLabelDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetPersonTrackingCommand.ts b/clients/client-rekognition/commands/GetPersonTrackingCommand.ts index 7ea68395cc088..02d316fb35a39 100644 --- a/clients/client-rekognition/commands/GetPersonTrackingCommand.ts +++ b/clients/client-rekognition/commands/GetPersonTrackingCommand.ts @@ -57,7 +57,6 @@ export class GetPersonTrackingCommand extends $Command< GetPersonTrackingCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class GetPersonTrackingCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetSegmentDetectionCommand.ts b/clients/client-rekognition/commands/GetSegmentDetectionCommand.ts index ce64ac49e42a5..2cca787ec860f 100644 --- a/clients/client-rekognition/commands/GetSegmentDetectionCommand.ts +++ b/clients/client-rekognition/commands/GetSegmentDetectionCommand.ts @@ -50,7 +50,6 @@ export class GetSegmentDetectionCommand extends $Command< GetSegmentDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class GetSegmentDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/GetTextDetectionCommand.ts b/clients/client-rekognition/commands/GetTextDetectionCommand.ts index 11e486ec5d43c..4aa353e5b07f5 100644 --- a/clients/client-rekognition/commands/GetTextDetectionCommand.ts +++ b/clients/client-rekognition/commands/GetTextDetectionCommand.ts @@ -46,7 +46,6 @@ export class GetTextDetectionCommand extends $Command< GetTextDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetTextDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/IndexFacesCommand.ts b/clients/client-rekognition/commands/IndexFacesCommand.ts index e6eadbef57c04..67571ea7c3aa5 100644 --- a/clients/client-rekognition/commands/IndexFacesCommand.ts +++ b/clients/client-rekognition/commands/IndexFacesCommand.ts @@ -127,7 +127,6 @@ export class IndexFacesCommand extends $Command< IndexFacesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -145,10 +144,7 @@ export class IndexFacesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/ListCollectionsCommand.ts b/clients/client-rekognition/commands/ListCollectionsCommand.ts index 22d995b2dc95f..878f044f206a6 100644 --- a/clients/client-rekognition/commands/ListCollectionsCommand.ts +++ b/clients/client-rekognition/commands/ListCollectionsCommand.ts @@ -33,7 +33,6 @@ export class ListCollectionsCommand extends $Command< ListCollectionsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListCollectionsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/ListFacesCommand.ts b/clients/client-rekognition/commands/ListFacesCommand.ts index 4ef405ff03fa4..4d9682f905e41 100644 --- a/clients/client-rekognition/commands/ListFacesCommand.ts +++ b/clients/client-rekognition/commands/ListFacesCommand.ts @@ -32,7 +32,6 @@ export class ListFacesCommand extends $Command< ListFacesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListFacesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts b/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts index f22bc23517de2..2bf71586d570a 100644 --- a/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts +++ b/clients/client-rekognition/commands/ListStreamProcessorsCommand.ts @@ -28,7 +28,6 @@ export class ListStreamProcessorsCommand extends $Command< ListStreamProcessorsCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListStreamProcessorsCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts b/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts index 6582608a01703..67fdbcf36e2d8 100644 --- a/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts +++ b/clients/client-rekognition/commands/RecognizeCelebritiesCommand.ts @@ -58,7 +58,6 @@ export class RecognizeCelebritiesCommand extends $Command< RecognizeCelebritiesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class RecognizeCelebritiesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/SearchFacesByImageCommand.ts b/clients/client-rekognition/commands/SearchFacesByImageCommand.ts index 482cad824b4c3..cae18219adb6d 100644 --- a/clients/client-rekognition/commands/SearchFacesByImageCommand.ts +++ b/clients/client-rekognition/commands/SearchFacesByImageCommand.ts @@ -72,7 +72,6 @@ export class SearchFacesByImageCommand extends $Command< SearchFacesByImageCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,10 +89,7 @@ export class SearchFacesByImageCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/SearchFacesCommand.ts b/clients/client-rekognition/commands/SearchFacesCommand.ts index 91ea35e20ab2e..2a6ff6ba3b5ac 100644 --- a/clients/client-rekognition/commands/SearchFacesCommand.ts +++ b/clients/client-rekognition/commands/SearchFacesCommand.ts @@ -48,7 +48,6 @@ export class SearchFacesCommand extends $Command< SearchFacesCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class SearchFacesCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts b/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts index aa54109e1431e..c370566adc9e8 100644 --- a/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts +++ b/clients/client-rekognition/commands/StartCelebrityRecognitionCommand.ts @@ -39,7 +39,6 @@ export class StartCelebrityRecognitionCommand extends $Command< StartCelebrityRecognitionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class StartCelebrityRecognitionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartContentModerationCommand.ts b/clients/client-rekognition/commands/StartContentModerationCommand.ts index b0a3646c551b5..7258b1eb2da38 100644 --- a/clients/client-rekognition/commands/StartContentModerationCommand.ts +++ b/clients/client-rekognition/commands/StartContentModerationCommand.ts @@ -38,7 +38,6 @@ export class StartContentModerationCommand extends $Command< StartContentModerationCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class StartContentModerationCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartFaceDetectionCommand.ts b/clients/client-rekognition/commands/StartFaceDetectionCommand.ts index cb5a3410627dd..9b6bb76df5797 100644 --- a/clients/client-rekognition/commands/StartFaceDetectionCommand.ts +++ b/clients/client-rekognition/commands/StartFaceDetectionCommand.ts @@ -40,7 +40,6 @@ export class StartFaceDetectionCommand extends $Command< StartFaceDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class StartFaceDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartFaceSearchCommand.ts b/clients/client-rekognition/commands/StartFaceSearchCommand.ts index d8c9aa3c4654f..4ba523bd8acae 100644 --- a/clients/client-rekognition/commands/StartFaceSearchCommand.ts +++ b/clients/client-rekognition/commands/StartFaceSearchCommand.ts @@ -37,7 +37,6 @@ export class StartFaceSearchCommand extends $Command< StartFaceSearchCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StartFaceSearchCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartLabelDetectionCommand.ts b/clients/client-rekognition/commands/StartLabelDetectionCommand.ts index e5d15a0427512..cc76672906f0f 100644 --- a/clients/client-rekognition/commands/StartLabelDetectionCommand.ts +++ b/clients/client-rekognition/commands/StartLabelDetectionCommand.ts @@ -42,7 +42,6 @@ export class StartLabelDetectionCommand extends $Command< StartLabelDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class StartLabelDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartPersonTrackingCommand.ts b/clients/client-rekognition/commands/StartPersonTrackingCommand.ts index 1ccd9ca81775d..c76d63101ad28 100644 --- a/clients/client-rekognition/commands/StartPersonTrackingCommand.ts +++ b/clients/client-rekognition/commands/StartPersonTrackingCommand.ts @@ -36,7 +36,6 @@ export class StartPersonTrackingCommand extends $Command< StartPersonTrackingCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartPersonTrackingCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartProjectVersionCommand.ts b/clients/client-rekognition/commands/StartProjectVersionCommand.ts index dc170dd2af248..c1fe493266e59 100644 --- a/clients/client-rekognition/commands/StartProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/StartProjectVersionCommand.ts @@ -37,7 +37,6 @@ export class StartProjectVersionCommand extends $Command< StartProjectVersionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StartProjectVersionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartSegmentDetectionCommand.ts b/clients/client-rekognition/commands/StartSegmentDetectionCommand.ts index e383087cec24f..6463344862368 100644 --- a/clients/client-rekognition/commands/StartSegmentDetectionCommand.ts +++ b/clients/client-rekognition/commands/StartSegmentDetectionCommand.ts @@ -43,7 +43,6 @@ export class StartSegmentDetectionCommand extends $Command< StartSegmentDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class StartSegmentDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartStreamProcessorCommand.ts b/clients/client-rekognition/commands/StartStreamProcessorCommand.ts index d4f2396267793..d21e3c278ec8b 100644 --- a/clients/client-rekognition/commands/StartStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/StartStreamProcessorCommand.ts @@ -30,7 +30,6 @@ export class StartStreamProcessorCommand extends $Command< StartStreamProcessorCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartStreamProcessorCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StartTextDetectionCommand.ts b/clients/client-rekognition/commands/StartTextDetectionCommand.ts index a10e34bbe8618..f23be379387eb 100644 --- a/clients/client-rekognition/commands/StartTextDetectionCommand.ts +++ b/clients/client-rekognition/commands/StartTextDetectionCommand.ts @@ -35,7 +35,6 @@ export class StartTextDetectionCommand extends $Command< StartTextDetectionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartTextDetectionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StopProjectVersionCommand.ts b/clients/client-rekognition/commands/StopProjectVersionCommand.ts index 7cd5d2cd486a1..388ebf1958e9e 100644 --- a/clients/client-rekognition/commands/StopProjectVersionCommand.ts +++ b/clients/client-rekognition/commands/StopProjectVersionCommand.ts @@ -29,7 +29,6 @@ export class StopProjectVersionCommand extends $Command< StopProjectVersionCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopProjectVersionCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-rekognition/commands/StopStreamProcessorCommand.ts b/clients/client-rekognition/commands/StopStreamProcessorCommand.ts index a8b39103d9154..14e8de95ea68d 100644 --- a/clients/client-rekognition/commands/StopStreamProcessorCommand.ts +++ b/clients/client-rekognition/commands/StopStreamProcessorCommand.ts @@ -28,7 +28,6 @@ export class StopStreamProcessorCommand extends $Command< StopStreamProcessorCommandOutput, RekognitionClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopStreamProcessorCommand extends $Command< configuration: RekognitionClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts b/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts index 3df2744b63a50..3ada7c1c25e2e 100644 --- a/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/DescribeReportCreationCommand.ts @@ -33,7 +33,6 @@ export class DescribeReportCreationCommand extends $Command< DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeReportCreationCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts index 375e896e6f484..3f6a07d577065 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetComplianceSummaryCommand.ts @@ -37,7 +37,6 @@ export class GetComplianceSummaryCommand extends $Command< GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetComplianceSummaryCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts index d4c3dda067917..a059be52ce320 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetResourcesCommand.ts @@ -56,7 +56,6 @@ export class GetResourcesCommand extends $Command< GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class GetResourcesCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts index a8e9188e4bcc7..97918da1f1d59 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetTagKeysCommand.ts @@ -32,7 +32,6 @@ export class GetTagKeysCommand extends $Command< GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetTagKeysCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts b/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts index 43c03bd4ff4fc..558e3631196b3 100644 --- a/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/GetTagValuesCommand.ts @@ -33,7 +33,6 @@ export class GetTagValuesCommand extends $Command< GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetTagValuesCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts b/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts index 1aa69dc6325f5..8db10b9ed7972 100644 --- a/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/StartReportCreationCommand.ts @@ -39,7 +39,6 @@ export class StartReportCreationCommand extends $Command< StartReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class StartReportCreationCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts b/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts index bdb872de7757f..c013c1f3fcdbe 100644 --- a/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/TagResourcesCommand.ts @@ -59,7 +59,6 @@ export class TagResourcesCommand extends $Command< TagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class TagResourcesCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts b/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts index fb0db766cf7ca..d6a87563347b4 100644 --- a/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts +++ b/clients/client-resource-groups-tagging-api/commands/UntagResourcesCommand.ts @@ -46,7 +46,6 @@ export class UntagResourcesCommand extends $Command< UntagResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class UntagResourcesCommand extends $Command< configuration: ResourceGroupsTaggingAPIClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/CreateGroupCommand.ts b/clients/client-resource-groups/commands/CreateGroupCommand.ts index f648e6b01b171..65354a840a3eb 100644 --- a/clients/client-resource-groups/commands/CreateGroupCommand.ts +++ b/clients/client-resource-groups/commands/CreateGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateGroupCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/DeleteGroupCommand.ts b/clients/client-resource-groups/commands/DeleteGroupCommand.ts index 66e0bdcf865c3..4e06ab1e0f973 100644 --- a/clients/client-resource-groups/commands/DeleteGroupCommand.ts +++ b/clients/client-resource-groups/commands/DeleteGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteGroupCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/GetGroupCommand.ts b/clients/client-resource-groups/commands/GetGroupCommand.ts index 8d4863ee34896..e61daf2821053 100644 --- a/clients/client-resource-groups/commands/GetGroupCommand.ts +++ b/clients/client-resource-groups/commands/GetGroupCommand.ts @@ -28,7 +28,6 @@ export class GetGroupCommand extends $Command< GetGroupCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/GetGroupConfigurationCommand.ts b/clients/client-resource-groups/commands/GetGroupConfigurationCommand.ts index d5241de871981..5ef71c905bb35 100644 --- a/clients/client-resource-groups/commands/GetGroupConfigurationCommand.ts +++ b/clients/client-resource-groups/commands/GetGroupConfigurationCommand.ts @@ -37,7 +37,6 @@ export class GetGroupConfigurationCommand extends $Command< GetGroupConfigurationCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetGroupConfigurationCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/GetGroupQueryCommand.ts b/clients/client-resource-groups/commands/GetGroupQueryCommand.ts index 21a2f4143abfa..9bbb4cac4d264 100644 --- a/clients/client-resource-groups/commands/GetGroupQueryCommand.ts +++ b/clients/client-resource-groups/commands/GetGroupQueryCommand.ts @@ -28,7 +28,6 @@ export class GetGroupQueryCommand extends $Command< GetGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupQueryCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/GetTagsCommand.ts b/clients/client-resource-groups/commands/GetTagsCommand.ts index 27c4f09dfeefd..e98ff5f5c1bf4 100644 --- a/clients/client-resource-groups/commands/GetTagsCommand.ts +++ b/clients/client-resource-groups/commands/GetTagsCommand.ts @@ -29,7 +29,6 @@ export class GetTagsCommand extends $Command< GetTagsCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetTagsCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/GroupResourcesCommand.ts b/clients/client-resource-groups/commands/GroupResourcesCommand.ts index a9a88c0ac9a8c..4df0362e86b65 100644 --- a/clients/client-resource-groups/commands/GroupResourcesCommand.ts +++ b/clients/client-resource-groups/commands/GroupResourcesCommand.ts @@ -28,7 +28,6 @@ export class GroupResourcesCommand extends $Command< GroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GroupResourcesCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts b/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts index 7c8dfe428deef..ce4b4454bbc35 100644 --- a/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts +++ b/clients/client-resource-groups/commands/ListGroupResourcesCommand.ts @@ -29,7 +29,6 @@ export class ListGroupResourcesCommand extends $Command< ListGroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListGroupResourcesCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/ListGroupsCommand.ts b/clients/client-resource-groups/commands/ListGroupsCommand.ts index 4b8f779176287..38a00228d8558 100644 --- a/clients/client-resource-groups/commands/ListGroupsCommand.ts +++ b/clients/client-resource-groups/commands/ListGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupsCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/SearchResourcesCommand.ts b/clients/client-resource-groups/commands/SearchResourcesCommand.ts index a655b3b41ef74..ad28a4ad05737 100644 --- a/clients/client-resource-groups/commands/SearchResourcesCommand.ts +++ b/clients/client-resource-groups/commands/SearchResourcesCommand.ts @@ -30,7 +30,6 @@ export class SearchResourcesCommand extends $Command< SearchResourcesCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SearchResourcesCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/TagCommand.ts b/clients/client-resource-groups/commands/TagCommand.ts index ecef4e6423492..3d4f4148f5f20 100644 --- a/clients/client-resource-groups/commands/TagCommand.ts +++ b/clients/client-resource-groups/commands/TagCommand.ts @@ -28,7 +28,6 @@ export type TagCommandOutput = TagOutput & __MetadataBearer; * */ export class TagCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagCommand 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-resource-groups/commands/UngroupResourcesCommand.ts b/clients/client-resource-groups/commands/UngroupResourcesCommand.ts index bda4d2bddd8a2..302955b8d1a64 100644 --- a/clients/client-resource-groups/commands/UngroupResourcesCommand.ts +++ b/clients/client-resource-groups/commands/UngroupResourcesCommand.ts @@ -28,7 +28,6 @@ export class UngroupResourcesCommand extends $Command< UngroupResourcesCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UngroupResourcesCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/UntagCommand.ts b/clients/client-resource-groups/commands/UntagCommand.ts index 12d25de0f2e5a..14041ece8565f 100644 --- a/clients/client-resource-groups/commands/UntagCommand.ts +++ b/clients/client-resource-groups/commands/UntagCommand.ts @@ -21,7 +21,6 @@ export type UntagCommandOutput = UntagOutput & __MetadataBearer; *

Deletes tags from a specified resource group.

*/ export class UntagCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class UntagCommand 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-resource-groups/commands/UpdateGroupCommand.ts b/clients/client-resource-groups/commands/UpdateGroupCommand.ts index 3f297abbd8320..c4316faa30d73 100644 --- a/clients/client-resource-groups/commands/UpdateGroupCommand.ts +++ b/clients/client-resource-groups/commands/UpdateGroupCommand.ts @@ -29,7 +29,6 @@ export class UpdateGroupCommand extends $Command< UpdateGroupCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateGroupCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts b/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts index e81acfc74ad69..1b93db5d9da14 100644 --- a/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts +++ b/clients/client-resource-groups/commands/UpdateGroupQueryCommand.ts @@ -28,7 +28,6 @@ export class UpdateGroupQueryCommand extends $Command< UpdateGroupQueryCommandOutput, ResourceGroupsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGroupQueryCommand extends $Command< configuration: ResourceGroupsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/BatchDeleteWorldsCommand.ts b/clients/client-robomaker/commands/BatchDeleteWorldsCommand.ts index b2adb84f01f18..aa0ed2f2e1e46 100644 --- a/clients/client-robomaker/commands/BatchDeleteWorldsCommand.ts +++ b/clients/client-robomaker/commands/BatchDeleteWorldsCommand.ts @@ -28,7 +28,6 @@ export class BatchDeleteWorldsCommand extends $Command< BatchDeleteWorldsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDeleteWorldsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts b/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts index 8053e5e324301..81fa4e378aa92 100644 --- a/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/BatchDescribeSimulationJobCommand.ts @@ -28,7 +28,6 @@ export class BatchDescribeSimulationJobCommand extends $Command< BatchDescribeSimulationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class BatchDescribeSimulationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts b/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts index 19010582fc334..3bdb4aa4d7cf6 100644 --- a/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/CancelDeploymentJobCommand.ts @@ -28,7 +28,6 @@ export class CancelDeploymentJobCommand extends $Command< CancelDeploymentJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelDeploymentJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CancelSimulationJobBatchCommand.ts b/clients/client-robomaker/commands/CancelSimulationJobBatchCommand.ts index 5dea6c08c242c..8324034f34f23 100644 --- a/clients/client-robomaker/commands/CancelSimulationJobBatchCommand.ts +++ b/clients/client-robomaker/commands/CancelSimulationJobBatchCommand.ts @@ -31,7 +31,6 @@ export class CancelSimulationJobBatchCommand extends $Command< CancelSimulationJobBatchCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CancelSimulationJobBatchCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CancelSimulationJobCommand.ts b/clients/client-robomaker/commands/CancelSimulationJobCommand.ts index 60d9b34f13bd4..ea1706ef8f2dd 100644 --- a/clients/client-robomaker/commands/CancelSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/CancelSimulationJobCommand.ts @@ -28,7 +28,6 @@ export class CancelSimulationJobCommand extends $Command< CancelSimulationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelSimulationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CancelWorldExportJobCommand.ts b/clients/client-robomaker/commands/CancelWorldExportJobCommand.ts index 4da32f4c6bc66..8a8df8b59b358 100644 --- a/clients/client-robomaker/commands/CancelWorldExportJobCommand.ts +++ b/clients/client-robomaker/commands/CancelWorldExportJobCommand.ts @@ -28,7 +28,6 @@ export class CancelWorldExportJobCommand extends $Command< CancelWorldExportJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelWorldExportJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CancelWorldGenerationJobCommand.ts b/clients/client-robomaker/commands/CancelWorldGenerationJobCommand.ts index 7877738f002f5..e68609d66322d 100644 --- a/clients/client-robomaker/commands/CancelWorldGenerationJobCommand.ts +++ b/clients/client-robomaker/commands/CancelWorldGenerationJobCommand.ts @@ -28,7 +28,6 @@ export class CancelWorldGenerationJobCommand extends $Command< CancelWorldGenerationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelWorldGenerationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts b/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts index b41bfa5955162..55532fd8dd8a3 100644 --- a/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/CreateDeploymentJobCommand.ts @@ -36,7 +36,6 @@ export class CreateDeploymentJobCommand extends $Command< CreateDeploymentJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateDeploymentJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateFleetCommand.ts b/clients/client-robomaker/commands/CreateFleetCommand.ts index 0b4f6f4c3695f..ffebd847b978e 100644 --- a/clients/client-robomaker/commands/CreateFleetCommand.ts +++ b/clients/client-robomaker/commands/CreateFleetCommand.ts @@ -28,7 +28,6 @@ export class CreateFleetCommand extends $Command< CreateFleetCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFleetCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts b/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts index 3fc56f4ed2911..1ff5559f7150a 100644 --- a/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/CreateRobotApplicationCommand.ts @@ -29,7 +29,6 @@ export class CreateRobotApplicationCommand extends $Command< CreateRobotApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateRobotApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts b/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts index ac20a4ad9bc9b..02a9bbc029053 100644 --- a/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts +++ b/clients/client-robomaker/commands/CreateRobotApplicationVersionCommand.ts @@ -28,7 +28,6 @@ export class CreateRobotApplicationVersionCommand extends $Command< CreateRobotApplicationVersionCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRobotApplicationVersionCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateRobotCommand.ts b/clients/client-robomaker/commands/CreateRobotCommand.ts index 88699721fba14..324e917e90b46 100644 --- a/clients/client-robomaker/commands/CreateRobotCommand.ts +++ b/clients/client-robomaker/commands/CreateRobotCommand.ts @@ -28,7 +28,6 @@ export class CreateRobotCommand extends $Command< CreateRobotCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRobotCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts b/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts index 58272c8a88d20..3e6a667aa4675 100644 --- a/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/CreateSimulationApplicationCommand.ts @@ -28,7 +28,6 @@ export class CreateSimulationApplicationCommand extends $Command< CreateSimulationApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSimulationApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts b/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts index ee025aa037843..606ac7c2300f7 100644 --- a/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts +++ b/clients/client-robomaker/commands/CreateSimulationApplicationVersionCommand.ts @@ -32,7 +32,6 @@ export class CreateSimulationApplicationVersionCommand extends $Command< CreateSimulationApplicationVersionCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateSimulationApplicationVersionCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateSimulationJobCommand.ts b/clients/client-robomaker/commands/CreateSimulationJobCommand.ts index 9813d38c1a7c3..eedfe3caf1362 100644 --- a/clients/client-robomaker/commands/CreateSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/CreateSimulationJobCommand.ts @@ -32,7 +32,6 @@ export class CreateSimulationJobCommand extends $Command< CreateSimulationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateSimulationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateWorldExportJobCommand.ts b/clients/client-robomaker/commands/CreateWorldExportJobCommand.ts index 2f3c05cf6bd49..902eac22557e4 100644 --- a/clients/client-robomaker/commands/CreateWorldExportJobCommand.ts +++ b/clients/client-robomaker/commands/CreateWorldExportJobCommand.ts @@ -28,7 +28,6 @@ export class CreateWorldExportJobCommand extends $Command< CreateWorldExportJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWorldExportJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateWorldGenerationJobCommand.ts b/clients/client-robomaker/commands/CreateWorldGenerationJobCommand.ts index b0911120cacc1..374086f0f74c9 100644 --- a/clients/client-robomaker/commands/CreateWorldGenerationJobCommand.ts +++ b/clients/client-robomaker/commands/CreateWorldGenerationJobCommand.ts @@ -28,7 +28,6 @@ export class CreateWorldGenerationJobCommand extends $Command< CreateWorldGenerationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWorldGenerationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/CreateWorldTemplateCommand.ts b/clients/client-robomaker/commands/CreateWorldTemplateCommand.ts index ce970df78f261..62f31781023d3 100644 --- a/clients/client-robomaker/commands/CreateWorldTemplateCommand.ts +++ b/clients/client-robomaker/commands/CreateWorldTemplateCommand.ts @@ -28,7 +28,6 @@ export class CreateWorldTemplateCommand extends $Command< CreateWorldTemplateCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateWorldTemplateCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DeleteFleetCommand.ts b/clients/client-robomaker/commands/DeleteFleetCommand.ts index 5bd91296d732b..8d15f9eee73b8 100644 --- a/clients/client-robomaker/commands/DeleteFleetCommand.ts +++ b/clients/client-robomaker/commands/DeleteFleetCommand.ts @@ -28,7 +28,6 @@ export class DeleteFleetCommand extends $Command< DeleteFleetCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFleetCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts b/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts index 611b8bf433aee..e00ece72cf3b9 100644 --- a/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/DeleteRobotApplicationCommand.ts @@ -28,7 +28,6 @@ export class DeleteRobotApplicationCommand extends $Command< DeleteRobotApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRobotApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DeleteRobotCommand.ts b/clients/client-robomaker/commands/DeleteRobotCommand.ts index d33583d6e387f..b078375826eae 100644 --- a/clients/client-robomaker/commands/DeleteRobotCommand.ts +++ b/clients/client-robomaker/commands/DeleteRobotCommand.ts @@ -28,7 +28,6 @@ export class DeleteRobotCommand extends $Command< DeleteRobotCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRobotCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts b/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts index d96d3eef600b0..0ea15589f135b 100644 --- a/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/DeleteSimulationApplicationCommand.ts @@ -28,7 +28,6 @@ export class DeleteSimulationApplicationCommand extends $Command< DeleteSimulationApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSimulationApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DeleteWorldTemplateCommand.ts b/clients/client-robomaker/commands/DeleteWorldTemplateCommand.ts index fe92c187997da..814bcfa42f303 100644 --- a/clients/client-robomaker/commands/DeleteWorldTemplateCommand.ts +++ b/clients/client-robomaker/commands/DeleteWorldTemplateCommand.ts @@ -28,7 +28,6 @@ export class DeleteWorldTemplateCommand extends $Command< DeleteWorldTemplateCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteWorldTemplateCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DeregisterRobotCommand.ts b/clients/client-robomaker/commands/DeregisterRobotCommand.ts index b96cb8ed26716..51db5cccb6ce2 100644 --- a/clients/client-robomaker/commands/DeregisterRobotCommand.ts +++ b/clients/client-robomaker/commands/DeregisterRobotCommand.ts @@ -28,7 +28,6 @@ export class DeregisterRobotCommand extends $Command< DeregisterRobotCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterRobotCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts b/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts index 45526f51da2c2..cf7796676a0ae 100644 --- a/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/DescribeDeploymentJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeDeploymentJobCommand extends $Command< DescribeDeploymentJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDeploymentJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeFleetCommand.ts b/clients/client-robomaker/commands/DescribeFleetCommand.ts index 71579e1cb1f77..bfa66897069c6 100644 --- a/clients/client-robomaker/commands/DescribeFleetCommand.ts +++ b/clients/client-robomaker/commands/DescribeFleetCommand.ts @@ -28,7 +28,6 @@ export class DescribeFleetCommand extends $Command< DescribeFleetCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFleetCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts b/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts index 8aeb9d6a03c8e..189b551ca3a08 100644 --- a/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/DescribeRobotApplicationCommand.ts @@ -28,7 +28,6 @@ export class DescribeRobotApplicationCommand extends $Command< DescribeRobotApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRobotApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeRobotCommand.ts b/clients/client-robomaker/commands/DescribeRobotCommand.ts index cda4fa15b0efc..613dd316d7c34 100644 --- a/clients/client-robomaker/commands/DescribeRobotCommand.ts +++ b/clients/client-robomaker/commands/DescribeRobotCommand.ts @@ -28,7 +28,6 @@ export class DescribeRobotCommand extends $Command< DescribeRobotCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRobotCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts b/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts index 05c25468e55b0..11585d8116122 100644 --- a/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/DescribeSimulationApplicationCommand.ts @@ -28,7 +28,6 @@ export class DescribeSimulationApplicationCommand extends $Command< DescribeSimulationApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSimulationApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeSimulationJobBatchCommand.ts b/clients/client-robomaker/commands/DescribeSimulationJobBatchCommand.ts index 65624d49d06eb..2ccd8530db43f 100644 --- a/clients/client-robomaker/commands/DescribeSimulationJobBatchCommand.ts +++ b/clients/client-robomaker/commands/DescribeSimulationJobBatchCommand.ts @@ -28,7 +28,6 @@ export class DescribeSimulationJobBatchCommand extends $Command< DescribeSimulationJobBatchCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSimulationJobBatchCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts b/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts index 00067b3e3e4eb..39e5d31e598e1 100644 --- a/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/DescribeSimulationJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeSimulationJobCommand extends $Command< DescribeSimulationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSimulationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeWorldCommand.ts b/clients/client-robomaker/commands/DescribeWorldCommand.ts index 44a1be74e436a..bdb72506f8d52 100644 --- a/clients/client-robomaker/commands/DescribeWorldCommand.ts +++ b/clients/client-robomaker/commands/DescribeWorldCommand.ts @@ -28,7 +28,6 @@ export class DescribeWorldCommand extends $Command< DescribeWorldCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeWorldCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeWorldExportJobCommand.ts b/clients/client-robomaker/commands/DescribeWorldExportJobCommand.ts index da0d252be3909..62185d81f653c 100644 --- a/clients/client-robomaker/commands/DescribeWorldExportJobCommand.ts +++ b/clients/client-robomaker/commands/DescribeWorldExportJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeWorldExportJobCommand extends $Command< DescribeWorldExportJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeWorldExportJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeWorldGenerationJobCommand.ts b/clients/client-robomaker/commands/DescribeWorldGenerationJobCommand.ts index 01d878d99e923..0447266eedb1e 100644 --- a/clients/client-robomaker/commands/DescribeWorldGenerationJobCommand.ts +++ b/clients/client-robomaker/commands/DescribeWorldGenerationJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeWorldGenerationJobCommand extends $Command< DescribeWorldGenerationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeWorldGenerationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/DescribeWorldTemplateCommand.ts b/clients/client-robomaker/commands/DescribeWorldTemplateCommand.ts index acee7322fc8bf..bd5ea53bd6357 100644 --- a/clients/client-robomaker/commands/DescribeWorldTemplateCommand.ts +++ b/clients/client-robomaker/commands/DescribeWorldTemplateCommand.ts @@ -28,7 +28,6 @@ export class DescribeWorldTemplateCommand extends $Command< DescribeWorldTemplateCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeWorldTemplateCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/GetWorldTemplateBodyCommand.ts b/clients/client-robomaker/commands/GetWorldTemplateBodyCommand.ts index da1e90aaf3ec7..870cb853b2f41 100644 --- a/clients/client-robomaker/commands/GetWorldTemplateBodyCommand.ts +++ b/clients/client-robomaker/commands/GetWorldTemplateBodyCommand.ts @@ -28,7 +28,6 @@ export class GetWorldTemplateBodyCommand extends $Command< GetWorldTemplateBodyCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWorldTemplateBodyCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts b/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts index b261914d065dd..22a9f4db8a679 100644 --- a/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts +++ b/clients/client-robomaker/commands/ListDeploymentJobsCommand.ts @@ -30,7 +30,6 @@ export class ListDeploymentJobsCommand extends $Command< ListDeploymentJobsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDeploymentJobsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListFleetsCommand.ts b/clients/client-robomaker/commands/ListFleetsCommand.ts index c963a4163418f..182c5fb6c3e96 100644 --- a/clients/client-robomaker/commands/ListFleetsCommand.ts +++ b/clients/client-robomaker/commands/ListFleetsCommand.ts @@ -29,7 +29,6 @@ export class ListFleetsCommand extends $Command< ListFleetsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListFleetsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts b/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts index a868cffe6200c..32b31c5f2a0eb 100644 --- a/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts +++ b/clients/client-robomaker/commands/ListRobotApplicationsCommand.ts @@ -29,7 +29,6 @@ export class ListRobotApplicationsCommand extends $Command< ListRobotApplicationsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRobotApplicationsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListRobotsCommand.ts b/clients/client-robomaker/commands/ListRobotsCommand.ts index 36c19c7a3684d..ffd0fa500ce91 100644 --- a/clients/client-robomaker/commands/ListRobotsCommand.ts +++ b/clients/client-robomaker/commands/ListRobotsCommand.ts @@ -29,7 +29,6 @@ export class ListRobotsCommand extends $Command< ListRobotsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRobotsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts b/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts index 9fb556cf54522..c255c13bd2dec 100644 --- a/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts +++ b/clients/client-robomaker/commands/ListSimulationApplicationsCommand.ts @@ -29,7 +29,6 @@ export class ListSimulationApplicationsCommand extends $Command< ListSimulationApplicationsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSimulationApplicationsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListSimulationJobBatchesCommand.ts b/clients/client-robomaker/commands/ListSimulationJobBatchesCommand.ts index ac5a1c77002d5..5d4aac54f2121 100644 --- a/clients/client-robomaker/commands/ListSimulationJobBatchesCommand.ts +++ b/clients/client-robomaker/commands/ListSimulationJobBatchesCommand.ts @@ -30,7 +30,6 @@ export class ListSimulationJobBatchesCommand extends $Command< ListSimulationJobBatchesCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListSimulationJobBatchesCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListSimulationJobsCommand.ts b/clients/client-robomaker/commands/ListSimulationJobsCommand.ts index 79eeae2ac7b47..4d1c2d274844f 100644 --- a/clients/client-robomaker/commands/ListSimulationJobsCommand.ts +++ b/clients/client-robomaker/commands/ListSimulationJobsCommand.ts @@ -29,7 +29,6 @@ export class ListSimulationJobsCommand extends $Command< ListSimulationJobsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSimulationJobsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListTagsForResourceCommand.ts b/clients/client-robomaker/commands/ListTagsForResourceCommand.ts index 304ce38f31f53..f3e3bfe4e8fb3 100644 --- a/clients/client-robomaker/commands/ListTagsForResourceCommand.ts +++ b/clients/client-robomaker/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListWorldExportJobsCommand.ts b/clients/client-robomaker/commands/ListWorldExportJobsCommand.ts index 7fea8909da3aa..96da28ca0b33d 100644 --- a/clients/client-robomaker/commands/ListWorldExportJobsCommand.ts +++ b/clients/client-robomaker/commands/ListWorldExportJobsCommand.ts @@ -28,7 +28,6 @@ export class ListWorldExportJobsCommand extends $Command< ListWorldExportJobsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorldExportJobsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListWorldGenerationJobsCommand.ts b/clients/client-robomaker/commands/ListWorldGenerationJobsCommand.ts index 9d3e72603edfd..1879c8713ed8f 100644 --- a/clients/client-robomaker/commands/ListWorldGenerationJobsCommand.ts +++ b/clients/client-robomaker/commands/ListWorldGenerationJobsCommand.ts @@ -28,7 +28,6 @@ export class ListWorldGenerationJobsCommand extends $Command< ListWorldGenerationJobsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorldGenerationJobsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListWorldTemplatesCommand.ts b/clients/client-robomaker/commands/ListWorldTemplatesCommand.ts index b2cb0ad2e98b3..b593fbe1f9c83 100644 --- a/clients/client-robomaker/commands/ListWorldTemplatesCommand.ts +++ b/clients/client-robomaker/commands/ListWorldTemplatesCommand.ts @@ -28,7 +28,6 @@ export class ListWorldTemplatesCommand extends $Command< ListWorldTemplatesCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorldTemplatesCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/ListWorldsCommand.ts b/clients/client-robomaker/commands/ListWorldsCommand.ts index 1eb6283582bfc..efc1070faa8d2 100644 --- a/clients/client-robomaker/commands/ListWorldsCommand.ts +++ b/clients/client-robomaker/commands/ListWorldsCommand.ts @@ -28,7 +28,6 @@ export class ListWorldsCommand extends $Command< ListWorldsCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListWorldsCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/RegisterRobotCommand.ts b/clients/client-robomaker/commands/RegisterRobotCommand.ts index 1b9e7e00e5a58..4d6311665eeb8 100644 --- a/clients/client-robomaker/commands/RegisterRobotCommand.ts +++ b/clients/client-robomaker/commands/RegisterRobotCommand.ts @@ -28,7 +28,6 @@ export class RegisterRobotCommand extends $Command< RegisterRobotCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterRobotCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/RestartSimulationJobCommand.ts b/clients/client-robomaker/commands/RestartSimulationJobCommand.ts index d80722aff5d06..73c1c184f2418 100644 --- a/clients/client-robomaker/commands/RestartSimulationJobCommand.ts +++ b/clients/client-robomaker/commands/RestartSimulationJobCommand.ts @@ -28,7 +28,6 @@ export class RestartSimulationJobCommand extends $Command< RestartSimulationJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RestartSimulationJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/StartSimulationJobBatchCommand.ts b/clients/client-robomaker/commands/StartSimulationJobBatchCommand.ts index 3ef5ffdeb39c3..630d93eb288ec 100644 --- a/clients/client-robomaker/commands/StartSimulationJobBatchCommand.ts +++ b/clients/client-robomaker/commands/StartSimulationJobBatchCommand.ts @@ -29,7 +29,6 @@ export class StartSimulationJobBatchCommand extends $Command< StartSimulationJobBatchCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartSimulationJobBatchCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts b/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts index 42d90003a386b..653804cb930b8 100644 --- a/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts +++ b/clients/client-robomaker/commands/SyncDeploymentJobCommand.ts @@ -28,7 +28,6 @@ export class SyncDeploymentJobCommand extends $Command< SyncDeploymentJobCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SyncDeploymentJobCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/TagResourceCommand.ts b/clients/client-robomaker/commands/TagResourceCommand.ts index 1142d2d29beeb..b8fb6a778d1c8 100644 --- a/clients/client-robomaker/commands/TagResourceCommand.ts +++ b/clients/client-robomaker/commands/TagResourceCommand.ts @@ -30,7 +30,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TagResourceCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/UntagResourceCommand.ts b/clients/client-robomaker/commands/UntagResourceCommand.ts index e69dc3b203107..a66ea6066ff10 100644 --- a/clients/client-robomaker/commands/UntagResourceCommand.ts +++ b/clients/client-robomaker/commands/UntagResourceCommand.ts @@ -33,7 +33,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UntagResourceCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts b/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts index 7f429955e04b1..415f9c9924e0b 100644 --- a/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts +++ b/clients/client-robomaker/commands/UpdateRobotApplicationCommand.ts @@ -28,7 +28,6 @@ export class UpdateRobotApplicationCommand extends $Command< UpdateRobotApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRobotApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts b/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts index af572d12af67e..783698a6695ed 100644 --- a/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts +++ b/clients/client-robomaker/commands/UpdateSimulationApplicationCommand.ts @@ -28,7 +28,6 @@ export class UpdateSimulationApplicationCommand extends $Command< UpdateSimulationApplicationCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSimulationApplicationCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-robomaker/commands/UpdateWorldTemplateCommand.ts b/clients/client-robomaker/commands/UpdateWorldTemplateCommand.ts index cbb07c16d68f3..2fa534f87acdc 100644 --- a/clients/client-robomaker/commands/UpdateWorldTemplateCommand.ts +++ b/clients/client-robomaker/commands/UpdateWorldTemplateCommand.ts @@ -28,7 +28,6 @@ export class UpdateWorldTemplateCommand extends $Command< UpdateWorldTemplateCommandOutput, RoboMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateWorldTemplateCommand extends $Command< configuration: RoboMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts b/clients/client-route-53-domains/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts index a878fa9148958..8f3faacd853e6 100644 --- a/clients/client-route-53-domains/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts +++ b/clients/client-route-53-domains/commands/AcceptDomainTransferFromAnotherAwsAccountCommand.ts @@ -42,7 +42,6 @@ export class AcceptDomainTransferFromAnotherAwsAccountCommand extends $Command< AcceptDomainTransferFromAnotherAwsAccountCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class AcceptDomainTransferFromAnotherAwsAccountCommand extends $Command< AcceptDomainTransferFromAnotherAwsAccountCommandInput, AcceptDomainTransferFromAnotherAwsAccountCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/CancelDomainTransferToAnotherAwsAccountCommand.ts b/clients/client-route-53-domains/commands/CancelDomainTransferToAnotherAwsAccountCommand.ts index ac6806237824b..33557bbc6f4df 100644 --- a/clients/client-route-53-domains/commands/CancelDomainTransferToAnotherAwsAccountCommand.ts +++ b/clients/client-route-53-domains/commands/CancelDomainTransferToAnotherAwsAccountCommand.ts @@ -47,7 +47,6 @@ export class CancelDomainTransferToAnotherAwsAccountCommand extends $Command< CancelDomainTransferToAnotherAwsAccountCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class CancelDomainTransferToAnotherAwsAccountCommand extends $Command< CancelDomainTransferToAnotherAwsAccountCommandInput, CancelDomainTransferToAnotherAwsAccountCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts b/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts index 245152c6d7714..72e3a59c27eab 100644 --- a/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts +++ b/clients/client-route-53-domains/commands/CheckDomainAvailabilityCommand.ts @@ -29,7 +29,6 @@ export class CheckDomainAvailabilityCommand extends $Command< CheckDomainAvailabilityCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CheckDomainAvailabilityCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts b/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts index c4101e234d026..0eb750db5a41b 100644 --- a/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts +++ b/clients/client-route-53-domains/commands/CheckDomainTransferabilityCommand.ts @@ -28,7 +28,6 @@ export class CheckDomainTransferabilityCommand extends $Command< CheckDomainTransferabilityCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CheckDomainTransferabilityCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts b/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts index 3cd32a8f6fdf2..6b2d7afbf1ba2 100644 --- a/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts +++ b/clients/client-route-53-domains/commands/DeleteTagsForDomainCommand.ts @@ -29,7 +29,6 @@ export class DeleteTagsForDomainCommand extends $Command< DeleteTagsForDomainCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTagsForDomainCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts b/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts index 9ce2f96218ea4..cea0794b79f8a 100644 --- a/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts +++ b/clients/client-route-53-domains/commands/DisableDomainAutoRenewCommand.ts @@ -28,7 +28,6 @@ export class DisableDomainAutoRenewCommand extends $Command< DisableDomainAutoRenewCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableDomainAutoRenewCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts b/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts index 5813e9de9de98..789e4cfbb3797 100644 --- a/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts +++ b/clients/client-route-53-domains/commands/DisableDomainTransferLockCommand.ts @@ -33,7 +33,6 @@ export class DisableDomainTransferLockCommand extends $Command< DisableDomainTransferLockCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DisableDomainTransferLockCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts b/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts index ce9a9397fcf97..ba34ae626232f 100644 --- a/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts +++ b/clients/client-route-53-domains/commands/EnableDomainAutoRenewCommand.ts @@ -33,7 +33,6 @@ export class EnableDomainAutoRenewCommand extends $Command< EnableDomainAutoRenewCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class EnableDomainAutoRenewCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts b/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts index 3a9206d1b0a77..80f2a7eec1f43 100644 --- a/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts +++ b/clients/client-route-53-domains/commands/EnableDomainTransferLockCommand.ts @@ -30,7 +30,6 @@ export class EnableDomainTransferLockCommand extends $Command< EnableDomainTransferLockCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class EnableDomainTransferLockCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts b/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts index ad407ef888877..4587741aff525 100644 --- a/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts +++ b/clients/client-route-53-domains/commands/GetContactReachabilityStatusCommand.ts @@ -30,7 +30,6 @@ export class GetContactReachabilityStatusCommand extends $Command< GetContactReachabilityStatusCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetContactReachabilityStatusCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts b/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts index c1cd0207e339c..c496e94aab5ee 100644 --- a/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts +++ b/clients/client-route-53-domains/commands/GetDomainDetailCommand.ts @@ -29,7 +29,6 @@ export class GetDomainDetailCommand extends $Command< GetDomainDetailCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDomainDetailCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts b/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts index 8a973001bf435..ed8ddf3b6773b 100644 --- a/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts +++ b/clients/client-route-53-domains/commands/GetDomainSuggestionsCommand.ts @@ -28,7 +28,6 @@ export class GetDomainSuggestionsCommand extends $Command< GetDomainSuggestionsCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDomainSuggestionsCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts b/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts index 796e32f917c91..d11aa24e55dc7 100644 --- a/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts +++ b/clients/client-route-53-domains/commands/GetOperationDetailCommand.ts @@ -28,7 +28,6 @@ export class GetOperationDetailCommand extends $Command< GetOperationDetailCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOperationDetailCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/ListDomainsCommand.ts b/clients/client-route-53-domains/commands/ListDomainsCommand.ts index 2a523eb989910..af481fee00849 100644 --- a/clients/client-route-53-domains/commands/ListDomainsCommand.ts +++ b/clients/client-route-53-domains/commands/ListDomainsCommand.ts @@ -28,7 +28,6 @@ export class ListDomainsCommand extends $Command< ListDomainsCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDomainsCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/ListOperationsCommand.ts b/clients/client-route-53-domains/commands/ListOperationsCommand.ts index 68ca3257a4cac..f5af943a43c4c 100644 --- a/clients/client-route-53-domains/commands/ListOperationsCommand.ts +++ b/clients/client-route-53-domains/commands/ListOperationsCommand.ts @@ -29,7 +29,6 @@ export class ListOperationsCommand extends $Command< ListOperationsCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListOperationsCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts b/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts index f6eadcdefff16..54b856b641f10 100644 --- a/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts +++ b/clients/client-route-53-domains/commands/ListTagsForDomainCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForDomainCommand extends $Command< ListTagsForDomainCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForDomainCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/RegisterDomainCommand.ts b/clients/client-route-53-domains/commands/RegisterDomainCommand.ts index 1d399539e53aa..bf132ecee0ed9 100644 --- a/clients/client-route-53-domains/commands/RegisterDomainCommand.ts +++ b/clients/client-route-53-domains/commands/RegisterDomainCommand.ts @@ -53,7 +53,6 @@ export class RegisterDomainCommand extends $Command< RegisterDomainCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class RegisterDomainCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/RejectDomainTransferFromAnotherAwsAccountCommand.ts b/clients/client-route-53-domains/commands/RejectDomainTransferFromAnotherAwsAccountCommand.ts index 289bb949b58a8..dc82d8341b97f 100644 --- a/clients/client-route-53-domains/commands/RejectDomainTransferFromAnotherAwsAccountCommand.ts +++ b/clients/client-route-53-domains/commands/RejectDomainTransferFromAnotherAwsAccountCommand.ts @@ -42,7 +42,6 @@ export class RejectDomainTransferFromAnotherAwsAccountCommand extends $Command< RejectDomainTransferFromAnotherAwsAccountCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class RejectDomainTransferFromAnotherAwsAccountCommand extends $Command< RejectDomainTransferFromAnotherAwsAccountCommandInput, RejectDomainTransferFromAnotherAwsAccountCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/RenewDomainCommand.ts b/clients/client-route-53-domains/commands/RenewDomainCommand.ts index ac8dbc07c5999..621ab595d1cb4 100644 --- a/clients/client-route-53-domains/commands/RenewDomainCommand.ts +++ b/clients/client-route-53-domains/commands/RenewDomainCommand.ts @@ -32,7 +32,6 @@ export class RenewDomainCommand extends $Command< RenewDomainCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RenewDomainCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts b/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts index aadfbafe8d8fa..7fa92c3849d82 100644 --- a/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts +++ b/clients/client-route-53-domains/commands/ResendContactReachabilityEmailCommand.ts @@ -29,7 +29,6 @@ export class ResendContactReachabilityEmailCommand extends $Command< ResendContactReachabilityEmailCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ResendContactReachabilityEmailCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts b/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts index 5980fa62e12f0..01cd5e0c38c77 100644 --- a/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts +++ b/clients/client-route-53-domains/commands/RetrieveDomainAuthCodeCommand.ts @@ -28,7 +28,6 @@ export class RetrieveDomainAuthCodeCommand extends $Command< RetrieveDomainAuthCodeCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RetrieveDomainAuthCodeCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/TransferDomainCommand.ts b/clients/client-route-53-domains/commands/TransferDomainCommand.ts index 011f31e660f06..7de2365397fc5 100644 --- a/clients/client-route-53-domains/commands/TransferDomainCommand.ts +++ b/clients/client-route-53-domains/commands/TransferDomainCommand.ts @@ -61,7 +61,6 @@ export class TransferDomainCommand extends $Command< TransferDomainCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class TransferDomainCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/TransferDomainToAnotherAwsAccountCommand.ts b/clients/client-route-53-domains/commands/TransferDomainToAnotherAwsAccountCommand.ts index 1a877a12212d8..50a168b2faaf0 100644 --- a/clients/client-route-53-domains/commands/TransferDomainToAnotherAwsAccountCommand.ts +++ b/clients/client-route-53-domains/commands/TransferDomainToAnotherAwsAccountCommand.ts @@ -66,7 +66,6 @@ export class TransferDomainToAnotherAwsAccountCommand extends $Command< TransferDomainToAnotherAwsAccountCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class TransferDomainToAnotherAwsAccountCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts b/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts index 132f3782312b4..09f4e0ad52509 100644 --- a/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateDomainContactCommand.ts @@ -31,7 +31,6 @@ export class UpdateDomainContactCommand extends $Command< UpdateDomainContactCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateDomainContactCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts b/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts index 42655c29e4bef..7e62d3b39a2c7 100644 --- a/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateDomainContactPrivacyCommand.ts @@ -42,7 +42,6 @@ export class UpdateDomainContactPrivacyCommand extends $Command< UpdateDomainContactPrivacyCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class UpdateDomainContactPrivacyCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts b/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts index 13fb9699752cb..40bc4ee2232c4 100644 --- a/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateDomainNameserversCommand.ts @@ -31,7 +31,6 @@ export class UpdateDomainNameserversCommand extends $Command< UpdateDomainNameserversCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateDomainNameserversCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts b/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts index 17f13ae5bd450..df67a12393e1b 100644 --- a/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts +++ b/clients/client-route-53-domains/commands/UpdateTagsForDomainCommand.ts @@ -29,7 +29,6 @@ export class UpdateTagsForDomainCommand extends $Command< UpdateTagsForDomainCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateTagsForDomainCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53-domains/commands/ViewBillingCommand.ts b/clients/client-route-53-domains/commands/ViewBillingCommand.ts index 9ee2edbaa6bcf..cbf70d57b5614 100644 --- a/clients/client-route-53-domains/commands/ViewBillingCommand.ts +++ b/clients/client-route-53-domains/commands/ViewBillingCommand.ts @@ -28,7 +28,6 @@ export class ViewBillingCommand extends $Command< ViewBillingCommandOutput, Route53DomainsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ViewBillingCommand extends $Command< configuration: Route53DomainsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts b/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts index 1322a8ad9cfb6..1c0ecab1267a5 100644 --- a/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts +++ b/clients/client-route-53/commands/AssociateVPCWithHostedZoneCommand.ts @@ -39,7 +39,6 @@ export class AssociateVPCWithHostedZoneCommand extends $Command< AssociateVPCWithHostedZoneCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,11 +56,8 @@ export class AssociateVPCWithHostedZoneCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts b/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts index 2c7d37f40587f..2718cfbc963d1 100644 --- a/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts +++ b/clients/client-route-53/commands/ChangeResourceRecordSetsCommand.ts @@ -110,7 +110,6 @@ export class ChangeResourceRecordSetsCommand extends $Command< ChangeResourceRecordSetsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -128,12 +127,9 @@ export class ChangeResourceRecordSetsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getChangeResourceRecordSetsPlugin(configuration)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getChangeResourceRecordSetsPlugin(configuration)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts b/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts index d0d2f35ebc398..140bcffb2f492 100644 --- a/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts +++ b/clients/client-route-53/commands/ChangeTagsForResourceCommand.ts @@ -31,7 +31,6 @@ export class ChangeTagsForResourceCommand extends $Command< ChangeTagsForResourceCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ChangeTagsForResourceCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateHealthCheckCommand.ts b/clients/client-route-53/commands/CreateHealthCheckCommand.ts index aa43bed1a56a2..44bffdf3a6842 100644 --- a/clients/client-route-53/commands/CreateHealthCheckCommand.ts +++ b/clients/client-route-53/commands/CreateHealthCheckCommand.ts @@ -61,7 +61,6 @@ export class CreateHealthCheckCommand extends $Command< CreateHealthCheckCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class CreateHealthCheckCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateHostedZoneCommand.ts b/clients/client-route-53/commands/CreateHostedZoneCommand.ts index 592e25e1d9a61..cbd841e39b3b6 100644 --- a/clients/client-route-53/commands/CreateHostedZoneCommand.ts +++ b/clients/client-route-53/commands/CreateHostedZoneCommand.ts @@ -60,7 +60,6 @@ export class CreateHostedZoneCommand extends $Command< CreateHostedZoneCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,11 +77,8 @@ export class CreateHostedZoneCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts b/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts index aeb9d527d8509..052bcae5a3642 100644 --- a/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts +++ b/clients/client-route-53/commands/CreateQueryLoggingConfigCommand.ts @@ -145,7 +145,6 @@ export class CreateQueryLoggingConfigCommand extends $Command< CreateQueryLoggingConfigCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -163,11 +162,8 @@ export class CreateQueryLoggingConfigCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts b/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts index 282c488b7fdf6..ad5fe89b37dfb 100644 --- a/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts +++ b/clients/client-route-53/commands/CreateReusableDelegationSetCommand.ts @@ -79,7 +79,6 @@ export class CreateReusableDelegationSetCommand extends $Command< CreateReusableDelegationSetCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,11 +96,8 @@ export class CreateReusableDelegationSetCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts b/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts index d0e030b2d87c1..c8536e3031279 100644 --- a/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts +++ b/clients/client-route-53/commands/CreateTrafficPolicyCommand.ts @@ -29,7 +29,6 @@ export class CreateTrafficPolicyCommand extends $Command< CreateTrafficPolicyCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTrafficPolicyCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts index 39fda6827b34c..b7a3ec684ad29 100644 --- a/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/CreateTrafficPolicyInstanceCommand.ts @@ -32,7 +32,6 @@ export class CreateTrafficPolicyInstanceCommand extends $Command< CreateTrafficPolicyInstanceCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class CreateTrafficPolicyInstanceCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts b/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts index 80bda110ab07b..f7af0f6f0b689 100644 --- a/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts +++ b/clients/client-route-53/commands/CreateTrafficPolicyVersionCommand.ts @@ -33,7 +33,6 @@ export class CreateTrafficPolicyVersionCommand extends $Command< CreateTrafficPolicyVersionCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class CreateTrafficPolicyVersionCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts b/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts index fbcc5a4e52a09..298c3f2c5d787 100644 --- a/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts +++ b/clients/client-route-53/commands/CreateVPCAssociationAuthorizationCommand.ts @@ -41,7 +41,6 @@ export class CreateVPCAssociationAuthorizationCommand extends $Command< CreateVPCAssociationAuthorizationCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,11 +58,8 @@ export class CreateVPCAssociationAuthorizationCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteHealthCheckCommand.ts b/clients/client-route-53/commands/DeleteHealthCheckCommand.ts index 1b6cc1a94f156..9f102111e778c 100644 --- a/clients/client-route-53/commands/DeleteHealthCheckCommand.ts +++ b/clients/client-route-53/commands/DeleteHealthCheckCommand.ts @@ -41,7 +41,6 @@ export class DeleteHealthCheckCommand extends $Command< DeleteHealthCheckCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DeleteHealthCheckCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteHostedZoneCommand.ts b/clients/client-route-53/commands/DeleteHostedZoneCommand.ts index 2dadbb297fa8a..0c6c85d648e5e 100644 --- a/clients/client-route-53/commands/DeleteHostedZoneCommand.ts +++ b/clients/client-route-53/commands/DeleteHostedZoneCommand.ts @@ -67,7 +67,6 @@ export class DeleteHostedZoneCommand extends $Command< DeleteHostedZoneCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,11 +84,8 @@ export class DeleteHostedZoneCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts b/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts index 3d5d9df177262..f7b6486b7cc3c 100644 --- a/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts +++ b/clients/client-route-53/commands/DeleteQueryLoggingConfigCommand.ts @@ -33,7 +33,6 @@ export class DeleteQueryLoggingConfigCommand extends $Command< DeleteQueryLoggingConfigCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class DeleteQueryLoggingConfigCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts b/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts index f473d1e2cbddb..7065aed5379f8 100644 --- a/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts +++ b/clients/client-route-53/commands/DeleteReusableDelegationSetCommand.ts @@ -35,7 +35,6 @@ export class DeleteReusableDelegationSetCommand extends $Command< DeleteReusableDelegationSetCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class DeleteReusableDelegationSetCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts b/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts index f7acde1b78755..639ec255aec84 100644 --- a/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts +++ b/clients/client-route-53/commands/DeleteTrafficPolicyCommand.ts @@ -43,7 +43,6 @@ export class DeleteTrafficPolicyCommand extends $Command< DeleteTrafficPolicyCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,11 +60,8 @@ export class DeleteTrafficPolicyCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts index d61f1d986b8f6..3879888199863 100644 --- a/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/DeleteTrafficPolicyInstanceCommand.ts @@ -32,7 +32,6 @@ export class DeleteTrafficPolicyInstanceCommand extends $Command< DeleteTrafficPolicyInstanceCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class DeleteTrafficPolicyInstanceCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts b/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts index 3597df41e82c0..d7214137ab4c4 100644 --- a/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts +++ b/clients/client-route-53/commands/DeleteVPCAssociationAuthorizationCommand.ts @@ -41,7 +41,6 @@ export class DeleteVPCAssociationAuthorizationCommand extends $Command< DeleteVPCAssociationAuthorizationCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,11 +58,8 @@ export class DeleteVPCAssociationAuthorizationCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts b/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts index b4b5731518ae2..0594af6fe5865 100644 --- a/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts +++ b/clients/client-route-53/commands/DisassociateVPCFromHostedZoneCommand.ts @@ -49,7 +49,6 @@ export class DisassociateVPCFromHostedZoneCommand extends $Command< DisassociateVPCFromHostedZoneCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,11 +66,8 @@ export class DisassociateVPCFromHostedZoneCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetAccountLimitCommand.ts b/clients/client-route-53/commands/GetAccountLimitCommand.ts index d74c17560905b..4d3acf264f8c0 100644 --- a/clients/client-route-53/commands/GetAccountLimitCommand.ts +++ b/clients/client-route-53/commands/GetAccountLimitCommand.ts @@ -37,7 +37,6 @@ export class GetAccountLimitCommand extends $Command< GetAccountLimitCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetAccountLimitCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetChangeCommand.ts b/clients/client-route-53/commands/GetChangeCommand.ts index 0e81c012b79b0..4a2a344079c3a 100644 --- a/clients/client-route-53/commands/GetChangeCommand.ts +++ b/clients/client-route-53/commands/GetChangeCommand.ts @@ -38,7 +38,6 @@ export class GetChangeCommand extends $Command< GetChangeCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,11 +55,8 @@ export class GetChangeCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts b/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts index 5b153db7ab01c..06f089cfc8490 100644 --- a/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts +++ b/clients/client-route-53/commands/GetCheckerIpRangesCommand.ts @@ -34,7 +34,6 @@ export class GetCheckerIpRangesCommand extends $Command< GetCheckerIpRangesCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetCheckerIpRangesCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetGeoLocationCommand.ts b/clients/client-route-53/commands/GetGeoLocationCommand.ts index 98226a8e7f097..05958b98f2685 100644 --- a/clients/client-route-53/commands/GetGeoLocationCommand.ts +++ b/clients/client-route-53/commands/GetGeoLocationCommand.ts @@ -47,7 +47,6 @@ export class GetGeoLocationCommand extends $Command< GetGeoLocationCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class GetGeoLocationCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHealthCheckCommand.ts b/clients/client-route-53/commands/GetHealthCheckCommand.ts index 6ca855ed38019..12e65fcc12a4b 100644 --- a/clients/client-route-53/commands/GetHealthCheckCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckCommand.ts @@ -28,7 +28,6 @@ export class GetHealthCheckCommand extends $Command< GetHealthCheckCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetHealthCheckCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHealthCheckCountCommand.ts b/clients/client-route-53/commands/GetHealthCheckCountCommand.ts index aaf7d49981b00..3b8e862eaa347 100644 --- a/clients/client-route-53/commands/GetHealthCheckCountCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckCountCommand.ts @@ -28,7 +28,6 @@ export class GetHealthCheckCountCommand extends $Command< GetHealthCheckCountCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetHealthCheckCountCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts b/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts index ad87927c3a0da..4416e71239423 100644 --- a/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckLastFailureReasonCommand.ts @@ -28,7 +28,6 @@ export class GetHealthCheckLastFailureReasonCommand extends $Command< GetHealthCheckLastFailureReasonCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetHealthCheckLastFailureReasonCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts b/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts index 463a2e0fdbad9..35b91ac44b58c 100644 --- a/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts +++ b/clients/client-route-53/commands/GetHealthCheckStatusCommand.ts @@ -28,7 +28,6 @@ export class GetHealthCheckStatusCommand extends $Command< GetHealthCheckStatusCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetHealthCheckStatusCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHostedZoneCommand.ts b/clients/client-route-53/commands/GetHostedZoneCommand.ts index a7974dc00d96a..f8657aebec4e1 100644 --- a/clients/client-route-53/commands/GetHostedZoneCommand.ts +++ b/clients/client-route-53/commands/GetHostedZoneCommand.ts @@ -29,7 +29,6 @@ export class GetHostedZoneCommand extends $Command< GetHostedZoneCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,11 +46,8 @@ export class GetHostedZoneCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHostedZoneCountCommand.ts b/clients/client-route-53/commands/GetHostedZoneCountCommand.ts index 4d87654390d87..d8363466cbb88 100644 --- a/clients/client-route-53/commands/GetHostedZoneCountCommand.ts +++ b/clients/client-route-53/commands/GetHostedZoneCountCommand.ts @@ -28,7 +28,6 @@ export class GetHostedZoneCountCommand extends $Command< GetHostedZoneCountCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetHostedZoneCountCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts b/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts index 6d024da8bd058..7387b51dac007 100644 --- a/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts +++ b/clients/client-route-53/commands/GetHostedZoneLimitCommand.ts @@ -33,7 +33,6 @@ export class GetHostedZoneLimitCommand extends $Command< GetHostedZoneLimitCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class GetHostedZoneLimitCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts b/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts index 8c5dd7fa24fb8..9439ff565ce1f 100644 --- a/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts +++ b/clients/client-route-53/commands/GetQueryLoggingConfigCommand.ts @@ -34,7 +34,6 @@ export class GetQueryLoggingConfigCommand extends $Command< GetQueryLoggingConfigCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,11 +51,8 @@ export class GetQueryLoggingConfigCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts b/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts index 49632efaeb8a6..027fd9cbd0180 100644 --- a/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts +++ b/clients/client-route-53/commands/GetReusableDelegationSetCommand.ts @@ -30,7 +30,6 @@ export class GetReusableDelegationSetCommand extends $Command< GetReusableDelegationSetCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class GetReusableDelegationSetCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts b/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts index f1d695e578ae8..f6137dfd44cd1 100644 --- a/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts +++ b/clients/client-route-53/commands/GetReusableDelegationSetLimitCommand.ts @@ -32,7 +32,6 @@ export class GetReusableDelegationSetLimitCommand extends $Command< GetReusableDelegationSetLimitCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class GetReusableDelegationSetLimitCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetTrafficPolicyCommand.ts b/clients/client-route-53/commands/GetTrafficPolicyCommand.ts index 3aab1a226ad19..bf5b6a2a63400 100644 --- a/clients/client-route-53/commands/GetTrafficPolicyCommand.ts +++ b/clients/client-route-53/commands/GetTrafficPolicyCommand.ts @@ -32,7 +32,6 @@ export class GetTrafficPolicyCommand extends $Command< GetTrafficPolicyCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class GetTrafficPolicyCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts index 150910a731805..747b4a9625491 100644 --- a/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/GetTrafficPolicyInstanceCommand.ts @@ -37,7 +37,6 @@ export class GetTrafficPolicyInstanceCommand extends $Command< GetTrafficPolicyInstanceCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class GetTrafficPolicyInstanceCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts b/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts index cb7f20b7df844..da637eca32d30 100644 --- a/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts +++ b/clients/client-route-53/commands/GetTrafficPolicyInstanceCountCommand.ts @@ -28,7 +28,6 @@ export class GetTrafficPolicyInstanceCountCommand extends $Command< GetTrafficPolicyInstanceCountCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTrafficPolicyInstanceCountCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListGeoLocationsCommand.ts b/clients/client-route-53/commands/ListGeoLocationsCommand.ts index a37de836e8a8d..7a13a17b48c5d 100644 --- a/clients/client-route-53/commands/ListGeoLocationsCommand.ts +++ b/clients/client-route-53/commands/ListGeoLocationsCommand.ts @@ -32,7 +32,6 @@ export class ListGeoLocationsCommand extends $Command< ListGeoLocationsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListGeoLocationsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListHealthChecksCommand.ts b/clients/client-route-53/commands/ListHealthChecksCommand.ts index a489ffcbc0a77..fbfa5a305d986 100644 --- a/clients/client-route-53/commands/ListHealthChecksCommand.ts +++ b/clients/client-route-53/commands/ListHealthChecksCommand.ts @@ -28,7 +28,6 @@ export class ListHealthChecksCommand extends $Command< ListHealthChecksCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListHealthChecksCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts b/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts index f93a7456b0fec..183a60e51453b 100644 --- a/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts +++ b/clients/client-route-53/commands/ListHostedZonesByNameCommand.ts @@ -73,7 +73,6 @@ export class ListHostedZonesByNameCommand extends $Command< ListHostedZonesByNameCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -91,11 +90,8 @@ export class ListHostedZonesByNameCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListHostedZonesByVPCCommand.ts b/clients/client-route-53/commands/ListHostedZonesByVPCCommand.ts index 2d0c6e48bed87..0bcaa2781b403 100644 --- a/clients/client-route-53/commands/ListHostedZonesByVPCCommand.ts +++ b/clients/client-route-53/commands/ListHostedZonesByVPCCommand.ts @@ -40,7 +40,6 @@ export class ListHostedZonesByVPCCommand extends $Command< ListHostedZonesByVPCCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListHostedZonesByVPCCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListHostedZonesCommand.ts b/clients/client-route-53/commands/ListHostedZonesCommand.ts index 2b158be0fe3a5..12ab2b32d4882 100644 --- a/clients/client-route-53/commands/ListHostedZonesCommand.ts +++ b/clients/client-route-53/commands/ListHostedZonesCommand.ts @@ -32,7 +32,6 @@ export class ListHostedZonesCommand extends $Command< ListHostedZonesCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class ListHostedZonesCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts b/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts index b4b0039fc0e13..4fb25e71ddddb 100644 --- a/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts +++ b/clients/client-route-53/commands/ListQueryLoggingConfigsCommand.ts @@ -36,7 +36,6 @@ export class ListQueryLoggingConfigsCommand extends $Command< ListQueryLoggingConfigsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,11 +53,8 @@ export class ListQueryLoggingConfigsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts b/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts index bd4b3d7e4cb03..9926b52e7770c 100644 --- a/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts +++ b/clients/client-route-53/commands/ListResourceRecordSetsCommand.ts @@ -92,7 +92,6 @@ export class ListResourceRecordSetsCommand extends $Command< ListResourceRecordSetsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -110,11 +109,8 @@ export class ListResourceRecordSetsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts b/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts index f638c173ba4b0..1a156edb5c59d 100644 --- a/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts +++ b/clients/client-route-53/commands/ListReusableDelegationSetsCommand.ts @@ -28,7 +28,6 @@ export class ListReusableDelegationSetsCommand extends $Command< ListReusableDelegationSetsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListReusableDelegationSetsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTagsForResourceCommand.ts b/clients/client-route-53/commands/ListTagsForResourceCommand.ts index cf4f2a0195b6f..9337b57ff92df 100644 --- a/clients/client-route-53/commands/ListTagsForResourceCommand.ts +++ b/clients/client-route-53/commands/ListTagsForResourceCommand.ts @@ -31,7 +31,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTagsForResourcesCommand.ts b/clients/client-route-53/commands/ListTagsForResourcesCommand.ts index 2f22e291824a8..e61875246cf56 100644 --- a/clients/client-route-53/commands/ListTagsForResourcesCommand.ts +++ b/clients/client-route-53/commands/ListTagsForResourcesCommand.ts @@ -31,7 +31,6 @@ export class ListTagsForResourcesCommand extends $Command< ListTagsForResourcesCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListTagsForResourcesCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts b/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts index 58fc22c9be216..a25d695c67a5c 100644 --- a/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPoliciesCommand.ts @@ -34,7 +34,6 @@ export class ListTrafficPoliciesCommand extends $Command< ListTrafficPoliciesCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListTrafficPoliciesCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts index cbd17a92e789e..9a21661365934 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyInstancesByHostedZoneCommand.ts @@ -40,7 +40,6 @@ export class ListTrafficPolicyInstancesByHostedZoneCommand extends $Command< ListTrafficPolicyInstancesByHostedZoneCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,11 +57,8 @@ export class ListTrafficPolicyInstancesByHostedZoneCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts index 4baf2870ae33b..ab35787b51b0a 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyInstancesByPolicyCommand.ts @@ -39,7 +39,6 @@ export class ListTrafficPolicyInstancesByPolicyCommand extends $Command< ListTrafficPolicyInstancesByPolicyCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ListTrafficPolicyInstancesByPolicyCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts index f0fa550df496d..110570fb87fa8 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyInstancesCommand.ts @@ -34,7 +34,6 @@ export class ListTrafficPolicyInstancesCommand extends $Command< ListTrafficPolicyInstancesCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListTrafficPolicyInstancesCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts b/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts index 534233def0a88..7aa3960b364e5 100644 --- a/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts +++ b/clients/client-route-53/commands/ListTrafficPolicyVersionsCommand.ts @@ -30,7 +30,6 @@ export class ListTrafficPolicyVersionsCommand extends $Command< ListTrafficPolicyVersionsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class ListTrafficPolicyVersionsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts b/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts index d072041552a59..8219225c9733f 100644 --- a/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts +++ b/clients/client-route-53/commands/ListVPCAssociationAuthorizationsCommand.ts @@ -32,7 +32,6 @@ export class ListVPCAssociationAuthorizationsCommand extends $Command< ListVPCAssociationAuthorizationsCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class ListVPCAssociationAuthorizationsCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/TestDNSAnswerCommand.ts b/clients/client-route-53/commands/TestDNSAnswerCommand.ts index 9a2d0e62d544b..20029bf3385a8 100644 --- a/clients/client-route-53/commands/TestDNSAnswerCommand.ts +++ b/clients/client-route-53/commands/TestDNSAnswerCommand.ts @@ -30,7 +30,6 @@ export class TestDNSAnswerCommand extends $Command< TestDNSAnswerCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class TestDNSAnswerCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/UpdateHealthCheckCommand.ts b/clients/client-route-53/commands/UpdateHealthCheckCommand.ts index 23a3afd3127a1..d8ecf8a21ed7f 100644 --- a/clients/client-route-53/commands/UpdateHealthCheckCommand.ts +++ b/clients/client-route-53/commands/UpdateHealthCheckCommand.ts @@ -31,7 +31,6 @@ export class UpdateHealthCheckCommand extends $Command< UpdateHealthCheckCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateHealthCheckCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts b/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts index 484c87451289b..2381d4cfa7d08 100644 --- a/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts +++ b/clients/client-route-53/commands/UpdateHostedZoneCommentCommand.ts @@ -29,7 +29,6 @@ export class UpdateHostedZoneCommentCommand extends $Command< UpdateHostedZoneCommentCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,11 +46,8 @@ export class UpdateHostedZoneCommentCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts b/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts index 00a1deb3f0016..d8d02c4790135 100644 --- a/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts +++ b/clients/client-route-53/commands/UpdateTrafficPolicyCommentCommand.ts @@ -29,7 +29,6 @@ export class UpdateTrafficPolicyCommentCommand extends $Command< UpdateTrafficPolicyCommentCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,11 +46,8 @@ export class UpdateTrafficPolicyCommentCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts b/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts index 1e30facae2c69..2979f76d0a1c4 100644 --- a/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts +++ b/clients/client-route-53/commands/UpdateTrafficPolicyInstanceCommand.ts @@ -44,7 +44,6 @@ export class UpdateTrafficPolicyInstanceCommand extends $Command< UpdateTrafficPolicyInstanceCommandOutput, Route53ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class UpdateTrafficPolicyInstanceCommand extends $Command< configuration: Route53ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getIdNormalizerPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getIdNormalizerPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts b/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts index 94e756f3246d2..1b1bd30f41691 100644 --- a/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts +++ b/clients/client-route53resolver/commands/AssociateResolverEndpointIpAddressCommand.ts @@ -36,7 +36,6 @@ export class AssociateResolverEndpointIpAddressCommand extends $Command< AssociateResolverEndpointIpAddressCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssociateResolverEndpointIpAddressCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/AssociateResolverQueryLogConfigCommand.ts b/clients/client-route53resolver/commands/AssociateResolverQueryLogConfigCommand.ts index 975fb9996e17c..25fd997e480ca 100644 --- a/clients/client-route53resolver/commands/AssociateResolverQueryLogConfigCommand.ts +++ b/clients/client-route53resolver/commands/AssociateResolverQueryLogConfigCommand.ts @@ -38,7 +38,6 @@ export class AssociateResolverQueryLogConfigCommand extends $Command< AssociateResolverQueryLogConfigCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class AssociateResolverQueryLogConfigCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts b/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts index a3990b08c7c0f..b4547e92b9aa9 100644 --- a/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/AssociateResolverRuleCommand.ts @@ -31,7 +31,6 @@ export class AssociateResolverRuleCommand extends $Command< AssociateResolverRuleCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AssociateResolverRuleCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts b/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts index 1cd9136186940..9d10144d86efa 100644 --- a/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/CreateResolverEndpointCommand.ts @@ -38,7 +38,6 @@ export class CreateResolverEndpointCommand extends $Command< CreateResolverEndpointCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateResolverEndpointCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/CreateResolverQueryLogConfigCommand.ts b/clients/client-route53resolver/commands/CreateResolverQueryLogConfigCommand.ts index ca7a8425c9097..afa89afc82a42 100644 --- a/clients/client-route53resolver/commands/CreateResolverQueryLogConfigCommand.ts +++ b/clients/client-route53resolver/commands/CreateResolverQueryLogConfigCommand.ts @@ -36,7 +36,6 @@ export class CreateResolverQueryLogConfigCommand extends $Command< CreateResolverQueryLogConfigCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateResolverQueryLogConfigCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts b/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts index 70b75c639736c..0a66157072b94 100644 --- a/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/CreateResolverRuleCommand.ts @@ -29,7 +29,6 @@ export class CreateResolverRuleCommand extends $Command< CreateResolverRuleCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateResolverRuleCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts b/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts index 89b19c67b6e64..960f462b640f5 100644 --- a/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/DeleteResolverEndpointCommand.ts @@ -40,7 +40,6 @@ export class DeleteResolverEndpointCommand extends $Command< DeleteResolverEndpointCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteResolverEndpointCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/DeleteResolverQueryLogConfigCommand.ts b/clients/client-route53resolver/commands/DeleteResolverQueryLogConfigCommand.ts index d5a8921e5072c..d6193b6e114e2 100644 --- a/clients/client-route53resolver/commands/DeleteResolverQueryLogConfigCommand.ts +++ b/clients/client-route53resolver/commands/DeleteResolverQueryLogConfigCommand.ts @@ -38,7 +38,6 @@ export class DeleteResolverQueryLogConfigCommand extends $Command< DeleteResolverQueryLogConfigCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteResolverQueryLogConfigCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts b/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts index 06f28359ac992..c7a4540128912 100644 --- a/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/DeleteResolverRuleCommand.ts @@ -30,7 +30,6 @@ export class DeleteResolverRuleCommand extends $Command< DeleteResolverRuleCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteResolverRuleCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts b/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts index c2a6db8094c74..07bfc44abb828 100644 --- a/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts +++ b/clients/client-route53resolver/commands/DisassociateResolverEndpointIpAddressCommand.ts @@ -36,7 +36,6 @@ export class DisassociateResolverEndpointIpAddressCommand extends $Command< DisassociateResolverEndpointIpAddressCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisassociateResolverEndpointIpAddressCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/DisassociateResolverQueryLogConfigCommand.ts b/clients/client-route53resolver/commands/DisassociateResolverQueryLogConfigCommand.ts index c6f1463157789..cd4100f04aee8 100644 --- a/clients/client-route53resolver/commands/DisassociateResolverQueryLogConfigCommand.ts +++ b/clients/client-route53resolver/commands/DisassociateResolverQueryLogConfigCommand.ts @@ -46,7 +46,6 @@ export class DisassociateResolverQueryLogConfigCommand extends $Command< DisassociateResolverQueryLogConfigCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DisassociateResolverQueryLogConfigCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts b/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts index 8d97c2b885140..fa7beb5fcafe3 100644 --- a/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/DisassociateResolverRuleCommand.ts @@ -32,7 +32,6 @@ export class DisassociateResolverRuleCommand extends $Command< DisassociateResolverRuleCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateResolverRuleCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts b/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts index e0361739a5426..c243d05a51985 100644 --- a/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverEndpointCommand.ts @@ -29,7 +29,6 @@ export class GetResolverEndpointCommand extends $Command< GetResolverEndpointCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResolverEndpointCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverQueryLogConfigAssociationCommand.ts b/clients/client-route53resolver/commands/GetResolverQueryLogConfigAssociationCommand.ts index 4d33f6e6f1373..4664a65656c20 100644 --- a/clients/client-route53resolver/commands/GetResolverQueryLogConfigAssociationCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverQueryLogConfigAssociationCommand.ts @@ -33,7 +33,6 @@ export class GetResolverQueryLogConfigAssociationCommand extends $Command< GetResolverQueryLogConfigAssociationCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetResolverQueryLogConfigAssociationCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverQueryLogConfigCommand.ts b/clients/client-route53resolver/commands/GetResolverQueryLogConfigCommand.ts index 5bf9b9866874b..80004fcb3526b 100644 --- a/clients/client-route53resolver/commands/GetResolverQueryLogConfigCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverQueryLogConfigCommand.ts @@ -29,7 +29,6 @@ export class GetResolverQueryLogConfigCommand extends $Command< GetResolverQueryLogConfigCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResolverQueryLogConfigCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverQueryLogConfigPolicyCommand.ts b/clients/client-route53resolver/commands/GetResolverQueryLogConfigPolicyCommand.ts index 8919cd14e734f..3c73271465f69 100644 --- a/clients/client-route53resolver/commands/GetResolverQueryLogConfigPolicyCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverQueryLogConfigPolicyCommand.ts @@ -29,7 +29,6 @@ export class GetResolverQueryLogConfigPolicyCommand extends $Command< GetResolverQueryLogConfigPolicyCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResolverQueryLogConfigPolicyCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts b/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts index cb5eeea2a06d1..3b46c56dc405f 100644 --- a/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverRuleAssociationCommand.ts @@ -29,7 +29,6 @@ export class GetResolverRuleAssociationCommand extends $Command< GetResolverRuleAssociationCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResolverRuleAssociationCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverRuleCommand.ts b/clients/client-route53resolver/commands/GetResolverRuleCommand.ts index 482d8c5232c89..1e4e88337960a 100644 --- a/clients/client-route53resolver/commands/GetResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverRuleCommand.ts @@ -29,7 +29,6 @@ export class GetResolverRuleCommand extends $Command< GetResolverRuleCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResolverRuleCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts b/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts index 1722dff45f290..9ce96290bdfdc 100644 --- a/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts +++ b/clients/client-route53resolver/commands/GetResolverRulePolicyCommand.ts @@ -29,7 +29,6 @@ export class GetResolverRulePolicyCommand extends $Command< GetResolverRulePolicyCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResolverRulePolicyCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts b/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts index cdc5a2b28ac74..510149d5470df 100644 --- a/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverEndpointIpAddressesCommand.ts @@ -28,7 +28,6 @@ export class ListResolverEndpointIpAddressesCommand extends $Command< ListResolverEndpointIpAddressesCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResolverEndpointIpAddressesCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts b/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts index c20e4c5e99b61..612fe289bcae4 100644 --- a/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverEndpointsCommand.ts @@ -28,7 +28,6 @@ export class ListResolverEndpointsCommand extends $Command< ListResolverEndpointsCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResolverEndpointsCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListResolverQueryLogConfigAssociationsCommand.ts b/clients/client-route53resolver/commands/ListResolverQueryLogConfigAssociationsCommand.ts index c6787c2a67da4..40636dfff08a0 100644 --- a/clients/client-route53resolver/commands/ListResolverQueryLogConfigAssociationsCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverQueryLogConfigAssociationsCommand.ts @@ -32,7 +32,6 @@ export class ListResolverQueryLogConfigAssociationsCommand extends $Command< ListResolverQueryLogConfigAssociationsCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListResolverQueryLogConfigAssociationsCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListResolverQueryLogConfigsCommand.ts b/clients/client-route53resolver/commands/ListResolverQueryLogConfigsCommand.ts index c689799643b82..291f1b80740b0 100644 --- a/clients/client-route53resolver/commands/ListResolverQueryLogConfigsCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverQueryLogConfigsCommand.ts @@ -29,7 +29,6 @@ export class ListResolverQueryLogConfigsCommand extends $Command< ListResolverQueryLogConfigsCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListResolverQueryLogConfigsCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts b/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts index d06f1ec952c6b..b5fcff2f5a926 100644 --- a/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverRuleAssociationsCommand.ts @@ -28,7 +28,6 @@ export class ListResolverRuleAssociationsCommand extends $Command< ListResolverRuleAssociationsCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResolverRuleAssociationsCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListResolverRulesCommand.ts b/clients/client-route53resolver/commands/ListResolverRulesCommand.ts index 74e27b1094844..bac3298d4aaa6 100644 --- a/clients/client-route53resolver/commands/ListResolverRulesCommand.ts +++ b/clients/client-route53resolver/commands/ListResolverRulesCommand.ts @@ -28,7 +28,6 @@ export class ListResolverRulesCommand extends $Command< ListResolverRulesCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResolverRulesCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts b/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts index cd0bcebb94e7f..ff84da43df6a2 100644 --- a/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts +++ b/clients/client-route53resolver/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/PutResolverQueryLogConfigPolicyCommand.ts b/clients/client-route53resolver/commands/PutResolverQueryLogConfigPolicyCommand.ts index caf8ae015b8a7..e47dc50bda1b9 100644 --- a/clients/client-route53resolver/commands/PutResolverQueryLogConfigPolicyCommand.ts +++ b/clients/client-route53resolver/commands/PutResolverQueryLogConfigPolicyCommand.ts @@ -29,7 +29,6 @@ export class PutResolverQueryLogConfigPolicyCommand extends $Command< PutResolverQueryLogConfigPolicyCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutResolverQueryLogConfigPolicyCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts b/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts index 0d37933995817..5f7e1d7c90eee 100644 --- a/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts +++ b/clients/client-route53resolver/commands/PutResolverRulePolicyCommand.ts @@ -29,7 +29,6 @@ export class PutResolverRulePolicyCommand extends $Command< PutResolverRulePolicyCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutResolverRulePolicyCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/TagResourceCommand.ts b/clients/client-route53resolver/commands/TagResourceCommand.ts index d01dd16b002d1..c12893761f55a 100644 --- a/clients/client-route53resolver/commands/TagResourceCommand.ts +++ b/clients/client-route53resolver/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/UntagResourceCommand.ts b/clients/client-route53resolver/commands/UntagResourceCommand.ts index 21c3834fb03d2..2cde8837d8fa1 100644 --- a/clients/client-route53resolver/commands/UntagResourceCommand.ts +++ b/clients/client-route53resolver/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts b/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts index 987c7524837a2..3084b0df3bb09 100644 --- a/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts +++ b/clients/client-route53resolver/commands/UpdateResolverEndpointCommand.ts @@ -28,7 +28,6 @@ export class UpdateResolverEndpointCommand extends $Command< UpdateResolverEndpointCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateResolverEndpointCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts b/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts index a388b5b94c904..6b53128b498fa 100644 --- a/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts +++ b/clients/client-route53resolver/commands/UpdateResolverRuleCommand.ts @@ -29,7 +29,6 @@ export class UpdateResolverRuleCommand extends $Command< UpdateResolverRuleCommandOutput, Route53ResolverClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateResolverRuleCommand extends $Command< configuration: Route53ResolverClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/CreateAccessPointCommand.ts b/clients/client-s3-control/commands/CreateAccessPointCommand.ts index 8547b8f20a030..de5423e617966 100644 --- a/clients/client-s3-control/commands/CreateAccessPointCommand.ts +++ b/clients/client-s3-control/commands/CreateAccessPointCommand.ts @@ -72,7 +72,6 @@ export class CreateAccessPointCommand extends $Command< CreateAccessPointCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,11 +89,8 @@ export class CreateAccessPointCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/CreateBucketCommand.ts b/clients/client-s3-control/commands/CreateBucketCommand.ts index a2e8320dd4895..315fed0329c9c 100644 --- a/clients/client-s3-control/commands/CreateBucketCommand.ts +++ b/clients/client-s3-control/commands/CreateBucketCommand.ts @@ -83,7 +83,6 @@ export class CreateBucketCommand extends $Command< CreateBucketCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -101,11 +100,8 @@ export class CreateBucketCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/CreateJobCommand.ts b/clients/client-s3-control/commands/CreateJobCommand.ts index 39cb65ed3d80c..de496b69a8418 100644 --- a/clients/client-s3-control/commands/CreateJobCommand.ts +++ b/clients/client-s3-control/commands/CreateJobCommand.ts @@ -54,7 +54,6 @@ export class CreateJobCommand extends $Command< CreateJobCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,11 +71,8 @@ export class CreateJobCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteAccessPointCommand.ts b/clients/client-s3-control/commands/DeleteAccessPointCommand.ts index 1010358c98bae..695abbf9e6187 100644 --- a/clients/client-s3-control/commands/DeleteAccessPointCommand.ts +++ b/clients/client-s3-control/commands/DeleteAccessPointCommand.ts @@ -49,7 +49,6 @@ export class DeleteAccessPointCommand extends $Command< DeleteAccessPointCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,11 +66,8 @@ export class DeleteAccessPointCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts b/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts index 3ee05d7319057..c460776646e7a 100644 --- a/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/commands/DeleteAccessPointPolicyCommand.ts @@ -44,7 +44,6 @@ export class DeleteAccessPointPolicyCommand extends $Command< DeleteAccessPointPolicyCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class DeleteAccessPointPolicyCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteBucketCommand.ts b/clients/client-s3-control/commands/DeleteBucketCommand.ts index ba10df2f38c7d..535363ebe00f2 100644 --- a/clients/client-s3-control/commands/DeleteBucketCommand.ts +++ b/clients/client-s3-control/commands/DeleteBucketCommand.ts @@ -57,7 +57,6 @@ export class DeleteBucketCommand extends $Command< DeleteBucketCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,11 +74,8 @@ export class DeleteBucketCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteBucketLifecycleConfigurationCommand.ts b/clients/client-s3-control/commands/DeleteBucketLifecycleConfigurationCommand.ts index d6259baa52b3b..a80f0872de735 100644 --- a/clients/client-s3-control/commands/DeleteBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3-control/commands/DeleteBucketLifecycleConfigurationCommand.ts @@ -58,7 +58,6 @@ export class DeleteBucketLifecycleConfigurationCommand extends $Command< DeleteBucketLifecycleConfigurationCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,11 +75,8 @@ export class DeleteBucketLifecycleConfigurationCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteBucketPolicyCommand.ts b/clients/client-s3-control/commands/DeleteBucketPolicyCommand.ts index d035ed3f0c775..61bda6aa14394 100644 --- a/clients/client-s3-control/commands/DeleteBucketPolicyCommand.ts +++ b/clients/client-s3-control/commands/DeleteBucketPolicyCommand.ts @@ -70,7 +70,6 @@ export class DeleteBucketPolicyCommand extends $Command< DeleteBucketPolicyCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,11 +87,8 @@ export class DeleteBucketPolicyCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteBucketTaggingCommand.ts b/clients/client-s3-control/commands/DeleteBucketTaggingCommand.ts index 3fd7c65436aa0..25643ec17d1b7 100644 --- a/clients/client-s3-control/commands/DeleteBucketTaggingCommand.ts +++ b/clients/client-s3-control/commands/DeleteBucketTaggingCommand.ts @@ -55,7 +55,6 @@ export class DeleteBucketTaggingCommand extends $Command< DeleteBucketTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class DeleteBucketTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteJobTaggingCommand.ts b/clients/client-s3-control/commands/DeleteJobTaggingCommand.ts index 09a1a51745009..8e1b6a264834f 100644 --- a/clients/client-s3-control/commands/DeleteJobTaggingCommand.ts +++ b/clients/client-s3-control/commands/DeleteJobTaggingCommand.ts @@ -51,7 +51,6 @@ export class DeleteJobTaggingCommand extends $Command< DeleteJobTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,11 +68,8 @@ export class DeleteJobTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts b/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts index 9d6636672b3f0..4a322b61afa10 100644 --- a/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts +++ b/clients/client-s3-control/commands/DeletePublicAccessBlockCommand.ts @@ -44,7 +44,6 @@ export class DeletePublicAccessBlockCommand extends $Command< DeletePublicAccessBlockCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class DeletePublicAccessBlockCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteStorageLensConfigurationCommand.ts b/clients/client-s3-control/commands/DeleteStorageLensConfigurationCommand.ts index 8e6ede0ab73bb..0e6179bc37472 100644 --- a/clients/client-s3-control/commands/DeleteStorageLensConfigurationCommand.ts +++ b/clients/client-s3-control/commands/DeleteStorageLensConfigurationCommand.ts @@ -37,7 +37,6 @@ export class DeleteStorageLensConfigurationCommand extends $Command< DeleteStorageLensConfigurationCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class DeleteStorageLensConfigurationCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DeleteStorageLensConfigurationTaggingCommand.ts b/clients/client-s3-control/commands/DeleteStorageLensConfigurationTaggingCommand.ts index 04499efc30f8e..593b4627c6bab 100644 --- a/clients/client-s3-control/commands/DeleteStorageLensConfigurationTaggingCommand.ts +++ b/clients/client-s3-control/commands/DeleteStorageLensConfigurationTaggingCommand.ts @@ -41,7 +41,6 @@ export class DeleteStorageLensConfigurationTaggingCommand extends $Command< DeleteStorageLensConfigurationTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,11 +58,8 @@ export class DeleteStorageLensConfigurationTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/DescribeJobCommand.ts b/clients/client-s3-control/commands/DescribeJobCommand.ts index f7581bf43d264..d1aa55797e6a4 100644 --- a/clients/client-s3-control/commands/DescribeJobCommand.ts +++ b/clients/client-s3-control/commands/DescribeJobCommand.ts @@ -55,7 +55,6 @@ export class DescribeJobCommand extends $Command< DescribeJobCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class DescribeJobCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetAccessPointCommand.ts b/clients/client-s3-control/commands/GetAccessPointCommand.ts index 204f92d544121..fa47cba07bd85 100644 --- a/clients/client-s3-control/commands/GetAccessPointCommand.ts +++ b/clients/client-s3-control/commands/GetAccessPointCommand.ts @@ -50,7 +50,6 @@ export class GetAccessPointCommand extends $Command< GetAccessPointCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,11 +67,8 @@ export class GetAccessPointCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts b/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts index ab263c5cf77dc..8a5bd553aa8af 100644 --- a/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/commands/GetAccessPointPolicyCommand.ts @@ -42,7 +42,6 @@ export class GetAccessPointPolicyCommand extends $Command< GetAccessPointPolicyCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,11 +59,8 @@ export class GetAccessPointPolicyCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts b/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts index a83b3088a2f82..8124df85c12a8 100644 --- a/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts +++ b/clients/client-s3-control/commands/GetAccessPointPolicyStatusCommand.ts @@ -29,7 +29,6 @@ export class GetAccessPointPolicyStatusCommand extends $Command< GetAccessPointPolicyStatusCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,11 +46,8 @@ export class GetAccessPointPolicyStatusCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetBucketCommand.ts b/clients/client-s3-control/commands/GetBucketCommand.ts index d2e79575ef2fe..d96ec68537e5b 100644 --- a/clients/client-s3-control/commands/GetBucketCommand.ts +++ b/clients/client-s3-control/commands/GetBucketCommand.ts @@ -53,7 +53,6 @@ export class GetBucketCommand extends $Command< GetBucketCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,11 +70,8 @@ export class GetBucketCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetBucketLifecycleConfigurationCommand.ts b/clients/client-s3-control/commands/GetBucketLifecycleConfigurationCommand.ts index 03a9be0571aa8..a212cf093adb0 100644 --- a/clients/client-s3-control/commands/GetBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3-control/commands/GetBucketLifecycleConfigurationCommand.ts @@ -79,7 +79,6 @@ export class GetBucketLifecycleConfigurationCommand extends $Command< GetBucketLifecycleConfigurationCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,11 +96,8 @@ export class GetBucketLifecycleConfigurationCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetBucketPolicyCommand.ts b/clients/client-s3-control/commands/GetBucketPolicyCommand.ts index 35015450d4a01..e16259e3019f1 100644 --- a/clients/client-s3-control/commands/GetBucketPolicyCommand.ts +++ b/clients/client-s3-control/commands/GetBucketPolicyCommand.ts @@ -69,7 +69,6 @@ export class GetBucketPolicyCommand extends $Command< GetBucketPolicyCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,11 +86,8 @@ export class GetBucketPolicyCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetBucketTaggingCommand.ts b/clients/client-s3-control/commands/GetBucketTaggingCommand.ts index c37bcd438368c..1df910420bc5b 100644 --- a/clients/client-s3-control/commands/GetBucketTaggingCommand.ts +++ b/clients/client-s3-control/commands/GetBucketTaggingCommand.ts @@ -67,7 +67,6 @@ export class GetBucketTaggingCommand extends $Command< GetBucketTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,11 +84,8 @@ export class GetBucketTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetJobTaggingCommand.ts b/clients/client-s3-control/commands/GetJobTaggingCommand.ts index 9b8720d0c37fe..21e6724762b9a 100644 --- a/clients/client-s3-control/commands/GetJobTaggingCommand.ts +++ b/clients/client-s3-control/commands/GetJobTaggingCommand.ts @@ -52,7 +52,6 @@ export class GetJobTaggingCommand extends $Command< GetJobTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,11 +69,8 @@ export class GetJobTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts b/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts index b0bedf112156b..aa6b0e1830300 100644 --- a/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts +++ b/clients/client-s3-control/commands/GetPublicAccessBlockCommand.ts @@ -44,7 +44,6 @@ export class GetPublicAccessBlockCommand extends $Command< GetPublicAccessBlockCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class GetPublicAccessBlockCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetStorageLensConfigurationCommand.ts b/clients/client-s3-control/commands/GetStorageLensConfigurationCommand.ts index bd8bf00255b49..87fca63d7747b 100644 --- a/clients/client-s3-control/commands/GetStorageLensConfigurationCommand.ts +++ b/clients/client-s3-control/commands/GetStorageLensConfigurationCommand.ts @@ -37,7 +37,6 @@ export class GetStorageLensConfigurationCommand extends $Command< GetStorageLensConfigurationCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class GetStorageLensConfigurationCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/GetStorageLensConfigurationTaggingCommand.ts b/clients/client-s3-control/commands/GetStorageLensConfigurationTaggingCommand.ts index e26ac3c492535..901a33ac2cc34 100644 --- a/clients/client-s3-control/commands/GetStorageLensConfigurationTaggingCommand.ts +++ b/clients/client-s3-control/commands/GetStorageLensConfigurationTaggingCommand.ts @@ -41,7 +41,6 @@ export class GetStorageLensConfigurationTaggingCommand extends $Command< GetStorageLensConfigurationTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,11 +58,8 @@ export class GetStorageLensConfigurationTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/ListAccessPointsCommand.ts b/clients/client-s3-control/commands/ListAccessPointsCommand.ts index a71d383ee595b..18170a3c0f47f 100644 --- a/clients/client-s3-control/commands/ListAccessPointsCommand.ts +++ b/clients/client-s3-control/commands/ListAccessPointsCommand.ts @@ -53,7 +53,6 @@ export class ListAccessPointsCommand extends $Command< ListAccessPointsCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,11 +70,8 @@ export class ListAccessPointsCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/ListJobsCommand.ts b/clients/client-s3-control/commands/ListJobsCommand.ts index ba651d879cb84..0e68f9c40e8ea 100644 --- a/clients/client-s3-control/commands/ListJobsCommand.ts +++ b/clients/client-s3-control/commands/ListJobsCommand.ts @@ -52,7 +52,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,11 +69,8 @@ export class ListJobsCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/ListRegionalBucketsCommand.ts b/clients/client-s3-control/commands/ListRegionalBucketsCommand.ts index b8911eb4a8aca..c4a8462c226fc 100644 --- a/clients/client-s3-control/commands/ListRegionalBucketsCommand.ts +++ b/clients/client-s3-control/commands/ListRegionalBucketsCommand.ts @@ -33,7 +33,6 @@ export class ListRegionalBucketsCommand extends $Command< ListRegionalBucketsCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class ListRegionalBucketsCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/ListStorageLensConfigurationsCommand.ts b/clients/client-s3-control/commands/ListStorageLensConfigurationsCommand.ts index d5afe4a66148c..b5dd6842151db 100644 --- a/clients/client-s3-control/commands/ListStorageLensConfigurationsCommand.ts +++ b/clients/client-s3-control/commands/ListStorageLensConfigurationsCommand.ts @@ -37,7 +37,6 @@ export class ListStorageLensConfigurationsCommand extends $Command< ListStorageLensConfigurationsCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class ListStorageLensConfigurationsCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts b/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts index 9201a3a2671bd..a2d6935d90915 100644 --- a/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts +++ b/clients/client-s3-control/commands/PutAccessPointPolicyCommand.ts @@ -45,7 +45,6 @@ export class PutAccessPointPolicyCommand extends $Command< PutAccessPointPolicyCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,11 +62,8 @@ export class PutAccessPointPolicyCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutBucketLifecycleConfigurationCommand.ts b/clients/client-s3-control/commands/PutBucketLifecycleConfigurationCommand.ts index 29c874857f530..7737e12cdf2ec 100644 --- a/clients/client-s3-control/commands/PutBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3-control/commands/PutBucketLifecycleConfigurationCommand.ts @@ -51,7 +51,6 @@ export class PutBucketLifecycleConfigurationCommand extends $Command< PutBucketLifecycleConfigurationCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,11 +68,8 @@ export class PutBucketLifecycleConfigurationCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutBucketPolicyCommand.ts b/clients/client-s3-control/commands/PutBucketPolicyCommand.ts index a00bd0d98a1d0..4808b11a82e12 100644 --- a/clients/client-s3-control/commands/PutBucketPolicyCommand.ts +++ b/clients/client-s3-control/commands/PutBucketPolicyCommand.ts @@ -67,7 +67,6 @@ export class PutBucketPolicyCommand extends $Command< PutBucketPolicyCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,11 +84,8 @@ export class PutBucketPolicyCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutBucketTaggingCommand.ts b/clients/client-s3-control/commands/PutBucketTaggingCommand.ts index 3dce33c3d5cae..76b0580eeb9e5 100644 --- a/clients/client-s3-control/commands/PutBucketTaggingCommand.ts +++ b/clients/client-s3-control/commands/PutBucketTaggingCommand.ts @@ -111,7 +111,6 @@ export class PutBucketTaggingCommand extends $Command< PutBucketTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -129,11 +128,8 @@ export class PutBucketTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutJobTaggingCommand.ts b/clients/client-s3-control/commands/PutJobTaggingCommand.ts index 0f31d92e2c97a..cf7770666a686 100644 --- a/clients/client-s3-control/commands/PutJobTaggingCommand.ts +++ b/clients/client-s3-control/commands/PutJobTaggingCommand.ts @@ -92,7 +92,6 @@ export class PutJobTaggingCommand extends $Command< PutJobTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -110,11 +109,8 @@ export class PutJobTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts b/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts index 2df02624d2a7b..04618f55f0378 100644 --- a/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts +++ b/clients/client-s3-control/commands/PutPublicAccessBlockCommand.ts @@ -44,7 +44,6 @@ export class PutPublicAccessBlockCommand extends $Command< PutPublicAccessBlockCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class PutPublicAccessBlockCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutStorageLensConfigurationCommand.ts b/clients/client-s3-control/commands/PutStorageLensConfigurationCommand.ts index f77728c9b2801..270d03b4c8f22 100644 --- a/clients/client-s3-control/commands/PutStorageLensConfigurationCommand.ts +++ b/clients/client-s3-control/commands/PutStorageLensConfigurationCommand.ts @@ -36,7 +36,6 @@ export class PutStorageLensConfigurationCommand extends $Command< PutStorageLensConfigurationCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,11 +53,8 @@ export class PutStorageLensConfigurationCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/PutStorageLensConfigurationTaggingCommand.ts b/clients/client-s3-control/commands/PutStorageLensConfigurationTaggingCommand.ts index b3807639b7346..a9a5c3be40cbb 100644 --- a/clients/client-s3-control/commands/PutStorageLensConfigurationTaggingCommand.ts +++ b/clients/client-s3-control/commands/PutStorageLensConfigurationTaggingCommand.ts @@ -41,7 +41,6 @@ export class PutStorageLensConfigurationTaggingCommand extends $Command< PutStorageLensConfigurationTaggingCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,11 +58,8 @@ export class PutStorageLensConfigurationTaggingCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts b/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts index aa9965cabc775..1b32cbcc4079b 100644 --- a/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts +++ b/clients/client-s3-control/commands/UpdateJobPriorityCommand.ts @@ -54,7 +54,6 @@ export class UpdateJobPriorityCommand extends $Command< UpdateJobPriorityCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,11 +71,8 @@ export class UpdateJobPriorityCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3-control/commands/UpdateJobStatusCommand.ts b/clients/client-s3-control/commands/UpdateJobStatusCommand.ts index a1d2e7b78b3c2..bc75536ec567e 100644 --- a/clients/client-s3-control/commands/UpdateJobStatusCommand.ts +++ b/clients/client-s3-control/commands/UpdateJobStatusCommand.ts @@ -55,7 +55,6 @@ export class UpdateJobStatusCommand extends $Command< UpdateJobStatusCommandOutput, S3ControlClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class UpdateJobStatusCommand extends $Command< configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getProcessArnablesPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getProcessArnablesPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/AbortMultipartUploadCommand.ts b/clients/client-s3/commands/AbortMultipartUploadCommand.ts index 5a1d2feefe521..f5fc9055bc76d 100644 --- a/clients/client-s3/commands/AbortMultipartUploadCommand.ts +++ b/clients/client-s3/commands/AbortMultipartUploadCommand.ts @@ -67,7 +67,6 @@ export class AbortMultipartUploadCommand extends $Command< AbortMultipartUploadCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,11 +84,8 @@ export class AbortMultipartUploadCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/CompleteMultipartUploadCommand.ts b/clients/client-s3/commands/CompleteMultipartUploadCommand.ts index 2fa665f772c1e..52d537ec86784 100644 --- a/clients/client-s3/commands/CompleteMultipartUploadCommand.ts +++ b/clients/client-s3/commands/CompleteMultipartUploadCommand.ts @@ -139,7 +139,6 @@ export class CompleteMultipartUploadCommand extends $Command< CompleteMultipartUploadCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -157,12 +156,9 @@ export class CompleteMultipartUploadCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/CopyObjectCommand.ts b/clients/client-s3/commands/CopyObjectCommand.ts index 8423cc959965d..e5db0406813f5 100644 --- a/clients/client-s3/commands/CopyObjectCommand.ts +++ b/clients/client-s3/commands/CopyObjectCommand.ts @@ -196,7 +196,6 @@ export class CopyObjectCommand extends $Command< CopyObjectCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -214,13 +213,10 @@ export class CopyObjectCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/CreateBucketCommand.ts b/clients/client-s3/commands/CreateBucketCommand.ts index 43c99ddeebffa..5f2613516691c 100644 --- a/clients/client-s3/commands/CreateBucketCommand.ts +++ b/clients/client-s3/commands/CreateBucketCommand.ts @@ -140,7 +140,6 @@ export class CreateBucketCommand extends $Command< CreateBucketCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -158,11 +157,8 @@ export class CreateBucketCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getLocationConstraintPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getLocationConstraintPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/CreateMultipartUploadCommand.ts b/clients/client-s3/commands/CreateMultipartUploadCommand.ts index 7535751eefa15..d753752050912 100644 --- a/clients/client-s3/commands/CreateMultipartUploadCommand.ts +++ b/clients/client-s3/commands/CreateMultipartUploadCommand.ts @@ -291,7 +291,6 @@ export class CreateMultipartUploadCommand extends $Command< CreateMultipartUploadCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -309,12 +308,9 @@ export class CreateMultipartUploadCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts index 4aa8c80b80751..4d2157c60db93 100644 --- a/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketAnalyticsConfigurationCommand.ts @@ -58,7 +58,6 @@ export class DeleteBucketAnalyticsConfigurationCommand extends $Command< DeleteBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,11 +75,8 @@ export class DeleteBucketAnalyticsConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketCommand.ts b/clients/client-s3/commands/DeleteBucketCommand.ts index b1284caa7bd98..9552a3bdd7b4a 100644 --- a/clients/client-s3/commands/DeleteBucketCommand.ts +++ b/clients/client-s3/commands/DeleteBucketCommand.ts @@ -45,7 +45,6 @@ export class DeleteBucketCommand extends $Command< DeleteBucketCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DeleteBucketCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketCorsCommand.ts b/clients/client-s3/commands/DeleteBucketCorsCommand.ts index f43e530a8ba67..70062bba477a5 100644 --- a/clients/client-s3/commands/DeleteBucketCorsCommand.ts +++ b/clients/client-s3/commands/DeleteBucketCorsCommand.ts @@ -50,7 +50,6 @@ export class DeleteBucketCorsCommand extends $Command< DeleteBucketCorsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,11 +67,8 @@ export class DeleteBucketCorsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts b/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts index e2cf5ef9c803b..e4b5198e2cf40 100644 --- a/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts +++ b/clients/client-s3/commands/DeleteBucketEncryptionCommand.ts @@ -52,7 +52,6 @@ export class DeleteBucketEncryptionCommand extends $Command< DeleteBucketEncryptionCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,11 +69,8 @@ export class DeleteBucketEncryptionCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts index 1d6d9d9042dad..7429f07283898 100644 --- a/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts @@ -51,7 +51,6 @@ export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command DeleteBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,11 +71,8 @@ export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command DeleteBucketIntelligentTieringConfigurationCommandInput, DeleteBucketIntelligentTieringConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts index 8b08b0b30f981..e8396f53ca5f8 100644 --- a/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketInventoryConfigurationCommand.ts @@ -54,7 +54,6 @@ export class DeleteBucketInventoryConfigurationCommand extends $Command< DeleteBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,11 +71,8 @@ export class DeleteBucketInventoryConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts b/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts index d19c04551a007..e8ece791a9b13 100644 --- a/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts +++ b/clients/client-s3/commands/DeleteBucketLifecycleCommand.ts @@ -54,7 +54,6 @@ export class DeleteBucketLifecycleCommand extends $Command< DeleteBucketLifecycleCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,11 +71,8 @@ export class DeleteBucketLifecycleCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts b/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts index e8d02692bdd59..ad393c36373cf 100644 --- a/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketMetricsConfigurationCommand.ts @@ -64,7 +64,6 @@ export class DeleteBucketMetricsConfigurationCommand extends $Command< DeleteBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,11 +81,8 @@ export class DeleteBucketMetricsConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketOwnershipControlsCommand.ts b/clients/client-s3/commands/DeleteBucketOwnershipControlsCommand.ts index 07fabf79949a9..026a2e33a64d7 100644 --- a/clients/client-s3/commands/DeleteBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/commands/DeleteBucketOwnershipControlsCommand.ts @@ -47,7 +47,6 @@ export class DeleteBucketOwnershipControlsCommand extends $Command< DeleteBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,11 +64,8 @@ export class DeleteBucketOwnershipControlsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketPolicyCommand.ts b/clients/client-s3/commands/DeleteBucketPolicyCommand.ts index d947fabf7c695..3e1bb67db7c54 100644 --- a/clients/client-s3/commands/DeleteBucketPolicyCommand.ts +++ b/clients/client-s3/commands/DeleteBucketPolicyCommand.ts @@ -62,7 +62,6 @@ export class DeleteBucketPolicyCommand extends $Command< DeleteBucketPolicyCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,11 +79,8 @@ export class DeleteBucketPolicyCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketReplicationCommand.ts b/clients/client-s3/commands/DeleteBucketReplicationCommand.ts index 8e76bed1e3963..0bb958cd4e443 100644 --- a/clients/client-s3/commands/DeleteBucketReplicationCommand.ts +++ b/clients/client-s3/commands/DeleteBucketReplicationCommand.ts @@ -55,7 +55,6 @@ export class DeleteBucketReplicationCommand extends $Command< DeleteBucketReplicationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class DeleteBucketReplicationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketTaggingCommand.ts b/clients/client-s3/commands/DeleteBucketTaggingCommand.ts index dc1c907712e6a..6b2faf0305248 100644 --- a/clients/client-s3/commands/DeleteBucketTaggingCommand.ts +++ b/clients/client-s3/commands/DeleteBucketTaggingCommand.ts @@ -46,7 +46,6 @@ export class DeleteBucketTaggingCommand extends $Command< DeleteBucketTaggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,11 +63,8 @@ export class DeleteBucketTaggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts b/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts index 85c503e8667a6..611fb31faa3a9 100644 --- a/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts +++ b/clients/client-s3/commands/DeleteBucketWebsiteCommand.ts @@ -55,7 +55,6 @@ export class DeleteBucketWebsiteCommand extends $Command< DeleteBucketWebsiteCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class DeleteBucketWebsiteCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteObjectCommand.ts b/clients/client-s3/commands/DeleteObjectCommand.ts index be5d4a29e19c3..8dce04798d593 100644 --- a/clients/client-s3/commands/DeleteObjectCommand.ts +++ b/clients/client-s3/commands/DeleteObjectCommand.ts @@ -59,7 +59,6 @@ export class DeleteObjectCommand extends $Command< DeleteObjectCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,11 +76,8 @@ export class DeleteObjectCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteObjectTaggingCommand.ts b/clients/client-s3/commands/DeleteObjectTaggingCommand.ts index 0dc923f5b8242..4205a081e7969 100644 --- a/clients/client-s3/commands/DeleteObjectTaggingCommand.ts +++ b/clients/client-s3/commands/DeleteObjectTaggingCommand.ts @@ -53,7 +53,6 @@ export class DeleteObjectTaggingCommand extends $Command< DeleteObjectTaggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,11 +70,8 @@ export class DeleteObjectTaggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeleteObjectsCommand.ts b/clients/client-s3/commands/DeleteObjectsCommand.ts index 9614cdfb1eaa8..d1af63328fb85 100644 --- a/clients/client-s3/commands/DeleteObjectsCommand.ts +++ b/clients/client-s3/commands/DeleteObjectsCommand.ts @@ -86,7 +86,6 @@ export class DeleteObjectsCommand extends $Command< DeleteObjectsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,12 +103,9 @@ export class DeleteObjectsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts b/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts index e3889129a8ed6..1cbd8145d31d4 100644 --- a/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts +++ b/clients/client-s3/commands/DeletePublicAccessBlockCommand.ts @@ -57,7 +57,6 @@ export class DeletePublicAccessBlockCommand extends $Command< DeletePublicAccessBlockCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,11 +74,8 @@ export class DeletePublicAccessBlockCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts b/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts index 84733e6d97353..716561f86b38a 100644 --- a/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketAccelerateConfigurationCommand.ts @@ -55,7 +55,6 @@ export class GetBucketAccelerateConfigurationCommand extends $Command< GetBucketAccelerateConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class GetBucketAccelerateConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketAclCommand.ts b/clients/client-s3/commands/GetBucketAclCommand.ts index 5630addb11af7..cf844ec9f5324 100644 --- a/clients/client-s3/commands/GetBucketAclCommand.ts +++ b/clients/client-s3/commands/GetBucketAclCommand.ts @@ -44,7 +44,6 @@ export class GetBucketAclCommand extends $Command< GetBucketAclCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class GetBucketAclCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts index fd0ef9618b00c..3019a1c25488b 100644 --- a/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketAnalyticsConfigurationCommand.ts @@ -58,7 +58,6 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command< GetBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,11 +75,8 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketCorsCommand.ts b/clients/client-s3/commands/GetBucketCorsCommand.ts index 936b63bda9f45..6fc2235d6a7c5 100644 --- a/clients/client-s3/commands/GetBucketCorsCommand.ts +++ b/clients/client-s3/commands/GetBucketCorsCommand.ts @@ -49,7 +49,6 @@ export class GetBucketCorsCommand extends $Command< GetBucketCorsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,11 +66,8 @@ export class GetBucketCorsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketEncryptionCommand.ts b/clients/client-s3/commands/GetBucketEncryptionCommand.ts index d92546e0abc23..1fc50a890ed6c 100644 --- a/clients/client-s3/commands/GetBucketEncryptionCommand.ts +++ b/clients/client-s3/commands/GetBucketEncryptionCommand.ts @@ -49,7 +49,6 @@ export class GetBucketEncryptionCommand extends $Command< GetBucketEncryptionCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,11 +66,8 @@ export class GetBucketEncryptionCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts index 367451dc56721..d010b69aa7683 100644 --- a/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketIntelligentTieringConfigurationCommand.ts @@ -55,7 +55,6 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command< GetBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,11 +75,8 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command< GetBucketIntelligentTieringConfigurationCommandInput, GetBucketIntelligentTieringConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts b/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts index bcc8a18a29d9a..a01adfa192703 100644 --- a/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketInventoryConfigurationCommand.ts @@ -58,7 +58,6 @@ export class GetBucketInventoryConfigurationCommand extends $Command< GetBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,11 +75,8 @@ export class GetBucketInventoryConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts b/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts index 2340425500ab8..aa4c58b9834d1 100644 --- a/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketLifecycleConfigurationCommand.ts @@ -84,7 +84,6 @@ export class GetBucketLifecycleConfigurationCommand extends $Command< GetBucketLifecycleConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -102,11 +101,8 @@ export class GetBucketLifecycleConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketLocationCommand.ts b/clients/client-s3/commands/GetBucketLocationCommand.ts index ac8631ed16e98..4e7131f0fb909 100644 --- a/clients/client-s3/commands/GetBucketLocationCommand.ts +++ b/clients/client-s3/commands/GetBucketLocationCommand.ts @@ -47,7 +47,6 @@ export class GetBucketLocationCommand extends $Command< GetBucketLocationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,11 +64,8 @@ export class GetBucketLocationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketLoggingCommand.ts b/clients/client-s3/commands/GetBucketLoggingCommand.ts index 3135420e52867..a21706ac3aa38 100644 --- a/clients/client-s3/commands/GetBucketLoggingCommand.ts +++ b/clients/client-s3/commands/GetBucketLoggingCommand.ts @@ -44,7 +44,6 @@ export class GetBucketLoggingCommand extends $Command< GetBucketLoggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,11 +61,8 @@ export class GetBucketLoggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts b/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts index 954df605a38bd..089ece91bd23d 100644 --- a/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketMetricsConfigurationCommand.ts @@ -65,7 +65,6 @@ export class GetBucketMetricsConfigurationCommand extends $Command< GetBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,11 +82,8 @@ export class GetBucketMetricsConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts b/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts index a715c8e68a94a..afc789157dabd 100644 --- a/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts +++ b/clients/client-s3/commands/GetBucketNotificationConfigurationCommand.ts @@ -49,7 +49,6 @@ export class GetBucketNotificationConfigurationCommand extends $Command< GetBucketNotificationConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,11 +66,8 @@ export class GetBucketNotificationConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketOwnershipControlsCommand.ts b/clients/client-s3/commands/GetBucketOwnershipControlsCommand.ts index 4c9651e41df4b..020e06eaf0448 100644 --- a/clients/client-s3/commands/GetBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/commands/GetBucketOwnershipControlsCommand.ts @@ -46,7 +46,6 @@ export class GetBucketOwnershipControlsCommand extends $Command< GetBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,11 +63,8 @@ export class GetBucketOwnershipControlsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketPolicyCommand.ts b/clients/client-s3/commands/GetBucketPolicyCommand.ts index b2377d5d76d9f..c32da48983bc0 100644 --- a/clients/client-s3/commands/GetBucketPolicyCommand.ts +++ b/clients/client-s3/commands/GetBucketPolicyCommand.ts @@ -55,7 +55,6 @@ export class GetBucketPolicyCommand extends $Command< GetBucketPolicyCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class GetBucketPolicyCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts b/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts index c86b2d2d2f0e1..e2f1470900e24 100644 --- a/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts +++ b/clients/client-s3/commands/GetBucketPolicyStatusCommand.ts @@ -59,7 +59,6 @@ export class GetBucketPolicyStatusCommand extends $Command< GetBucketPolicyStatusCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,11 +76,8 @@ export class GetBucketPolicyStatusCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketReplicationCommand.ts b/clients/client-s3/commands/GetBucketReplicationCommand.ts index b3116fe1d5041..ad10fad505659 100644 --- a/clients/client-s3/commands/GetBucketReplicationCommand.ts +++ b/clients/client-s3/commands/GetBucketReplicationCommand.ts @@ -63,7 +63,6 @@ export class GetBucketReplicationCommand extends $Command< GetBucketReplicationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,11 +80,8 @@ export class GetBucketReplicationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts b/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts index d7a033d9f4feb..4db6a54a07c7c 100644 --- a/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts +++ b/clients/client-s3/commands/GetBucketRequestPaymentCommand.ts @@ -39,7 +39,6 @@ export class GetBucketRequestPaymentCommand extends $Command< GetBucketRequestPaymentCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,11 +56,8 @@ export class GetBucketRequestPaymentCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketTaggingCommand.ts b/clients/client-s3/commands/GetBucketTaggingCommand.ts index 80302cdad24e1..e1f4a01164a61 100644 --- a/clients/client-s3/commands/GetBucketTaggingCommand.ts +++ b/clients/client-s3/commands/GetBucketTaggingCommand.ts @@ -60,7 +60,6 @@ export class GetBucketTaggingCommand extends $Command< GetBucketTaggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,11 +77,8 @@ export class GetBucketTaggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketVersioningCommand.ts b/clients/client-s3/commands/GetBucketVersioningCommand.ts index 70ea03c6fbdcc..701fe52f0f351 100644 --- a/clients/client-s3/commands/GetBucketVersioningCommand.ts +++ b/clients/client-s3/commands/GetBucketVersioningCommand.ts @@ -53,7 +53,6 @@ export class GetBucketVersioningCommand extends $Command< GetBucketVersioningCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,11 +70,8 @@ export class GetBucketVersioningCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetBucketWebsiteCommand.ts b/clients/client-s3/commands/GetBucketWebsiteCommand.ts index b20c1eb24e45c..28ba48af50785 100644 --- a/clients/client-s3/commands/GetBucketWebsiteCommand.ts +++ b/clients/client-s3/commands/GetBucketWebsiteCommand.ts @@ -49,7 +49,6 @@ export class GetBucketWebsiteCommand extends $Command< GetBucketWebsiteCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,11 +66,8 @@ export class GetBucketWebsiteCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectAclCommand.ts b/clients/client-s3/commands/GetObjectAclCommand.ts index 99ab0cb81cac9..08fe5e8464050 100644 --- a/clients/client-s3/commands/GetObjectAclCommand.ts +++ b/clients/client-s3/commands/GetObjectAclCommand.ts @@ -55,7 +55,6 @@ export class GetObjectAclCommand extends $Command< GetObjectAclCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,11 +72,8 @@ export class GetObjectAclCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectCommand.ts b/clients/client-s3/commands/GetObjectCommand.ts index 776e595458f3f..534e74e5f968e 100644 --- a/clients/client-s3/commands/GetObjectCommand.ts +++ b/clients/client-s3/commands/GetObjectCommand.ts @@ -196,7 +196,6 @@ export type GetObjectCommandOutput = GetObjectOutput & __MetadataBearer; * */ export class GetObjectCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -214,12 +213,9 @@ export class GetObjectCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectLegalHoldCommand.ts b/clients/client-s3/commands/GetObjectLegalHoldCommand.ts index 73a74cfb27eb9..42d1d88e953c7 100644 --- a/clients/client-s3/commands/GetObjectLegalHoldCommand.ts +++ b/clients/client-s3/commands/GetObjectLegalHoldCommand.ts @@ -30,7 +30,6 @@ export class GetObjectLegalHoldCommand extends $Command< GetObjectLegalHoldCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class GetObjectLegalHoldCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts b/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts index 46a79b3ff9512..a2e3746d4f18c 100644 --- a/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts +++ b/clients/client-s3/commands/GetObjectLockConfigurationCommand.ts @@ -32,7 +32,6 @@ export class GetObjectLockConfigurationCommand extends $Command< GetObjectLockConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,11 +49,8 @@ export class GetObjectLockConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectRetentionCommand.ts b/clients/client-s3/commands/GetObjectRetentionCommand.ts index 3467244221dd1..bec04a7219bc7 100644 --- a/clients/client-s3/commands/GetObjectRetentionCommand.ts +++ b/clients/client-s3/commands/GetObjectRetentionCommand.ts @@ -30,7 +30,6 @@ export class GetObjectRetentionCommand extends $Command< GetObjectRetentionCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,11 +47,8 @@ export class GetObjectRetentionCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectTaggingCommand.ts b/clients/client-s3/commands/GetObjectTaggingCommand.ts index 1a7b75ca82c1f..f9efa1573f17e 100644 --- a/clients/client-s3/commands/GetObjectTaggingCommand.ts +++ b/clients/client-s3/commands/GetObjectTaggingCommand.ts @@ -51,7 +51,6 @@ export class GetObjectTaggingCommand extends $Command< GetObjectTaggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,11 +68,8 @@ export class GetObjectTaggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetObjectTorrentCommand.ts b/clients/client-s3/commands/GetObjectTorrentCommand.ts index 7a4ef7a9e384c..ac39eb8275700 100644 --- a/clients/client-s3/commands/GetObjectTorrentCommand.ts +++ b/clients/client-s3/commands/GetObjectTorrentCommand.ts @@ -45,7 +45,6 @@ export class GetObjectTorrentCommand extends $Command< GetObjectTorrentCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,11 +62,8 @@ export class GetObjectTorrentCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/GetPublicAccessBlockCommand.ts b/clients/client-s3/commands/GetPublicAccessBlockCommand.ts index 6c599bf448c12..1c8fdce15225b 100644 --- a/clients/client-s3/commands/GetPublicAccessBlockCommand.ts +++ b/clients/client-s3/commands/GetPublicAccessBlockCommand.ts @@ -68,7 +68,6 @@ export class GetPublicAccessBlockCommand extends $Command< GetPublicAccessBlockCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,11 +85,8 @@ export class GetPublicAccessBlockCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/HeadBucketCommand.ts b/clients/client-s3/commands/HeadBucketCommand.ts index 18b63e218be95..cf98ec97b25d2 100644 --- a/clients/client-s3/commands/HeadBucketCommand.ts +++ b/clients/client-s3/commands/HeadBucketCommand.ts @@ -37,7 +37,6 @@ export class HeadBucketCommand extends $Command< HeadBucketCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,11 +54,8 @@ export class HeadBucketCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/HeadObjectCommand.ts b/clients/client-s3/commands/HeadObjectCommand.ts index 1452d543eddab..6c71527e903a9 100644 --- a/clients/client-s3/commands/HeadObjectCommand.ts +++ b/clients/client-s3/commands/HeadObjectCommand.ts @@ -136,7 +136,6 @@ export class HeadObjectCommand extends $Command< HeadObjectCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -154,12 +153,9 @@ export class HeadObjectCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts index b9eaec85cb1ee..477753f2afdac 100644 --- a/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketAnalyticsConfigurationsCommand.ts @@ -68,7 +68,6 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command< ListBucketAnalyticsConfigurationsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,11 +85,8 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts index 9d02180a23bbe..b8d460d8c0e92 100644 --- a/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketIntelligentTieringConfigurationsCommand.ts @@ -55,7 +55,6 @@ export class ListBucketIntelligentTieringConfigurationsCommand extends $Command< ListBucketIntelligentTieringConfigurationsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,11 +75,8 @@ export class ListBucketIntelligentTieringConfigurationsCommand extends $Command< ListBucketIntelligentTieringConfigurationsCommandInput, ListBucketIntelligentTieringConfigurationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts index f9e2cdf023c2b..0adc8057ff381 100644 --- a/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketInventoryConfigurationsCommand.ts @@ -67,7 +67,6 @@ export class ListBucketInventoryConfigurationsCommand extends $Command< ListBucketInventoryConfigurationsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,11 +84,8 @@ export class ListBucketInventoryConfigurationsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts b/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts index a2eee5e524cfd..d4ae3ef9bde6e 100644 --- a/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts +++ b/clients/client-s3/commands/ListBucketMetricsConfigurationsCommand.ts @@ -69,7 +69,6 @@ export class ListBucketMetricsConfigurationsCommand extends $Command< ListBucketMetricsConfigurationsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,11 +86,8 @@ export class ListBucketMetricsConfigurationsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListBucketsCommand.ts b/clients/client-s3/commands/ListBucketsCommand.ts index ba41aa5a64645..c516180616d0e 100644 --- a/clients/client-s3/commands/ListBucketsCommand.ts +++ b/clients/client-s3/commands/ListBucketsCommand.ts @@ -28,7 +28,6 @@ export class ListBucketsCommand extends $Command< ListBucketsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBucketsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListMultipartUploadsCommand.ts b/clients/client-s3/commands/ListMultipartUploadsCommand.ts index 9a3f0235b48d8..719002821847e 100644 --- a/clients/client-s3/commands/ListMultipartUploadsCommand.ts +++ b/clients/client-s3/commands/ListMultipartUploadsCommand.ts @@ -79,7 +79,6 @@ export class ListMultipartUploadsCommand extends $Command< ListMultipartUploadsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,11 +96,8 @@ export class ListMultipartUploadsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListObjectVersionsCommand.ts b/clients/client-s3/commands/ListObjectVersionsCommand.ts index cfa18a0f575ec..429b0104a99aa 100644 --- a/clients/client-s3/commands/ListObjectVersionsCommand.ts +++ b/clients/client-s3/commands/ListObjectVersionsCommand.ts @@ -61,7 +61,6 @@ export class ListObjectVersionsCommand extends $Command< ListObjectVersionsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,11 +78,8 @@ export class ListObjectVersionsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListObjectsCommand.ts b/clients/client-s3/commands/ListObjectsCommand.ts index 33d951c700378..e7c5101c72fd1 100644 --- a/clients/client-s3/commands/ListObjectsCommand.ts +++ b/clients/client-s3/commands/ListObjectsCommand.ts @@ -66,7 +66,6 @@ export class ListObjectsCommand extends $Command< ListObjectsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,11 +83,8 @@ export class ListObjectsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListObjectsV2Command.ts b/clients/client-s3/commands/ListObjectsV2Command.ts index b56ab2d14f776..40f13cdd01353 100644 --- a/clients/client-s3/commands/ListObjectsV2Command.ts +++ b/clients/client-s3/commands/ListObjectsV2Command.ts @@ -66,7 +66,6 @@ export class ListObjectsV2Command extends $Command< ListObjectsV2CommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,11 +83,8 @@ export class ListObjectsV2Command extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/ListPartsCommand.ts b/clients/client-s3/commands/ListPartsCommand.ts index aad5b5b6d06f3..1cf938999a6dc 100644 --- a/clients/client-s3/commands/ListPartsCommand.ts +++ b/clients/client-s3/commands/ListPartsCommand.ts @@ -66,7 +66,6 @@ export type ListPartsCommandOutput = ListPartsOutput & __MetadataBearer; * */ export class ListPartsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,11 +83,8 @@ export class ListPartsCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts b/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts index 7123615e45708..344c2bcae4192 100644 --- a/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketAccelerateConfigurationCommand.ts @@ -74,7 +74,6 @@ export class PutBucketAccelerateConfigurationCommand extends $Command< PutBucketAccelerateConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,11 +91,8 @@ export class PutBucketAccelerateConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketAclCommand.ts b/clients/client-s3/commands/PutBucketAclCommand.ts index b1889690facd9..b148a89577e34 100644 --- a/clients/client-s3/commands/PutBucketAclCommand.ts +++ b/clients/client-s3/commands/PutBucketAclCommand.ts @@ -219,7 +219,6 @@ export class PutBucketAclCommand extends $Command< PutBucketAclCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -237,11 +236,8 @@ export class PutBucketAclCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts index afd2c4a49ae43..f3a888da98897 100644 --- a/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketAnalyticsConfigurationCommand.ts @@ -144,7 +144,6 @@ export class PutBucketAnalyticsConfigurationCommand extends $Command< PutBucketAnalyticsConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -162,11 +161,8 @@ export class PutBucketAnalyticsConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketCorsCommand.ts b/clients/client-s3/commands/PutBucketCorsCommand.ts index ac90d36252a14..74f65d0196a6c 100644 --- a/clients/client-s3/commands/PutBucketCorsCommand.ts +++ b/clients/client-s3/commands/PutBucketCorsCommand.ts @@ -86,7 +86,6 @@ export class PutBucketCorsCommand extends $Command< PutBucketCorsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,12 +103,9 @@ export class PutBucketCorsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketEncryptionCommand.ts b/clients/client-s3/commands/PutBucketEncryptionCommand.ts index 79c826b6d2831..55b1b699c3461 100644 --- a/clients/client-s3/commands/PutBucketEncryptionCommand.ts +++ b/clients/client-s3/commands/PutBucketEncryptionCommand.ts @@ -61,7 +61,6 @@ export class PutBucketEncryptionCommand extends $Command< PutBucketEncryptionCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,11 +78,8 @@ export class PutBucketEncryptionCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts index 86600a3110da3..891dc4c5b553c 100644 --- a/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketIntelligentTieringConfigurationCommand.ts @@ -51,7 +51,6 @@ export class PutBucketIntelligentTieringConfigurationCommand extends $Command< PutBucketIntelligentTieringConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,11 +71,8 @@ export class PutBucketIntelligentTieringConfigurationCommand extends $Command< PutBucketIntelligentTieringConfigurationCommandInput, PutBucketIntelligentTieringConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts b/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts index ac1ad304380aa..dd096fceaac08 100644 --- a/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketInventoryConfigurationCommand.ts @@ -129,7 +129,6 @@ export class PutBucketInventoryConfigurationCommand extends $Command< PutBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -147,11 +146,8 @@ export class PutBucketInventoryConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts b/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts index aa08855c3eb02..a8523684ab71a 100644 --- a/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketLifecycleConfigurationCommand.ts @@ -123,7 +123,6 @@ export class PutBucketLifecycleConfigurationCommand extends $Command< PutBucketLifecycleConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -141,12 +140,9 @@ export class PutBucketLifecycleConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketLoggingCommand.ts b/clients/client-s3/commands/PutBucketLoggingCommand.ts index f92e7cfbbc89b..95df0c2049d48 100644 --- a/clients/client-s3/commands/PutBucketLoggingCommand.ts +++ b/clients/client-s3/commands/PutBucketLoggingCommand.ts @@ -108,7 +108,6 @@ export class PutBucketLoggingCommand extends $Command< PutBucketLoggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -126,11 +125,8 @@ export class PutBucketLoggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts b/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts index 97752c4f6a773..4902a7acdab33 100644 --- a/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketMetricsConfigurationCommand.ts @@ -84,7 +84,6 @@ export class PutBucketMetricsConfigurationCommand extends $Command< PutBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -102,11 +101,8 @@ export class PutBucketMetricsConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts b/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts index afb1a1acebf04..8e160e5ca6831 100644 --- a/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts +++ b/clients/client-s3/commands/PutBucketNotificationConfigurationCommand.ts @@ -90,7 +90,6 @@ export class PutBucketNotificationConfigurationCommand extends $Command< PutBucketNotificationConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -108,11 +107,8 @@ export class PutBucketNotificationConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketOwnershipControlsCommand.ts b/clients/client-s3/commands/PutBucketOwnershipControlsCommand.ts index 3ce8bb1d96e6b..a4b7c3e7b5a74 100644 --- a/clients/client-s3/commands/PutBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/commands/PutBucketOwnershipControlsCommand.ts @@ -45,7 +45,6 @@ export class PutBucketOwnershipControlsCommand extends $Command< PutBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,11 +62,8 @@ export class PutBucketOwnershipControlsCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketPolicyCommand.ts b/clients/client-s3/commands/PutBucketPolicyCommand.ts index 6e73f6de4dbe2..09ffc85726933 100644 --- a/clients/client-s3/commands/PutBucketPolicyCommand.ts +++ b/clients/client-s3/commands/PutBucketPolicyCommand.ts @@ -62,7 +62,6 @@ export class PutBucketPolicyCommand extends $Command< PutBucketPolicyCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,12 +79,9 @@ export class PutBucketPolicyCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketReplicationCommand.ts b/clients/client-s3/commands/PutBucketReplicationCommand.ts index 5e125f2051ecd..183734d66bcd6 100644 --- a/clients/client-s3/commands/PutBucketReplicationCommand.ts +++ b/clients/client-s3/commands/PutBucketReplicationCommand.ts @@ -93,7 +93,6 @@ export class PutBucketReplicationCommand extends $Command< PutBucketReplicationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -111,12 +110,9 @@ export class PutBucketReplicationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts b/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts index 98b0a03fdee4a..9c98e6a68aa20 100644 --- a/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts +++ b/clients/client-s3/commands/PutBucketRequestPaymentCommand.ts @@ -47,7 +47,6 @@ export class PutBucketRequestPaymentCommand extends $Command< PutBucketRequestPaymentCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,11 +64,8 @@ export class PutBucketRequestPaymentCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketTaggingCommand.ts b/clients/client-s3/commands/PutBucketTaggingCommand.ts index 4e9ec1bf16075..06dff91db4644 100644 --- a/clients/client-s3/commands/PutBucketTaggingCommand.ts +++ b/clients/client-s3/commands/PutBucketTaggingCommand.ts @@ -107,7 +107,6 @@ export class PutBucketTaggingCommand extends $Command< PutBucketTaggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -125,12 +124,9 @@ export class PutBucketTaggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); + this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketVersioningCommand.ts b/clients/client-s3/commands/PutBucketVersioningCommand.ts index 8182ce40726c4..61c710cd93bfd 100644 --- a/clients/client-s3/commands/PutBucketVersioningCommand.ts +++ b/clients/client-s3/commands/PutBucketVersioningCommand.ts @@ -77,7 +77,6 @@ export class PutBucketVersioningCommand extends $Command< PutBucketVersioningCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,11 +94,8 @@ export class PutBucketVersioningCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutBucketWebsiteCommand.ts b/clients/client-s3/commands/PutBucketWebsiteCommand.ts index 5bc16cc76b8b8..0eed62e579bd4 100644 --- a/clients/client-s3/commands/PutBucketWebsiteCommand.ts +++ b/clients/client-s3/commands/PutBucketWebsiteCommand.ts @@ -154,7 +154,6 @@ export class PutBucketWebsiteCommand extends $Command< PutBucketWebsiteCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -172,11 +171,8 @@ export class PutBucketWebsiteCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutObjectAclCommand.ts b/clients/client-s3/commands/PutObjectAclCommand.ts index 47a29dbc89ef8..6d13e055ff909 100644 --- a/clients/client-s3/commands/PutObjectAclCommand.ts +++ b/clients/client-s3/commands/PutObjectAclCommand.ts @@ -207,7 +207,6 @@ export class PutObjectAclCommand extends $Command< PutObjectAclCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -225,11 +224,8 @@ export class PutObjectAclCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutObjectCommand.ts b/clients/client-s3/commands/PutObjectCommand.ts index d2a0f1b48fc6d..4ab4b38259f21 100644 --- a/clients/client-s3/commands/PutObjectCommand.ts +++ b/clients/client-s3/commands/PutObjectCommand.ts @@ -105,7 +105,6 @@ export type PutObjectCommandOutput = PutObjectOutput & __MetadataBearer; * */ export class PutObjectCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -123,12 +122,9 @@ export class PutObjectCommand extends $Command { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutObjectLegalHoldCommand.ts b/clients/client-s3/commands/PutObjectLegalHoldCommand.ts index ee0b84dfe97db..d888930686cce 100644 --- a/clients/client-s3/commands/PutObjectLegalHoldCommand.ts +++ b/clients/client-s3/commands/PutObjectLegalHoldCommand.ts @@ -40,7 +40,6 @@ export class PutObjectLegalHoldCommand extends $Command< PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,11 +57,8 @@ export class PutObjectLegalHoldCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts b/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts index 936d0e4b4c92c..e72f8dc82f960 100644 --- a/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts +++ b/clients/client-s3/commands/PutObjectLockConfigurationCommand.ts @@ -47,7 +47,6 @@ export class PutObjectLockConfigurationCommand extends $Command< PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,11 +64,8 @@ export class PutObjectLockConfigurationCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutObjectRetentionCommand.ts b/clients/client-s3/commands/PutObjectRetentionCommand.ts index 19053a5ad7b29..4b417885c656e 100644 --- a/clients/client-s3/commands/PutObjectRetentionCommand.ts +++ b/clients/client-s3/commands/PutObjectRetentionCommand.ts @@ -40,7 +40,6 @@ export class PutObjectRetentionCommand extends $Command< PutObjectRetentionCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,11 +57,8 @@ export class PutObjectRetentionCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutObjectTaggingCommand.ts b/clients/client-s3/commands/PutObjectTaggingCommand.ts index ab087344f6920..62a207d4c8a14 100644 --- a/clients/client-s3/commands/PutObjectTaggingCommand.ts +++ b/clients/client-s3/commands/PutObjectTaggingCommand.ts @@ -127,7 +127,6 @@ export class PutObjectTaggingCommand extends $Command< PutObjectTaggingCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -145,11 +144,8 @@ export class PutObjectTaggingCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/PutPublicAccessBlockCommand.ts b/clients/client-s3/commands/PutPublicAccessBlockCommand.ts index 732f21975a506..44eeed73dedb2 100644 --- a/clients/client-s3/commands/PutPublicAccessBlockCommand.ts +++ b/clients/client-s3/commands/PutPublicAccessBlockCommand.ts @@ -73,7 +73,6 @@ export class PutPublicAccessBlockCommand extends $Command< PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -91,11 +90,8 @@ export class PutPublicAccessBlockCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/RestoreObjectCommand.ts b/clients/client-s3/commands/RestoreObjectCommand.ts index 1e30290b77f26..2a2760e40a33a 100644 --- a/clients/client-s3/commands/RestoreObjectCommand.ts +++ b/clients/client-s3/commands/RestoreObjectCommand.ts @@ -321,7 +321,6 @@ export class RestoreObjectCommand extends $Command< RestoreObjectCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -339,11 +338,8 @@ export class RestoreObjectCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/SelectObjectContentCommand.ts b/clients/client-s3/commands/SelectObjectContentCommand.ts index d2c6adc903884..10f5e461c0f54 100644 --- a/clients/client-s3/commands/SelectObjectContentCommand.ts +++ b/clients/client-s3/commands/SelectObjectContentCommand.ts @@ -148,7 +148,6 @@ export class SelectObjectContentCommand extends $Command< SelectObjectContentCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -166,12 +165,9 @@ export class SelectObjectContentCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/UploadPartCommand.ts b/clients/client-s3/commands/UploadPartCommand.ts index 7fce38c93dd1b..5739a125209ee 100644 --- a/clients/client-s3/commands/UploadPartCommand.ts +++ b/clients/client-s3/commands/UploadPartCommand.ts @@ -169,7 +169,6 @@ export class UploadPartCommand extends $Command< UploadPartCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -187,12 +186,9 @@ export class UploadPartCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3/commands/UploadPartCopyCommand.ts b/clients/client-s3/commands/UploadPartCopyCommand.ts index 5f18a70018cac..245feed988eae 100644 --- a/clients/client-s3/commands/UploadPartCopyCommand.ts +++ b/clients/client-s3/commands/UploadPartCopyCommand.ts @@ -209,7 +209,6 @@ export class UploadPartCopyCommand extends $Command< UploadPartCopyCommandOutput, S3ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -227,13 +226,10 @@ export class UploadPartCopyCommand extends $Command< configuration: S3ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration)); - this.middlewareStack.use(getSsecPlugin(configuration)); - this.middlewareStack.use(getBucketEndpointPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getThrow200ExceptionsPlugin(configuration)); + this.middlewareStack.use(getSsecPlugin(configuration)); + this.middlewareStack.use(getBucketEndpointPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3outposts/commands/CreateEndpointCommand.ts b/clients/client-s3outposts/commands/CreateEndpointCommand.ts index c9cfa369b919f..8cb234e4e64ac 100644 --- a/clients/client-s3outposts/commands/CreateEndpointCommand.ts +++ b/clients/client-s3outposts/commands/CreateEndpointCommand.ts @@ -45,7 +45,6 @@ export class CreateEndpointCommand extends $Command< CreateEndpointCommandOutput, S3OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateEndpointCommand extends $Command< configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3outposts/commands/DeleteEndpointCommand.ts b/clients/client-s3outposts/commands/DeleteEndpointCommand.ts index d1940dfc438ee..801a5f3f2ff38 100644 --- a/clients/client-s3outposts/commands/DeleteEndpointCommand.ts +++ b/clients/client-s3outposts/commands/DeleteEndpointCommand.ts @@ -46,7 +46,6 @@ export class DeleteEndpointCommand extends $Command< DeleteEndpointCommandOutput, S3OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DeleteEndpointCommand extends $Command< configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-s3outposts/commands/ListEndpointsCommand.ts b/clients/client-s3outposts/commands/ListEndpointsCommand.ts index b014792fdde24..6e06f17108c30 100644 --- a/clients/client-s3outposts/commands/ListEndpointsCommand.ts +++ b/clients/client-s3outposts/commands/ListEndpointsCommand.ts @@ -46,7 +46,6 @@ export class ListEndpointsCommand extends $Command< ListEndpointsCommandOutput, S3OutpostsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class ListEndpointsCommand extends $Command< configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts index 78ca4f177a597..ef0f95082e4e5 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/DeleteHumanLoopCommand.ts @@ -32,7 +32,6 @@ export class DeleteHumanLoopCommand extends $Command< DeleteHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteHumanLoopCommand extends $Command< configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts index 64d6b02da1ba8..e3509bbe2aad5 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/DescribeHumanLoopCommand.ts @@ -32,7 +32,6 @@ export class DescribeHumanLoopCommand extends $Command< DescribeHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeHumanLoopCommand extends $Command< configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts index d88b1408a31f6..acc4f159819f7 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/ListHumanLoopsCommand.ts @@ -32,7 +32,6 @@ export class ListHumanLoopsCommand extends $Command< ListHumanLoopsCommandOutput, SageMakerA2IRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListHumanLoopsCommand extends $Command< configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts index b54d3b21dd8c7..1f46e4884f6e0 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/StartHumanLoopCommand.ts @@ -32,7 +32,6 @@ export class StartHumanLoopCommand extends $Command< StartHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartHumanLoopCommand extends $Command< configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts b/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts index 4e4cf077d5f0b..1b64341180326 100644 --- a/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts +++ b/clients/client-sagemaker-a2i-runtime/commands/StopHumanLoopCommand.ts @@ -32,7 +32,6 @@ export class StopHumanLoopCommand extends $Command< StopHumanLoopCommandOutput, SageMakerA2IRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StopHumanLoopCommand extends $Command< configuration: SageMakerA2IRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-edge/commands/GetDeviceRegistrationCommand.ts b/clients/client-sagemaker-edge/commands/GetDeviceRegistrationCommand.ts index 69e450e897a75..b78cc6d0ee2f0 100644 --- a/clients/client-sagemaker-edge/commands/GetDeviceRegistrationCommand.ts +++ b/clients/client-sagemaker-edge/commands/GetDeviceRegistrationCommand.ts @@ -28,7 +28,6 @@ export class GetDeviceRegistrationCommand extends $Command< GetDeviceRegistrationCommandOutput, SagemakerEdgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeviceRegistrationCommand extends $Command< configuration: SagemakerEdgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-edge/commands/SendHeartbeatCommand.ts b/clients/client-sagemaker-edge/commands/SendHeartbeatCommand.ts index 00c73bf926e39..5db06d92bc610 100644 --- a/clients/client-sagemaker-edge/commands/SendHeartbeatCommand.ts +++ b/clients/client-sagemaker-edge/commands/SendHeartbeatCommand.ts @@ -28,7 +28,6 @@ export class SendHeartbeatCommand extends $Command< SendHeartbeatCommandOutput, SagemakerEdgeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SendHeartbeatCommand extends $Command< configuration: SagemakerEdgeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-featurestore-runtime/commands/DeleteRecordCommand.ts b/clients/client-sagemaker-featurestore-runtime/commands/DeleteRecordCommand.ts index f82b25a50e212..fe2f3f58dcbed 100644 --- a/clients/client-sagemaker-featurestore-runtime/commands/DeleteRecordCommand.ts +++ b/clients/client-sagemaker-featurestore-runtime/commands/DeleteRecordCommand.ts @@ -34,7 +34,6 @@ export class DeleteRecordCommand extends $Command< DeleteRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteRecordCommand extends $Command< configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-featurestore-runtime/commands/GetRecordCommand.ts b/clients/client-sagemaker-featurestore-runtime/commands/GetRecordCommand.ts index 2177f20af25c9..6cfcc4e10e4bc 100644 --- a/clients/client-sagemaker-featurestore-runtime/commands/GetRecordCommand.ts +++ b/clients/client-sagemaker-featurestore-runtime/commands/GetRecordCommand.ts @@ -34,7 +34,6 @@ export class GetRecordCommand extends $Command< GetRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetRecordCommand extends $Command< configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-featurestore-runtime/commands/PutRecordCommand.ts b/clients/client-sagemaker-featurestore-runtime/commands/PutRecordCommand.ts index b0c5e985532f4..ecc399f1d4794 100644 --- a/clients/client-sagemaker-featurestore-runtime/commands/PutRecordCommand.ts +++ b/clients/client-sagemaker-featurestore-runtime/commands/PutRecordCommand.ts @@ -36,7 +36,6 @@ export class PutRecordCommand extends $Command< PutRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class PutRecordCommand extends $Command< configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts b/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts index 169dbde883a6c..f2fc2314c8de6 100644 --- a/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts +++ b/clients/client-sagemaker-runtime/commands/InvokeEndpointCommand.ts @@ -47,7 +47,6 @@ export class InvokeEndpointCommand extends $Command< InvokeEndpointCommandOutput, SageMakerRuntimeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class InvokeEndpointCommand extends $Command< configuration: SageMakerRuntimeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/AddAssociationCommand.ts b/clients/client-sagemaker/commands/AddAssociationCommand.ts index 14f2a753d52aa..973959d2d4928 100644 --- a/clients/client-sagemaker/commands/AddAssociationCommand.ts +++ b/clients/client-sagemaker/commands/AddAssociationCommand.ts @@ -32,7 +32,6 @@ export class AddAssociationCommand extends $Command< AddAssociationCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AddAssociationCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/AddTagsCommand.ts b/clients/client-sagemaker/commands/AddTagsCommand.ts index b1230d0cf90e0..8a7c9c872bb8f 100644 --- a/clients/client-sagemaker/commands/AddTagsCommand.ts +++ b/clients/client-sagemaker/commands/AddTagsCommand.ts @@ -37,7 +37,6 @@ export type AddTagsCommandOutput = AddTagsOutput & __MetadataBearer; * */ export class AddTagsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AddTagsCommand 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-sagemaker/commands/AssociateTrialComponentCommand.ts b/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts index f35b308c10cee..0412c102dc5f6 100644 --- a/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/AssociateTrialComponentCommand.ts @@ -29,7 +29,6 @@ export class AssociateTrialComponentCommand extends $Command< AssociateTrialComponentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateTrialComponentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateActionCommand.ts b/clients/client-sagemaker/commands/CreateActionCommand.ts index d74fe028d21c7..44e748b532d2f 100644 --- a/clients/client-sagemaker/commands/CreateActionCommand.ts +++ b/clients/client-sagemaker/commands/CreateActionCommand.ts @@ -32,7 +32,6 @@ export class CreateActionCommand extends $Command< CreateActionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateActionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts b/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts index c94ac11ceb981..ca572160d44d7 100644 --- a/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts +++ b/clients/client-sagemaker/commands/CreateAlgorithmCommand.ts @@ -29,7 +29,6 @@ export class CreateAlgorithmCommand extends $Command< CreateAlgorithmCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateAlgorithmCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateAppCommand.ts b/clients/client-sagemaker/commands/CreateAppCommand.ts index d44a2eaf0bdb8..545046913b910 100644 --- a/clients/client-sagemaker/commands/CreateAppCommand.ts +++ b/clients/client-sagemaker/commands/CreateAppCommand.ts @@ -30,7 +30,6 @@ export class CreateAppCommand extends $Command< CreateAppCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAppCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateAppImageConfigCommand.ts b/clients/client-sagemaker/commands/CreateAppImageConfigCommand.ts index c7c7cd72f81f8..26ab8a33f736f 100644 --- a/clients/client-sagemaker/commands/CreateAppImageConfigCommand.ts +++ b/clients/client-sagemaker/commands/CreateAppImageConfigCommand.ts @@ -30,7 +30,6 @@ export class CreateAppImageConfigCommand extends $Command< CreateAppImageConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateAppImageConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateArtifactCommand.ts b/clients/client-sagemaker/commands/CreateArtifactCommand.ts index d400adc8ebb4e..74e3fed5687db 100644 --- a/clients/client-sagemaker/commands/CreateArtifactCommand.ts +++ b/clients/client-sagemaker/commands/CreateArtifactCommand.ts @@ -32,7 +32,6 @@ export class CreateArtifactCommand extends $Command< CreateArtifactCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateArtifactCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts b/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts index aec227d810873..c9e88a500679f 100644 --- a/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateAutoMLJobCommand.ts @@ -33,7 +33,6 @@ export class CreateAutoMLJobCommand extends $Command< CreateAutoMLJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateAutoMLJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts index 54387e8484177..f4801cb620476 100644 --- a/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/CreateCodeRepositoryCommand.ts @@ -34,7 +34,6 @@ export class CreateCodeRepositoryCommand extends $Command< CreateCodeRepositoryCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateCodeRepositoryCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts b/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts index d61b2caf5d2ab..582f6c8c97c54 100644 --- a/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateCompilationJobCommand.ts @@ -59,7 +59,6 @@ export class CreateCompilationJobCommand extends $Command< CreateCompilationJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateCompilationJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateContextCommand.ts b/clients/client-sagemaker/commands/CreateContextCommand.ts index 54c902a435fd1..12e837515d236 100644 --- a/clients/client-sagemaker/commands/CreateContextCommand.ts +++ b/clients/client-sagemaker/commands/CreateContextCommand.ts @@ -32,7 +32,6 @@ export class CreateContextCommand extends $Command< CreateContextCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateContextCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateDataQualityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/CreateDataQualityJobDefinitionCommand.ts index f9b45848b6f9a..7cddc488c31af 100644 --- a/clients/client-sagemaker/commands/CreateDataQualityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/CreateDataQualityJobDefinitionCommand.ts @@ -29,7 +29,6 @@ export class CreateDataQualityJobDefinitionCommand extends $Command< CreateDataQualityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateDataQualityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateDeviceFleetCommand.ts b/clients/client-sagemaker/commands/CreateDeviceFleetCommand.ts index 0bc7b35ecf888..5a2a257d84c88 100644 --- a/clients/client-sagemaker/commands/CreateDeviceFleetCommand.ts +++ b/clients/client-sagemaker/commands/CreateDeviceFleetCommand.ts @@ -28,7 +28,6 @@ export class CreateDeviceFleetCommand extends $Command< CreateDeviceFleetCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDeviceFleetCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateDomainCommand.ts b/clients/client-sagemaker/commands/CreateDomainCommand.ts index 7c2fc011a3e9d..a9832cc590598 100644 --- a/clients/client-sagemaker/commands/CreateDomainCommand.ts +++ b/clients/client-sagemaker/commands/CreateDomainCommand.ts @@ -70,7 +70,6 @@ export class CreateDomainCommand extends $Command< CreateDomainCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class CreateDomainCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateEdgePackagingJobCommand.ts b/clients/client-sagemaker/commands/CreateEdgePackagingJobCommand.ts index 973f3faa5f076..4ecfa16333b62 100644 --- a/clients/client-sagemaker/commands/CreateEdgePackagingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateEdgePackagingJobCommand.ts @@ -28,7 +28,6 @@ export class CreateEdgePackagingJobCommand extends $Command< CreateEdgePackagingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateEdgePackagingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateEndpointCommand.ts b/clients/client-sagemaker/commands/CreateEndpointCommand.ts index b32737684f41f..3eb6555f6168a 100644 --- a/clients/client-sagemaker/commands/CreateEndpointCommand.ts +++ b/clients/client-sagemaker/commands/CreateEndpointCommand.ts @@ -104,7 +104,6 @@ export class CreateEndpointCommand extends $Command< CreateEndpointCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -122,10 +121,7 @@ export class CreateEndpointCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts b/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts index 8ccf3da782962..6f319dda0d44d 100644 --- a/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts +++ b/clients/client-sagemaker/commands/CreateEndpointConfigCommand.ts @@ -61,7 +61,6 @@ export class CreateEndpointConfigCommand extends $Command< CreateEndpointConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class CreateEndpointConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateExperimentCommand.ts b/clients/client-sagemaker/commands/CreateExperimentCommand.ts index b3d32829a83c1..5e64a55e5596e 100644 --- a/clients/client-sagemaker/commands/CreateExperimentCommand.ts +++ b/clients/client-sagemaker/commands/CreateExperimentCommand.ts @@ -44,7 +44,6 @@ export class CreateExperimentCommand extends $Command< CreateExperimentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateExperimentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateFeatureGroupCommand.ts b/clients/client-sagemaker/commands/CreateFeatureGroupCommand.ts index 9a5833c275599..216d1efb78aad 100644 --- a/clients/client-sagemaker/commands/CreateFeatureGroupCommand.ts +++ b/clients/client-sagemaker/commands/CreateFeatureGroupCommand.ts @@ -40,7 +40,6 @@ export class CreateFeatureGroupCommand extends $Command< CreateFeatureGroupCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class CreateFeatureGroupCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts b/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts index bf60bb4be4d28..56cbb97af9c57 100644 --- a/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/CreateFlowDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateFlowDefinitionCommand extends $Command< CreateFlowDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFlowDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts b/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts index f59433c67dfc4..7ea537b7d08b7 100644 --- a/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts +++ b/clients/client-sagemaker/commands/CreateHumanTaskUiCommand.ts @@ -28,7 +28,6 @@ export class CreateHumanTaskUiCommand extends $Command< CreateHumanTaskUiCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateHumanTaskUiCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts index 669596ee82400..4c7e2c785c4bf 100644 --- a/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateHyperParameterTuningJobCommand.ts @@ -32,7 +32,6 @@ export class CreateHyperParameterTuningJobCommand extends $Command< CreateHyperParameterTuningJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateHyperParameterTuningJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateImageCommand.ts b/clients/client-sagemaker/commands/CreateImageCommand.ts index ae76e925363ae..1802d4724f492 100644 --- a/clients/client-sagemaker/commands/CreateImageCommand.ts +++ b/clients/client-sagemaker/commands/CreateImageCommand.ts @@ -30,7 +30,6 @@ export class CreateImageCommand extends $Command< CreateImageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateImageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateImageVersionCommand.ts b/clients/client-sagemaker/commands/CreateImageVersionCommand.ts index f84b91cb81eb3..b024480fd58a7 100644 --- a/clients/client-sagemaker/commands/CreateImageVersionCommand.ts +++ b/clients/client-sagemaker/commands/CreateImageVersionCommand.ts @@ -29,7 +29,6 @@ export class CreateImageVersionCommand extends $Command< CreateImageVersionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateImageVersionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts b/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts index a8f6e5f501d38..d206da7b9e0fa 100644 --- a/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateLabelingJobCommand.ts @@ -56,7 +56,6 @@ export class CreateLabelingJobCommand extends $Command< CreateLabelingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class CreateLabelingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateModelBiasJobDefinitionCommand.ts b/clients/client-sagemaker/commands/CreateModelBiasJobDefinitionCommand.ts index a9a601ae49ff6..4106fd5446c47 100644 --- a/clients/client-sagemaker/commands/CreateModelBiasJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelBiasJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class CreateModelBiasJobDefinitionCommand extends $Command< CreateModelBiasJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateModelBiasJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateModelCommand.ts b/clients/client-sagemaker/commands/CreateModelCommand.ts index 1deffb3ae7d4e..87c0a34a2d8cc 100644 --- a/clients/client-sagemaker/commands/CreateModelCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelCommand.ts @@ -53,7 +53,6 @@ export class CreateModelCommand extends $Command< CreateModelCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class CreateModelCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateModelExplainabilityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/CreateModelExplainabilityJobDefinitionCommand.ts index cf16a260c90ae..728c8da0c4719 100644 --- a/clients/client-sagemaker/commands/CreateModelExplainabilityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelExplainabilityJobDefinitionCommand.ts @@ -32,7 +32,6 @@ export class CreateModelExplainabilityJobDefinitionCommand extends $Command< CreateModelExplainabilityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateModelExplainabilityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateModelPackageCommand.ts b/clients/client-sagemaker/commands/CreateModelPackageCommand.ts index d22431692988d..cbf8c8bbdb85a 100644 --- a/clients/client-sagemaker/commands/CreateModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelPackageCommand.ts @@ -46,7 +46,6 @@ export class CreateModelPackageCommand extends $Command< CreateModelPackageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreateModelPackageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateModelPackageGroupCommand.ts b/clients/client-sagemaker/commands/CreateModelPackageGroupCommand.ts index c955987163786..5f067d663f78a 100644 --- a/clients/client-sagemaker/commands/CreateModelPackageGroupCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelPackageGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateModelPackageGroupCommand extends $Command< CreateModelPackageGroupCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateModelPackageGroupCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateModelQualityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/CreateModelQualityJobDefinitionCommand.ts index be38f94bc7b91..685cf0954a197 100644 --- a/clients/client-sagemaker/commands/CreateModelQualityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/CreateModelQualityJobDefinitionCommand.ts @@ -29,7 +29,6 @@ export class CreateModelQualityJobDefinitionCommand extends $Command< CreateModelQualityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateModelQualityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts index 8516aaea879ab..5ce34d59ec487 100644 --- a/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/CreateMonitoringScheduleCommand.ts @@ -29,7 +29,6 @@ export class CreateMonitoringScheduleCommand extends $Command< CreateMonitoringScheduleCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateMonitoringScheduleCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts index 987248ec6912d..3aeb2ef79f517 100644 --- a/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/CreateNotebookInstanceCommand.ts @@ -64,7 +64,6 @@ export class CreateNotebookInstanceCommand extends $Command< CreateNotebookInstanceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class CreateNotebookInstanceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts index 39495e99744d1..3220fdf96b2b6 100644 --- a/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/CreateNotebookInstanceLifecycleConfigCommand.ts @@ -45,7 +45,6 @@ export class CreateNotebookInstanceLifecycleConfigCommand extends $Command< CreateNotebookInstanceLifecycleConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateNotebookInstanceLifecycleConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreatePipelineCommand.ts b/clients/client-sagemaker/commands/CreatePipelineCommand.ts index 2a870ab248872..4030b6b26b1ec 100644 --- a/clients/client-sagemaker/commands/CreatePipelineCommand.ts +++ b/clients/client-sagemaker/commands/CreatePipelineCommand.ts @@ -28,7 +28,6 @@ export class CreatePipelineCommand extends $Command< CreatePipelineCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreatePipelineCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts b/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts index f0252ad8966b3..237406cc2cdb1 100644 --- a/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts +++ b/clients/client-sagemaker/commands/CreatePresignedDomainUrlCommand.ts @@ -37,7 +37,6 @@ export class CreatePresignedDomainUrlCommand extends $Command< CreatePresignedDomainUrlCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreatePresignedDomainUrlCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts b/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts index 6d1edff6e927e..938e50dd52195 100644 --- a/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts +++ b/clients/client-sagemaker/commands/CreatePresignedNotebookInstanceUrlCommand.ts @@ -46,7 +46,6 @@ export class CreatePresignedNotebookInstanceUrlCommand extends $Command< CreatePresignedNotebookInstanceUrlCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreatePresignedNotebookInstanceUrlCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts b/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts index 3797d53d4b387..78d44a4e1c3bb 100644 --- a/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateProcessingJobCommand.ts @@ -28,7 +28,6 @@ export class CreateProcessingJobCommand extends $Command< CreateProcessingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProcessingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateProjectCommand.ts b/clients/client-sagemaker/commands/CreateProjectCommand.ts index 6ca701327fa89..4e096556b69e6 100644 --- a/clients/client-sagemaker/commands/CreateProjectCommand.ts +++ b/clients/client-sagemaker/commands/CreateProjectCommand.ts @@ -29,7 +29,6 @@ export class CreateProjectCommand extends $Command< CreateProjectCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateProjectCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts b/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts index ebc489478a838..d9236460b9714 100644 --- a/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateTrainingJobCommand.ts @@ -92,7 +92,6 @@ export class CreateTrainingJobCommand extends $Command< CreateTrainingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -110,10 +109,7 @@ export class CreateTrainingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateTransformJobCommand.ts b/clients/client-sagemaker/commands/CreateTransformJobCommand.ts index 13ba7b8624d38..aa093bbbeada1 100644 --- a/clients/client-sagemaker/commands/CreateTransformJobCommand.ts +++ b/clients/client-sagemaker/commands/CreateTransformJobCommand.ts @@ -62,7 +62,6 @@ export class CreateTransformJobCommand extends $Command< CreateTransformJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class CreateTransformJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateTrialCommand.ts b/clients/client-sagemaker/commands/CreateTrialCommand.ts index c3a2a687a7c39..45b6c9faa985d 100644 --- a/clients/client-sagemaker/commands/CreateTrialCommand.ts +++ b/clients/client-sagemaker/commands/CreateTrialCommand.ts @@ -38,7 +38,6 @@ export class CreateTrialCommand extends $Command< CreateTrialCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateTrialCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts b/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts index 934a659d5c1be..481fd2104dcd9 100644 --- a/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/CreateTrialComponentCommand.ts @@ -44,7 +44,6 @@ export class CreateTrialComponentCommand extends $Command< CreateTrialComponentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateTrialComponentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateUserProfileCommand.ts b/clients/client-sagemaker/commands/CreateUserProfileCommand.ts index 8f438cf00a743..7641be6cacc59 100644 --- a/clients/client-sagemaker/commands/CreateUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/CreateUserProfileCommand.ts @@ -34,7 +34,6 @@ export class CreateUserProfileCommand extends $Command< CreateUserProfileCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateUserProfileCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateWorkforceCommand.ts b/clients/client-sagemaker/commands/CreateWorkforceCommand.ts index 5393580c2da9a..7f69af2139828 100644 --- a/clients/client-sagemaker/commands/CreateWorkforceCommand.ts +++ b/clients/client-sagemaker/commands/CreateWorkforceCommand.ts @@ -48,7 +48,6 @@ export class CreateWorkforceCommand extends $Command< CreateWorkforceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class CreateWorkforceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/CreateWorkteamCommand.ts b/clients/client-sagemaker/commands/CreateWorkteamCommand.ts index 2148244c092ef..94b581e3fd457 100644 --- a/clients/client-sagemaker/commands/CreateWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/CreateWorkteamCommand.ts @@ -31,7 +31,6 @@ export class CreateWorkteamCommand extends $Command< CreateWorkteamCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateWorkteamCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteActionCommand.ts b/clients/client-sagemaker/commands/DeleteActionCommand.ts index 82da293b00631..068bec1ed0980 100644 --- a/clients/client-sagemaker/commands/DeleteActionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteActionCommand.ts @@ -28,7 +28,6 @@ export class DeleteActionCommand extends $Command< DeleteActionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteActionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts b/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts index 0dfe621890dfe..3024226b87126 100644 --- a/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts +++ b/clients/client-sagemaker/commands/DeleteAlgorithmCommand.ts @@ -28,7 +28,6 @@ export class DeleteAlgorithmCommand extends $Command< DeleteAlgorithmCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAlgorithmCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteAppCommand.ts b/clients/client-sagemaker/commands/DeleteAppCommand.ts index 617a684e15a32..73b9056d5ef17 100644 --- a/clients/client-sagemaker/commands/DeleteAppCommand.ts +++ b/clients/client-sagemaker/commands/DeleteAppCommand.ts @@ -25,7 +25,6 @@ export class DeleteAppCommand extends $Command< DeleteAppCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class DeleteAppCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteAppImageConfigCommand.ts b/clients/client-sagemaker/commands/DeleteAppImageConfigCommand.ts index 233b05e6f82f5..2df7a5c71a28e 100644 --- a/clients/client-sagemaker/commands/DeleteAppImageConfigCommand.ts +++ b/clients/client-sagemaker/commands/DeleteAppImageConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppImageConfigCommand extends $Command< DeleteAppImageConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppImageConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteArtifactCommand.ts b/clients/client-sagemaker/commands/DeleteArtifactCommand.ts index c5de61ea64b26..0f83cfa3fc873 100644 --- a/clients/client-sagemaker/commands/DeleteArtifactCommand.ts +++ b/clients/client-sagemaker/commands/DeleteArtifactCommand.ts @@ -29,7 +29,6 @@ export class DeleteArtifactCommand extends $Command< DeleteArtifactCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteArtifactCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteAssociationCommand.ts b/clients/client-sagemaker/commands/DeleteAssociationCommand.ts index 0197621bdb48a..2f168793a2688 100644 --- a/clients/client-sagemaker/commands/DeleteAssociationCommand.ts +++ b/clients/client-sagemaker/commands/DeleteAssociationCommand.ts @@ -28,7 +28,6 @@ export class DeleteAssociationCommand extends $Command< DeleteAssociationCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAssociationCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts index 663d5710bc9a4..0443a97cc1b7b 100644 --- a/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/DeleteCodeRepositoryCommand.ts @@ -28,7 +28,6 @@ export class DeleteCodeRepositoryCommand extends $Command< DeleteCodeRepositoryCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCodeRepositoryCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteContextCommand.ts b/clients/client-sagemaker/commands/DeleteContextCommand.ts index 556466aaeda7f..42cc7ccf6f33e 100644 --- a/clients/client-sagemaker/commands/DeleteContextCommand.ts +++ b/clients/client-sagemaker/commands/DeleteContextCommand.ts @@ -28,7 +28,6 @@ export class DeleteContextCommand extends $Command< DeleteContextCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteContextCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteDataQualityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DeleteDataQualityJobDefinitionCommand.ts index 66b9c5290518e..b9491b49a6f9a 100644 --- a/clients/client-sagemaker/commands/DeleteDataQualityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteDataQualityJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteDataQualityJobDefinitionCommand extends $Command< DeleteDataQualityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDataQualityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteDeviceFleetCommand.ts b/clients/client-sagemaker/commands/DeleteDeviceFleetCommand.ts index 2f1b367059d7e..5c5f44d0b589d 100644 --- a/clients/client-sagemaker/commands/DeleteDeviceFleetCommand.ts +++ b/clients/client-sagemaker/commands/DeleteDeviceFleetCommand.ts @@ -28,7 +28,6 @@ export class DeleteDeviceFleetCommand extends $Command< DeleteDeviceFleetCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDeviceFleetCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteDomainCommand.ts b/clients/client-sagemaker/commands/DeleteDomainCommand.ts index 5a20f2b5fc206..ec64fb3618856 100644 --- a/clients/client-sagemaker/commands/DeleteDomainCommand.ts +++ b/clients/client-sagemaker/commands/DeleteDomainCommand.ts @@ -32,7 +32,6 @@ export class DeleteDomainCommand extends $Command< DeleteDomainCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteDomainCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteEndpointCommand.ts b/clients/client-sagemaker/commands/DeleteEndpointCommand.ts index 1c2277cf3a7af..43ef06201a7b3 100644 --- a/clients/client-sagemaker/commands/DeleteEndpointCommand.ts +++ b/clients/client-sagemaker/commands/DeleteEndpointCommand.ts @@ -31,7 +31,6 @@ export class DeleteEndpointCommand extends $Command< DeleteEndpointCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteEndpointCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts b/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts index 483e3f591ca62..eed1faa17b9a3 100644 --- a/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts +++ b/clients/client-sagemaker/commands/DeleteEndpointConfigCommand.ts @@ -36,7 +36,6 @@ export class DeleteEndpointConfigCommand extends $Command< DeleteEndpointConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteEndpointConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteExperimentCommand.ts b/clients/client-sagemaker/commands/DeleteExperimentCommand.ts index bb3d2db049ed1..ef47559629284 100644 --- a/clients/client-sagemaker/commands/DeleteExperimentCommand.ts +++ b/clients/client-sagemaker/commands/DeleteExperimentCommand.ts @@ -30,7 +30,6 @@ export class DeleteExperimentCommand extends $Command< DeleteExperimentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteExperimentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteFeatureGroupCommand.ts b/clients/client-sagemaker/commands/DeleteFeatureGroupCommand.ts index 10baca7e641d8..4574b93ac9257 100644 --- a/clients/client-sagemaker/commands/DeleteFeatureGroupCommand.ts +++ b/clients/client-sagemaker/commands/DeleteFeatureGroupCommand.ts @@ -33,7 +33,6 @@ export class DeleteFeatureGroupCommand extends $Command< DeleteFeatureGroupCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteFeatureGroupCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts b/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts index 95ca332eee656..57dbc1123abfd 100644 --- a/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteFlowDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteFlowDefinitionCommand extends $Command< DeleteFlowDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFlowDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteHumanTaskUiCommand.ts b/clients/client-sagemaker/commands/DeleteHumanTaskUiCommand.ts index af2f035e0d39b..26f155d80f3bb 100644 --- a/clients/client-sagemaker/commands/DeleteHumanTaskUiCommand.ts +++ b/clients/client-sagemaker/commands/DeleteHumanTaskUiCommand.ts @@ -32,7 +32,6 @@ export class DeleteHumanTaskUiCommand extends $Command< DeleteHumanTaskUiCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteHumanTaskUiCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteImageCommand.ts b/clients/client-sagemaker/commands/DeleteImageCommand.ts index ec07bd385dc4e..d7d0596df994f 100644 --- a/clients/client-sagemaker/commands/DeleteImageCommand.ts +++ b/clients/client-sagemaker/commands/DeleteImageCommand.ts @@ -29,7 +29,6 @@ export class DeleteImageCommand extends $Command< DeleteImageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteImageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteImageVersionCommand.ts b/clients/client-sagemaker/commands/DeleteImageVersionCommand.ts index 8dd872781cbd9..0200002147676 100644 --- a/clients/client-sagemaker/commands/DeleteImageVersionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteImageVersionCommand.ts @@ -29,7 +29,6 @@ export class DeleteImageVersionCommand extends $Command< DeleteImageVersionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteImageVersionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelBiasJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DeleteModelBiasJobDefinitionCommand.ts index 722e115a9f480..83016a12361d8 100644 --- a/clients/client-sagemaker/commands/DeleteModelBiasJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelBiasJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelBiasJobDefinitionCommand extends $Command< DeleteModelBiasJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelBiasJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelCommand.ts b/clients/client-sagemaker/commands/DeleteModelCommand.ts index d6d81371a7e9e..302ba44507650 100644 --- a/clients/client-sagemaker/commands/DeleteModelCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelCommand.ts @@ -31,7 +31,6 @@ export class DeleteModelCommand extends $Command< DeleteModelCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteModelCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelExplainabilityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DeleteModelExplainabilityJobDefinitionCommand.ts index 203e3827193a0..911e019ef3dae 100644 --- a/clients/client-sagemaker/commands/DeleteModelExplainabilityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelExplainabilityJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelExplainabilityJobDefinitionCommand extends $Command< DeleteModelExplainabilityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelExplainabilityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts b/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts index 8622190830db6..9b8d55928b4a6 100644 --- a/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelPackageCommand.ts @@ -30,7 +30,6 @@ export class DeleteModelPackageCommand extends $Command< DeleteModelPackageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteModelPackageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelPackageGroupCommand.ts b/clients/client-sagemaker/commands/DeleteModelPackageGroupCommand.ts index 14a6b4699851e..1f842dd7b3760 100644 --- a/clients/client-sagemaker/commands/DeleteModelPackageGroupCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelPackageGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelPackageGroupCommand extends $Command< DeleteModelPackageGroupCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelPackageGroupCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelPackageGroupPolicyCommand.ts b/clients/client-sagemaker/commands/DeleteModelPackageGroupPolicyCommand.ts index ab51c6d314ae3..b87652e4e36e3 100644 --- a/clients/client-sagemaker/commands/DeleteModelPackageGroupPolicyCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelPackageGroupPolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelPackageGroupPolicyCommand extends $Command< DeleteModelPackageGroupPolicyCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelPackageGroupPolicyCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteModelQualityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DeleteModelQualityJobDefinitionCommand.ts index 5afc78a301018..cac45e46abc10 100644 --- a/clients/client-sagemaker/commands/DeleteModelQualityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DeleteModelQualityJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DeleteModelQualityJobDefinitionCommand extends $Command< DeleteModelQualityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteModelQualityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts index 2586a87a4fe08..03093633c84d1 100644 --- a/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/DeleteMonitoringScheduleCommand.ts @@ -29,7 +29,6 @@ export class DeleteMonitoringScheduleCommand extends $Command< DeleteMonitoringScheduleCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteMonitoringScheduleCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts index 957a35836ca96..0b6335d401b91 100644 --- a/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/DeleteNotebookInstanceCommand.ts @@ -34,7 +34,6 @@ export class DeleteNotebookInstanceCommand extends $Command< DeleteNotebookInstanceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteNotebookInstanceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts index c9fd188df168e..c5c2d38c76414 100644 --- a/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/DeleteNotebookInstanceLifecycleConfigCommand.ts @@ -28,7 +28,6 @@ export class DeleteNotebookInstanceLifecycleConfigCommand extends $Command< DeleteNotebookInstanceLifecycleConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNotebookInstanceLifecycleConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeletePipelineCommand.ts b/clients/client-sagemaker/commands/DeletePipelineCommand.ts index de441273dc499..e3254c7103768 100644 --- a/clients/client-sagemaker/commands/DeletePipelineCommand.ts +++ b/clients/client-sagemaker/commands/DeletePipelineCommand.ts @@ -28,7 +28,6 @@ export class DeletePipelineCommand extends $Command< DeletePipelineCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePipelineCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteProjectCommand.ts b/clients/client-sagemaker/commands/DeleteProjectCommand.ts index 4a0f15d3e9ee9..9ec421c9e4b46 100644 --- a/clients/client-sagemaker/commands/DeleteProjectCommand.ts +++ b/clients/client-sagemaker/commands/DeleteProjectCommand.ts @@ -28,7 +28,6 @@ export class DeleteProjectCommand extends $Command< DeleteProjectCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProjectCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteTagsCommand.ts b/clients/client-sagemaker/commands/DeleteTagsCommand.ts index aeeafd9989ce1..25e5ff3d9044e 100644 --- a/clients/client-sagemaker/commands/DeleteTagsCommand.ts +++ b/clients/client-sagemaker/commands/DeleteTagsCommand.ts @@ -34,7 +34,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteTagsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteTrialCommand.ts b/clients/client-sagemaker/commands/DeleteTrialCommand.ts index 13b761a1e6fdf..d153e34d83c0b 100644 --- a/clients/client-sagemaker/commands/DeleteTrialCommand.ts +++ b/clients/client-sagemaker/commands/DeleteTrialCommand.ts @@ -30,7 +30,6 @@ export class DeleteTrialCommand extends $Command< DeleteTrialCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteTrialCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts b/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts index 17a2bed35eb84..f77e8410fac71 100644 --- a/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/DeleteTrialComponentCommand.ts @@ -30,7 +30,6 @@ export class DeleteTrialComponentCommand extends $Command< DeleteTrialComponentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteTrialComponentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts b/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts index cfd2c9311e48f..f28a5ab7a572e 100644 --- a/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/DeleteUserProfileCommand.ts @@ -29,7 +29,6 @@ export class DeleteUserProfileCommand extends $Command< DeleteUserProfileCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteUserProfileCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteWorkforceCommand.ts b/clients/client-sagemaker/commands/DeleteWorkforceCommand.ts index 48fd6f8887510..75b20272399c3 100644 --- a/clients/client-sagemaker/commands/DeleteWorkforceCommand.ts +++ b/clients/client-sagemaker/commands/DeleteWorkforceCommand.ts @@ -40,7 +40,6 @@ export class DeleteWorkforceCommand extends $Command< DeleteWorkforceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteWorkforceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts b/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts index eb0705c7c5c56..84d3777bc7e1b 100644 --- a/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/DeleteWorkteamCommand.ts @@ -28,7 +28,6 @@ export class DeleteWorkteamCommand extends $Command< DeleteWorkteamCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteWorkteamCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DeregisterDevicesCommand.ts b/clients/client-sagemaker/commands/DeregisterDevicesCommand.ts index dfd3d5ce539cb..37ebcb97eb73d 100644 --- a/clients/client-sagemaker/commands/DeregisterDevicesCommand.ts +++ b/clients/client-sagemaker/commands/DeregisterDevicesCommand.ts @@ -28,7 +28,6 @@ export class DeregisterDevicesCommand extends $Command< DeregisterDevicesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeregisterDevicesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeActionCommand.ts b/clients/client-sagemaker/commands/DescribeActionCommand.ts index 15ccc8aa1d5cc..6ec7c51b21140 100644 --- a/clients/client-sagemaker/commands/DescribeActionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeActionCommand.ts @@ -28,7 +28,6 @@ export class DescribeActionCommand extends $Command< DescribeActionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeActionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts b/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts index 11f7e0d56c311..454c68366b184 100644 --- a/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAlgorithmCommand.ts @@ -28,7 +28,6 @@ export class DescribeAlgorithmCommand extends $Command< DescribeAlgorithmCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAlgorithmCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeAppCommand.ts b/clients/client-sagemaker/commands/DescribeAppCommand.ts index 3e72ea604f577..f43e8afb05378 100644 --- a/clients/client-sagemaker/commands/DescribeAppCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAppCommand.ts @@ -28,7 +28,6 @@ export class DescribeAppCommand extends $Command< DescribeAppCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAppCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeAppImageConfigCommand.ts b/clients/client-sagemaker/commands/DescribeAppImageConfigCommand.ts index e5e2082b29875..7fcdf547cd9a9 100644 --- a/clients/client-sagemaker/commands/DescribeAppImageConfigCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAppImageConfigCommand.ts @@ -28,7 +28,6 @@ export class DescribeAppImageConfigCommand extends $Command< DescribeAppImageConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAppImageConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeArtifactCommand.ts b/clients/client-sagemaker/commands/DescribeArtifactCommand.ts index 6b126a938876a..7cfe0213aea29 100644 --- a/clients/client-sagemaker/commands/DescribeArtifactCommand.ts +++ b/clients/client-sagemaker/commands/DescribeArtifactCommand.ts @@ -28,7 +28,6 @@ export class DescribeArtifactCommand extends $Command< DescribeArtifactCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeArtifactCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts b/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts index 34134dd60cdfd..7685a82a29e52 100644 --- a/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeAutoMLJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeAutoMLJobCommand extends $Command< DescribeAutoMLJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAutoMLJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts index 0f2b271ac2fed..75b3006dfe7dc 100644 --- a/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/DescribeCodeRepositoryCommand.ts @@ -28,7 +28,6 @@ export class DescribeCodeRepositoryCommand extends $Command< DescribeCodeRepositoryCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCodeRepositoryCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts b/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts index 03249f120bfa2..560ef1fbb1e05 100644 --- a/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeCompilationJobCommand.ts @@ -30,7 +30,6 @@ export class DescribeCompilationJobCommand extends $Command< DescribeCompilationJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeCompilationJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeContextCommand.ts b/clients/client-sagemaker/commands/DescribeContextCommand.ts index 56e5d51c18364..ce44462a79cb4 100644 --- a/clients/client-sagemaker/commands/DescribeContextCommand.ts +++ b/clients/client-sagemaker/commands/DescribeContextCommand.ts @@ -28,7 +28,6 @@ export class DescribeContextCommand extends $Command< DescribeContextCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeContextCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeDataQualityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DescribeDataQualityJobDefinitionCommand.ts index b7add5924d1b8..0d7cc4dc32b95 100644 --- a/clients/client-sagemaker/commands/DescribeDataQualityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeDataQualityJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DescribeDataQualityJobDefinitionCommand extends $Command< DescribeDataQualityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDataQualityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeDeviceCommand.ts b/clients/client-sagemaker/commands/DescribeDeviceCommand.ts index 7e0ada3eacd1e..8e4e9d20bb7c7 100644 --- a/clients/client-sagemaker/commands/DescribeDeviceCommand.ts +++ b/clients/client-sagemaker/commands/DescribeDeviceCommand.ts @@ -28,7 +28,6 @@ export class DescribeDeviceCommand extends $Command< DescribeDeviceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDeviceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeDeviceFleetCommand.ts b/clients/client-sagemaker/commands/DescribeDeviceFleetCommand.ts index bd7ad7adc5eb5..59e5acca862c2 100644 --- a/clients/client-sagemaker/commands/DescribeDeviceFleetCommand.ts +++ b/clients/client-sagemaker/commands/DescribeDeviceFleetCommand.ts @@ -28,7 +28,6 @@ export class DescribeDeviceFleetCommand extends $Command< DescribeDeviceFleetCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDeviceFleetCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeDomainCommand.ts b/clients/client-sagemaker/commands/DescribeDomainCommand.ts index 7b45c9b9ec248..1701a9bece2e8 100644 --- a/clients/client-sagemaker/commands/DescribeDomainCommand.ts +++ b/clients/client-sagemaker/commands/DescribeDomainCommand.ts @@ -28,7 +28,6 @@ export class DescribeDomainCommand extends $Command< DescribeDomainCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDomainCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeEdgePackagingJobCommand.ts b/clients/client-sagemaker/commands/DescribeEdgePackagingJobCommand.ts index 97581b1275ea1..65b992c412cf7 100644 --- a/clients/client-sagemaker/commands/DescribeEdgePackagingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeEdgePackagingJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeEdgePackagingJobCommand extends $Command< DescribeEdgePackagingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEdgePackagingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeEndpointCommand.ts b/clients/client-sagemaker/commands/DescribeEndpointCommand.ts index 843f0de713349..a6b2627c70644 100644 --- a/clients/client-sagemaker/commands/DescribeEndpointCommand.ts +++ b/clients/client-sagemaker/commands/DescribeEndpointCommand.ts @@ -28,7 +28,6 @@ export class DescribeEndpointCommand extends $Command< DescribeEndpointCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEndpointCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts b/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts index 7d936a028542f..dc342c3060ba2 100644 --- a/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts +++ b/clients/client-sagemaker/commands/DescribeEndpointConfigCommand.ts @@ -29,7 +29,6 @@ export class DescribeEndpointConfigCommand extends $Command< DescribeEndpointConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeEndpointConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeExperimentCommand.ts b/clients/client-sagemaker/commands/DescribeExperimentCommand.ts index f305a2bbc4b2c..51485b12e8846 100644 --- a/clients/client-sagemaker/commands/DescribeExperimentCommand.ts +++ b/clients/client-sagemaker/commands/DescribeExperimentCommand.ts @@ -28,7 +28,6 @@ export class DescribeExperimentCommand extends $Command< DescribeExperimentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeExperimentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeFeatureGroupCommand.ts b/clients/client-sagemaker/commands/DescribeFeatureGroupCommand.ts index bf5624557033d..d5b95073a1510 100644 --- a/clients/client-sagemaker/commands/DescribeFeatureGroupCommand.ts +++ b/clients/client-sagemaker/commands/DescribeFeatureGroupCommand.ts @@ -30,7 +30,6 @@ export class DescribeFeatureGroupCommand extends $Command< DescribeFeatureGroupCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeFeatureGroupCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts b/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts index 6c4fbc4dbcbb7..71fc54af0301a 100644 --- a/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeFlowDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DescribeFlowDefinitionCommand extends $Command< DescribeFlowDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeFlowDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts b/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts index 081218dc666be..a1acf1d0458ea 100644 --- a/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts +++ b/clients/client-sagemaker/commands/DescribeHumanTaskUiCommand.ts @@ -28,7 +28,6 @@ export class DescribeHumanTaskUiCommand extends $Command< DescribeHumanTaskUiCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeHumanTaskUiCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts index 6561dcaa53917..a2c34f893dacc 100644 --- a/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeHyperParameterTuningJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeHyperParameterTuningJobCommand extends $Command< DescribeHyperParameterTuningJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeHyperParameterTuningJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeImageCommand.ts b/clients/client-sagemaker/commands/DescribeImageCommand.ts index 8074876fb1911..6a54f99381cb0 100644 --- a/clients/client-sagemaker/commands/DescribeImageCommand.ts +++ b/clients/client-sagemaker/commands/DescribeImageCommand.ts @@ -28,7 +28,6 @@ export class DescribeImageCommand extends $Command< DescribeImageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeImageVersionCommand.ts b/clients/client-sagemaker/commands/DescribeImageVersionCommand.ts index 6297c28def163..c2a8b9104e3b4 100644 --- a/clients/client-sagemaker/commands/DescribeImageVersionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeImageVersionCommand.ts @@ -28,7 +28,6 @@ export class DescribeImageVersionCommand extends $Command< DescribeImageVersionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeImageVersionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts b/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts index 44ca6df478139..a05a5297d8d5e 100644 --- a/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeLabelingJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeLabelingJobCommand extends $Command< DescribeLabelingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeLabelingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeModelBiasJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DescribeModelBiasJobDefinitionCommand.ts index 75e628abbda1c..8ea8338c99d02 100644 --- a/clients/client-sagemaker/commands/DescribeModelBiasJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelBiasJobDefinitionCommand.ts @@ -28,7 +28,6 @@ export class DescribeModelBiasJobDefinitionCommand extends $Command< DescribeModelBiasJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeModelBiasJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeModelCommand.ts b/clients/client-sagemaker/commands/DescribeModelCommand.ts index 1add372f06030..2d2209b8e9765 100644 --- a/clients/client-sagemaker/commands/DescribeModelCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelCommand.ts @@ -29,7 +29,6 @@ export class DescribeModelCommand extends $Command< DescribeModelCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeModelCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeModelExplainabilityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DescribeModelExplainabilityJobDefinitionCommand.ts index 0ae9dd85c906f..77138ed800810 100644 --- a/clients/client-sagemaker/commands/DescribeModelExplainabilityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelExplainabilityJobDefinitionCommand.ts @@ -32,7 +32,6 @@ export class DescribeModelExplainabilityJobDefinitionCommand extends $Command< DescribeModelExplainabilityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeModelExplainabilityJobDefinitionCommand extends $Command< DescribeModelExplainabilityJobDefinitionCommandInput, DescribeModelExplainabilityJobDefinitionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts b/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts index 79f4591e17a96..3ea1329acc84e 100644 --- a/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelPackageCommand.ts @@ -31,7 +31,6 @@ export class DescribeModelPackageCommand extends $Command< DescribeModelPackageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeModelPackageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeModelPackageGroupCommand.ts b/clients/client-sagemaker/commands/DescribeModelPackageGroupCommand.ts index c9238e697c670..aea6519a43b0a 100644 --- a/clients/client-sagemaker/commands/DescribeModelPackageGroupCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelPackageGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeModelPackageGroupCommand extends $Command< DescribeModelPackageGroupCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeModelPackageGroupCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeModelQualityJobDefinitionCommand.ts b/clients/client-sagemaker/commands/DescribeModelQualityJobDefinitionCommand.ts index 2836eb3543d66..94394e6c855d5 100644 --- a/clients/client-sagemaker/commands/DescribeModelQualityJobDefinitionCommand.ts +++ b/clients/client-sagemaker/commands/DescribeModelQualityJobDefinitionCommand.ts @@ -32,7 +32,6 @@ export class DescribeModelQualityJobDefinitionCommand extends $Command< DescribeModelQualityJobDefinitionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeModelQualityJobDefinitionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts index 9bf4ed70835e6..ed33fcf062a79 100644 --- a/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/DescribeMonitoringScheduleCommand.ts @@ -28,7 +28,6 @@ export class DescribeMonitoringScheduleCommand extends $Command< DescribeMonitoringScheduleCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMonitoringScheduleCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts index bc239aa15377a..ee7964afeba90 100644 --- a/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/DescribeNotebookInstanceCommand.ts @@ -28,7 +28,6 @@ export class DescribeNotebookInstanceCommand extends $Command< DescribeNotebookInstanceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeNotebookInstanceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts index 96b9c8117758a..db5ac51749810 100644 --- a/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/DescribeNotebookInstanceLifecycleConfigCommand.ts @@ -34,7 +34,6 @@ export class DescribeNotebookInstanceLifecycleConfigCommand extends $Command< DescribeNotebookInstanceLifecycleConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeNotebookInstanceLifecycleConfigCommand extends $Command< DescribeNotebookInstanceLifecycleConfigCommandInput, DescribeNotebookInstanceLifecycleConfigCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribePipelineCommand.ts b/clients/client-sagemaker/commands/DescribePipelineCommand.ts index 47bd22fcf62d5..e39e2e5dcf39a 100644 --- a/clients/client-sagemaker/commands/DescribePipelineCommand.ts +++ b/clients/client-sagemaker/commands/DescribePipelineCommand.ts @@ -28,7 +28,6 @@ export class DescribePipelineCommand extends $Command< DescribePipelineCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePipelineCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribePipelineDefinitionForExecutionCommand.ts b/clients/client-sagemaker/commands/DescribePipelineDefinitionForExecutionCommand.ts index 74b279b97920b..c22581a54ff26 100644 --- a/clients/client-sagemaker/commands/DescribePipelineDefinitionForExecutionCommand.ts +++ b/clients/client-sagemaker/commands/DescribePipelineDefinitionForExecutionCommand.ts @@ -32,7 +32,6 @@ export class DescribePipelineDefinitionForExecutionCommand extends $Command< DescribePipelineDefinitionForExecutionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribePipelineDefinitionForExecutionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribePipelineExecutionCommand.ts b/clients/client-sagemaker/commands/DescribePipelineExecutionCommand.ts index 83ade4df8b3ed..efc4a3fda91e5 100644 --- a/clients/client-sagemaker/commands/DescribePipelineExecutionCommand.ts +++ b/clients/client-sagemaker/commands/DescribePipelineExecutionCommand.ts @@ -28,7 +28,6 @@ export class DescribePipelineExecutionCommand extends $Command< DescribePipelineExecutionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePipelineExecutionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts b/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts index 812c6d061384e..6a984ed54a9d8 100644 --- a/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeProcessingJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeProcessingJobCommand extends $Command< DescribeProcessingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProcessingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeProjectCommand.ts b/clients/client-sagemaker/commands/DescribeProjectCommand.ts index 36242c91f35ab..ee568198790bc 100644 --- a/clients/client-sagemaker/commands/DescribeProjectCommand.ts +++ b/clients/client-sagemaker/commands/DescribeProjectCommand.ts @@ -28,7 +28,6 @@ export class DescribeProjectCommand extends $Command< DescribeProjectCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProjectCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts b/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts index 1d74bbf1de320..8a15099746a51 100644 --- a/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/DescribeSubscribedWorkteamCommand.ts @@ -29,7 +29,6 @@ export class DescribeSubscribedWorkteamCommand extends $Command< DescribeSubscribedWorkteamCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSubscribedWorkteamCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts b/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts index 9877625c73e1e..7d8e54d56b5c4 100644 --- a/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTrainingJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrainingJobCommand extends $Command< DescribeTrainingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrainingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts b/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts index 635f54ed02e26..c43020394bd42 100644 --- a/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTransformJobCommand.ts @@ -28,7 +28,6 @@ export class DescribeTransformJobCommand extends $Command< DescribeTransformJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTransformJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeTrialCommand.ts b/clients/client-sagemaker/commands/DescribeTrialCommand.ts index 82e903b54de94..0602122dc351d 100644 --- a/clients/client-sagemaker/commands/DescribeTrialCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTrialCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrialCommand extends $Command< DescribeTrialCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrialCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts b/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts index 6e53db41a5455..e50b763dabc93 100644 --- a/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/DescribeTrialComponentCommand.ts @@ -28,7 +28,6 @@ export class DescribeTrialComponentCommand extends $Command< DescribeTrialComponentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTrialComponentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts b/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts index 64073a4c2e462..734877fae44a9 100644 --- a/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/DescribeUserProfileCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserProfileCommand extends $Command< DescribeUserProfileCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserProfileCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts b/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts index 80fcc7845a7ec..b71b752784ba3 100644 --- a/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts +++ b/clients/client-sagemaker/commands/DescribeWorkforceCommand.ts @@ -33,7 +33,6 @@ export class DescribeWorkforceCommand extends $Command< DescribeWorkforceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeWorkforceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts b/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts index c575a80328d1e..bc05279ff5487 100644 --- a/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/DescribeWorkteamCommand.ts @@ -30,7 +30,6 @@ export class DescribeWorkteamCommand extends $Command< DescribeWorkteamCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeWorkteamCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DisableSagemakerServicecatalogPortfolioCommand.ts b/clients/client-sagemaker/commands/DisableSagemakerServicecatalogPortfolioCommand.ts index ea5446fb57024..1ba280247b90b 100644 --- a/clients/client-sagemaker/commands/DisableSagemakerServicecatalogPortfolioCommand.ts +++ b/clients/client-sagemaker/commands/DisableSagemakerServicecatalogPortfolioCommand.ts @@ -33,7 +33,6 @@ export class DisableSagemakerServicecatalogPortfolioCommand extends $Command< DisableSagemakerServicecatalogPortfolioCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisableSagemakerServicecatalogPortfolioCommand extends $Command< DisableSagemakerServicecatalogPortfolioCommandInput, DisableSagemakerServicecatalogPortfolioCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts b/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts index a8a30a0a40fb4..d4846c67914cc 100644 --- a/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/DisassociateTrialComponentCommand.ts @@ -33,7 +33,6 @@ export class DisassociateTrialComponentCommand extends $Command< DisassociateTrialComponentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DisassociateTrialComponentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/EnableSagemakerServicecatalogPortfolioCommand.ts b/clients/client-sagemaker/commands/EnableSagemakerServicecatalogPortfolioCommand.ts index 88382395d0ada..51f3ac2686bf1 100644 --- a/clients/client-sagemaker/commands/EnableSagemakerServicecatalogPortfolioCommand.ts +++ b/clients/client-sagemaker/commands/EnableSagemakerServicecatalogPortfolioCommand.ts @@ -33,7 +33,6 @@ export class EnableSagemakerServicecatalogPortfolioCommand extends $Command< EnableSagemakerServicecatalogPortfolioCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class EnableSagemakerServicecatalogPortfolioCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/GetDeviceFleetReportCommand.ts b/clients/client-sagemaker/commands/GetDeviceFleetReportCommand.ts index de19c7ea3eaac..27264609385b1 100644 --- a/clients/client-sagemaker/commands/GetDeviceFleetReportCommand.ts +++ b/clients/client-sagemaker/commands/GetDeviceFleetReportCommand.ts @@ -28,7 +28,6 @@ export class GetDeviceFleetReportCommand extends $Command< GetDeviceFleetReportCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeviceFleetReportCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/GetModelPackageGroupPolicyCommand.ts b/clients/client-sagemaker/commands/GetModelPackageGroupPolicyCommand.ts index d107d6856e586..17b798d351983 100644 --- a/clients/client-sagemaker/commands/GetModelPackageGroupPolicyCommand.ts +++ b/clients/client-sagemaker/commands/GetModelPackageGroupPolicyCommand.ts @@ -31,7 +31,6 @@ export class GetModelPackageGroupPolicyCommand extends $Command< GetModelPackageGroupPolicyCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetModelPackageGroupPolicyCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/GetSagemakerServicecatalogPortfolioStatusCommand.ts b/clients/client-sagemaker/commands/GetSagemakerServicecatalogPortfolioStatusCommand.ts index 69c04c08703ef..a551d33637cc7 100644 --- a/clients/client-sagemaker/commands/GetSagemakerServicecatalogPortfolioStatusCommand.ts +++ b/clients/client-sagemaker/commands/GetSagemakerServicecatalogPortfolioStatusCommand.ts @@ -33,7 +33,6 @@ export class GetSagemakerServicecatalogPortfolioStatusCommand extends $Command< GetSagemakerServicecatalogPortfolioStatusCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSagemakerServicecatalogPortfolioStatusCommand extends $Command< GetSagemakerServicecatalogPortfolioStatusCommandInput, GetSagemakerServicecatalogPortfolioStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts b/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts index 415249cebdca0..c823810aea7a5 100644 --- a/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts +++ b/clients/client-sagemaker/commands/GetSearchSuggestionsCommand.ts @@ -31,7 +31,6 @@ export class GetSearchSuggestionsCommand extends $Command< GetSearchSuggestionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetSearchSuggestionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListActionsCommand.ts b/clients/client-sagemaker/commands/ListActionsCommand.ts index 45b55166987d6..000a9318863d3 100644 --- a/clients/client-sagemaker/commands/ListActionsCommand.ts +++ b/clients/client-sagemaker/commands/ListActionsCommand.ts @@ -28,7 +28,6 @@ export class ListActionsCommand extends $Command< ListActionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListActionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts b/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts index d9a145708b0e0..03792cb16c7a1 100644 --- a/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts +++ b/clients/client-sagemaker/commands/ListAlgorithmsCommand.ts @@ -28,7 +28,6 @@ export class ListAlgorithmsCommand extends $Command< ListAlgorithmsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAlgorithmsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListAppImageConfigsCommand.ts b/clients/client-sagemaker/commands/ListAppImageConfigsCommand.ts index 6e155143a1b47..90265e9be8ff5 100644 --- a/clients/client-sagemaker/commands/ListAppImageConfigsCommand.ts +++ b/clients/client-sagemaker/commands/ListAppImageConfigsCommand.ts @@ -30,7 +30,6 @@ export class ListAppImageConfigsCommand extends $Command< ListAppImageConfigsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAppImageConfigsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListAppsCommand.ts b/clients/client-sagemaker/commands/ListAppsCommand.ts index 63170edab526b..cba469ac82757 100644 --- a/clients/client-sagemaker/commands/ListAppsCommand.ts +++ b/clients/client-sagemaker/commands/ListAppsCommand.ts @@ -25,7 +25,6 @@ export class ListAppsCommand extends $Command< ListAppsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListAppsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListArtifactsCommand.ts b/clients/client-sagemaker/commands/ListArtifactsCommand.ts index 5d29db299330a..0776216617a21 100644 --- a/clients/client-sagemaker/commands/ListArtifactsCommand.ts +++ b/clients/client-sagemaker/commands/ListArtifactsCommand.ts @@ -28,7 +28,6 @@ export class ListArtifactsCommand extends $Command< ListArtifactsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListArtifactsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListAssociationsCommand.ts b/clients/client-sagemaker/commands/ListAssociationsCommand.ts index 7a692dfce1487..d7e5c6825d6cc 100644 --- a/clients/client-sagemaker/commands/ListAssociationsCommand.ts +++ b/clients/client-sagemaker/commands/ListAssociationsCommand.ts @@ -28,7 +28,6 @@ export class ListAssociationsCommand extends $Command< ListAssociationsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAssociationsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts b/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts index 5cf3763a18996..a77cb1d09500d 100644 --- a/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListAutoMLJobsCommand.ts @@ -28,7 +28,6 @@ export class ListAutoMLJobsCommand extends $Command< ListAutoMLJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAutoMLJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts b/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts index 91b2feebf971b..fe90d8fa6d039 100644 --- a/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/ListCandidatesForAutoMLJobCommand.ts @@ -28,7 +28,6 @@ export class ListCandidatesForAutoMLJobCommand extends $Command< ListCandidatesForAutoMLJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCandidatesForAutoMLJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts b/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts index a1f3e10b78f6a..12f7ea54d2e95 100644 --- a/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts +++ b/clients/client-sagemaker/commands/ListCodeRepositoriesCommand.ts @@ -28,7 +28,6 @@ export class ListCodeRepositoriesCommand extends $Command< ListCodeRepositoriesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCodeRepositoriesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts b/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts index 24357e679c065..7473f38c364e8 100644 --- a/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListCompilationJobsCommand.ts @@ -30,7 +30,6 @@ export class ListCompilationJobsCommand extends $Command< ListCompilationJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListCompilationJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListContextsCommand.ts b/clients/client-sagemaker/commands/ListContextsCommand.ts index 9d561d06596bb..d63027a8a5a28 100644 --- a/clients/client-sagemaker/commands/ListContextsCommand.ts +++ b/clients/client-sagemaker/commands/ListContextsCommand.ts @@ -28,7 +28,6 @@ export class ListContextsCommand extends $Command< ListContextsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListContextsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListDataQualityJobDefinitionsCommand.ts b/clients/client-sagemaker/commands/ListDataQualityJobDefinitionsCommand.ts index d55fbd2e9120b..fb5f4ab98986f 100644 --- a/clients/client-sagemaker/commands/ListDataQualityJobDefinitionsCommand.ts +++ b/clients/client-sagemaker/commands/ListDataQualityJobDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListDataQualityJobDefinitionsCommand extends $Command< ListDataQualityJobDefinitionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDataQualityJobDefinitionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListDeviceFleetsCommand.ts b/clients/client-sagemaker/commands/ListDeviceFleetsCommand.ts index 97235d2a6a24c..03794be38681b 100644 --- a/clients/client-sagemaker/commands/ListDeviceFleetsCommand.ts +++ b/clients/client-sagemaker/commands/ListDeviceFleetsCommand.ts @@ -28,7 +28,6 @@ export class ListDeviceFleetsCommand extends $Command< ListDeviceFleetsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDeviceFleetsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListDevicesCommand.ts b/clients/client-sagemaker/commands/ListDevicesCommand.ts index a50c0daa1a621..50fd742ee5480 100644 --- a/clients/client-sagemaker/commands/ListDevicesCommand.ts +++ b/clients/client-sagemaker/commands/ListDevicesCommand.ts @@ -28,7 +28,6 @@ export class ListDevicesCommand extends $Command< ListDevicesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDevicesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListDomainsCommand.ts b/clients/client-sagemaker/commands/ListDomainsCommand.ts index f9a2c2a6e27e2..2163eaa77a304 100644 --- a/clients/client-sagemaker/commands/ListDomainsCommand.ts +++ b/clients/client-sagemaker/commands/ListDomainsCommand.ts @@ -28,7 +28,6 @@ export class ListDomainsCommand extends $Command< ListDomainsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDomainsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListEdgePackagingJobsCommand.ts b/clients/client-sagemaker/commands/ListEdgePackagingJobsCommand.ts index 2e90b999b479a..1aa875c14f29f 100644 --- a/clients/client-sagemaker/commands/ListEdgePackagingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListEdgePackagingJobsCommand.ts @@ -28,7 +28,6 @@ export class ListEdgePackagingJobsCommand extends $Command< ListEdgePackagingJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEdgePackagingJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts b/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts index 1c8a69473d9c4..e16c39577935c 100644 --- a/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts +++ b/clients/client-sagemaker/commands/ListEndpointConfigsCommand.ts @@ -28,7 +28,6 @@ export class ListEndpointConfigsCommand extends $Command< ListEndpointConfigsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEndpointConfigsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListEndpointsCommand.ts b/clients/client-sagemaker/commands/ListEndpointsCommand.ts index 483e9abe0f21e..4dbe5d6dd34bd 100644 --- a/clients/client-sagemaker/commands/ListEndpointsCommand.ts +++ b/clients/client-sagemaker/commands/ListEndpointsCommand.ts @@ -28,7 +28,6 @@ export class ListEndpointsCommand extends $Command< ListEndpointsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListEndpointsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListExperimentsCommand.ts b/clients/client-sagemaker/commands/ListExperimentsCommand.ts index c820089a1a35d..d4d0a0956e745 100644 --- a/clients/client-sagemaker/commands/ListExperimentsCommand.ts +++ b/clients/client-sagemaker/commands/ListExperimentsCommand.ts @@ -30,7 +30,6 @@ export class ListExperimentsCommand extends $Command< ListExperimentsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListExperimentsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListFeatureGroupsCommand.ts b/clients/client-sagemaker/commands/ListFeatureGroupsCommand.ts index a8e98ed377641..310f1555019fa 100644 --- a/clients/client-sagemaker/commands/ListFeatureGroupsCommand.ts +++ b/clients/client-sagemaker/commands/ListFeatureGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListFeatureGroupsCommand extends $Command< ListFeatureGroupsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFeatureGroupsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts b/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts index b8d8244b83321..e1ebd49ae9d14 100644 --- a/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts +++ b/clients/client-sagemaker/commands/ListFlowDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListFlowDefinitionsCommand extends $Command< ListFlowDefinitionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFlowDefinitionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts b/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts index 025819505c64b..b773ee8ba2cda 100644 --- a/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts +++ b/clients/client-sagemaker/commands/ListHumanTaskUisCommand.ts @@ -28,7 +28,6 @@ export class ListHumanTaskUisCommand extends $Command< ListHumanTaskUisCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListHumanTaskUisCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts b/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts index 1520148b868d6..b16b83abd8efb 100644 --- a/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListHyperParameterTuningJobsCommand.ts @@ -30,7 +30,6 @@ export class ListHyperParameterTuningJobsCommand extends $Command< ListHyperParameterTuningJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListHyperParameterTuningJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListImageVersionsCommand.ts b/clients/client-sagemaker/commands/ListImageVersionsCommand.ts index caa3b3cc0eca5..19fef2bf1d151 100644 --- a/clients/client-sagemaker/commands/ListImageVersionsCommand.ts +++ b/clients/client-sagemaker/commands/ListImageVersionsCommand.ts @@ -29,7 +29,6 @@ export class ListImageVersionsCommand extends $Command< ListImageVersionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListImageVersionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListImagesCommand.ts b/clients/client-sagemaker/commands/ListImagesCommand.ts index d33d56c512013..a91c2eff35805 100644 --- a/clients/client-sagemaker/commands/ListImagesCommand.ts +++ b/clients/client-sagemaker/commands/ListImagesCommand.ts @@ -29,7 +29,6 @@ export class ListImagesCommand extends $Command< ListImagesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListImagesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts b/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts index edfdfa01fb3ab..a25d2eb2b4d54 100644 --- a/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListLabelingJobsCommand.ts @@ -28,7 +28,6 @@ export class ListLabelingJobsCommand extends $Command< ListLabelingJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLabelingJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts b/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts index 9ec0cf3d4aaba..a9aaf3fc8cf26 100644 --- a/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/ListLabelingJobsForWorkteamCommand.ts @@ -28,7 +28,6 @@ export class ListLabelingJobsForWorkteamCommand extends $Command< ListLabelingJobsForWorkteamCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListLabelingJobsForWorkteamCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListModelBiasJobDefinitionsCommand.ts b/clients/client-sagemaker/commands/ListModelBiasJobDefinitionsCommand.ts index 7a3dc2078eb3c..955f89d750b6b 100644 --- a/clients/client-sagemaker/commands/ListModelBiasJobDefinitionsCommand.ts +++ b/clients/client-sagemaker/commands/ListModelBiasJobDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListModelBiasJobDefinitionsCommand extends $Command< ListModelBiasJobDefinitionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListModelBiasJobDefinitionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListModelExplainabilityJobDefinitionsCommand.ts b/clients/client-sagemaker/commands/ListModelExplainabilityJobDefinitionsCommand.ts index f74df99d1612b..eb2e66e12e96f 100644 --- a/clients/client-sagemaker/commands/ListModelExplainabilityJobDefinitionsCommand.ts +++ b/clients/client-sagemaker/commands/ListModelExplainabilityJobDefinitionsCommand.ts @@ -32,7 +32,6 @@ export class ListModelExplainabilityJobDefinitionsCommand extends $Command< ListModelExplainabilityJobDefinitionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListModelExplainabilityJobDefinitionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListModelPackageGroupsCommand.ts b/clients/client-sagemaker/commands/ListModelPackageGroupsCommand.ts index 471de8b475c24..cb08730a3ef68 100644 --- a/clients/client-sagemaker/commands/ListModelPackageGroupsCommand.ts +++ b/clients/client-sagemaker/commands/ListModelPackageGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListModelPackageGroupsCommand extends $Command< ListModelPackageGroupsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListModelPackageGroupsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListModelPackagesCommand.ts b/clients/client-sagemaker/commands/ListModelPackagesCommand.ts index 7927dbc6516c9..e243f1e826562 100644 --- a/clients/client-sagemaker/commands/ListModelPackagesCommand.ts +++ b/clients/client-sagemaker/commands/ListModelPackagesCommand.ts @@ -28,7 +28,6 @@ export class ListModelPackagesCommand extends $Command< ListModelPackagesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListModelPackagesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListModelQualityJobDefinitionsCommand.ts b/clients/client-sagemaker/commands/ListModelQualityJobDefinitionsCommand.ts index 23a52134b2e8e..3616ce02824ab 100644 --- a/clients/client-sagemaker/commands/ListModelQualityJobDefinitionsCommand.ts +++ b/clients/client-sagemaker/commands/ListModelQualityJobDefinitionsCommand.ts @@ -28,7 +28,6 @@ export class ListModelQualityJobDefinitionsCommand extends $Command< ListModelQualityJobDefinitionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListModelQualityJobDefinitionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListModelsCommand.ts b/clients/client-sagemaker/commands/ListModelsCommand.ts index d729e698a9052..6b55c2ad8cac3 100644 --- a/clients/client-sagemaker/commands/ListModelsCommand.ts +++ b/clients/client-sagemaker/commands/ListModelsCommand.ts @@ -28,7 +28,6 @@ export class ListModelsCommand extends $Command< ListModelsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListModelsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts b/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts index f947f7e242448..0f7cc919166eb 100644 --- a/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts +++ b/clients/client-sagemaker/commands/ListMonitoringExecutionsCommand.ts @@ -28,7 +28,6 @@ export class ListMonitoringExecutionsCommand extends $Command< ListMonitoringExecutionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMonitoringExecutionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts b/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts index 566547c49beb4..c5aa8d4c0288b 100644 --- a/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts +++ b/clients/client-sagemaker/commands/ListMonitoringSchedulesCommand.ts @@ -28,7 +28,6 @@ export class ListMonitoringSchedulesCommand extends $Command< ListMonitoringSchedulesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListMonitoringSchedulesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts b/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts index 86c245ed969ad..b7828b7c191e2 100644 --- a/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts +++ b/clients/client-sagemaker/commands/ListNotebookInstanceLifecycleConfigsCommand.ts @@ -32,7 +32,6 @@ export class ListNotebookInstanceLifecycleConfigsCommand extends $Command< ListNotebookInstanceLifecycleConfigsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListNotebookInstanceLifecycleConfigsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts b/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts index ddaca513c8dcb..a111a68a2b978 100644 --- a/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts +++ b/clients/client-sagemaker/commands/ListNotebookInstancesCommand.ts @@ -29,7 +29,6 @@ export class ListNotebookInstancesCommand extends $Command< ListNotebookInstancesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListNotebookInstancesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListPipelineExecutionStepsCommand.ts b/clients/client-sagemaker/commands/ListPipelineExecutionStepsCommand.ts index b6b510951cdbd..0257f3ecdfef7 100644 --- a/clients/client-sagemaker/commands/ListPipelineExecutionStepsCommand.ts +++ b/clients/client-sagemaker/commands/ListPipelineExecutionStepsCommand.ts @@ -28,7 +28,6 @@ export class ListPipelineExecutionStepsCommand extends $Command< ListPipelineExecutionStepsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelineExecutionStepsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListPipelineExecutionsCommand.ts b/clients/client-sagemaker/commands/ListPipelineExecutionsCommand.ts index fc8fcd37346d0..61a23f5db801e 100644 --- a/clients/client-sagemaker/commands/ListPipelineExecutionsCommand.ts +++ b/clients/client-sagemaker/commands/ListPipelineExecutionsCommand.ts @@ -28,7 +28,6 @@ export class ListPipelineExecutionsCommand extends $Command< ListPipelineExecutionsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelineExecutionsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListPipelineParametersForExecutionCommand.ts b/clients/client-sagemaker/commands/ListPipelineParametersForExecutionCommand.ts index cd417bfbe7a70..9fff258aa0484 100644 --- a/clients/client-sagemaker/commands/ListPipelineParametersForExecutionCommand.ts +++ b/clients/client-sagemaker/commands/ListPipelineParametersForExecutionCommand.ts @@ -32,7 +32,6 @@ export class ListPipelineParametersForExecutionCommand extends $Command< ListPipelineParametersForExecutionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPipelineParametersForExecutionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListPipelinesCommand.ts b/clients/client-sagemaker/commands/ListPipelinesCommand.ts index 5e3b30cb29377..f98cf7b131461 100644 --- a/clients/client-sagemaker/commands/ListPipelinesCommand.ts +++ b/clients/client-sagemaker/commands/ListPipelinesCommand.ts @@ -28,7 +28,6 @@ export class ListPipelinesCommand extends $Command< ListPipelinesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPipelinesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts b/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts index 89146e35b0626..0dab6aec4162d 100644 --- a/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListProcessingJobsCommand.ts @@ -28,7 +28,6 @@ export class ListProcessingJobsCommand extends $Command< ListProcessingJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProcessingJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListProjectsCommand.ts b/clients/client-sagemaker/commands/ListProjectsCommand.ts index 7ab3a0f16446b..e035cd2a9e51b 100644 --- a/clients/client-sagemaker/commands/ListProjectsCommand.ts +++ b/clients/client-sagemaker/commands/ListProjectsCommand.ts @@ -28,7 +28,6 @@ export class ListProjectsCommand extends $Command< ListProjectsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProjectsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts b/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts index ed4da2d161ca6..251b0e618bdea 100644 --- a/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts +++ b/clients/client-sagemaker/commands/ListSubscribedWorkteamsCommand.ts @@ -30,7 +30,6 @@ export class ListSubscribedWorkteamsCommand extends $Command< ListSubscribedWorkteamsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListSubscribedWorkteamsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListTagsCommand.ts b/clients/client-sagemaker/commands/ListTagsCommand.ts index 5110d057b42fb..73dc9f014fe73 100644 --- a/clients/client-sagemaker/commands/ListTagsCommand.ts +++ b/clients/client-sagemaker/commands/ListTagsCommand.ts @@ -25,7 +25,6 @@ export class ListTagsCommand extends $Command< ListTagsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListTagsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts b/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts index d559c662f3fb9..a1eddc29a04d1 100644 --- a/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListTrainingJobsCommand.ts @@ -28,7 +28,6 @@ export class ListTrainingJobsCommand extends $Command< ListTrainingJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTrainingJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts index 1c649a9234be0..e7134e2bcbc43 100644 --- a/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/ListTrainingJobsForHyperParameterTuningJobCommand.ts @@ -33,7 +33,6 @@ export class ListTrainingJobsForHyperParameterTuningJobCommand extends $Command< ListTrainingJobsForHyperParameterTuningJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListTrainingJobsForHyperParameterTuningJobCommand extends $Command< ListTrainingJobsForHyperParameterTuningJobCommandInput, ListTrainingJobsForHyperParameterTuningJobCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListTransformJobsCommand.ts b/clients/client-sagemaker/commands/ListTransformJobsCommand.ts index a44145f8ca273..999a0705c4cca 100644 --- a/clients/client-sagemaker/commands/ListTransformJobsCommand.ts +++ b/clients/client-sagemaker/commands/ListTransformJobsCommand.ts @@ -28,7 +28,6 @@ export class ListTransformJobsCommand extends $Command< ListTransformJobsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTransformJobsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts b/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts index c2fd28401d967..1683fe7534cfc 100644 --- a/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts +++ b/clients/client-sagemaker/commands/ListTrialComponentsCommand.ts @@ -47,7 +47,6 @@ export class ListTrialComponentsCommand extends $Command< ListTrialComponentsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class ListTrialComponentsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListTrialsCommand.ts b/clients/client-sagemaker/commands/ListTrialsCommand.ts index 8153ea859f3ca..9dcbd14b7242d 100644 --- a/clients/client-sagemaker/commands/ListTrialsCommand.ts +++ b/clients/client-sagemaker/commands/ListTrialsCommand.ts @@ -32,7 +32,6 @@ export class ListTrialsCommand extends $Command< ListTrialsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTrialsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListUserProfilesCommand.ts b/clients/client-sagemaker/commands/ListUserProfilesCommand.ts index 4d52f13553cc2..f1b21608b1aef 100644 --- a/clients/client-sagemaker/commands/ListUserProfilesCommand.ts +++ b/clients/client-sagemaker/commands/ListUserProfilesCommand.ts @@ -28,7 +28,6 @@ export class ListUserProfilesCommand extends $Command< ListUserProfilesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListUserProfilesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListWorkforcesCommand.ts b/clients/client-sagemaker/commands/ListWorkforcesCommand.ts index dd5f5e7be1f33..f82bbcea3d96d 100644 --- a/clients/client-sagemaker/commands/ListWorkforcesCommand.ts +++ b/clients/client-sagemaker/commands/ListWorkforcesCommand.ts @@ -29,7 +29,6 @@ export class ListWorkforcesCommand extends $Command< ListWorkforcesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListWorkforcesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/ListWorkteamsCommand.ts b/clients/client-sagemaker/commands/ListWorkteamsCommand.ts index 6380290a27a33..f5659725c7a29 100644 --- a/clients/client-sagemaker/commands/ListWorkteamsCommand.ts +++ b/clients/client-sagemaker/commands/ListWorkteamsCommand.ts @@ -30,7 +30,6 @@ export class ListWorkteamsCommand extends $Command< ListWorkteamsCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListWorkteamsCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/PutModelPackageGroupPolicyCommand.ts b/clients/client-sagemaker/commands/PutModelPackageGroupPolicyCommand.ts index 5b8dca954130c..1b4daffaa3351 100644 --- a/clients/client-sagemaker/commands/PutModelPackageGroupPolicyCommand.ts +++ b/clients/client-sagemaker/commands/PutModelPackageGroupPolicyCommand.ts @@ -30,7 +30,6 @@ export class PutModelPackageGroupPolicyCommand extends $Command< PutModelPackageGroupPolicyCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutModelPackageGroupPolicyCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/RegisterDevicesCommand.ts b/clients/client-sagemaker/commands/RegisterDevicesCommand.ts index a9e8e029f2d53..ba7f19a6314d4 100644 --- a/clients/client-sagemaker/commands/RegisterDevicesCommand.ts +++ b/clients/client-sagemaker/commands/RegisterDevicesCommand.ts @@ -28,7 +28,6 @@ export class RegisterDevicesCommand extends $Command< RegisterDevicesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterDevicesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts b/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts index 75fe8bdbbc5fa..874ffae8679e0 100644 --- a/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts +++ b/clients/client-sagemaker/commands/RenderUiTemplateCommand.ts @@ -28,7 +28,6 @@ export class RenderUiTemplateCommand extends $Command< RenderUiTemplateCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RenderUiTemplateCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/SearchCommand.ts b/clients/client-sagemaker/commands/SearchCommand.ts index 3d1f59c25e112..ab316ad0e27ef 100644 --- a/clients/client-sagemaker/commands/SearchCommand.ts +++ b/clients/client-sagemaker/commands/SearchCommand.ts @@ -26,7 +26,6 @@ export type SearchCommandOutput = SearchResponse & __MetadataBearer; * timestamp.

*/ export class SearchCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class SearchCommand 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-sagemaker/commands/StartMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts index 5511404decbbe..77bdfe03b1a76 100644 --- a/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/StartMonitoringScheduleCommand.ts @@ -32,7 +32,6 @@ export class StartMonitoringScheduleCommand extends $Command< StartMonitoringScheduleCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartMonitoringScheduleCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts index 4d23b5b90644f..835a34c49fb2f 100644 --- a/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/StartNotebookInstanceCommand.ts @@ -31,7 +31,6 @@ export class StartNotebookInstanceCommand extends $Command< StartNotebookInstanceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StartNotebookInstanceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StartPipelineExecutionCommand.ts b/clients/client-sagemaker/commands/StartPipelineExecutionCommand.ts index d3ee945c441bd..4f000171cd7ed 100644 --- a/clients/client-sagemaker/commands/StartPipelineExecutionCommand.ts +++ b/clients/client-sagemaker/commands/StartPipelineExecutionCommand.ts @@ -28,7 +28,6 @@ export class StartPipelineExecutionCommand extends $Command< StartPipelineExecutionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartPipelineExecutionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts b/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts index 74df791421971..354fc72cda8aa 100644 --- a/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts +++ b/clients/client-sagemaker/commands/StopAutoMLJobCommand.ts @@ -28,7 +28,6 @@ export class StopAutoMLJobCommand extends $Command< StopAutoMLJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopAutoMLJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopCompilationJobCommand.ts b/clients/client-sagemaker/commands/StopCompilationJobCommand.ts index 7ef6e98ddda6d..76fef119501d6 100644 --- a/clients/client-sagemaker/commands/StopCompilationJobCommand.ts +++ b/clients/client-sagemaker/commands/StopCompilationJobCommand.ts @@ -33,7 +33,6 @@ export class StopCompilationJobCommand extends $Command< StopCompilationJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopCompilationJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopEdgePackagingJobCommand.ts b/clients/client-sagemaker/commands/StopEdgePackagingJobCommand.ts index 12767924944ff..3001ad61a4754 100644 --- a/clients/client-sagemaker/commands/StopEdgePackagingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopEdgePackagingJobCommand.ts @@ -28,7 +28,6 @@ export class StopEdgePackagingJobCommand extends $Command< StopEdgePackagingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopEdgePackagingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts b/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts index a073249d8cec7..cd4defabfcc89 100644 --- a/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts +++ b/clients/client-sagemaker/commands/StopHyperParameterTuningJobCommand.ts @@ -34,7 +34,6 @@ export class StopHyperParameterTuningJobCommand extends $Command< StopHyperParameterTuningJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StopHyperParameterTuningJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopLabelingJobCommand.ts b/clients/client-sagemaker/commands/StopLabelingJobCommand.ts index a312c868d0693..48cd0abe2c7e3 100644 --- a/clients/client-sagemaker/commands/StopLabelingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopLabelingJobCommand.ts @@ -29,7 +29,6 @@ export class StopLabelingJobCommand extends $Command< StopLabelingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopLabelingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts index 4f414773270c4..43dcde9ab43dc 100644 --- a/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/StopMonitoringScheduleCommand.ts @@ -28,7 +28,6 @@ export class StopMonitoringScheduleCommand extends $Command< StopMonitoringScheduleCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopMonitoringScheduleCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts index d70a9debb6ae2..851dfcc3de6aa 100644 --- a/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/StopNotebookInstanceCommand.ts @@ -36,7 +36,6 @@ export class StopNotebookInstanceCommand extends $Command< StopNotebookInstanceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StopNotebookInstanceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopPipelineExecutionCommand.ts b/clients/client-sagemaker/commands/StopPipelineExecutionCommand.ts index 2c914d63434aa..ef6a8acea954e 100644 --- a/clients/client-sagemaker/commands/StopPipelineExecutionCommand.ts +++ b/clients/client-sagemaker/commands/StopPipelineExecutionCommand.ts @@ -28,7 +28,6 @@ export class StopPipelineExecutionCommand extends $Command< StopPipelineExecutionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopPipelineExecutionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopProcessingJobCommand.ts b/clients/client-sagemaker/commands/StopProcessingJobCommand.ts index 494379a3f4285..d017686ce6a62 100644 --- a/clients/client-sagemaker/commands/StopProcessingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopProcessingJobCommand.ts @@ -28,7 +28,6 @@ export class StopProcessingJobCommand extends $Command< StopProcessingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopProcessingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopTrainingJobCommand.ts b/clients/client-sagemaker/commands/StopTrainingJobCommand.ts index bc4317dab0983..5266dec228621 100644 --- a/clients/client-sagemaker/commands/StopTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/StopTrainingJobCommand.ts @@ -34,7 +34,6 @@ export class StopTrainingJobCommand extends $Command< StopTrainingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StopTrainingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/StopTransformJobCommand.ts b/clients/client-sagemaker/commands/StopTransformJobCommand.ts index 3d5b53510905d..67da25988b5ae 100644 --- a/clients/client-sagemaker/commands/StopTransformJobCommand.ts +++ b/clients/client-sagemaker/commands/StopTransformJobCommand.ts @@ -33,7 +33,6 @@ export class StopTransformJobCommand extends $Command< StopTransformJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopTransformJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateActionCommand.ts b/clients/client-sagemaker/commands/UpdateActionCommand.ts index b53d42629fc99..d24017bf6e205 100644 --- a/clients/client-sagemaker/commands/UpdateActionCommand.ts +++ b/clients/client-sagemaker/commands/UpdateActionCommand.ts @@ -28,7 +28,6 @@ export class UpdateActionCommand extends $Command< UpdateActionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateActionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateAppImageConfigCommand.ts b/clients/client-sagemaker/commands/UpdateAppImageConfigCommand.ts index 21b412b9ef832..0eea92277492b 100644 --- a/clients/client-sagemaker/commands/UpdateAppImageConfigCommand.ts +++ b/clients/client-sagemaker/commands/UpdateAppImageConfigCommand.ts @@ -28,7 +28,6 @@ export class UpdateAppImageConfigCommand extends $Command< UpdateAppImageConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAppImageConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateArtifactCommand.ts b/clients/client-sagemaker/commands/UpdateArtifactCommand.ts index a085192465b2a..65ba533d65601 100644 --- a/clients/client-sagemaker/commands/UpdateArtifactCommand.ts +++ b/clients/client-sagemaker/commands/UpdateArtifactCommand.ts @@ -28,7 +28,6 @@ export class UpdateArtifactCommand extends $Command< UpdateArtifactCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateArtifactCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts b/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts index 259f0fb0bcce4..8c8b3dee7da5c 100644 --- a/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts +++ b/clients/client-sagemaker/commands/UpdateCodeRepositoryCommand.ts @@ -28,7 +28,6 @@ export class UpdateCodeRepositoryCommand extends $Command< UpdateCodeRepositoryCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateCodeRepositoryCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateContextCommand.ts b/clients/client-sagemaker/commands/UpdateContextCommand.ts index 0a8379ae8681b..edeb33c948ced 100644 --- a/clients/client-sagemaker/commands/UpdateContextCommand.ts +++ b/clients/client-sagemaker/commands/UpdateContextCommand.ts @@ -28,7 +28,6 @@ export class UpdateContextCommand extends $Command< UpdateContextCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateContextCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateDeviceFleetCommand.ts b/clients/client-sagemaker/commands/UpdateDeviceFleetCommand.ts index 776bd71cf7943..d5de1a9262750 100644 --- a/clients/client-sagemaker/commands/UpdateDeviceFleetCommand.ts +++ b/clients/client-sagemaker/commands/UpdateDeviceFleetCommand.ts @@ -28,7 +28,6 @@ export class UpdateDeviceFleetCommand extends $Command< UpdateDeviceFleetCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDeviceFleetCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateDevicesCommand.ts b/clients/client-sagemaker/commands/UpdateDevicesCommand.ts index b3e46f7c58b50..498989df99407 100644 --- a/clients/client-sagemaker/commands/UpdateDevicesCommand.ts +++ b/clients/client-sagemaker/commands/UpdateDevicesCommand.ts @@ -28,7 +28,6 @@ export class UpdateDevicesCommand extends $Command< UpdateDevicesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDevicesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateDomainCommand.ts b/clients/client-sagemaker/commands/UpdateDomainCommand.ts index d9726d744ad07..e117aa226bca3 100644 --- a/clients/client-sagemaker/commands/UpdateDomainCommand.ts +++ b/clients/client-sagemaker/commands/UpdateDomainCommand.ts @@ -28,7 +28,6 @@ export class UpdateDomainCommand extends $Command< UpdateDomainCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDomainCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateEndpointCommand.ts b/clients/client-sagemaker/commands/UpdateEndpointCommand.ts index f6d13b26e275c..04abc99a0f0ec 100644 --- a/clients/client-sagemaker/commands/UpdateEndpointCommand.ts +++ b/clients/client-sagemaker/commands/UpdateEndpointCommand.ts @@ -44,7 +44,6 @@ export class UpdateEndpointCommand extends $Command< UpdateEndpointCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class UpdateEndpointCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts b/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts index 72a0d872c436b..6a83aa35eb7de 100644 --- a/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts +++ b/clients/client-sagemaker/commands/UpdateEndpointWeightsAndCapacitiesCommand.ts @@ -33,7 +33,6 @@ export class UpdateEndpointWeightsAndCapacitiesCommand extends $Command< UpdateEndpointWeightsAndCapacitiesCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateEndpointWeightsAndCapacitiesCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateExperimentCommand.ts b/clients/client-sagemaker/commands/UpdateExperimentCommand.ts index 3ff0cea831cf3..38b55afac16c1 100644 --- a/clients/client-sagemaker/commands/UpdateExperimentCommand.ts +++ b/clients/client-sagemaker/commands/UpdateExperimentCommand.ts @@ -29,7 +29,6 @@ export class UpdateExperimentCommand extends $Command< UpdateExperimentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateExperimentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateImageCommand.ts b/clients/client-sagemaker/commands/UpdateImageCommand.ts index f18a619c29111..8c592dd09adad 100644 --- a/clients/client-sagemaker/commands/UpdateImageCommand.ts +++ b/clients/client-sagemaker/commands/UpdateImageCommand.ts @@ -29,7 +29,6 @@ export class UpdateImageCommand extends $Command< UpdateImageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateImageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts b/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts index 7c1795a15111e..a845a4aad24d1 100644 --- a/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts +++ b/clients/client-sagemaker/commands/UpdateModelPackageCommand.ts @@ -28,7 +28,6 @@ export class UpdateModelPackageCommand extends $Command< UpdateModelPackageCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateModelPackageCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts b/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts index ec8ad42b43835..a6b57ae75e006 100644 --- a/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts +++ b/clients/client-sagemaker/commands/UpdateMonitoringScheduleCommand.ts @@ -28,7 +28,6 @@ export class UpdateMonitoringScheduleCommand extends $Command< UpdateMonitoringScheduleCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMonitoringScheduleCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts b/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts index f9df90588f1d4..b0b4f8d7f8ce2 100644 --- a/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts +++ b/clients/client-sagemaker/commands/UpdateNotebookInstanceCommand.ts @@ -30,7 +30,6 @@ export class UpdateNotebookInstanceCommand extends $Command< UpdateNotebookInstanceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateNotebookInstanceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts b/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts index ff471a479166a..22695f9f5c1cc 100644 --- a/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/commands/UpdateNotebookInstanceLifecycleConfigCommand.ts @@ -32,7 +32,6 @@ export class UpdateNotebookInstanceLifecycleConfigCommand extends $Command< UpdateNotebookInstanceLifecycleConfigCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateNotebookInstanceLifecycleConfigCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdatePipelineCommand.ts b/clients/client-sagemaker/commands/UpdatePipelineCommand.ts index 549f67c391902..e3593b68c5c93 100644 --- a/clients/client-sagemaker/commands/UpdatePipelineCommand.ts +++ b/clients/client-sagemaker/commands/UpdatePipelineCommand.ts @@ -28,7 +28,6 @@ export class UpdatePipelineCommand extends $Command< UpdatePipelineCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePipelineCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdatePipelineExecutionCommand.ts b/clients/client-sagemaker/commands/UpdatePipelineExecutionCommand.ts index 02b6c5338c50f..a38962f115861 100644 --- a/clients/client-sagemaker/commands/UpdatePipelineExecutionCommand.ts +++ b/clients/client-sagemaker/commands/UpdatePipelineExecutionCommand.ts @@ -28,7 +28,6 @@ export class UpdatePipelineExecutionCommand extends $Command< UpdatePipelineExecutionCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePipelineExecutionCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateTrainingJobCommand.ts b/clients/client-sagemaker/commands/UpdateTrainingJobCommand.ts index c5f4a865ce510..3f38168996d50 100644 --- a/clients/client-sagemaker/commands/UpdateTrainingJobCommand.ts +++ b/clients/client-sagemaker/commands/UpdateTrainingJobCommand.ts @@ -28,7 +28,6 @@ export class UpdateTrainingJobCommand extends $Command< UpdateTrainingJobCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTrainingJobCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateTrialCommand.ts b/clients/client-sagemaker/commands/UpdateTrialCommand.ts index fa51b0e50451c..6ab6982d48f7a 100644 --- a/clients/client-sagemaker/commands/UpdateTrialCommand.ts +++ b/clients/client-sagemaker/commands/UpdateTrialCommand.ts @@ -28,7 +28,6 @@ export class UpdateTrialCommand extends $Command< UpdateTrialCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTrialCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts b/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts index 60771855bdb57..7075eb8d6459f 100644 --- a/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts +++ b/clients/client-sagemaker/commands/UpdateTrialComponentCommand.ts @@ -28,7 +28,6 @@ export class UpdateTrialComponentCommand extends $Command< UpdateTrialComponentCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTrialComponentCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts b/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts index 831300ac7ebe7..7cd86074efa9f 100644 --- a/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts +++ b/clients/client-sagemaker/commands/UpdateUserProfileCommand.ts @@ -28,7 +28,6 @@ export class UpdateUserProfileCommand extends $Command< UpdateUserProfileCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateUserProfileCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts b/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts index 2203f56af26ae..4e2c56cde9152 100644 --- a/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts +++ b/clients/client-sagemaker/commands/UpdateWorkforceCommand.ts @@ -49,7 +49,6 @@ export class UpdateWorkforceCommand extends $Command< UpdateWorkforceCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class UpdateWorkforceCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts b/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts index b2ec037768e99..cd189d6965c92 100644 --- a/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts +++ b/clients/client-sagemaker/commands/UpdateWorkteamCommand.ts @@ -28,7 +28,6 @@ export class UpdateWorkteamCommand extends $Command< UpdateWorkteamCommandOutput, SageMakerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateWorkteamCommand extends $Command< configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts b/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts index b9863cb352fe9..bac3789f0b860 100644 --- a/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts +++ b/clients/client-savingsplans/commands/CreateSavingsPlanCommand.ts @@ -28,7 +28,6 @@ export class CreateSavingsPlanCommand extends $Command< CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSavingsPlanCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/DeleteQueuedSavingsPlanCommand.ts b/clients/client-savingsplans/commands/DeleteQueuedSavingsPlanCommand.ts index 86914ebeb5e57..fd4b2a47cad9b 100644 --- a/clients/client-savingsplans/commands/DeleteQueuedSavingsPlanCommand.ts +++ b/clients/client-savingsplans/commands/DeleteQueuedSavingsPlanCommand.ts @@ -28,7 +28,6 @@ export class DeleteQueuedSavingsPlanCommand extends $Command< DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteQueuedSavingsPlanCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts index 5e22a7e2dfee6..37b28100e6810 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlanRatesCommand.ts @@ -28,7 +28,6 @@ export class DescribeSavingsPlanRatesCommand extends $Command< DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSavingsPlanRatesCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts index c01776f257ef9..2700e66d06cb0 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlansCommand.ts @@ -28,7 +28,6 @@ export class DescribeSavingsPlansCommand extends $Command< DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSavingsPlansCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts index c12bfc98c7569..03bfa89be77e0 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingRatesCommand.ts @@ -32,7 +32,6 @@ export class DescribeSavingsPlansOfferingRatesCommand extends $Command< DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeSavingsPlansOfferingRatesCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts index 378267247f861..cceee160e2878 100644 --- a/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts +++ b/clients/client-savingsplans/commands/DescribeSavingsPlansOfferingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeSavingsPlansOfferingsCommand extends $Command< DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSavingsPlansOfferingsCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts b/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts index 90834f73bde56..c1941c55707e6 100644 --- a/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts +++ b/clients/client-savingsplans/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/TagResourceCommand.ts b/clients/client-savingsplans/commands/TagResourceCommand.ts index 40257f5667fd9..f601d6fd5a902 100644 --- a/clients/client-savingsplans/commands/TagResourceCommand.ts +++ b/clients/client-savingsplans/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-savingsplans/commands/UntagResourceCommand.ts b/clients/client-savingsplans/commands/UntagResourceCommand.ts index badedc20613c4..fe70c102310b1 100644 --- a/clients/client-savingsplans/commands/UntagResourceCommand.ts +++ b/clients/client-savingsplans/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SavingsplansClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/CreateDiscovererCommand.ts b/clients/client-schemas/commands/CreateDiscovererCommand.ts index 9895eeb8605c7..a24eb861cc2d6 100644 --- a/clients/client-schemas/commands/CreateDiscovererCommand.ts +++ b/clients/client-schemas/commands/CreateDiscovererCommand.ts @@ -28,7 +28,6 @@ export class CreateDiscovererCommand extends $Command< CreateDiscovererCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateDiscovererCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/CreateRegistryCommand.ts b/clients/client-schemas/commands/CreateRegistryCommand.ts index a48013f64f97c..eb97a71167ff7 100644 --- a/clients/client-schemas/commands/CreateRegistryCommand.ts +++ b/clients/client-schemas/commands/CreateRegistryCommand.ts @@ -28,7 +28,6 @@ export class CreateRegistryCommand extends $Command< CreateRegistryCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateRegistryCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/CreateSchemaCommand.ts b/clients/client-schemas/commands/CreateSchemaCommand.ts index e2d75ddf14aa2..0c9401d1f29de 100644 --- a/clients/client-schemas/commands/CreateSchemaCommand.ts +++ b/clients/client-schemas/commands/CreateSchemaCommand.ts @@ -28,7 +28,6 @@ export class CreateSchemaCommand extends $Command< CreateSchemaCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateSchemaCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DeleteDiscovererCommand.ts b/clients/client-schemas/commands/DeleteDiscovererCommand.ts index c5ca58d40a251..8ce6cad9144b9 100644 --- a/clients/client-schemas/commands/DeleteDiscovererCommand.ts +++ b/clients/client-schemas/commands/DeleteDiscovererCommand.ts @@ -28,7 +28,6 @@ export class DeleteDiscovererCommand extends $Command< DeleteDiscovererCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDiscovererCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DeleteRegistryCommand.ts b/clients/client-schemas/commands/DeleteRegistryCommand.ts index 34ade24e73698..c65c350ad2b84 100644 --- a/clients/client-schemas/commands/DeleteRegistryCommand.ts +++ b/clients/client-schemas/commands/DeleteRegistryCommand.ts @@ -28,7 +28,6 @@ export class DeleteRegistryCommand extends $Command< DeleteRegistryCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteRegistryCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DeleteResourcePolicyCommand.ts b/clients/client-schemas/commands/DeleteResourcePolicyCommand.ts index 1ba3e29f9d689..5e6f6b0956a38 100644 --- a/clients/client-schemas/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-schemas/commands/DeleteResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourcePolicyCommand extends $Command< DeleteResourcePolicyCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourcePolicyCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DeleteSchemaCommand.ts b/clients/client-schemas/commands/DeleteSchemaCommand.ts index ee7fbb76e36d6..d2ac4172f21ba 100644 --- a/clients/client-schemas/commands/DeleteSchemaCommand.ts +++ b/clients/client-schemas/commands/DeleteSchemaCommand.ts @@ -28,7 +28,6 @@ export class DeleteSchemaCommand extends $Command< DeleteSchemaCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSchemaCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts b/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts index a16419fb3da01..3f68d543d4513 100644 --- a/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts +++ b/clients/client-schemas/commands/DeleteSchemaVersionCommand.ts @@ -28,7 +28,6 @@ export class DeleteSchemaVersionCommand extends $Command< DeleteSchemaVersionCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSchemaVersionCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DescribeCodeBindingCommand.ts b/clients/client-schemas/commands/DescribeCodeBindingCommand.ts index 7c991f12130e2..1b9efd6c9fa08 100644 --- a/clients/client-schemas/commands/DescribeCodeBindingCommand.ts +++ b/clients/client-schemas/commands/DescribeCodeBindingCommand.ts @@ -28,7 +28,6 @@ export class DescribeCodeBindingCommand extends $Command< DescribeCodeBindingCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCodeBindingCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DescribeDiscovererCommand.ts b/clients/client-schemas/commands/DescribeDiscovererCommand.ts index 10326ec81f096..dbaff5eae2fbd 100644 --- a/clients/client-schemas/commands/DescribeDiscovererCommand.ts +++ b/clients/client-schemas/commands/DescribeDiscovererCommand.ts @@ -28,7 +28,6 @@ export class DescribeDiscovererCommand extends $Command< DescribeDiscovererCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDiscovererCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DescribeRegistryCommand.ts b/clients/client-schemas/commands/DescribeRegistryCommand.ts index 0c29b23c7c026..f1bb10c877a01 100644 --- a/clients/client-schemas/commands/DescribeRegistryCommand.ts +++ b/clients/client-schemas/commands/DescribeRegistryCommand.ts @@ -28,7 +28,6 @@ export class DescribeRegistryCommand extends $Command< DescribeRegistryCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeRegistryCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/DescribeSchemaCommand.ts b/clients/client-schemas/commands/DescribeSchemaCommand.ts index 01c9b76b1600d..46b6288533150 100644 --- a/clients/client-schemas/commands/DescribeSchemaCommand.ts +++ b/clients/client-schemas/commands/DescribeSchemaCommand.ts @@ -28,7 +28,6 @@ export class DescribeSchemaCommand extends $Command< DescribeSchemaCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSchemaCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/ExportSchemaCommand.ts b/clients/client-schemas/commands/ExportSchemaCommand.ts index b58e863d55895..36856c42e910e 100644 --- a/clients/client-schemas/commands/ExportSchemaCommand.ts +++ b/clients/client-schemas/commands/ExportSchemaCommand.ts @@ -25,7 +25,6 @@ export class ExportSchemaCommand extends $Command< ExportSchemaCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ExportSchemaCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts b/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts index ce80539a6de3f..a7fce2b281cef 100644 --- a/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts +++ b/clients/client-schemas/commands/GetCodeBindingSourceCommand.ts @@ -28,7 +28,6 @@ export class GetCodeBindingSourceCommand extends $Command< GetCodeBindingSourceCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCodeBindingSourceCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts b/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts index 7a94edaea43c9..ec12c1e9887bd 100644 --- a/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts +++ b/clients/client-schemas/commands/GetDiscoveredSchemaCommand.ts @@ -28,7 +28,6 @@ export class GetDiscoveredSchemaCommand extends $Command< GetDiscoveredSchemaCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDiscoveredSchemaCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/GetResourcePolicyCommand.ts b/clients/client-schemas/commands/GetResourcePolicyCommand.ts index f853d563fbc9f..e49efb4402fd4 100644 --- a/clients/client-schemas/commands/GetResourcePolicyCommand.ts +++ b/clients/client-schemas/commands/GetResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class GetResourcePolicyCommand extends $Command< GetResourcePolicyCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetResourcePolicyCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/ListDiscoverersCommand.ts b/clients/client-schemas/commands/ListDiscoverersCommand.ts index 60d39acece831..a06c1ee428015 100644 --- a/clients/client-schemas/commands/ListDiscoverersCommand.ts +++ b/clients/client-schemas/commands/ListDiscoverersCommand.ts @@ -28,7 +28,6 @@ export class ListDiscoverersCommand extends $Command< ListDiscoverersCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDiscoverersCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/ListRegistriesCommand.ts b/clients/client-schemas/commands/ListRegistriesCommand.ts index 6daee7690ddc4..7b3c43959dc9d 100644 --- a/clients/client-schemas/commands/ListRegistriesCommand.ts +++ b/clients/client-schemas/commands/ListRegistriesCommand.ts @@ -28,7 +28,6 @@ export class ListRegistriesCommand extends $Command< ListRegistriesCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRegistriesCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/ListSchemaVersionsCommand.ts b/clients/client-schemas/commands/ListSchemaVersionsCommand.ts index a7833c6a43a1a..552d9491d61c1 100644 --- a/clients/client-schemas/commands/ListSchemaVersionsCommand.ts +++ b/clients/client-schemas/commands/ListSchemaVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListSchemaVersionsCommand extends $Command< ListSchemaVersionsCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSchemaVersionsCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/ListSchemasCommand.ts b/clients/client-schemas/commands/ListSchemasCommand.ts index d9b715be8e918..868d0a6eb2e20 100644 --- a/clients/client-schemas/commands/ListSchemasCommand.ts +++ b/clients/client-schemas/commands/ListSchemasCommand.ts @@ -28,7 +28,6 @@ export class ListSchemasCommand extends $Command< ListSchemasCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListSchemasCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/ListTagsForResourceCommand.ts b/clients/client-schemas/commands/ListTagsForResourceCommand.ts index edd152275cbd9..39e5ac6359c7f 100644 --- a/clients/client-schemas/commands/ListTagsForResourceCommand.ts +++ b/clients/client-schemas/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/PutCodeBindingCommand.ts b/clients/client-schemas/commands/PutCodeBindingCommand.ts index f1a178834f854..a474407449564 100644 --- a/clients/client-schemas/commands/PutCodeBindingCommand.ts +++ b/clients/client-schemas/commands/PutCodeBindingCommand.ts @@ -28,7 +28,6 @@ export class PutCodeBindingCommand extends $Command< PutCodeBindingCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutCodeBindingCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/PutResourcePolicyCommand.ts b/clients/client-schemas/commands/PutResourcePolicyCommand.ts index 832d2e2201178..c3722d5d6eeae 100644 --- a/clients/client-schemas/commands/PutResourcePolicyCommand.ts +++ b/clients/client-schemas/commands/PutResourcePolicyCommand.ts @@ -28,7 +28,6 @@ export class PutResourcePolicyCommand extends $Command< PutResourcePolicyCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutResourcePolicyCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/SearchSchemasCommand.ts b/clients/client-schemas/commands/SearchSchemasCommand.ts index 0557a634ff92d..c33f592a34610 100644 --- a/clients/client-schemas/commands/SearchSchemasCommand.ts +++ b/clients/client-schemas/commands/SearchSchemasCommand.ts @@ -28,7 +28,6 @@ export class SearchSchemasCommand extends $Command< SearchSchemasCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchSchemasCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/StartDiscovererCommand.ts b/clients/client-schemas/commands/StartDiscovererCommand.ts index 8a35de0d7012b..fda2b06202019 100644 --- a/clients/client-schemas/commands/StartDiscovererCommand.ts +++ b/clients/client-schemas/commands/StartDiscovererCommand.ts @@ -28,7 +28,6 @@ export class StartDiscovererCommand extends $Command< StartDiscovererCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartDiscovererCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/StopDiscovererCommand.ts b/clients/client-schemas/commands/StopDiscovererCommand.ts index 4471e464bba01..5722ebbd82148 100644 --- a/clients/client-schemas/commands/StopDiscovererCommand.ts +++ b/clients/client-schemas/commands/StopDiscovererCommand.ts @@ -28,7 +28,6 @@ export class StopDiscovererCommand extends $Command< StopDiscovererCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopDiscovererCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/TagResourceCommand.ts b/clients/client-schemas/commands/TagResourceCommand.ts index db86505394861..fbe2b61f69cd6 100644 --- a/clients/client-schemas/commands/TagResourceCommand.ts +++ b/clients/client-schemas/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/UntagResourceCommand.ts b/clients/client-schemas/commands/UntagResourceCommand.ts index c3762ff442047..3aea5202d225f 100644 --- a/clients/client-schemas/commands/UntagResourceCommand.ts +++ b/clients/client-schemas/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/UpdateDiscovererCommand.ts b/clients/client-schemas/commands/UpdateDiscovererCommand.ts index c04fc9fd008f6..b9ffa6906c8fe 100644 --- a/clients/client-schemas/commands/UpdateDiscovererCommand.ts +++ b/clients/client-schemas/commands/UpdateDiscovererCommand.ts @@ -28,7 +28,6 @@ export class UpdateDiscovererCommand extends $Command< UpdateDiscovererCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDiscovererCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/UpdateRegistryCommand.ts b/clients/client-schemas/commands/UpdateRegistryCommand.ts index 2b205f3555669..e37fc892ef42e 100644 --- a/clients/client-schemas/commands/UpdateRegistryCommand.ts +++ b/clients/client-schemas/commands/UpdateRegistryCommand.ts @@ -28,7 +28,6 @@ export class UpdateRegistryCommand extends $Command< UpdateRegistryCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateRegistryCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-schemas/commands/UpdateSchemaCommand.ts b/clients/client-schemas/commands/UpdateSchemaCommand.ts index 125b8e6d895d8..0334cc09e0c4b 100644 --- a/clients/client-schemas/commands/UpdateSchemaCommand.ts +++ b/clients/client-schemas/commands/UpdateSchemaCommand.ts @@ -28,7 +28,6 @@ export class UpdateSchemaCommand extends $Command< UpdateSchemaCommandOutput, SchemasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSchemaCommand extends $Command< configuration: SchemasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts b/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts index 244a9739b266f..719215156268f 100644 --- a/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/CancelRotateSecretCommand.ts @@ -80,7 +80,6 @@ export class CancelRotateSecretCommand extends $Command< CancelRotateSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,10 +97,7 @@ export class CancelRotateSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/CreateSecretCommand.ts b/clients/client-secrets-manager/commands/CreateSecretCommand.ts index 09bb13d122e99..c72c88e86aee3 100644 --- a/clients/client-secrets-manager/commands/CreateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/CreateSecretCommand.ts @@ -115,7 +115,6 @@ export class CreateSecretCommand extends $Command< CreateSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -133,10 +132,7 @@ export class CreateSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts index 4aafc4f83c1f5..4db64f8cb0a2d 100644 --- a/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/DeleteResourcePolicyCommand.ts @@ -51,7 +51,6 @@ export class DeleteResourcePolicyCommand extends $Command< DeleteResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteResourcePolicyCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/DeleteSecretCommand.ts b/clients/client-secrets-manager/commands/DeleteSecretCommand.ts index 8116373833d20..a1d5075b3e88f 100644 --- a/clients/client-secrets-manager/commands/DeleteSecretCommand.ts +++ b/clients/client-secrets-manager/commands/DeleteSecretCommand.ts @@ -73,7 +73,6 @@ export class DeleteSecretCommand extends $Command< DeleteSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -91,10 +90,7 @@ export class DeleteSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/DescribeSecretCommand.ts b/clients/client-secrets-manager/commands/DescribeSecretCommand.ts index 5e97d1e5e1786..a77ade764ac77 100644 --- a/clients/client-secrets-manager/commands/DescribeSecretCommand.ts +++ b/clients/client-secrets-manager/commands/DescribeSecretCommand.ts @@ -55,7 +55,6 @@ export class DescribeSecretCommand extends $Command< DescribeSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class DescribeSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts b/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts index 0bd6fc72adb59..f03ac49b81e84 100644 --- a/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts +++ b/clients/client-secrets-manager/commands/GetRandomPasswordCommand.ts @@ -40,7 +40,6 @@ export class GetRandomPasswordCommand extends $Command< GetRandomPasswordCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetRandomPasswordCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts index e868cadf94f05..715600290f8ac 100644 --- a/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/GetResourcePolicyCommand.ts @@ -54,7 +54,6 @@ export class GetResourcePolicyCommand extends $Command< GetResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class GetResourcePolicyCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/GetSecretValueCommand.ts b/clients/client-secrets-manager/commands/GetSecretValueCommand.ts index 28009090a07b0..b7cf476658361 100644 --- a/clients/client-secrets-manager/commands/GetSecretValueCommand.ts +++ b/clients/client-secrets-manager/commands/GetSecretValueCommand.ts @@ -55,7 +55,6 @@ export class GetSecretValueCommand extends $Command< GetSecretValueCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class GetSecretValueCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts b/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts index f523851e5b422..bc0b2ceabd7a8 100644 --- a/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts +++ b/clients/client-secrets-manager/commands/ListSecretVersionIdsCommand.ts @@ -56,7 +56,6 @@ export class ListSecretVersionIdsCommand extends $Command< ListSecretVersionIdsCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class ListSecretVersionIdsCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/ListSecretsCommand.ts b/clients/client-secrets-manager/commands/ListSecretsCommand.ts index d416ea06034c7..8c2c1bd3edd95 100644 --- a/clients/client-secrets-manager/commands/ListSecretsCommand.ts +++ b/clients/client-secrets-manager/commands/ListSecretsCommand.ts @@ -57,7 +57,6 @@ export class ListSecretsCommand extends $Command< ListSecretsCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class ListSecretsCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts index 531b4b491ead6..3f1af9746109d 100644 --- a/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/PutResourcePolicyCommand.ts @@ -59,7 +59,6 @@ export class PutResourcePolicyCommand extends $Command< PutResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class PutResourcePolicyCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/PutSecretValueCommand.ts b/clients/client-secrets-manager/commands/PutSecretValueCommand.ts index 5b2c773c4b372..a0fbaaece2fc1 100644 --- a/clients/client-secrets-manager/commands/PutSecretValueCommand.ts +++ b/clients/client-secrets-manager/commands/PutSecretValueCommand.ts @@ -117,7 +117,6 @@ export class PutSecretValueCommand extends $Command< PutSecretValueCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -135,10 +134,7 @@ export class PutSecretValueCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/RestoreSecretCommand.ts b/clients/client-secrets-manager/commands/RestoreSecretCommand.ts index 4669e6b27106f..9388e6349676c 100644 --- a/clients/client-secrets-manager/commands/RestoreSecretCommand.ts +++ b/clients/client-secrets-manager/commands/RestoreSecretCommand.ts @@ -46,7 +46,6 @@ export class RestoreSecretCommand extends $Command< RestoreSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class RestoreSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/RotateSecretCommand.ts b/clients/client-secrets-manager/commands/RotateSecretCommand.ts index d1b94cdae42b8..1bd1d9d6cdbd4 100644 --- a/clients/client-secrets-manager/commands/RotateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/RotateSecretCommand.ts @@ -89,7 +89,6 @@ export class RotateSecretCommand extends $Command< RotateSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -107,10 +106,7 @@ export class RotateSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/TagResourceCommand.ts b/clients/client-secrets-manager/commands/TagResourceCommand.ts index 54396b9c541c8..7c77a400be33c 100644 --- a/clients/client-secrets-manager/commands/TagResourceCommand.ts +++ b/clients/client-secrets-manager/commands/TagResourceCommand.ts @@ -83,7 +83,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -101,10 +100,7 @@ export class TagResourceCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/UntagResourceCommand.ts b/clients/client-secrets-manager/commands/UntagResourceCommand.ts index 4a29dc4433b8d..a889dff1c1585 100644 --- a/clients/client-secrets-manager/commands/UntagResourceCommand.ts +++ b/clients/client-secrets-manager/commands/UntagResourceCommand.ts @@ -56,7 +56,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class UntagResourceCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/UpdateSecretCommand.ts b/clients/client-secrets-manager/commands/UpdateSecretCommand.ts index aa4ee3cd0ccf3..c3e1de60f27d1 100644 --- a/clients/client-secrets-manager/commands/UpdateSecretCommand.ts +++ b/clients/client-secrets-manager/commands/UpdateSecretCommand.ts @@ -112,7 +112,6 @@ export class UpdateSecretCommand extends $Command< UpdateSecretCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -130,10 +129,7 @@ export class UpdateSecretCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts b/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts index 0b79dcfe10d39..8a119083850f7 100644 --- a/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts +++ b/clients/client-secrets-manager/commands/UpdateSecretVersionStageCommand.ts @@ -64,7 +64,6 @@ export class UpdateSecretVersionStageCommand extends $Command< UpdateSecretVersionStageCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class UpdateSecretVersionStageCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-secrets-manager/commands/ValidateResourcePolicyCommand.ts b/clients/client-secrets-manager/commands/ValidateResourcePolicyCommand.ts index 72ec1c6607be0..8b60f4668651c 100644 --- a/clients/client-secrets-manager/commands/ValidateResourcePolicyCommand.ts +++ b/clients/client-secrets-manager/commands/ValidateResourcePolicyCommand.ts @@ -32,7 +32,6 @@ export class ValidateResourcePolicyCommand extends $Command< ValidateResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ValidateResourcePolicyCommand extends $Command< configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/AcceptInvitationCommand.ts b/clients/client-securityhub/commands/AcceptInvitationCommand.ts index 21c1c6c525214..e35079f6601e7 100644 --- a/clients/client-securityhub/commands/AcceptInvitationCommand.ts +++ b/clients/client-securityhub/commands/AcceptInvitationCommand.ts @@ -33,7 +33,6 @@ export class AcceptInvitationCommand extends $Command< AcceptInvitationCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AcceptInvitationCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts b/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts index d2d1130db57d7..17ce79d6ba02c 100644 --- a/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts +++ b/clients/client-securityhub/commands/BatchDisableStandardsCommand.ts @@ -31,7 +31,6 @@ export class BatchDisableStandardsCommand extends $Command< BatchDisableStandardsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class BatchDisableStandardsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts b/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts index 382b6f2641e56..fe69d64067d83 100644 --- a/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts +++ b/clients/client-securityhub/commands/BatchEnableStandardsCommand.ts @@ -34,7 +34,6 @@ export class BatchEnableStandardsCommand extends $Command< BatchEnableStandardsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class BatchEnableStandardsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/BatchImportFindingsCommand.ts b/clients/client-securityhub/commands/BatchImportFindingsCommand.ts index ea01ed66dd485..98271a1520abe 100644 --- a/clients/client-securityhub/commands/BatchImportFindingsCommand.ts +++ b/clients/client-securityhub/commands/BatchImportFindingsCommand.ts @@ -82,7 +82,6 @@ export class BatchImportFindingsCommand extends $Command< BatchImportFindingsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class BatchImportFindingsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/BatchUpdateFindingsCommand.ts b/clients/client-securityhub/commands/BatchUpdateFindingsCommand.ts index 782826ac79ba4..9aef8db85d042 100644 --- a/clients/client-securityhub/commands/BatchUpdateFindingsCommand.ts +++ b/clients/client-securityhub/commands/BatchUpdateFindingsCommand.ts @@ -86,7 +86,6 @@ export class BatchUpdateFindingsCommand extends $Command< BatchUpdateFindingsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class BatchUpdateFindingsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/CreateActionTargetCommand.ts b/clients/client-securityhub/commands/CreateActionTargetCommand.ts index c5e100820c825..37cee62082e2d 100644 --- a/clients/client-securityhub/commands/CreateActionTargetCommand.ts +++ b/clients/client-securityhub/commands/CreateActionTargetCommand.ts @@ -30,7 +30,6 @@ export class CreateActionTargetCommand extends $Command< CreateActionTargetCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateActionTargetCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/CreateInsightCommand.ts b/clients/client-securityhub/commands/CreateInsightCommand.ts index 879ac81140432..fbfc8021dcc4d 100644 --- a/clients/client-securityhub/commands/CreateInsightCommand.ts +++ b/clients/client-securityhub/commands/CreateInsightCommand.ts @@ -31,7 +31,6 @@ export class CreateInsightCommand extends $Command< CreateInsightCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateInsightCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/CreateMembersCommand.ts b/clients/client-securityhub/commands/CreateMembersCommand.ts index a984c65123dc8..4a7d33ef1cdb9 100644 --- a/clients/client-securityhub/commands/CreateMembersCommand.ts +++ b/clients/client-securityhub/commands/CreateMembersCommand.ts @@ -65,7 +65,6 @@ export class CreateMembersCommand extends $Command< CreateMembersCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class CreateMembersCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DeclineInvitationsCommand.ts b/clients/client-securityhub/commands/DeclineInvitationsCommand.ts index 17a2bb2585bf4..4a2a14b67cdae 100644 --- a/clients/client-securityhub/commands/DeclineInvitationsCommand.ts +++ b/clients/client-securityhub/commands/DeclineInvitationsCommand.ts @@ -30,7 +30,6 @@ export class DeclineInvitationsCommand extends $Command< DeclineInvitationsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeclineInvitationsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DeleteActionTargetCommand.ts b/clients/client-securityhub/commands/DeleteActionTargetCommand.ts index 407a2ba29c367..adda89e073f50 100644 --- a/clients/client-securityhub/commands/DeleteActionTargetCommand.ts +++ b/clients/client-securityhub/commands/DeleteActionTargetCommand.ts @@ -30,7 +30,6 @@ export class DeleteActionTargetCommand extends $Command< DeleteActionTargetCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteActionTargetCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DeleteInsightCommand.ts b/clients/client-securityhub/commands/DeleteInsightCommand.ts index becbe3a7b5972..4ab896d001679 100644 --- a/clients/client-securityhub/commands/DeleteInsightCommand.ts +++ b/clients/client-securityhub/commands/DeleteInsightCommand.ts @@ -28,7 +28,6 @@ export class DeleteInsightCommand extends $Command< DeleteInsightCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteInsightCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DeleteInvitationsCommand.ts b/clients/client-securityhub/commands/DeleteInvitationsCommand.ts index c0b6f15b1b271..435413744d42b 100644 --- a/clients/client-securityhub/commands/DeleteInvitationsCommand.ts +++ b/clients/client-securityhub/commands/DeleteInvitationsCommand.ts @@ -30,7 +30,6 @@ export class DeleteInvitationsCommand extends $Command< DeleteInvitationsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteInvitationsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DeleteMembersCommand.ts b/clients/client-securityhub/commands/DeleteMembersCommand.ts index 5dd4a0e06a5e6..5f0655cd6e15d 100644 --- a/clients/client-securityhub/commands/DeleteMembersCommand.ts +++ b/clients/client-securityhub/commands/DeleteMembersCommand.ts @@ -30,7 +30,6 @@ export class DeleteMembersCommand extends $Command< DeleteMembersCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteMembersCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts b/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts index 1a5e19926cb5d..f68e1ba3ae9f6 100644 --- a/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts +++ b/clients/client-securityhub/commands/DescribeActionTargetsCommand.ts @@ -28,7 +28,6 @@ export class DescribeActionTargetsCommand extends $Command< DescribeActionTargetsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeActionTargetsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DescribeHubCommand.ts b/clients/client-securityhub/commands/DescribeHubCommand.ts index 434561fd3f231..17c027a9a725c 100644 --- a/clients/client-securityhub/commands/DescribeHubCommand.ts +++ b/clients/client-securityhub/commands/DescribeHubCommand.ts @@ -29,7 +29,6 @@ export class DescribeHubCommand extends $Command< DescribeHubCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeHubCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DescribeOrganizationConfigurationCommand.ts b/clients/client-securityhub/commands/DescribeOrganizationConfigurationCommand.ts index 0ad718658f89e..1278086b057a9 100644 --- a/clients/client-securityhub/commands/DescribeOrganizationConfigurationCommand.ts +++ b/clients/client-securityhub/commands/DescribeOrganizationConfigurationCommand.ts @@ -33,7 +33,6 @@ export class DescribeOrganizationConfigurationCommand extends $Command< DescribeOrganizationConfigurationCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeOrganizationConfigurationCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DescribeProductsCommand.ts b/clients/client-securityhub/commands/DescribeProductsCommand.ts index 6611f5f513705..1dfb16a81dd61 100644 --- a/clients/client-securityhub/commands/DescribeProductsCommand.ts +++ b/clients/client-securityhub/commands/DescribeProductsCommand.ts @@ -29,7 +29,6 @@ export class DescribeProductsCommand extends $Command< DescribeProductsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeProductsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DescribeStandardsCommand.ts b/clients/client-securityhub/commands/DescribeStandardsCommand.ts index 76f677c878f7e..abed25366979f 100644 --- a/clients/client-securityhub/commands/DescribeStandardsCommand.ts +++ b/clients/client-securityhub/commands/DescribeStandardsCommand.ts @@ -29,7 +29,6 @@ export class DescribeStandardsCommand extends $Command< DescribeStandardsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeStandardsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts b/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts index bd871a45e7522..731ddbad19ac0 100644 --- a/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts +++ b/clients/client-securityhub/commands/DescribeStandardsControlsCommand.ts @@ -30,7 +30,6 @@ export class DescribeStandardsControlsCommand extends $Command< DescribeStandardsControlsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeStandardsControlsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts b/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts index 5107dfac414bb..5a6ea47d0b883 100644 --- a/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts +++ b/clients/client-securityhub/commands/DisableImportFindingsForProductCommand.ts @@ -29,7 +29,6 @@ export class DisableImportFindingsForProductCommand extends $Command< DisableImportFindingsForProductCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableImportFindingsForProductCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DisableOrganizationAdminAccountCommand.ts b/clients/client-securityhub/commands/DisableOrganizationAdminAccountCommand.ts index ed34ff796e731..ee863bd9aad71 100644 --- a/clients/client-securityhub/commands/DisableOrganizationAdminAccountCommand.ts +++ b/clients/client-securityhub/commands/DisableOrganizationAdminAccountCommand.ts @@ -29,7 +29,6 @@ export class DisableOrganizationAdminAccountCommand extends $Command< DisableOrganizationAdminAccountCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisableOrganizationAdminAccountCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DisableSecurityHubCommand.ts b/clients/client-securityhub/commands/DisableSecurityHubCommand.ts index a6beae6f224f3..502fb66b9c721 100644 --- a/clients/client-securityhub/commands/DisableSecurityHubCommand.ts +++ b/clients/client-securityhub/commands/DisableSecurityHubCommand.ts @@ -36,7 +36,6 @@ export class DisableSecurityHubCommand extends $Command< DisableSecurityHubCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisableSecurityHubCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts b/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts index a86717e1b8720..19d773856c236 100644 --- a/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts +++ b/clients/client-securityhub/commands/DisassociateFromMasterAccountCommand.ts @@ -32,7 +32,6 @@ export class DisassociateFromMasterAccountCommand extends $Command< DisassociateFromMasterAccountCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateFromMasterAccountCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/DisassociateMembersCommand.ts b/clients/client-securityhub/commands/DisassociateMembersCommand.ts index 1904729b727a6..281303ce04b0e 100644 --- a/clients/client-securityhub/commands/DisassociateMembersCommand.ts +++ b/clients/client-securityhub/commands/DisassociateMembersCommand.ts @@ -30,7 +30,6 @@ export class DisassociateMembersCommand extends $Command< DisassociateMembersCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociateMembersCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts b/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts index 41037b7e6c625..a69b5bd9bb165 100644 --- a/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts +++ b/clients/client-securityhub/commands/EnableImportFindingsForProductCommand.ts @@ -31,7 +31,6 @@ export class EnableImportFindingsForProductCommand extends $Command< EnableImportFindingsForProductCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class EnableImportFindingsForProductCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/EnableOrganizationAdminAccountCommand.ts b/clients/client-securityhub/commands/EnableOrganizationAdminAccountCommand.ts index 6d79dac57aaaf..43a6c4181ea05 100644 --- a/clients/client-securityhub/commands/EnableOrganizationAdminAccountCommand.ts +++ b/clients/client-securityhub/commands/EnableOrganizationAdminAccountCommand.ts @@ -29,7 +29,6 @@ export class EnableOrganizationAdminAccountCommand extends $Command< EnableOrganizationAdminAccountCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class EnableOrganizationAdminAccountCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/EnableSecurityHubCommand.ts b/clients/client-securityhub/commands/EnableSecurityHubCommand.ts index bf232697d44e4..01c0e94dff5cb 100644 --- a/clients/client-securityhub/commands/EnableSecurityHubCommand.ts +++ b/clients/client-securityhub/commands/EnableSecurityHubCommand.ts @@ -52,7 +52,6 @@ export class EnableSecurityHubCommand extends $Command< EnableSecurityHubCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class EnableSecurityHubCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts b/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts index e9523c2173b1e..b8b992103a834 100644 --- a/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts +++ b/clients/client-securityhub/commands/GetEnabledStandardsCommand.ts @@ -28,7 +28,6 @@ export class GetEnabledStandardsCommand extends $Command< GetEnabledStandardsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEnabledStandardsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetFindingsCommand.ts b/clients/client-securityhub/commands/GetFindingsCommand.ts index 558f80ee4acdc..0095b501b0944 100644 --- a/clients/client-securityhub/commands/GetFindingsCommand.ts +++ b/clients/client-securityhub/commands/GetFindingsCommand.ts @@ -29,7 +29,6 @@ export class GetFindingsCommand extends $Command< GetFindingsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetFindingsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetInsightResultsCommand.ts b/clients/client-securityhub/commands/GetInsightResultsCommand.ts index ed579fc0493ed..eec026cc44d25 100644 --- a/clients/client-securityhub/commands/GetInsightResultsCommand.ts +++ b/clients/client-securityhub/commands/GetInsightResultsCommand.ts @@ -28,7 +28,6 @@ export class GetInsightResultsCommand extends $Command< GetInsightResultsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInsightResultsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetInsightsCommand.ts b/clients/client-securityhub/commands/GetInsightsCommand.ts index bd46088b704a6..1522c82ec9922 100644 --- a/clients/client-securityhub/commands/GetInsightsCommand.ts +++ b/clients/client-securityhub/commands/GetInsightsCommand.ts @@ -28,7 +28,6 @@ export class GetInsightsCommand extends $Command< GetInsightsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInsightsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetInvitationsCountCommand.ts b/clients/client-securityhub/commands/GetInvitationsCountCommand.ts index a53e496f671b1..5d01d07547d93 100644 --- a/clients/client-securityhub/commands/GetInvitationsCountCommand.ts +++ b/clients/client-securityhub/commands/GetInvitationsCountCommand.ts @@ -29,7 +29,6 @@ export class GetInvitationsCountCommand extends $Command< GetInvitationsCountCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInvitationsCountCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetMasterAccountCommand.ts b/clients/client-securityhub/commands/GetMasterAccountCommand.ts index 271d94d001f47..1e43e394ef3df 100644 --- a/clients/client-securityhub/commands/GetMasterAccountCommand.ts +++ b/clients/client-securityhub/commands/GetMasterAccountCommand.ts @@ -30,7 +30,6 @@ export class GetMasterAccountCommand extends $Command< GetMasterAccountCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetMasterAccountCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/GetMembersCommand.ts b/clients/client-securityhub/commands/GetMembersCommand.ts index b4a48c5afe358..71e5330aa3ae9 100644 --- a/clients/client-securityhub/commands/GetMembersCommand.ts +++ b/clients/client-securityhub/commands/GetMembersCommand.ts @@ -32,7 +32,6 @@ export class GetMembersCommand extends $Command< GetMembersCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetMembersCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/InviteMembersCommand.ts b/clients/client-securityhub/commands/InviteMembersCommand.ts index 6a12695c70fdc..ef00cb5e60ebf 100644 --- a/clients/client-securityhub/commands/InviteMembersCommand.ts +++ b/clients/client-securityhub/commands/InviteMembersCommand.ts @@ -36,7 +36,6 @@ export class InviteMembersCommand extends $Command< InviteMembersCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class InviteMembersCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts b/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts index b00f4ffe22e71..a248aac80b942 100644 --- a/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts +++ b/clients/client-securityhub/commands/ListEnabledProductsForImportCommand.ts @@ -29,7 +29,6 @@ export class ListEnabledProductsForImportCommand extends $Command< ListEnabledProductsForImportCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListEnabledProductsForImportCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/ListInvitationsCommand.ts b/clients/client-securityhub/commands/ListInvitationsCommand.ts index 5b2c7300f2221..1ed8cae4a5557 100644 --- a/clients/client-securityhub/commands/ListInvitationsCommand.ts +++ b/clients/client-securityhub/commands/ListInvitationsCommand.ts @@ -30,7 +30,6 @@ export class ListInvitationsCommand extends $Command< ListInvitationsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListInvitationsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/ListMembersCommand.ts b/clients/client-securityhub/commands/ListMembersCommand.ts index 093653931e8fb..dac5fb53b4eb8 100644 --- a/clients/client-securityhub/commands/ListMembersCommand.ts +++ b/clients/client-securityhub/commands/ListMembersCommand.ts @@ -31,7 +31,6 @@ export class ListMembersCommand extends $Command< ListMembersCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListMembersCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/ListOrganizationAdminAccountsCommand.ts b/clients/client-securityhub/commands/ListOrganizationAdminAccountsCommand.ts index e22aaf021d69b..89b8b14c94028 100644 --- a/clients/client-securityhub/commands/ListOrganizationAdminAccountsCommand.ts +++ b/clients/client-securityhub/commands/ListOrganizationAdminAccountsCommand.ts @@ -29,7 +29,6 @@ export class ListOrganizationAdminAccountsCommand extends $Command< ListOrganizationAdminAccountsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListOrganizationAdminAccountsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/ListTagsForResourceCommand.ts b/clients/client-securityhub/commands/ListTagsForResourceCommand.ts index 05be586878004..a04a3b56e3b9a 100644 --- a/clients/client-securityhub/commands/ListTagsForResourceCommand.ts +++ b/clients/client-securityhub/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/TagResourceCommand.ts b/clients/client-securityhub/commands/TagResourceCommand.ts index ca2e51a599119..c2fde801fc17d 100644 --- a/clients/client-securityhub/commands/TagResourceCommand.ts +++ b/clients/client-securityhub/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UntagResourceCommand.ts b/clients/client-securityhub/commands/UntagResourceCommand.ts index 59239b3ab25e7..b3b93ace9a417 100644 --- a/clients/client-securityhub/commands/UntagResourceCommand.ts +++ b/clients/client-securityhub/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UpdateActionTargetCommand.ts b/clients/client-securityhub/commands/UpdateActionTargetCommand.ts index 0c4960602239f..a0b25694689b9 100644 --- a/clients/client-securityhub/commands/UpdateActionTargetCommand.ts +++ b/clients/client-securityhub/commands/UpdateActionTargetCommand.ts @@ -28,7 +28,6 @@ export class UpdateActionTargetCommand extends $Command< UpdateActionTargetCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateActionTargetCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UpdateFindingsCommand.ts b/clients/client-securityhub/commands/UpdateFindingsCommand.ts index 2d49923ac7af0..88508877f21df 100644 --- a/clients/client-securityhub/commands/UpdateFindingsCommand.ts +++ b/clients/client-securityhub/commands/UpdateFindingsCommand.ts @@ -33,7 +33,6 @@ export class UpdateFindingsCommand extends $Command< UpdateFindingsCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateFindingsCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UpdateInsightCommand.ts b/clients/client-securityhub/commands/UpdateInsightCommand.ts index e5feb9a196807..912f5f69423e2 100644 --- a/clients/client-securityhub/commands/UpdateInsightCommand.ts +++ b/clients/client-securityhub/commands/UpdateInsightCommand.ts @@ -28,7 +28,6 @@ export class UpdateInsightCommand extends $Command< UpdateInsightCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateInsightCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UpdateOrganizationConfigurationCommand.ts b/clients/client-securityhub/commands/UpdateOrganizationConfigurationCommand.ts index 38bac7ab97796..71b0ddbbd3a9b 100644 --- a/clients/client-securityhub/commands/UpdateOrganizationConfigurationCommand.ts +++ b/clients/client-securityhub/commands/UpdateOrganizationConfigurationCommand.ts @@ -29,7 +29,6 @@ export class UpdateOrganizationConfigurationCommand extends $Command< UpdateOrganizationConfigurationCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateOrganizationConfigurationCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UpdateSecurityHubConfigurationCommand.ts b/clients/client-securityhub/commands/UpdateSecurityHubConfigurationCommand.ts index 96f0323a5657c..7a183aff8da01 100644 --- a/clients/client-securityhub/commands/UpdateSecurityHubConfigurationCommand.ts +++ b/clients/client-securityhub/commands/UpdateSecurityHubConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateSecurityHubConfigurationCommand extends $Command< UpdateSecurityHubConfigurationCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSecurityHubConfigurationCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts b/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts index 563be35e9f0a3..e5cdd3cbea542 100644 --- a/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts +++ b/clients/client-securityhub/commands/UpdateStandardsControlCommand.ts @@ -29,7 +29,6 @@ export class UpdateStandardsControlCommand extends $Command< UpdateStandardsControlCommandOutput, SecurityHubClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateStandardsControlCommand extends $Command< configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts index a7f3b2b5446d5..07d2ee3efb697 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateApplicationCommand.ts @@ -32,7 +32,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApplicationCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts index fb8482c4861ff..f7330d71833dc 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateApplicationVersionCommand.ts @@ -32,7 +32,6 @@ export class CreateApplicationVersionCommand extends $Command< CreateApplicationVersionCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApplicationVersionCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts index db1f760e1d056..311061e73bcd8 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationChangeSetCommand.ts @@ -32,7 +32,6 @@ export class CreateCloudFormationChangeSetCommand extends $Command< CreateCloudFormationChangeSetCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateCloudFormationChangeSetCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts index 4c37caff34573..33c55b8a988b4 100644 --- a/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/CreateCloudFormationTemplateCommand.ts @@ -32,7 +32,6 @@ export class CreateCloudFormationTemplateCommand extends $Command< CreateCloudFormationTemplateCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateCloudFormationTemplateCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts index d5123cd732139..b8e795dac776e 100644 --- a/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/DeleteApplicationCommand.ts @@ -32,7 +32,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteApplicationCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts index aed2e5f57b7c3..07bf5f66d5321 100644 --- a/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/GetApplicationCommand.ts @@ -32,7 +32,6 @@ export class GetApplicationCommand extends $Command< GetApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetApplicationCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts b/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts index efb0b72ad8ae9..d4995dace2e83 100644 --- a/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/GetApplicationPolicyCommand.ts @@ -32,7 +32,6 @@ export class GetApplicationPolicyCommand extends $Command< GetApplicationPolicyCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetApplicationPolicyCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts b/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts index 3812b58ac0d6a..8f2191dc3e572 100644 --- a/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/GetCloudFormationTemplateCommand.ts @@ -32,7 +32,6 @@ export class GetCloudFormationTemplateCommand extends $Command< GetCloudFormationTemplateCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetCloudFormationTemplateCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts b/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts index 1a0b72180edd5..d95d52f1bec1f 100644 --- a/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/ListApplicationDependenciesCommand.ts @@ -32,7 +32,6 @@ export class ListApplicationDependenciesCommand extends $Command< ListApplicationDependenciesCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListApplicationDependenciesCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts b/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts index b1c68cac4289a..0d9f8d458f0d5 100644 --- a/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/ListApplicationVersionsCommand.ts @@ -32,7 +32,6 @@ export class ListApplicationVersionsCommand extends $Command< ListApplicationVersionsCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListApplicationVersionsCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts b/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts index 19024a276c0a3..63c365a39aa8f 100644 --- a/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/ListApplicationsCommand.ts @@ -32,7 +32,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListApplicationsCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts b/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts index 274b6e24e1057..b245b5ccb554a 100644 --- a/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/PutApplicationPolicyCommand.ts @@ -35,7 +35,6 @@ export class PutApplicationPolicyCommand extends $Command< PutApplicationPolicyCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class PutApplicationPolicyCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/UnshareApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/UnshareApplicationCommand.ts index 5fb7d86baad35..9aaf809246f4f 100644 --- a/clients/client-serverlessapplicationrepository/commands/UnshareApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/UnshareApplicationCommand.ts @@ -32,7 +32,6 @@ export class UnshareApplicationCommand extends $Command< UnshareApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UnshareApplicationCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts b/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts index b8d077199c5f8..8cbe97f3776ba 100644 --- a/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts +++ b/clients/client-serverlessapplicationrepository/commands/UpdateApplicationCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationCommand extends $Command< configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts index 11d3dfab41865..b8c09d2a6a3c6 100644 --- a/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/AssociateAttributeGroupCommand.ts @@ -34,7 +34,6 @@ export class AssociateAttributeGroupCommand extends $Command< AssociateAttributeGroupCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AssociateAttributeGroupCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts index 61f30d4f7ef97..8bdaeb02f5708 100644 --- a/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/AssociateResourceCommand.ts @@ -32,7 +32,6 @@ export class AssociateResourceCommand extends $Command< AssociateResourceCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateResourceCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts index d21aae4f72866..38bff0377cfe4 100644 --- a/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/CreateApplicationCommand.ts @@ -32,7 +32,6 @@ export class CreateApplicationCommand extends $Command< CreateApplicationCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateApplicationCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts index 53f4556289803..260757b720770 100644 --- a/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/CreateAttributeGroupCommand.ts @@ -35,7 +35,6 @@ export class CreateAttributeGroupCommand extends $Command< CreateAttributeGroupCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateAttributeGroupCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts index 8c167d324750e..128e751d122da 100644 --- a/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/DeleteApplicationCommand.ts @@ -32,7 +32,6 @@ export class DeleteApplicationCommand extends $Command< DeleteApplicationCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteApplicationCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts index 66f40c6d50cc2..ebe773634e7f3 100644 --- a/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/DeleteAttributeGroupCommand.ts @@ -32,7 +32,6 @@ export class DeleteAttributeGroupCommand extends $Command< DeleteAttributeGroupCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteAttributeGroupCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts index 0bf68b4cd3515..e91a08402b027 100644 --- a/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/DisassociateAttributeGroupCommand.ts @@ -32,7 +32,6 @@ export class DisassociateAttributeGroupCommand extends $Command< DisassociateAttributeGroupCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateAttributeGroupCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts index 46ea0e174d340..0840d80acb38d 100644 --- a/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/DisassociateResourceCommand.ts @@ -32,7 +32,6 @@ export class DisassociateResourceCommand extends $Command< DisassociateResourceCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateResourceCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts index 8ad5971ec645f..2c411dd9569ae 100644 --- a/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/GetApplicationCommand.ts @@ -32,7 +32,6 @@ export class GetApplicationCommand extends $Command< GetApplicationCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetApplicationCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts index d4cfe58329f09..72f1cc65d90b8 100644 --- a/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/GetAttributeGroupCommand.ts @@ -32,7 +32,6 @@ export class GetAttributeGroupCommand extends $Command< GetAttributeGroupCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetAttributeGroupCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts b/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts index 4fce3e4aebda8..0732331360998 100644 --- a/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/ListApplicationsCommand.ts @@ -32,7 +32,6 @@ export class ListApplicationsCommand extends $Command< ListApplicationsCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListApplicationsCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts b/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts index 8d75417e50cb1..c027d6504f696 100644 --- a/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/ListAssociatedAttributeGroupsCommand.ts @@ -32,7 +32,6 @@ export class ListAssociatedAttributeGroupsCommand extends $Command< ListAssociatedAttributeGroupsCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListAssociatedAttributeGroupsCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts b/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts index 5b75f85ed820f..68492e03ff2fe 100644 --- a/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/ListAssociatedResourcesCommand.ts @@ -32,7 +32,6 @@ export class ListAssociatedResourcesCommand extends $Command< ListAssociatedResourcesCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListAssociatedResourcesCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts b/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts index 974e2fe8fde3b..b7ae3606dd0d1 100644 --- a/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/ListAttributeGroupsCommand.ts @@ -32,7 +32,6 @@ export class ListAttributeGroupsCommand extends $Command< ListAttributeGroupsCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListAttributeGroupsCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/ListTagsForResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/ListTagsForResourceCommand.ts index e173e2cb4d109..a7341caf7831b 100644 --- a/clients/client-service-catalog-appregistry/commands/ListTagsForResourceCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/ListTagsForResourceCommand.ts @@ -32,7 +32,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/TagResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/TagResourceCommand.ts index 9ec7919cb1e52..26aa45cf52f53 100644 --- a/clients/client-service-catalog-appregistry/commands/TagResourceCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/UntagResourceCommand.ts b/clients/client-service-catalog-appregistry/commands/UntagResourceCommand.ts index 468de04c4d5e7..392909d468ba2 100644 --- a/clients/client-service-catalog-appregistry/commands/UntagResourceCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/UntagResourceCommand.ts @@ -32,7 +32,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UntagResourceCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts b/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts index f394991213ccb..dce554d1609d0 100644 --- a/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/UpdateApplicationCommand.ts @@ -32,7 +32,6 @@ export class UpdateApplicationCommand extends $Command< UpdateApplicationCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateApplicationCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts b/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts index be03ac2e098da..915bbdafae100 100644 --- a/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts +++ b/clients/client-service-catalog-appregistry/commands/UpdateAttributeGroupCommand.ts @@ -32,7 +32,6 @@ export class UpdateAttributeGroupCommand extends $Command< UpdateAttributeGroupCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateAttributeGroupCommand extends $Command< configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts b/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts index 9b1f4780b8c02..10dee68ad7cb0 100644 --- a/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/AcceptPortfolioShareCommand.ts @@ -28,7 +28,6 @@ export class AcceptPortfolioShareCommand extends $Command< AcceptPortfolioShareCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AcceptPortfolioShareCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts b/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts index cfd41324f03d0..2fc46240c9fd6 100644 --- a/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts +++ b/clients/client-service-catalog/commands/AssociateBudgetWithResourceCommand.ts @@ -28,7 +28,6 @@ export class AssociateBudgetWithResourceCommand extends $Command< AssociateBudgetWithResourceCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateBudgetWithResourceCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts b/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts index afae7819737d5..b93016c764027 100644 --- a/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/AssociatePrincipalWithPortfolioCommand.ts @@ -28,7 +28,6 @@ export class AssociatePrincipalWithPortfolioCommand extends $Command< AssociatePrincipalWithPortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociatePrincipalWithPortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts b/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts index 1a4fd7b9a04b9..899ca34b8611f 100644 --- a/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/AssociateProductWithPortfolioCommand.ts @@ -29,7 +29,6 @@ export class AssociateProductWithPortfolioCommand extends $Command< AssociateProductWithPortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateProductWithPortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts index 3e6f7e3e489d3..f44d7f5f243d2 100644 --- a/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/AssociateServiceActionWithProvisioningArtifactCommand.ts @@ -32,7 +32,6 @@ export class AssociateServiceActionWithProvisioningArtifactCommand extends $Comm AssociateServiceActionWithProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AssociateServiceActionWithProvisioningArtifactCommand extends $Comm AssociateServiceActionWithProvisioningArtifactCommandInput, AssociateServiceActionWithProvisioningArtifactCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts b/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts index 56100728b05b5..715d4fff129a1 100644 --- a/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts +++ b/clients/client-service-catalog/commands/AssociateTagOptionWithResourceCommand.ts @@ -28,7 +28,6 @@ export class AssociateTagOptionWithResourceCommand extends $Command< AssociateTagOptionWithResourceCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateTagOptionWithResourceCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts index 3b6865e3bfd78..277715cde1a9d 100644 --- a/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.ts @@ -32,7 +32,6 @@ export class BatchAssociateServiceActionWithProvisioningArtifactCommand extends BatchAssociateServiceActionWithProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchAssociateServiceActionWithProvisioningArtifactCommand extends BatchAssociateServiceActionWithProvisioningArtifactCommandInput, BatchAssociateServiceActionWithProvisioningArtifactCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts index b06538878ecd3..3c3f9e2603d4d 100644 --- a/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.ts @@ -32,7 +32,6 @@ export class BatchDisassociateServiceActionFromProvisioningArtifactCommand exten BatchDisassociateServiceActionFromProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class BatchDisassociateServiceActionFromProvisioningArtifactCommand exten BatchDisassociateServiceActionFromProvisioningArtifactCommandInput, BatchDisassociateServiceActionFromProvisioningArtifactCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CopyProductCommand.ts b/clients/client-service-catalog/commands/CopyProductCommand.ts index 6b524cd190f02..4c87ffb7c4c91 100644 --- a/clients/client-service-catalog/commands/CopyProductCommand.ts +++ b/clients/client-service-catalog/commands/CopyProductCommand.ts @@ -32,7 +32,6 @@ export class CopyProductCommand extends $Command< CopyProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CopyProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreateConstraintCommand.ts b/clients/client-service-catalog/commands/CreateConstraintCommand.ts index dbc09be6fdb68..6e77d75b861ca 100644 --- a/clients/client-service-catalog/commands/CreateConstraintCommand.ts +++ b/clients/client-service-catalog/commands/CreateConstraintCommand.ts @@ -29,7 +29,6 @@ export class CreateConstraintCommand extends $Command< CreateConstraintCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateConstraintCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreatePortfolioCommand.ts b/clients/client-service-catalog/commands/CreatePortfolioCommand.ts index 20e35d13d94a4..de4254fd9f842 100644 --- a/clients/client-service-catalog/commands/CreatePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/CreatePortfolioCommand.ts @@ -29,7 +29,6 @@ export class CreatePortfolioCommand extends $Command< CreatePortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreatePortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts b/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts index 1c79c09c9db40..48af2a2d5657e 100644 --- a/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/CreatePortfolioShareCommand.ts @@ -35,7 +35,6 @@ export class CreatePortfolioShareCommand extends $Command< CreatePortfolioShareCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreatePortfolioShareCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreateProductCommand.ts b/clients/client-service-catalog/commands/CreateProductCommand.ts index 7eabb52f63add..1c57b1d1714ca 100644 --- a/clients/client-service-catalog/commands/CreateProductCommand.ts +++ b/clients/client-service-catalog/commands/CreateProductCommand.ts @@ -29,7 +29,6 @@ export class CreateProductCommand extends $Command< CreateProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts index 465bbdb21f56c..301f330a2958b 100644 --- a/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/CreateProvisionedProductPlanCommand.ts @@ -34,7 +34,6 @@ export class CreateProvisionedProductPlanCommand extends $Command< CreateProvisionedProductPlanCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateProvisionedProductPlanCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts index 3385325d7831e..a08484b929b5c 100644 --- a/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/CreateProvisioningArtifactCommand.ts @@ -29,7 +29,6 @@ export class CreateProvisioningArtifactCommand extends $Command< CreateProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateProvisioningArtifactCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreateServiceActionCommand.ts b/clients/client-service-catalog/commands/CreateServiceActionCommand.ts index 6b0faebe1d861..632b16799a51a 100644 --- a/clients/client-service-catalog/commands/CreateServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/CreateServiceActionCommand.ts @@ -28,7 +28,6 @@ export class CreateServiceActionCommand extends $Command< CreateServiceActionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateServiceActionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/CreateTagOptionCommand.ts b/clients/client-service-catalog/commands/CreateTagOptionCommand.ts index e78d4ab6150b2..e41061e74c84f 100644 --- a/clients/client-service-catalog/commands/CreateTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/CreateTagOptionCommand.ts @@ -28,7 +28,6 @@ export class CreateTagOptionCommand extends $Command< CreateTagOptionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTagOptionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeleteConstraintCommand.ts b/clients/client-service-catalog/commands/DeleteConstraintCommand.ts index 737a84c3eb140..c024df94991eb 100644 --- a/clients/client-service-catalog/commands/DeleteConstraintCommand.ts +++ b/clients/client-service-catalog/commands/DeleteConstraintCommand.ts @@ -29,7 +29,6 @@ export class DeleteConstraintCommand extends $Command< DeleteConstraintCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteConstraintCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeletePortfolioCommand.ts b/clients/client-service-catalog/commands/DeletePortfolioCommand.ts index 6f1b4b6f104d4..0e9316cac8f04 100644 --- a/clients/client-service-catalog/commands/DeletePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DeletePortfolioCommand.ts @@ -31,7 +31,6 @@ export class DeletePortfolioCommand extends $Command< DeletePortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeletePortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts b/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts index a10993896bf06..0d133c7ae3deb 100644 --- a/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/DeletePortfolioShareCommand.ts @@ -31,7 +31,6 @@ export class DeletePortfolioShareCommand extends $Command< DeletePortfolioShareCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeletePortfolioShareCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeleteProductCommand.ts b/clients/client-service-catalog/commands/DeleteProductCommand.ts index 68e27eb935e0a..eff1c9f9d7dff 100644 --- a/clients/client-service-catalog/commands/DeleteProductCommand.ts +++ b/clients/client-service-catalog/commands/DeleteProductCommand.ts @@ -30,7 +30,6 @@ export class DeleteProductCommand extends $Command< DeleteProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts index 663650a367a03..61922b23dbbd4 100644 --- a/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/DeleteProvisionedProductPlanCommand.ts @@ -28,7 +28,6 @@ export class DeleteProvisionedProductPlanCommand extends $Command< DeleteProvisionedProductPlanCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProvisionedProductPlanCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts index 7153935a7917e..6d76a6c9a3348 100644 --- a/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/DeleteProvisioningArtifactCommand.ts @@ -31,7 +31,6 @@ export class DeleteProvisioningArtifactCommand extends $Command< DeleteProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteProvisioningArtifactCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts b/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts index f2b810f5167eb..d57724ec76a03 100644 --- a/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/DeleteServiceActionCommand.ts @@ -28,7 +28,6 @@ export class DeleteServiceActionCommand extends $Command< DeleteServiceActionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteServiceActionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts b/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts index 72193eb2bc9a1..72edf83cf95f3 100644 --- a/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/DeleteTagOptionCommand.ts @@ -29,7 +29,6 @@ export class DeleteTagOptionCommand extends $Command< DeleteTagOptionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTagOptionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeConstraintCommand.ts b/clients/client-service-catalog/commands/DescribeConstraintCommand.ts index e5972f7dbabcf..32b90ff699bc7 100644 --- a/clients/client-service-catalog/commands/DescribeConstraintCommand.ts +++ b/clients/client-service-catalog/commands/DescribeConstraintCommand.ts @@ -28,7 +28,6 @@ export class DescribeConstraintCommand extends $Command< DescribeConstraintCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeConstraintCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts b/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts index 9068ffda47667..4b7e35b7697d8 100644 --- a/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts +++ b/clients/client-service-catalog/commands/DescribeCopyProductStatusCommand.ts @@ -28,7 +28,6 @@ export class DescribeCopyProductStatusCommand extends $Command< DescribeCopyProductStatusCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCopyProductStatusCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribePortfolioCommand.ts b/clients/client-service-catalog/commands/DescribePortfolioCommand.ts index 0a63908359d58..2e1f9a36f5bee 100644 --- a/clients/client-service-catalog/commands/DescribePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DescribePortfolioCommand.ts @@ -29,7 +29,6 @@ export class DescribePortfolioCommand extends $Command< DescribePortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts b/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts index 6ab08bb5f348b..dc3539adb4529 100644 --- a/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts +++ b/clients/client-service-catalog/commands/DescribePortfolioShareStatusCommand.ts @@ -29,7 +29,6 @@ export class DescribePortfolioShareStatusCommand extends $Command< DescribePortfolioShareStatusCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePortfolioShareStatusCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts b/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts index 6654ae3bc16f9..61065267c8cd3 100644 --- a/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProductAsAdminCommand.ts @@ -28,7 +28,6 @@ export class DescribeProductAsAdminCommand extends $Command< DescribeProductAsAdminCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProductAsAdminCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProductCommand.ts b/clients/client-service-catalog/commands/DescribeProductCommand.ts index abb928fce1f3b..cf60cf3b54611 100644 --- a/clients/client-service-catalog/commands/DescribeProductCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProductCommand.ts @@ -28,7 +28,6 @@ export class DescribeProductCommand extends $Command< DescribeProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProductViewCommand.ts b/clients/client-service-catalog/commands/DescribeProductViewCommand.ts index ec68a2e48e4a8..b2c9c6c77578d 100644 --- a/clients/client-service-catalog/commands/DescribeProductViewCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProductViewCommand.ts @@ -28,7 +28,6 @@ export class DescribeProductViewCommand extends $Command< DescribeProductViewCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProductViewCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts b/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts index 1abccd923dbc4..722e61f714060 100644 --- a/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisionedProductCommand.ts @@ -28,7 +28,6 @@ export class DescribeProvisionedProductCommand extends $Command< DescribeProvisionedProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProvisionedProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts index 6d4f646e6575a..aaa9a60ed3362 100644 --- a/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisionedProductPlanCommand.ts @@ -28,7 +28,6 @@ export class DescribeProvisionedProductPlanCommand extends $Command< DescribeProvisionedProductPlanCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProvisionedProductPlanCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts index 0f5d05be13456..da4be0ed5f2bb 100644 --- a/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisioningArtifactCommand.ts @@ -28,7 +28,6 @@ export class DescribeProvisioningArtifactCommand extends $Command< DescribeProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProvisioningArtifactCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts b/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts index 32dd6a845f85a..27b9a342f5f02 100644 --- a/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts +++ b/clients/client-service-catalog/commands/DescribeProvisioningParametersCommand.ts @@ -35,7 +35,6 @@ export class DescribeProvisioningParametersCommand extends $Command< DescribeProvisioningParametersCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeProvisioningParametersCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeRecordCommand.ts b/clients/client-service-catalog/commands/DescribeRecordCommand.ts index 8d13af31412e8..2f52c7307bb49 100644 --- a/clients/client-service-catalog/commands/DescribeRecordCommand.ts +++ b/clients/client-service-catalog/commands/DescribeRecordCommand.ts @@ -36,7 +36,6 @@ export class DescribeRecordCommand extends $Command< DescribeRecordCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeRecordCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts b/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts index 2f38eaf85c9b2..8b22572a77005 100644 --- a/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/DescribeServiceActionCommand.ts @@ -28,7 +28,6 @@ export class DescribeServiceActionCommand extends $Command< DescribeServiceActionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeServiceActionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts b/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts index fb826591326b4..6c44ff6bdae4a 100644 --- a/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts +++ b/clients/client-service-catalog/commands/DescribeServiceActionExecutionParametersCommand.ts @@ -32,7 +32,6 @@ export class DescribeServiceActionExecutionParametersCommand extends $Command< DescribeServiceActionExecutionParametersCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeServiceActionExecutionParametersCommand extends $Command< DescribeServiceActionExecutionParametersCommandInput, DescribeServiceActionExecutionParametersCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts b/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts index 02372bcacfde9..55b03f085197c 100644 --- a/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/DescribeTagOptionCommand.ts @@ -28,7 +28,6 @@ export class DescribeTagOptionCommand extends $Command< DescribeTagOptionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTagOptionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts b/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts index e393366502f34..c008aed517e62 100644 --- a/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts +++ b/clients/client-service-catalog/commands/DisableAWSOrganizationsAccessCommand.ts @@ -34,7 +34,6 @@ export class DisableAWSOrganizationsAccessCommand extends $Command< DisableAWSOrganizationsAccessCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DisableAWSOrganizationsAccessCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts b/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts index 3124c0690868c..8b8fd3d4f52e4 100644 --- a/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateBudgetFromResourceCommand.ts @@ -28,7 +28,6 @@ export class DisassociateBudgetFromResourceCommand extends $Command< DisassociateBudgetFromResourceCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateBudgetFromResourceCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts b/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts index fd0fd54b7c1f6..c6e5f485a8c9f 100644 --- a/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DisassociatePrincipalFromPortfolioCommand.ts @@ -30,7 +30,6 @@ export class DisassociatePrincipalFromPortfolioCommand extends $Command< DisassociatePrincipalFromPortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociatePrincipalFromPortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts b/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts index 9d07516e096d9..8994fc03665a2 100644 --- a/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateProductFromPortfolioCommand.ts @@ -29,7 +29,6 @@ export class DisassociateProductFromPortfolioCommand extends $Command< DisassociateProductFromPortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateProductFromPortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts index 424279a019dfc..ec7907e5cd241 100644 --- a/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateServiceActionFromProvisioningArtifactCommand.ts @@ -32,7 +32,6 @@ export class DisassociateServiceActionFromProvisioningArtifactCommand extends $C DisassociateServiceActionFromProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociateServiceActionFromProvisioningArtifactCommand extends $C DisassociateServiceActionFromProvisioningArtifactCommandInput, DisassociateServiceActionFromProvisioningArtifactCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts b/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts index 2067027f1cf04..48dc58c696c16 100644 --- a/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts +++ b/clients/client-service-catalog/commands/DisassociateTagOptionFromResourceCommand.ts @@ -28,7 +28,6 @@ export class DisassociateTagOptionFromResourceCommand extends $Command< DisassociateTagOptionFromResourceCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateTagOptionFromResourceCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts b/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts index ac7f1b31db2ac..d3b1a44601c9c 100644 --- a/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts +++ b/clients/client-service-catalog/commands/EnableAWSOrganizationsAccessCommand.ts @@ -33,7 +33,6 @@ export class EnableAWSOrganizationsAccessCommand extends $Command< EnableAWSOrganizationsAccessCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class EnableAWSOrganizationsAccessCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts b/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts index 0c104837e6a74..efdd322bd6ce4 100644 --- a/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts +++ b/clients/client-service-catalog/commands/ExecuteProvisionedProductPlanCommand.ts @@ -28,7 +28,6 @@ export class ExecuteProvisionedProductPlanCommand extends $Command< ExecuteProvisionedProductPlanCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ExecuteProvisionedProductPlanCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts b/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts index 6d662afd203ca..717aa510beb20 100644 --- a/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/ExecuteProvisionedProductServiceActionCommand.ts @@ -32,7 +32,6 @@ export class ExecuteProvisionedProductServiceActionCommand extends $Command< ExecuteProvisionedProductServiceActionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ExecuteProvisionedProductServiceActionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts b/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts index 5fe10abbb99fd..7eca606352fe7 100644 --- a/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts +++ b/clients/client-service-catalog/commands/GetAWSOrganizationsAccessStatusCommand.ts @@ -29,7 +29,6 @@ export class GetAWSOrganizationsAccessStatusCommand extends $Command< GetAWSOrganizationsAccessStatusCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAWSOrganizationsAccessStatusCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/GetProvisionedProductOutputsCommand.ts b/clients/client-service-catalog/commands/GetProvisionedProductOutputsCommand.ts index f0636b4c04673..d494fe55ed315 100644 --- a/clients/client-service-catalog/commands/GetProvisionedProductOutputsCommand.ts +++ b/clients/client-service-catalog/commands/GetProvisionedProductOutputsCommand.ts @@ -28,7 +28,6 @@ export class GetProvisionedProductOutputsCommand extends $Command< GetProvisionedProductOutputsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetProvisionedProductOutputsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ImportAsProvisionedProductCommand.ts b/clients/client-service-catalog/commands/ImportAsProvisionedProductCommand.ts index 9b5e9a3940dc9..6b84687abe395 100644 --- a/clients/client-service-catalog/commands/ImportAsProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/ImportAsProvisionedProductCommand.ts @@ -38,7 +38,6 @@ export class ImportAsProvisionedProductCommand extends $Command< ImportAsProvisionedProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ImportAsProvisionedProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts b/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts index 7d6c35f315726..b0aac152b100b 100644 --- a/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts +++ b/clients/client-service-catalog/commands/ListAcceptedPortfolioSharesCommand.ts @@ -28,7 +28,6 @@ export class ListAcceptedPortfolioSharesCommand extends $Command< ListAcceptedPortfolioSharesCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAcceptedPortfolioSharesCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts b/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts index 415401cfa67a4..70355e19444c4 100644 --- a/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts +++ b/clients/client-service-catalog/commands/ListBudgetsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListBudgetsForResourceCommand extends $Command< ListBudgetsForResourceCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListBudgetsForResourceCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts b/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts index 7fbd8d366ba95..89c4fa85e0722 100644 --- a/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/ListConstraintsForPortfolioCommand.ts @@ -28,7 +28,6 @@ export class ListConstraintsForPortfolioCommand extends $Command< ListConstraintsForPortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListConstraintsForPortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts b/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts index 97c7b48020e5b..4cb2910217f24 100644 --- a/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts +++ b/clients/client-service-catalog/commands/ListLaunchPathsCommand.ts @@ -30,7 +30,6 @@ export class ListLaunchPathsCommand extends $Command< ListLaunchPathsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListLaunchPathsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts b/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts index 92305975f150f..95a8edeb6b637 100644 --- a/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts +++ b/clients/client-service-catalog/commands/ListOrganizationPortfolioAccessCommand.ts @@ -31,7 +31,6 @@ export class ListOrganizationPortfolioAccessCommand extends $Command< ListOrganizationPortfolioAccessCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListOrganizationPortfolioAccessCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts b/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts index 56ef267841d8a..db92be6cf6b0a 100644 --- a/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts +++ b/clients/client-service-catalog/commands/ListPortfolioAccessCommand.ts @@ -29,7 +29,6 @@ export class ListPortfolioAccessCommand extends $Command< ListPortfolioAccessCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListPortfolioAccessCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListPortfoliosCommand.ts b/clients/client-service-catalog/commands/ListPortfoliosCommand.ts index 68cd0daf536e4..3b8e52a22e7d3 100644 --- a/clients/client-service-catalog/commands/ListPortfoliosCommand.ts +++ b/clients/client-service-catalog/commands/ListPortfoliosCommand.ts @@ -28,7 +28,6 @@ export class ListPortfoliosCommand extends $Command< ListPortfoliosCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPortfoliosCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts b/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts index f4256c849b9e6..0473802d94ca3 100644 --- a/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts +++ b/clients/client-service-catalog/commands/ListPortfoliosForProductCommand.ts @@ -28,7 +28,6 @@ export class ListPortfoliosForProductCommand extends $Command< ListPortfoliosForProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPortfoliosForProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts b/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts index 0ba5f238600a1..8704ff92349c0 100644 --- a/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts +++ b/clients/client-service-catalog/commands/ListPrincipalsForPortfolioCommand.ts @@ -28,7 +28,6 @@ export class ListPrincipalsForPortfolioCommand extends $Command< ListPrincipalsForPortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPrincipalsForPortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts b/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts index 665a19f96b86b..246618fc62905 100644 --- a/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts +++ b/clients/client-service-catalog/commands/ListProvisionedProductPlansCommand.ts @@ -28,7 +28,6 @@ export class ListProvisionedProductPlansCommand extends $Command< ListProvisionedProductPlansCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProvisionedProductPlansCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts b/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts index 63ac269b31219..fff4dd3b0ce61 100644 --- a/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts +++ b/clients/client-service-catalog/commands/ListProvisioningArtifactsCommand.ts @@ -28,7 +28,6 @@ export class ListProvisioningArtifactsCommand extends $Command< ListProvisioningArtifactsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProvisioningArtifactsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts b/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts index 306bec3686dd3..bb70afc9ab06f 100644 --- a/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/ListProvisioningArtifactsForServiceActionCommand.ts @@ -32,7 +32,6 @@ export class ListProvisioningArtifactsForServiceActionCommand extends $Command< ListProvisioningArtifactsForServiceActionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListProvisioningArtifactsForServiceActionCommand extends $Command< ListProvisioningArtifactsForServiceActionCommandInput, ListProvisioningArtifactsForServiceActionCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts b/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts index 75c24e32e9398..a916d9081a913 100644 --- a/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts +++ b/clients/client-service-catalog/commands/ListRecordHistoryCommand.ts @@ -28,7 +28,6 @@ export class ListRecordHistoryCommand extends $Command< ListRecordHistoryCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListRecordHistoryCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts b/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts index c696c6b0dccfb..9493ff8b4b52b 100644 --- a/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/ListResourcesForTagOptionCommand.ts @@ -28,7 +28,6 @@ export class ListResourcesForTagOptionCommand extends $Command< ListResourcesForTagOptionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourcesForTagOptionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListServiceActionsCommand.ts b/clients/client-service-catalog/commands/ListServiceActionsCommand.ts index 32e2e769c2e9f..e373df6a62531 100644 --- a/clients/client-service-catalog/commands/ListServiceActionsCommand.ts +++ b/clients/client-service-catalog/commands/ListServiceActionsCommand.ts @@ -28,7 +28,6 @@ export class ListServiceActionsCommand extends $Command< ListServiceActionsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListServiceActionsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts index 6c3286f544843..46aacaae37fc8 100644 --- a/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/ListServiceActionsForProvisioningArtifactCommand.ts @@ -32,7 +32,6 @@ export class ListServiceActionsForProvisioningArtifactCommand extends $Command< ListServiceActionsForProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListServiceActionsForProvisioningArtifactCommand extends $Command< ListServiceActionsForProvisioningArtifactCommandInput, ListServiceActionsForProvisioningArtifactCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts b/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts index 0a17260460337..380b3e4f9a1d7 100644 --- a/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/ListStackInstancesForProvisionedProductCommand.ts @@ -32,7 +32,6 @@ export class ListStackInstancesForProvisionedProductCommand extends $Command< ListStackInstancesForProvisionedProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListStackInstancesForProvisionedProductCommand extends $Command< ListStackInstancesForProvisionedProductCommandInput, ListStackInstancesForProvisionedProductCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ListTagOptionsCommand.ts b/clients/client-service-catalog/commands/ListTagOptionsCommand.ts index 1d542c45990a6..a2d0b0af59558 100644 --- a/clients/client-service-catalog/commands/ListTagOptionsCommand.ts +++ b/clients/client-service-catalog/commands/ListTagOptionsCommand.ts @@ -28,7 +28,6 @@ export class ListTagOptionsCommand extends $Command< ListTagOptionsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagOptionsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ProvisionProductCommand.ts b/clients/client-service-catalog/commands/ProvisionProductCommand.ts index fdf2b03025c8b..eb947803bf6f7 100644 --- a/clients/client-service-catalog/commands/ProvisionProductCommand.ts +++ b/clients/client-service-catalog/commands/ProvisionProductCommand.ts @@ -36,7 +36,6 @@ export class ProvisionProductCommand extends $Command< ProvisionProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ProvisionProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts b/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts index 573ee7d83d789..f7e1383b67662 100644 --- a/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts +++ b/clients/client-service-catalog/commands/RejectPortfolioShareCommand.ts @@ -28,7 +28,6 @@ export class RejectPortfolioShareCommand extends $Command< RejectPortfolioShareCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RejectPortfolioShareCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts b/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts index d5e93c3ef8189..62e5919887be2 100644 --- a/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts +++ b/clients/client-service-catalog/commands/ScanProvisionedProductsCommand.ts @@ -29,7 +29,6 @@ export class ScanProvisionedProductsCommand extends $Command< ScanProvisionedProductsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ScanProvisionedProductsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts b/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts index 20faec9d9fa65..4759f1a680c29 100644 --- a/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts +++ b/clients/client-service-catalog/commands/SearchProductsAsAdminCommand.ts @@ -28,7 +28,6 @@ export class SearchProductsAsAdminCommand extends $Command< SearchProductsAsAdminCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchProductsAsAdminCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/SearchProductsCommand.ts b/clients/client-service-catalog/commands/SearchProductsCommand.ts index 0802e6946ec5d..fff076a18248c 100644 --- a/clients/client-service-catalog/commands/SearchProductsCommand.ts +++ b/clients/client-service-catalog/commands/SearchProductsCommand.ts @@ -28,7 +28,6 @@ export class SearchProductsCommand extends $Command< SearchProductsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchProductsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts b/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts index 71b8ab15f59b0..40e466c438ed0 100644 --- a/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts +++ b/clients/client-service-catalog/commands/SearchProvisionedProductsCommand.ts @@ -28,7 +28,6 @@ export class SearchProvisionedProductsCommand extends $Command< SearchProvisionedProductsCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SearchProvisionedProductsCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts b/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts index 7f663c892a4d8..4d3afdbe8c418 100644 --- a/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/TerminateProvisionedProductCommand.ts @@ -30,7 +30,6 @@ export class TerminateProvisionedProductCommand extends $Command< TerminateProvisionedProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TerminateProvisionedProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateConstraintCommand.ts b/clients/client-service-catalog/commands/UpdateConstraintCommand.ts index 4f80a3ae97037..0c619901001ac 100644 --- a/clients/client-service-catalog/commands/UpdateConstraintCommand.ts +++ b/clients/client-service-catalog/commands/UpdateConstraintCommand.ts @@ -28,7 +28,6 @@ export class UpdateConstraintCommand extends $Command< UpdateConstraintCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateConstraintCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts b/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts index def41259396ed..943cf99191a64 100644 --- a/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts +++ b/clients/client-service-catalog/commands/UpdatePortfolioCommand.ts @@ -29,7 +29,6 @@ export class UpdatePortfolioCommand extends $Command< UpdatePortfolioCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdatePortfolioCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateProductCommand.ts b/clients/client-service-catalog/commands/UpdateProductCommand.ts index e060f938e7393..d5f6c9f72c013 100644 --- a/clients/client-service-catalog/commands/UpdateProductCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProductCommand.ts @@ -28,7 +28,6 @@ export class UpdateProductCommand extends $Command< UpdateProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts b/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts index c843109301750..b4636439db2c9 100644 --- a/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProvisionedProductCommand.ts @@ -32,7 +32,6 @@ export class UpdateProvisionedProductCommand extends $Command< UpdateProvisionedProductCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateProvisionedProductCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts b/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts index 18e26a8f34073..649c8259ad26e 100644 --- a/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProvisionedProductPropertiesCommand.ts @@ -29,7 +29,6 @@ export class UpdateProvisionedProductPropertiesCommand extends $Command< UpdateProvisionedProductPropertiesCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateProvisionedProductPropertiesCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts b/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts index e8afd7519cb94..da2961180190c 100644 --- a/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts +++ b/clients/client-service-catalog/commands/UpdateProvisioningArtifactCommand.ts @@ -29,7 +29,6 @@ export class UpdateProvisioningArtifactCommand extends $Command< UpdateProvisioningArtifactCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateProvisioningArtifactCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts b/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts index 696323722154d..084aff6eb19fb 100644 --- a/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts +++ b/clients/client-service-catalog/commands/UpdateServiceActionCommand.ts @@ -28,7 +28,6 @@ export class UpdateServiceActionCommand extends $Command< UpdateServiceActionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateServiceActionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts b/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts index d0a94fcfdca98..868912da3bdec 100644 --- a/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts +++ b/clients/client-service-catalog/commands/UpdateTagOptionCommand.ts @@ -28,7 +28,6 @@ export class UpdateTagOptionCommand extends $Command< UpdateTagOptionCommandOutput, ServiceCatalogClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateTagOptionCommand extends $Command< configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts b/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts index d51266ca521ef..db9db39b43011 100644 --- a/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts +++ b/clients/client-service-quotas/commands/AssociateServiceQuotaTemplateCommand.ts @@ -32,7 +32,6 @@ export class AssociateServiceQuotaTemplateCommand extends $Command< AssociateServiceQuotaTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateServiceQuotaTemplateCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts b/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts index 33073fa49593c..8b3cd6f975687 100644 --- a/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts +++ b/clients/client-service-quotas/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts @@ -32,7 +32,6 @@ export class DeleteServiceQuotaIncreaseRequestFromTemplateCommand extends $Comma DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteServiceQuotaIncreaseRequestFromTemplateCommand extends $Comma DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts b/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts index 4e162991b3ed0..d13eeb97d6fe3 100644 --- a/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts +++ b/clients/client-service-quotas/commands/DisassociateServiceQuotaTemplateCommand.ts @@ -43,7 +43,6 @@ export class DisassociateServiceQuotaTemplateCommand extends $Command< DisassociateServiceQuotaTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class DisassociateServiceQuotaTemplateCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts b/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts index dfabf93273930..95710be72d878 100644 --- a/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts +++ b/clients/client-service-quotas/commands/GetAWSDefaultServiceQuotaCommand.ts @@ -29,7 +29,6 @@ export class GetAWSDefaultServiceQuotaCommand extends $Command< GetAWSDefaultServiceQuotaCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAWSDefaultServiceQuotaCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts b/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts index 2b0ae77a46ff9..5eb768b56cbef 100644 --- a/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts +++ b/clients/client-service-quotas/commands/GetAssociationForServiceQuotaTemplateCommand.ts @@ -33,7 +33,6 @@ export class GetAssociationForServiceQuotaTemplateCommand extends $Command< GetAssociationForServiceQuotaTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetAssociationForServiceQuotaTemplateCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts b/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts index a350703f87762..5ccb044937d8e 100644 --- a/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts +++ b/clients/client-service-quotas/commands/GetRequestedServiceQuotaChangeCommand.ts @@ -28,7 +28,6 @@ export class GetRequestedServiceQuotaChangeCommand extends $Command< GetRequestedServiceQuotaChangeCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetRequestedServiceQuotaChangeCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts b/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts index 1e308f0e429a6..131a3dc4e2460 100644 --- a/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts +++ b/clients/client-service-quotas/commands/GetServiceQuotaCommand.ts @@ -31,7 +31,6 @@ export class GetServiceQuotaCommand extends $Command< GetServiceQuotaCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetServiceQuotaCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts b/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts index 0f4a7da889fa7..c38c3b2bd83c7 100644 --- a/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts +++ b/clients/client-service-quotas/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.ts @@ -32,7 +32,6 @@ export class GetServiceQuotaIncreaseRequestFromTemplateCommand extends $Command< GetServiceQuotaIncreaseRequestFromTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetServiceQuotaIncreaseRequestFromTemplateCommand extends $Command< GetServiceQuotaIncreaseRequestFromTemplateCommandInput, GetServiceQuotaIncreaseRequestFromTemplateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts b/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts index ea59c142e17ba..f9b4ff08c2974 100644 --- a/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts +++ b/clients/client-service-quotas/commands/ListAWSDefaultServiceQuotasCommand.ts @@ -40,7 +40,6 @@ export class ListAWSDefaultServiceQuotasCommand extends $Command< ListAWSDefaultServiceQuotasCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ListAWSDefaultServiceQuotasCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts index 575fbac4691ef..b5c4c70f0307a 100644 --- a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts +++ b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.ts @@ -35,7 +35,6 @@ export class ListRequestedServiceQuotaChangeHistoryByQuotaCommand extends $Comma ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListRequestedServiceQuotaChangeHistoryByQuotaCommand extends $Comma ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput, ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts index e575805ba1bc7..886f83bff1614 100644 --- a/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts +++ b/clients/client-service-quotas/commands/ListRequestedServiceQuotaChangeHistoryCommand.ts @@ -32,7 +32,6 @@ export class ListRequestedServiceQuotaChangeHistoryCommand extends $Command< ListRequestedServiceQuotaChangeHistoryCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListRequestedServiceQuotaChangeHistoryCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts b/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts index 43ec6d41d3cbb..88f79babec7b0 100644 --- a/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts +++ b/clients/client-service-quotas/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.ts @@ -32,7 +32,6 @@ export class ListServiceQuotaIncreaseRequestsInTemplateCommand extends $Command< ListServiceQuotaIncreaseRequestsInTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListServiceQuotaIncreaseRequestsInTemplateCommand extends $Command< ListServiceQuotaIncreaseRequestsInTemplateCommandInput, ListServiceQuotaIncreaseRequestsInTemplateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts b/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts index 813bd1a57fa42..7a16e41451ee7 100644 --- a/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts +++ b/clients/client-service-quotas/commands/ListServiceQuotasCommand.ts @@ -37,7 +37,6 @@ export class ListServiceQuotasCommand extends $Command< ListServiceQuotasCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListServiceQuotasCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/ListServicesCommand.ts b/clients/client-service-quotas/commands/ListServicesCommand.ts index f4a4d21d68cc4..e415cb5860523 100644 --- a/clients/client-service-quotas/commands/ListServicesCommand.ts +++ b/clients/client-service-quotas/commands/ListServicesCommand.ts @@ -30,7 +30,6 @@ export class ListServicesCommand extends $Command< ListServicesCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListServicesCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts b/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts index 7a5b4c6e9b3de..426f5525677c9 100644 --- a/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts +++ b/clients/client-service-quotas/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.ts @@ -35,7 +35,6 @@ export class PutServiceQuotaIncreaseRequestIntoTemplateCommand extends $Command< PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutServiceQuotaIncreaseRequestIntoTemplateCommand extends $Command< PutServiceQuotaIncreaseRequestIntoTemplateCommandInput, PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts b/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts index 8f5d6c9b33c37..a2096acc4f4cb 100644 --- a/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts +++ b/clients/client-service-quotas/commands/RequestServiceQuotaIncreaseCommand.ts @@ -29,7 +29,6 @@ export class RequestServiceQuotaIncreaseCommand extends $Command< RequestServiceQuotaIncreaseCommandOutput, ServiceQuotasClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RequestServiceQuotaIncreaseCommand extends $Command< configuration: ServiceQuotasClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts b/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts index 49e9e43f895e1..c9e210427e5e7 100644 --- a/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/CreateHttpNamespaceCommand.ts @@ -31,7 +31,6 @@ export class CreateHttpNamespaceCommand extends $Command< CreateHttpNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateHttpNamespaceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts b/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts index 356fd02171c16..7580a279e1484 100644 --- a/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/CreatePrivateDnsNamespaceCommand.ts @@ -33,7 +33,6 @@ export class CreatePrivateDnsNamespaceCommand extends $Command< CreatePrivateDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreatePrivateDnsNamespaceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts b/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts index 4f42e350cd6f8..3b40fab475dec 100644 --- a/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/CreatePublicDnsNamespaceCommand.ts @@ -32,7 +32,6 @@ export class CreatePublicDnsNamespaceCommand extends $Command< CreatePublicDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreatePublicDnsNamespaceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/CreateServiceCommand.ts b/clients/client-servicediscovery/commands/CreateServiceCommand.ts index 1b62c99d988a0..1418b8aa4f988 100644 --- a/clients/client-servicediscovery/commands/CreateServiceCommand.ts +++ b/clients/client-servicediscovery/commands/CreateServiceCommand.ts @@ -68,7 +68,6 @@ export class CreateServiceCommand extends $Command< CreateServiceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class CreateServiceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts b/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts index 4cf23d291e88c..f57a6102bae1c 100644 --- a/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/DeleteNamespaceCommand.ts @@ -29,7 +29,6 @@ export class DeleteNamespaceCommand extends $Command< DeleteNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteNamespaceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/DeleteServiceCommand.ts b/clients/client-servicediscovery/commands/DeleteServiceCommand.ts index 593957efe7252..8aa92b49eda4d 100644 --- a/clients/client-servicediscovery/commands/DeleteServiceCommand.ts +++ b/clients/client-servicediscovery/commands/DeleteServiceCommand.ts @@ -29,7 +29,6 @@ export class DeleteServiceCommand extends $Command< DeleteServiceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteServiceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts b/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts index 2c7a92483147d..7d051b320dc3e 100644 --- a/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts +++ b/clients/client-servicediscovery/commands/DeregisterInstanceCommand.ts @@ -29,7 +29,6 @@ export class DeregisterInstanceCommand extends $Command< DeregisterInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeregisterInstanceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts b/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts index 094dd62535c10..2d5127a7e92b4 100644 --- a/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts +++ b/clients/client-servicediscovery/commands/DiscoverInstancesCommand.ts @@ -30,7 +30,6 @@ export class DiscoverInstancesCommand extends $Command< DiscoverInstancesCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DiscoverInstancesCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/GetInstanceCommand.ts b/clients/client-servicediscovery/commands/GetInstanceCommand.ts index 4377412659e85..d6b66fc376101 100644 --- a/clients/client-servicediscovery/commands/GetInstanceCommand.ts +++ b/clients/client-servicediscovery/commands/GetInstanceCommand.ts @@ -28,7 +28,6 @@ export class GetInstanceCommand extends $Command< GetInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInstanceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts b/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts index aed5362416652..cda3e4260a2a2 100644 --- a/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts +++ b/clients/client-servicediscovery/commands/GetInstancesHealthStatusCommand.ts @@ -33,7 +33,6 @@ export class GetInstancesHealthStatusCommand extends $Command< GetInstancesHealthStatusCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetInstancesHealthStatusCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/GetNamespaceCommand.ts b/clients/client-servicediscovery/commands/GetNamespaceCommand.ts index 007c04481171e..e351f00c620fc 100644 --- a/clients/client-servicediscovery/commands/GetNamespaceCommand.ts +++ b/clients/client-servicediscovery/commands/GetNamespaceCommand.ts @@ -28,7 +28,6 @@ export class GetNamespaceCommand extends $Command< GetNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetNamespaceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/GetOperationCommand.ts b/clients/client-servicediscovery/commands/GetOperationCommand.ts index bc7de93dd454e..b6c3ea59435f7 100644 --- a/clients/client-servicediscovery/commands/GetOperationCommand.ts +++ b/clients/client-servicediscovery/commands/GetOperationCommand.ts @@ -32,7 +32,6 @@ export class GetOperationCommand extends $Command< GetOperationCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetOperationCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/GetServiceCommand.ts b/clients/client-servicediscovery/commands/GetServiceCommand.ts index 1ae6749e201b8..7c210cedf9360 100644 --- a/clients/client-servicediscovery/commands/GetServiceCommand.ts +++ b/clients/client-servicediscovery/commands/GetServiceCommand.ts @@ -28,7 +28,6 @@ export class GetServiceCommand extends $Command< GetServiceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetServiceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/ListInstancesCommand.ts b/clients/client-servicediscovery/commands/ListInstancesCommand.ts index ee63c9154f11a..c23830e713654 100644 --- a/clients/client-servicediscovery/commands/ListInstancesCommand.ts +++ b/clients/client-servicediscovery/commands/ListInstancesCommand.ts @@ -28,7 +28,6 @@ export class ListInstancesCommand extends $Command< ListInstancesCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInstancesCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/ListNamespacesCommand.ts b/clients/client-servicediscovery/commands/ListNamespacesCommand.ts index a58d75b6067e8..750ca1cd2e37c 100644 --- a/clients/client-servicediscovery/commands/ListNamespacesCommand.ts +++ b/clients/client-servicediscovery/commands/ListNamespacesCommand.ts @@ -28,7 +28,6 @@ export class ListNamespacesCommand extends $Command< ListNamespacesCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListNamespacesCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/ListOperationsCommand.ts b/clients/client-servicediscovery/commands/ListOperationsCommand.ts index 8f36c5b6ef393..181c2171ab084 100644 --- a/clients/client-servicediscovery/commands/ListOperationsCommand.ts +++ b/clients/client-servicediscovery/commands/ListOperationsCommand.ts @@ -28,7 +28,6 @@ export class ListOperationsCommand extends $Command< ListOperationsCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOperationsCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/ListServicesCommand.ts b/clients/client-servicediscovery/commands/ListServicesCommand.ts index 29462be424499..cd3bf62c0b397 100644 --- a/clients/client-servicediscovery/commands/ListServicesCommand.ts +++ b/clients/client-servicediscovery/commands/ListServicesCommand.ts @@ -28,7 +28,6 @@ export class ListServicesCommand extends $Command< ListServicesCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListServicesCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/ListTagsForResourceCommand.ts b/clients/client-servicediscovery/commands/ListTagsForResourceCommand.ts index 4abfd4a16ab8a..261afc1b77667 100644 --- a/clients/client-servicediscovery/commands/ListTagsForResourceCommand.ts +++ b/clients/client-servicediscovery/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts b/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts index 2729f55473947..123c6772cecda 100644 --- a/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts +++ b/clients/client-servicediscovery/commands/RegisterInstanceCommand.ts @@ -67,7 +67,6 @@ export class RegisterInstanceCommand extends $Command< RegisterInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class RegisterInstanceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/TagResourceCommand.ts b/clients/client-servicediscovery/commands/TagResourceCommand.ts index b93bd537da383..51a80f032e6fb 100644 --- a/clients/client-servicediscovery/commands/TagResourceCommand.ts +++ b/clients/client-servicediscovery/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/UntagResourceCommand.ts b/clients/client-servicediscovery/commands/UntagResourceCommand.ts index 326dd8aa69a61..d982b1376e2dd 100644 --- a/clients/client-servicediscovery/commands/UntagResourceCommand.ts +++ b/clients/client-servicediscovery/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts b/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts index 2dd71710466b0..a91c453409c7c 100644 --- a/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts +++ b/clients/client-servicediscovery/commands/UpdateInstanceCustomHealthStatusCommand.ts @@ -32,7 +32,6 @@ export class UpdateInstanceCustomHealthStatusCommand extends $Command< UpdateInstanceCustomHealthStatusCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateInstanceCustomHealthStatusCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-servicediscovery/commands/UpdateServiceCommand.ts b/clients/client-servicediscovery/commands/UpdateServiceCommand.ts index 92a6d77248e24..4d0506830b54a 100644 --- a/clients/client-servicediscovery/commands/UpdateServiceCommand.ts +++ b/clients/client-servicediscovery/commands/UpdateServiceCommand.ts @@ -52,7 +52,6 @@ export class UpdateServiceCommand extends $Command< UpdateServiceCommandOutput, ServiceDiscoveryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class UpdateServiceCommand extends $Command< configuration: ServiceDiscoveryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts b/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts index d5ad4d2e79828..f2a03af13e12d 100644 --- a/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/CloneReceiptRuleSetCommand.ts @@ -33,7 +33,6 @@ export class CloneReceiptRuleSetCommand extends $Command< CloneReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CloneReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateConfigurationSetCommand.ts b/clients/client-ses/commands/CreateConfigurationSetCommand.ts index 83e3f1db259e9..7d067793b98f8 100644 --- a/clients/client-ses/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-ses/commands/CreateConfigurationSetCommand.ts @@ -32,7 +32,6 @@ export class CreateConfigurationSetCommand extends $Command< CreateConfigurationSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateConfigurationSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts index 68a6c69a00e10..419e6ac2d6837 100644 --- a/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-ses/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -41,7 +41,6 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< CreateConfigurationSetEventDestinationCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts b/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts index d7f9f225578b6..d95d8cda5553e 100644 --- a/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-ses/commands/CreateConfigurationSetTrackingOptionsCommand.ts @@ -36,7 +36,6 @@ export class CreateConfigurationSetTrackingOptionsCommand extends $Command< CreateConfigurationSetTrackingOptionsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateConfigurationSetTrackingOptionsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts index 21ba4ff34f1ee..b07836d20a8bf 100644 --- a/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/CreateCustomVerificationEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class CreateCustomVerificationEmailTemplateCommand extends $Command< CreateCustomVerificationEmailTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateCustomVerificationEmailTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateReceiptFilterCommand.ts b/clients/client-ses/commands/CreateReceiptFilterCommand.ts index bf2ada17a5680..37ae9ed03bfdf 100644 --- a/clients/client-ses/commands/CreateReceiptFilterCommand.ts +++ b/clients/client-ses/commands/CreateReceiptFilterCommand.ts @@ -30,7 +30,6 @@ export class CreateReceiptFilterCommand extends $Command< CreateReceiptFilterCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateReceiptFilterCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateReceiptRuleCommand.ts b/clients/client-ses/commands/CreateReceiptRuleCommand.ts index 1b312cb365406..9fa690ea07a60 100644 --- a/clients/client-ses/commands/CreateReceiptRuleCommand.ts +++ b/clients/client-ses/commands/CreateReceiptRuleCommand.ts @@ -31,7 +31,6 @@ export class CreateReceiptRuleCommand extends $Command< CreateReceiptRuleCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateReceiptRuleCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts b/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts index c4398a5f350c9..0db836b9c75fa 100644 --- a/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/CreateReceiptRuleSetCommand.ts @@ -31,7 +31,6 @@ export class CreateReceiptRuleSetCommand extends $Command< CreateReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/CreateTemplateCommand.ts b/clients/client-ses/commands/CreateTemplateCommand.ts index 8f4f38ede3a2e..4e61f154716a7 100644 --- a/clients/client-ses/commands/CreateTemplateCommand.ts +++ b/clients/client-ses/commands/CreateTemplateCommand.ts @@ -31,7 +31,6 @@ export class CreateTemplateCommand extends $Command< CreateTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteConfigurationSetCommand.ts b/clients/client-ses/commands/DeleteConfigurationSetCommand.ts index 53aadd5f680b1..b9d3606cb082a 100644 --- a/clients/client-ses/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-ses/commands/DeleteConfigurationSetCommand.ts @@ -30,7 +30,6 @@ export class DeleteConfigurationSetCommand extends $Command< DeleteConfigurationSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteConfigurationSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts index 1e661062e0c42..174f287b40d70 100644 --- a/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-ses/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -35,7 +35,6 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< DeleteConfigurationSetEventDestinationCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts b/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts index e195ad0e2f109..e281c87773d31 100644 --- a/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-ses/commands/DeleteConfigurationSetTrackingOptionsCommand.ts @@ -41,7 +41,6 @@ export class DeleteConfigurationSetTrackingOptionsCommand extends $Command< DeleteConfigurationSetTrackingOptionsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DeleteConfigurationSetTrackingOptionsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts index 6d01ce7b9d0db..b5d6a977837f5 100644 --- a/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/DeleteCustomVerificationEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class DeleteCustomVerificationEmailTemplateCommand extends $Command< DeleteCustomVerificationEmailTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteCustomVerificationEmailTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteIdentityCommand.ts b/clients/client-ses/commands/DeleteIdentityCommand.ts index 5453255ee4b3c..dd1b50de0a629 100644 --- a/clients/client-ses/commands/DeleteIdentityCommand.ts +++ b/clients/client-ses/commands/DeleteIdentityCommand.ts @@ -30,7 +30,6 @@ export class DeleteIdentityCommand extends $Command< DeleteIdentityCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteIdentityCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts b/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts index c1f522af4b2d2..193d7915570da 100644 --- a/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts +++ b/clients/client-ses/commands/DeleteIdentityPolicyCommand.ts @@ -39,7 +39,6 @@ export class DeleteIdentityPolicyCommand extends $Command< DeleteIdentityPolicyCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteIdentityPolicyCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteReceiptFilterCommand.ts b/clients/client-ses/commands/DeleteReceiptFilterCommand.ts index c463bc44ef326..475d13bca262f 100644 --- a/clients/client-ses/commands/DeleteReceiptFilterCommand.ts +++ b/clients/client-ses/commands/DeleteReceiptFilterCommand.ts @@ -31,7 +31,6 @@ export class DeleteReceiptFilterCommand extends $Command< DeleteReceiptFilterCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteReceiptFilterCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteReceiptRuleCommand.ts b/clients/client-ses/commands/DeleteReceiptRuleCommand.ts index b4057e58fba88..34ae75d35c4d5 100644 --- a/clients/client-ses/commands/DeleteReceiptRuleCommand.ts +++ b/clients/client-ses/commands/DeleteReceiptRuleCommand.ts @@ -31,7 +31,6 @@ export class DeleteReceiptRuleCommand extends $Command< DeleteReceiptRuleCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteReceiptRuleCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts b/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts index 03542293316d7..30b2cbfdc2193 100644 --- a/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/DeleteReceiptRuleSetCommand.ts @@ -34,7 +34,6 @@ export class DeleteReceiptRuleSetCommand extends $Command< DeleteReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteTemplateCommand.ts b/clients/client-ses/commands/DeleteTemplateCommand.ts index 57bc75e435cab..1faf56521d57c 100644 --- a/clients/client-ses/commands/DeleteTemplateCommand.ts +++ b/clients/client-ses/commands/DeleteTemplateCommand.ts @@ -29,7 +29,6 @@ export class DeleteTemplateCommand extends $Command< DeleteTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts b/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts index 298587f6b1a0d..51c6e3f75be4e 100644 --- a/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts +++ b/clients/client-ses/commands/DeleteVerifiedEmailAddressCommand.ts @@ -29,7 +29,6 @@ export class DeleteVerifiedEmailAddressCommand extends $Command< DeleteVerifiedEmailAddressCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteVerifiedEmailAddressCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts b/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts index 857f4f6278bd8..f0ad60848b645 100644 --- a/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/DescribeActiveReceiptRuleSetCommand.ts @@ -32,7 +32,6 @@ export class DescribeActiveReceiptRuleSetCommand extends $Command< DescribeActiveReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeActiveReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DescribeConfigurationSetCommand.ts b/clients/client-ses/commands/DescribeConfigurationSetCommand.ts index d2f876b576614..276efe0c9ac56 100644 --- a/clients/client-ses/commands/DescribeConfigurationSetCommand.ts +++ b/clients/client-ses/commands/DescribeConfigurationSetCommand.ts @@ -31,7 +31,6 @@ export class DescribeConfigurationSetCommand extends $Command< DescribeConfigurationSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeConfigurationSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DescribeReceiptRuleCommand.ts b/clients/client-ses/commands/DescribeReceiptRuleCommand.ts index 6a13730ac26a0..f94f101f82d81 100644 --- a/clients/client-ses/commands/DescribeReceiptRuleCommand.ts +++ b/clients/client-ses/commands/DescribeReceiptRuleCommand.ts @@ -31,7 +31,6 @@ export class DescribeReceiptRuleCommand extends $Command< DescribeReceiptRuleCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeReceiptRuleCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts b/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts index 3fbc88bec6879..8efa1e8f192b2 100644 --- a/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/DescribeReceiptRuleSetCommand.ts @@ -30,7 +30,6 @@ export class DescribeReceiptRuleSetCommand extends $Command< DescribeReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts b/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts index 83812e64649b5..dcdd554b0cd66 100644 --- a/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts +++ b/clients/client-ses/commands/GetAccountSendingEnabledCommand.ts @@ -29,7 +29,6 @@ export class GetAccountSendingEnabledCommand extends $Command< GetAccountSendingEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAccountSendingEnabledCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts index 79ceec5eae6a8..000b1f1c917bd 100644 --- a/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/GetCustomVerificationEmailTemplateCommand.ts @@ -36,7 +36,6 @@ export class GetCustomVerificationEmailTemplateCommand extends $Command< GetCustomVerificationEmailTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetCustomVerificationEmailTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts b/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts index 00f940b258ecc..1d4647764c7ce 100644 --- a/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityDkimAttributesCommand.ts @@ -50,7 +50,6 @@ export class GetIdentityDkimAttributesCommand extends $Command< GetIdentityDkimAttributesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class GetIdentityDkimAttributesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts b/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts index 5f5ca962f3c9c..ff47cf853f82f 100644 --- a/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityMailFromDomainAttributesCommand.ts @@ -35,7 +35,6 @@ export class GetIdentityMailFromDomainAttributesCommand extends $Command< GetIdentityMailFromDomainAttributesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetIdentityMailFromDomainAttributesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts b/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts index 8a0901ba8e8a9..24471bbfd03ad 100644 --- a/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityNotificationAttributesCommand.ts @@ -37,7 +37,6 @@ export class GetIdentityNotificationAttributesCommand extends $Command< GetIdentityNotificationAttributesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetIdentityNotificationAttributesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetIdentityPoliciesCommand.ts b/clients/client-ses/commands/GetIdentityPoliciesCommand.ts index 08e4ed39e9952..e5029dbacf9b8 100644 --- a/clients/client-ses/commands/GetIdentityPoliciesCommand.ts +++ b/clients/client-ses/commands/GetIdentityPoliciesCommand.ts @@ -39,7 +39,6 @@ export class GetIdentityPoliciesCommand extends $Command< GetIdentityPoliciesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetIdentityPoliciesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts b/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts index 56f2d151eea9b..bba2584cbed40 100644 --- a/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts +++ b/clients/client-ses/commands/GetIdentityVerificationAttributesCommand.ts @@ -47,7 +47,6 @@ export class GetIdentityVerificationAttributesCommand extends $Command< GetIdentityVerificationAttributesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class GetIdentityVerificationAttributesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetSendQuotaCommand.ts b/clients/client-ses/commands/GetSendQuotaCommand.ts index 5b7839dd8ebcb..73359f606e51d 100644 --- a/clients/client-ses/commands/GetSendQuotaCommand.ts +++ b/clients/client-ses/commands/GetSendQuotaCommand.ts @@ -26,7 +26,6 @@ export class GetSendQuotaCommand extends $Command< GetSendQuotaCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class GetSendQuotaCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetSendStatisticsCommand.ts b/clients/client-ses/commands/GetSendStatisticsCommand.ts index bd4fb0f1f816e..1810ef98a8d55 100644 --- a/clients/client-ses/commands/GetSendStatisticsCommand.ts +++ b/clients/client-ses/commands/GetSendStatisticsCommand.ts @@ -31,7 +31,6 @@ export class GetSendStatisticsCommand extends $Command< GetSendStatisticsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetSendStatisticsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/GetTemplateCommand.ts b/clients/client-ses/commands/GetTemplateCommand.ts index 7a161a9847c08..06d8860d573ad 100644 --- a/clients/client-ses/commands/GetTemplateCommand.ts +++ b/clients/client-ses/commands/GetTemplateCommand.ts @@ -27,7 +27,6 @@ export class GetTemplateCommand extends $Command< GetTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class GetTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListConfigurationSetsCommand.ts b/clients/client-ses/commands/ListConfigurationSetsCommand.ts index a49779f21b7a9..e31f38b728f99 100644 --- a/clients/client-ses/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-ses/commands/ListConfigurationSetsCommand.ts @@ -37,7 +37,6 @@ export class ListConfigurationSetsCommand extends $Command< ListConfigurationSetsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListConfigurationSetsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts b/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts index bbaed92457854..1c70d2aaaa128 100644 --- a/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts +++ b/clients/client-ses/commands/ListCustomVerificationEmailTemplatesCommand.ts @@ -36,7 +36,6 @@ export class ListCustomVerificationEmailTemplatesCommand extends $Command< ListCustomVerificationEmailTemplatesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListCustomVerificationEmailTemplatesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListIdentitiesCommand.ts b/clients/client-ses/commands/ListIdentitiesCommand.ts index 606a5933aeb5e..4d16692bf5d2c 100644 --- a/clients/client-ses/commands/ListIdentitiesCommand.ts +++ b/clients/client-ses/commands/ListIdentitiesCommand.ts @@ -30,7 +30,6 @@ export class ListIdentitiesCommand extends $Command< ListIdentitiesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListIdentitiesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListIdentityPoliciesCommand.ts b/clients/client-ses/commands/ListIdentityPoliciesCommand.ts index d0cd3b9febd44..f279b3d57d751 100644 --- a/clients/client-ses/commands/ListIdentityPoliciesCommand.ts +++ b/clients/client-ses/commands/ListIdentityPoliciesCommand.ts @@ -39,7 +39,6 @@ export class ListIdentityPoliciesCommand extends $Command< ListIdentityPoliciesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class ListIdentityPoliciesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListReceiptFiltersCommand.ts b/clients/client-ses/commands/ListReceiptFiltersCommand.ts index d0815284d7220..745cad8c7f3bf 100644 --- a/clients/client-ses/commands/ListReceiptFiltersCommand.ts +++ b/clients/client-ses/commands/ListReceiptFiltersCommand.ts @@ -32,7 +32,6 @@ export class ListReceiptFiltersCommand extends $Command< ListReceiptFiltersCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListReceiptFiltersCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts b/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts index f550709b68c2e..69054be51d891 100644 --- a/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts +++ b/clients/client-ses/commands/ListReceiptRuleSetsCommand.ts @@ -33,7 +33,6 @@ export class ListReceiptRuleSetsCommand extends $Command< ListReceiptRuleSetsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListReceiptRuleSetsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListTemplatesCommand.ts b/clients/client-ses/commands/ListTemplatesCommand.ts index 4da1649c2d3c5..2d5283fcb6178 100644 --- a/clients/client-ses/commands/ListTemplatesCommand.ts +++ b/clients/client-ses/commands/ListTemplatesCommand.ts @@ -30,7 +30,6 @@ export class ListTemplatesCommand extends $Command< ListTemplatesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTemplatesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts b/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts index f23c42d5224f5..4aebbe57d6a33 100644 --- a/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts +++ b/clients/client-ses/commands/ListVerifiedEmailAddressesCommand.ts @@ -29,7 +29,6 @@ export class ListVerifiedEmailAddressesCommand extends $Command< ListVerifiedEmailAddressesCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListVerifiedEmailAddressesCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 9cb8ff0a9c3ca..b47d5ef02fe2b 100644 --- a/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-ses/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -32,7 +32,6 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< PutConfigurationSetDeliveryOptionsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/PutIdentityPolicyCommand.ts b/clients/client-ses/commands/PutIdentityPolicyCommand.ts index 824a203d3f680..37a6f503ccdd0 100644 --- a/clients/client-ses/commands/PutIdentityPolicyCommand.ts +++ b/clients/client-ses/commands/PutIdentityPolicyCommand.ts @@ -38,7 +38,6 @@ export class PutIdentityPolicyCommand extends $Command< PutIdentityPolicyCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PutIdentityPolicyCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts b/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts index 6976fd3efdbff..89c4a3564f6e5 100644 --- a/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/ReorderReceiptRuleSetCommand.ts @@ -35,7 +35,6 @@ export class ReorderReceiptRuleSetCommand extends $Command< ReorderReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ReorderReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SendBounceCommand.ts b/clients/client-ses/commands/SendBounceCommand.ts index dc633475ebecb..57319753e3cbc 100644 --- a/clients/client-ses/commands/SendBounceCommand.ts +++ b/clients/client-ses/commands/SendBounceCommand.ts @@ -33,7 +33,6 @@ export class SendBounceCommand extends $Command< SendBounceCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SendBounceCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts b/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts index 12b12002cf683..96a9540a5abc8 100644 --- a/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts +++ b/clients/client-ses/commands/SendBulkTemplatedEmailCommand.ts @@ -70,7 +70,6 @@ export class SendBulkTemplatedEmailCommand extends $Command< SendBulkTemplatedEmailCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class SendBulkTemplatedEmailCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts b/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts index ff0171de13dd8..a7126d5421bb0 100644 --- a/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts +++ b/clients/client-ses/commands/SendCustomVerificationEmailCommand.ts @@ -36,7 +36,6 @@ export class SendCustomVerificationEmailCommand extends $Command< SendCustomVerificationEmailCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class SendCustomVerificationEmailCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SendEmailCommand.ts b/clients/client-ses/commands/SendEmailCommand.ts index 03cf09b9925ce..904b467b97f2e 100644 --- a/clients/client-ses/commands/SendEmailCommand.ts +++ b/clients/client-ses/commands/SendEmailCommand.ts @@ -65,7 +65,6 @@ export type SendEmailCommandOutput = SendEmailResponse & __MetadataBearer; * */ export class SendEmailCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class SendEmailCommand 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-ses/commands/SendRawEmailCommand.ts b/clients/client-ses/commands/SendRawEmailCommand.ts index 25188df75b2f6..b5fb0b6417bd2 100644 --- a/clients/client-ses/commands/SendRawEmailCommand.ts +++ b/clients/client-ses/commands/SendRawEmailCommand.ts @@ -133,7 +133,6 @@ export class SendRawEmailCommand extends $Command< SendRawEmailCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -151,10 +150,7 @@ export class SendRawEmailCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SendTemplatedEmailCommand.ts b/clients/client-ses/commands/SendTemplatedEmailCommand.ts index 79e60bf957b3b..415eb3283ebdf 100644 --- a/clients/client-ses/commands/SendTemplatedEmailCommand.ts +++ b/clients/client-ses/commands/SendTemplatedEmailCommand.ts @@ -77,7 +77,6 @@ export class SendTemplatedEmailCommand extends $Command< SendTemplatedEmailCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class SendTemplatedEmailCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts b/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts index 4f01dedda2a41..c965c8ef02ab9 100644 --- a/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts +++ b/clients/client-ses/commands/SetActiveReceiptRuleSetCommand.ts @@ -34,7 +34,6 @@ export class SetActiveReceiptRuleSetCommand extends $Command< SetActiveReceiptRuleSetCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class SetActiveReceiptRuleSetCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts b/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts index 3f0952305076f..78e7c063f2cf0 100644 --- a/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts +++ b/clients/client-ses/commands/SetIdentityDkimEnabledCommand.ts @@ -40,7 +40,6 @@ export class SetIdentityDkimEnabledCommand extends $Command< SetIdentityDkimEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class SetIdentityDkimEnabledCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts b/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts index aa5e5934a1c83..104b824653145 100644 --- a/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts +++ b/clients/client-ses/commands/SetIdentityFeedbackForwardingEnabledCommand.ts @@ -42,7 +42,6 @@ export class SetIdentityFeedbackForwardingEnabledCommand extends $Command< SetIdentityFeedbackForwardingEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class SetIdentityFeedbackForwardingEnabledCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts b/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts index 1f7c21f28db68..ea6ebc1f0d895 100644 --- a/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts +++ b/clients/client-ses/commands/SetIdentityHeadersInNotificationsEnabledCommand.ts @@ -37,7 +37,6 @@ export class SetIdentityHeadersInNotificationsEnabledCommand extends $Command< SetIdentityHeadersInNotificationsEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class SetIdentityHeadersInNotificationsEnabledCommand extends $Command< SetIdentityHeadersInNotificationsEnabledCommandInput, SetIdentityHeadersInNotificationsEnabledCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts b/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts index fa7c8fa5a049e..63842f1e35942 100644 --- a/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts +++ b/clients/client-ses/commands/SetIdentityMailFromDomainCommand.ts @@ -37,7 +37,6 @@ export class SetIdentityMailFromDomainCommand extends $Command< SetIdentityMailFromDomainCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class SetIdentityMailFromDomainCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts b/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts index 51cef0424bc5e..9ac52c01294d4 100644 --- a/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts +++ b/clients/client-ses/commands/SetIdentityNotificationTopicCommand.ts @@ -36,7 +36,6 @@ export class SetIdentityNotificationTopicCommand extends $Command< SetIdentityNotificationTopicCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class SetIdentityNotificationTopicCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/SetReceiptRulePositionCommand.ts b/clients/client-ses/commands/SetReceiptRulePositionCommand.ts index 03d0a2e7b52b9..bbda4fdf3b787 100644 --- a/clients/client-ses/commands/SetReceiptRulePositionCommand.ts +++ b/clients/client-ses/commands/SetReceiptRulePositionCommand.ts @@ -31,7 +31,6 @@ export class SetReceiptRulePositionCommand extends $Command< SetReceiptRulePositionCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class SetReceiptRulePositionCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/TestRenderTemplateCommand.ts b/clients/client-ses/commands/TestRenderTemplateCommand.ts index 287ccf5fa04fb..74df48614ba88 100644 --- a/clients/client-ses/commands/TestRenderTemplateCommand.ts +++ b/clients/client-ses/commands/TestRenderTemplateCommand.ts @@ -30,7 +30,6 @@ export class TestRenderTemplateCommand extends $Command< TestRenderTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class TestRenderTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts b/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts index a66ab27f01365..3bd1ae67db7bd 100644 --- a/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts +++ b/clients/client-ses/commands/UpdateAccountSendingEnabledCommand.ts @@ -33,7 +33,6 @@ export class UpdateAccountSendingEnabledCommand extends $Command< UpdateAccountSendingEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateAccountSendingEnabledCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts index f2481056f46f7..10cfa238145c2 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -43,7 +43,6 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< UpdateConfigurationSetEventDestinationCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts index f03fecbf35e8f..d9e7d395ff971 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetReputationMetricsEnabledCommand.ts @@ -32,7 +32,6 @@ export class UpdateConfigurationSetReputationMetricsEnabledCommand extends $Comm UpdateConfigurationSetReputationMetricsEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateConfigurationSetReputationMetricsEnabledCommand extends $Comm UpdateConfigurationSetReputationMetricsEnabledCommandInput, UpdateConfigurationSetReputationMetricsEnabledCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts index cf254c1dde101..3b3b8ab8d8579 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetSendingEnabledCommand.ts @@ -33,7 +33,6 @@ export class UpdateConfigurationSetSendingEnabledCommand extends $Command< UpdateConfigurationSetSendingEnabledCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateConfigurationSetSendingEnabledCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts b/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts index 9f65232e41686..b5f4c43ac603a 100644 --- a/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-ses/commands/UpdateConfigurationSetTrackingOptionsCommand.ts @@ -36,7 +36,6 @@ export class UpdateConfigurationSetTrackingOptionsCommand extends $Command< UpdateConfigurationSetTrackingOptionsCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateConfigurationSetTrackingOptionsCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts b/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts index baf363df673e3..e65a5467823bf 100644 --- a/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-ses/commands/UpdateCustomVerificationEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command< UpdateCustomVerificationEmailTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateReceiptRuleCommand.ts b/clients/client-ses/commands/UpdateReceiptRuleCommand.ts index fd9c707274073..3ef0cc8ac266b 100644 --- a/clients/client-ses/commands/UpdateReceiptRuleCommand.ts +++ b/clients/client-ses/commands/UpdateReceiptRuleCommand.ts @@ -31,7 +31,6 @@ export class UpdateReceiptRuleCommand extends $Command< UpdateReceiptRuleCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateReceiptRuleCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/UpdateTemplateCommand.ts b/clients/client-ses/commands/UpdateTemplateCommand.ts index 9b3ca03bea9f3..75be010a50eb7 100644 --- a/clients/client-ses/commands/UpdateTemplateCommand.ts +++ b/clients/client-ses/commands/UpdateTemplateCommand.ts @@ -31,7 +31,6 @@ export class UpdateTemplateCommand extends $Command< UpdateTemplateCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateTemplateCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/VerifyDomainDkimCommand.ts b/clients/client-ses/commands/VerifyDomainDkimCommand.ts index 37f959e1e3ce2..983c1216af477 100644 --- a/clients/client-ses/commands/VerifyDomainDkimCommand.ts +++ b/clients/client-ses/commands/VerifyDomainDkimCommand.ts @@ -66,7 +66,6 @@ export class VerifyDomainDkimCommand extends $Command< VerifyDomainDkimCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class VerifyDomainDkimCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/VerifyDomainIdentityCommand.ts b/clients/client-ses/commands/VerifyDomainIdentityCommand.ts index fa6c8cc65a35b..fc13f2de44a86 100644 --- a/clients/client-ses/commands/VerifyDomainIdentityCommand.ts +++ b/clients/client-ses/commands/VerifyDomainIdentityCommand.ts @@ -34,7 +34,6 @@ export class VerifyDomainIdentityCommand extends $Command< VerifyDomainIdentityCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class VerifyDomainIdentityCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/VerifyEmailAddressCommand.ts b/clients/client-ses/commands/VerifyEmailAddressCommand.ts index 2a79eb0c84ecf..9ad3785fedd82 100644 --- a/clients/client-ses/commands/VerifyEmailAddressCommand.ts +++ b/clients/client-ses/commands/VerifyEmailAddressCommand.ts @@ -29,7 +29,6 @@ export class VerifyEmailAddressCommand extends $Command< VerifyEmailAddressCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class VerifyEmailAddressCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ses/commands/VerifyEmailIdentityCommand.ts b/clients/client-ses/commands/VerifyEmailIdentityCommand.ts index b4aa4c5268acb..a7ed04ae8c7ee 100644 --- a/clients/client-ses/commands/VerifyEmailIdentityCommand.ts +++ b/clients/client-ses/commands/VerifyEmailIdentityCommand.ts @@ -31,7 +31,6 @@ export class VerifyEmailIdentityCommand extends $Command< VerifyEmailIdentityCommandOutput, SESClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class VerifyEmailIdentityCommand extends $Command< configuration: SESClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts b/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts index 5d434c2488b4a..c61f3b3eb8521 100644 --- a/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts +++ b/clients/client-sesv2/commands/CreateConfigurationSetCommand.ts @@ -32,7 +32,6 @@ export class CreateConfigurationSetCommand extends $Command< CreateConfigurationSetCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateConfigurationSetCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts b/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts index d52845b154159..b19b32d8819a2 100644 --- a/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-sesv2/commands/CreateConfigurationSetEventDestinationCommand.ts @@ -38,7 +38,6 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< CreateConfigurationSetEventDestinationCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class CreateConfigurationSetEventDestinationCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateContactCommand.ts b/clients/client-sesv2/commands/CreateContactCommand.ts index da530367b8951..2a714dff345fd 100644 --- a/clients/client-sesv2/commands/CreateContactCommand.ts +++ b/clients/client-sesv2/commands/CreateContactCommand.ts @@ -29,7 +29,6 @@ export class CreateContactCommand extends $Command< CreateContactCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateContactCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateContactListCommand.ts b/clients/client-sesv2/commands/CreateContactListCommand.ts index 9c3147b12629f..a2969ac58b26d 100644 --- a/clients/client-sesv2/commands/CreateContactListCommand.ts +++ b/clients/client-sesv2/commands/CreateContactListCommand.ts @@ -28,7 +28,6 @@ export class CreateContactListCommand extends $Command< CreateContactListCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateContactListCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateCustomVerificationEmailTemplateCommand.ts b/clients/client-sesv2/commands/CreateCustomVerificationEmailTemplateCommand.ts index 7aabdce7b0492..19793343754ed 100644 --- a/clients/client-sesv2/commands/CreateCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/CreateCustomVerificationEmailTemplateCommand.ts @@ -35,7 +35,6 @@ export class CreateCustomVerificationEmailTemplateCommand extends $Command< CreateCustomVerificationEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateCustomVerificationEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts b/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts index 6bb9a656dda33..0d46f389a3194 100644 --- a/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts +++ b/clients/client-sesv2/commands/CreateDedicatedIpPoolCommand.ts @@ -31,7 +31,6 @@ export class CreateDedicatedIpPoolCommand extends $Command< CreateDedicatedIpPoolCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDedicatedIpPoolCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts b/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts index 32238228b5ad9..a29377af8447a 100644 --- a/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts +++ b/clients/client-sesv2/commands/CreateDeliverabilityTestReportCommand.ts @@ -34,7 +34,6 @@ export class CreateDeliverabilityTestReportCommand extends $Command< CreateDeliverabilityTestReportCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateDeliverabilityTestReportCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts b/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts index b183a2219f75f..38bd37f845c34 100644 --- a/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts +++ b/clients/client-sesv2/commands/CreateEmailIdentityCommand.ts @@ -47,7 +47,6 @@ export class CreateEmailIdentityCommand extends $Command< CreateEmailIdentityCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class CreateEmailIdentityCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateEmailIdentityPolicyCommand.ts b/clients/client-sesv2/commands/CreateEmailIdentityPolicyCommand.ts index b7375b5754f5b..f2434e24c6e71 100644 --- a/clients/client-sesv2/commands/CreateEmailIdentityPolicyCommand.ts +++ b/clients/client-sesv2/commands/CreateEmailIdentityPolicyCommand.ts @@ -39,7 +39,6 @@ export class CreateEmailIdentityPolicyCommand extends $Command< CreateEmailIdentityPolicyCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateEmailIdentityPolicyCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateEmailTemplateCommand.ts b/clients/client-sesv2/commands/CreateEmailTemplateCommand.ts index 869b56136abef..add76c17a93bb 100644 --- a/clients/client-sesv2/commands/CreateEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/CreateEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class CreateEmailTemplateCommand extends $Command< CreateEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/CreateImportJobCommand.ts b/clients/client-sesv2/commands/CreateImportJobCommand.ts index fbb7b4cf651d7..14ad52f822fe0 100644 --- a/clients/client-sesv2/commands/CreateImportJobCommand.ts +++ b/clients/client-sesv2/commands/CreateImportJobCommand.ts @@ -28,7 +28,6 @@ export class CreateImportJobCommand extends $Command< CreateImportJobCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateImportJobCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts b/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts index 5c4ea4a079bab..3efcb157faf53 100644 --- a/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts +++ b/clients/client-sesv2/commands/DeleteConfigurationSetCommand.ts @@ -33,7 +33,6 @@ export class DeleteConfigurationSetCommand extends $Command< DeleteConfigurationSetCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteConfigurationSetCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts b/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts index a20687ec9d4cc..2a3a4c951e1f4 100644 --- a/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts +++ b/clients/client-sesv2/commands/DeleteConfigurationSetEventDestinationCommand.ts @@ -38,7 +38,6 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< DeleteConfigurationSetEventDestinationCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DeleteConfigurationSetEventDestinationCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteContactCommand.ts b/clients/client-sesv2/commands/DeleteContactCommand.ts index edc97e6f3354c..034760cc39ae5 100644 --- a/clients/client-sesv2/commands/DeleteContactCommand.ts +++ b/clients/client-sesv2/commands/DeleteContactCommand.ts @@ -28,7 +28,6 @@ export class DeleteContactCommand extends $Command< DeleteContactCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteContactCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteContactListCommand.ts b/clients/client-sesv2/commands/DeleteContactListCommand.ts index d497c402e255f..221b69629b691 100644 --- a/clients/client-sesv2/commands/DeleteContactListCommand.ts +++ b/clients/client-sesv2/commands/DeleteContactListCommand.ts @@ -28,7 +28,6 @@ export class DeleteContactListCommand extends $Command< DeleteContactListCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteContactListCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteCustomVerificationEmailTemplateCommand.ts b/clients/client-sesv2/commands/DeleteCustomVerificationEmailTemplateCommand.ts index 630fd9e139f68..a358b18305c42 100644 --- a/clients/client-sesv2/commands/DeleteCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/DeleteCustomVerificationEmailTemplateCommand.ts @@ -35,7 +35,6 @@ export class DeleteCustomVerificationEmailTemplateCommand extends $Command< DeleteCustomVerificationEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteCustomVerificationEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts b/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts index 2117a57b154e0..c7bd2d7dcf838 100644 --- a/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts +++ b/clients/client-sesv2/commands/DeleteDedicatedIpPoolCommand.ts @@ -28,7 +28,6 @@ export class DeleteDedicatedIpPoolCommand extends $Command< DeleteDedicatedIpPoolCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDedicatedIpPoolCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts b/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts index 37ea6b682bde5..527c646b7d2b0 100644 --- a/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts +++ b/clients/client-sesv2/commands/DeleteEmailIdentityCommand.ts @@ -29,7 +29,6 @@ export class DeleteEmailIdentityCommand extends $Command< DeleteEmailIdentityCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteEmailIdentityCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteEmailIdentityPolicyCommand.ts b/clients/client-sesv2/commands/DeleteEmailIdentityPolicyCommand.ts index 7d3638aada95e..3d9ef174883f0 100644 --- a/clients/client-sesv2/commands/DeleteEmailIdentityPolicyCommand.ts +++ b/clients/client-sesv2/commands/DeleteEmailIdentityPolicyCommand.ts @@ -40,7 +40,6 @@ export class DeleteEmailIdentityPolicyCommand extends $Command< DeleteEmailIdentityPolicyCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteEmailIdentityPolicyCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteEmailTemplateCommand.ts b/clients/client-sesv2/commands/DeleteEmailTemplateCommand.ts index 46c9f0a23ed0d..a4a2ea89978a9 100644 --- a/clients/client-sesv2/commands/DeleteEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/DeleteEmailTemplateCommand.ts @@ -30,7 +30,6 @@ export class DeleteEmailTemplateCommand extends $Command< DeleteEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts b/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts index 37e75448a8d17..8106955d76b1c 100644 --- a/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts +++ b/clients/client-sesv2/commands/DeleteSuppressedDestinationCommand.ts @@ -28,7 +28,6 @@ export class DeleteSuppressedDestinationCommand extends $Command< DeleteSuppressedDestinationCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSuppressedDestinationCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetAccountCommand.ts b/clients/client-sesv2/commands/GetAccountCommand.ts index 44fd2eb22d295..b4bbddc4fe2a1 100644 --- a/clients/client-sesv2/commands/GetAccountCommand.ts +++ b/clients/client-sesv2/commands/GetAccountCommand.ts @@ -29,7 +29,6 @@ export class GetAccountCommand extends $Command< GetAccountCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAccountCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts b/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts index c668a5d843c49..78f6028f6ea37 100644 --- a/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts +++ b/clients/client-sesv2/commands/GetBlacklistReportsCommand.ts @@ -28,7 +28,6 @@ export class GetBlacklistReportsCommand extends $Command< GetBlacklistReportsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetBlacklistReportsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetConfigurationSetCommand.ts b/clients/client-sesv2/commands/GetConfigurationSetCommand.ts index 186dc49d51c59..4d4bed9de348d 100644 --- a/clients/client-sesv2/commands/GetConfigurationSetCommand.ts +++ b/clients/client-sesv2/commands/GetConfigurationSetCommand.ts @@ -35,7 +35,6 @@ export class GetConfigurationSetCommand extends $Command< GetConfigurationSetCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetConfigurationSetCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts b/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts index e92d7210ee8c0..40b17f45ac3b9 100644 --- a/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts +++ b/clients/client-sesv2/commands/GetConfigurationSetEventDestinationsCommand.ts @@ -39,7 +39,6 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< GetConfigurationSetEventDestinationsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetConfigurationSetEventDestinationsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetContactCommand.ts b/clients/client-sesv2/commands/GetContactCommand.ts index 3378649bbb338..0339a891d63ba 100644 --- a/clients/client-sesv2/commands/GetContactCommand.ts +++ b/clients/client-sesv2/commands/GetContactCommand.ts @@ -28,7 +28,6 @@ export class GetContactCommand extends $Command< GetContactCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetContactCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetContactListCommand.ts b/clients/client-sesv2/commands/GetContactListCommand.ts index d14c01b9d6cb7..1095a65149169 100644 --- a/clients/client-sesv2/commands/GetContactListCommand.ts +++ b/clients/client-sesv2/commands/GetContactListCommand.ts @@ -29,7 +29,6 @@ export class GetContactListCommand extends $Command< GetContactListCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetContactListCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetCustomVerificationEmailTemplateCommand.ts b/clients/client-sesv2/commands/GetCustomVerificationEmailTemplateCommand.ts index 39960ab03a167..6ab604a102a6a 100644 --- a/clients/client-sesv2/commands/GetCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/GetCustomVerificationEmailTemplateCommand.ts @@ -36,7 +36,6 @@ export class GetCustomVerificationEmailTemplateCommand extends $Command< GetCustomVerificationEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetCustomVerificationEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetDedicatedIpCommand.ts b/clients/client-sesv2/commands/GetDedicatedIpCommand.ts index 97f50228fd888..91d0e44cce668 100644 --- a/clients/client-sesv2/commands/GetDedicatedIpCommand.ts +++ b/clients/client-sesv2/commands/GetDedicatedIpCommand.ts @@ -30,7 +30,6 @@ export class GetDedicatedIpCommand extends $Command< GetDedicatedIpCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDedicatedIpCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts b/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts index 4439ff6e065a9..eb28dee0f306d 100644 --- a/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts +++ b/clients/client-sesv2/commands/GetDedicatedIpsCommand.ts @@ -29,7 +29,6 @@ export class GetDedicatedIpsCommand extends $Command< GetDedicatedIpsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDedicatedIpsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts b/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts index 350783429fbd5..2db63d249e214 100644 --- a/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts +++ b/clients/client-sesv2/commands/GetDeliverabilityDashboardOptionsCommand.ts @@ -39,7 +39,6 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< GetDeliverabilityDashboardOptionsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetDeliverabilityDashboardOptionsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts b/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts index dbb17197b7a27..0b8d20a900974 100644 --- a/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts +++ b/clients/client-sesv2/commands/GetDeliverabilityTestReportCommand.ts @@ -28,7 +28,6 @@ export class GetDeliverabilityTestReportCommand extends $Command< GetDeliverabilityTestReportCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDeliverabilityTestReportCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts b/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts index 62d4d50bdf56c..650b469529857 100644 --- a/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts +++ b/clients/client-sesv2/commands/GetDomainDeliverabilityCampaignCommand.ts @@ -30,7 +30,6 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< GetDomainDeliverabilityCampaignCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetDomainDeliverabilityCampaignCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts b/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts index 58cf369ccb1bb..ceecd8216f8f8 100644 --- a/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts +++ b/clients/client-sesv2/commands/GetDomainStatisticsReportCommand.ts @@ -29,7 +29,6 @@ export class GetDomainStatisticsReportCommand extends $Command< GetDomainStatisticsReportCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetDomainStatisticsReportCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetEmailIdentityCommand.ts b/clients/client-sesv2/commands/GetEmailIdentityCommand.ts index 90dde414a6725..2120340f6b0b2 100644 --- a/clients/client-sesv2/commands/GetEmailIdentityCommand.ts +++ b/clients/client-sesv2/commands/GetEmailIdentityCommand.ts @@ -30,7 +30,6 @@ export class GetEmailIdentityCommand extends $Command< GetEmailIdentityCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEmailIdentityCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetEmailIdentityPoliciesCommand.ts b/clients/client-sesv2/commands/GetEmailIdentityPoliciesCommand.ts index 5ab1364595ae0..a4c0bda9330b9 100644 --- a/clients/client-sesv2/commands/GetEmailIdentityPoliciesCommand.ts +++ b/clients/client-sesv2/commands/GetEmailIdentityPoliciesCommand.ts @@ -39,7 +39,6 @@ export class GetEmailIdentityPoliciesCommand extends $Command< GetEmailIdentityPoliciesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class GetEmailIdentityPoliciesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetEmailTemplateCommand.ts b/clients/client-sesv2/commands/GetEmailTemplateCommand.ts index 46741e99a3e47..667859cee07c1 100644 --- a/clients/client-sesv2/commands/GetEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/GetEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class GetEmailTemplateCommand extends $Command< GetEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetImportJobCommand.ts b/clients/client-sesv2/commands/GetImportJobCommand.ts index fb1cf4696f401..760b646bf80b9 100644 --- a/clients/client-sesv2/commands/GetImportJobCommand.ts +++ b/clients/client-sesv2/commands/GetImportJobCommand.ts @@ -28,7 +28,6 @@ export class GetImportJobCommand extends $Command< GetImportJobCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetImportJobCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts b/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts index f8c34bd4cf446..328e75af87ed6 100644 --- a/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts +++ b/clients/client-sesv2/commands/GetSuppressedDestinationCommand.ts @@ -29,7 +29,6 @@ export class GetSuppressedDestinationCommand extends $Command< GetSuppressedDestinationCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSuppressedDestinationCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts b/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts index ba1a4cce51df9..040ed752abb42 100644 --- a/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts +++ b/clients/client-sesv2/commands/ListConfigurationSetsCommand.ts @@ -34,7 +34,6 @@ export class ListConfigurationSetsCommand extends $Command< ListConfigurationSetsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListConfigurationSetsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListContactListsCommand.ts b/clients/client-sesv2/commands/ListContactListsCommand.ts index 21cb20cd284b9..fce6998f03bc7 100644 --- a/clients/client-sesv2/commands/ListContactListsCommand.ts +++ b/clients/client-sesv2/commands/ListContactListsCommand.ts @@ -28,7 +28,6 @@ export class ListContactListsCommand extends $Command< ListContactListsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListContactListsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListContactsCommand.ts b/clients/client-sesv2/commands/ListContactsCommand.ts index eb7e675006840..0bb557eecc007 100644 --- a/clients/client-sesv2/commands/ListContactsCommand.ts +++ b/clients/client-sesv2/commands/ListContactsCommand.ts @@ -28,7 +28,6 @@ export class ListContactsCommand extends $Command< ListContactsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListContactsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListCustomVerificationEmailTemplatesCommand.ts b/clients/client-sesv2/commands/ListCustomVerificationEmailTemplatesCommand.ts index 6effb138a90fc..bbe596f47a249 100644 --- a/clients/client-sesv2/commands/ListCustomVerificationEmailTemplatesCommand.ts +++ b/clients/client-sesv2/commands/ListCustomVerificationEmailTemplatesCommand.ts @@ -36,7 +36,6 @@ export class ListCustomVerificationEmailTemplatesCommand extends $Command< ListCustomVerificationEmailTemplatesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListCustomVerificationEmailTemplatesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts b/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts index fc23cdb758f9d..ba6842906d09b 100644 --- a/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts +++ b/clients/client-sesv2/commands/ListDedicatedIpPoolsCommand.ts @@ -29,7 +29,6 @@ export class ListDedicatedIpPoolsCommand extends $Command< ListDedicatedIpPoolsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDedicatedIpPoolsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts b/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts index 5ad6cf99a4bab..7f290607bf158 100644 --- a/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts +++ b/clients/client-sesv2/commands/ListDeliverabilityTestReportsCommand.ts @@ -30,7 +30,6 @@ export class ListDeliverabilityTestReportsCommand extends $Command< ListDeliverabilityTestReportsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDeliverabilityTestReportsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts b/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts index d0c5ee1d0dff3..deb6dadd3121e 100644 --- a/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts +++ b/clients/client-sesv2/commands/ListDomainDeliverabilityCampaignsCommand.ts @@ -34,7 +34,6 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< ListDomainDeliverabilityCampaignsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListDomainDeliverabilityCampaignsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts b/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts index 61578dd0d0291..a0b07add80f23 100644 --- a/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts +++ b/clients/client-sesv2/commands/ListEmailIdentitiesCommand.ts @@ -31,7 +31,6 @@ export class ListEmailIdentitiesCommand extends $Command< ListEmailIdentitiesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListEmailIdentitiesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListEmailTemplatesCommand.ts b/clients/client-sesv2/commands/ListEmailTemplatesCommand.ts index 9313aff3a1438..afd193ce1a191 100644 --- a/clients/client-sesv2/commands/ListEmailTemplatesCommand.ts +++ b/clients/client-sesv2/commands/ListEmailTemplatesCommand.ts @@ -31,7 +31,6 @@ export class ListEmailTemplatesCommand extends $Command< ListEmailTemplatesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListEmailTemplatesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListImportJobsCommand.ts b/clients/client-sesv2/commands/ListImportJobsCommand.ts index 71fbfcbd75b22..5209db5b484c3 100644 --- a/clients/client-sesv2/commands/ListImportJobsCommand.ts +++ b/clients/client-sesv2/commands/ListImportJobsCommand.ts @@ -28,7 +28,6 @@ export class ListImportJobsCommand extends $Command< ListImportJobsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListImportJobsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts b/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts index 6329b0391eeca..6ff8eb1bd0142 100644 --- a/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts +++ b/clients/client-sesv2/commands/ListSuppressedDestinationsCommand.ts @@ -29,7 +29,6 @@ export class ListSuppressedDestinationsCommand extends $Command< ListSuppressedDestinationsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSuppressedDestinationsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/ListTagsForResourceCommand.ts b/clients/client-sesv2/commands/ListTagsForResourceCommand.ts index 49ac05299ea4d..521fccefdb773 100644 --- a/clients/client-sesv2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sesv2/commands/ListTagsForResourceCommand.ts @@ -33,7 +33,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts b/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts index 5cfd5c84da1eb..fbb9fab5c1d1c 100644 --- a/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutAccountDedicatedIpWarmupAttributesCommand.ts @@ -32,7 +32,6 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< PutAccountDedicatedIpWarmupAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutAccountDedicatedIpWarmupAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutAccountDetailsCommand.ts b/clients/client-sesv2/commands/PutAccountDetailsCommand.ts index 81cb27e2074a5..33358f93eb3df 100644 --- a/clients/client-sesv2/commands/PutAccountDetailsCommand.ts +++ b/clients/client-sesv2/commands/PutAccountDetailsCommand.ts @@ -28,7 +28,6 @@ export class PutAccountDetailsCommand extends $Command< PutAccountDetailsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAccountDetailsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts b/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts index 1d9ff15d440ae..10a04d11fb1b8 100644 --- a/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutAccountSendingAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutAccountSendingAttributesCommand extends $Command< PutAccountSendingAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAccountSendingAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts b/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts index 4728baa260aba..a1c187a36ce32 100644 --- a/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutAccountSuppressionAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutAccountSuppressionAttributesCommand extends $Command< PutAccountSuppressionAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAccountSuppressionAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts index 64e1526687ed3..b572572a6017a 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetDeliveryOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< PutConfigurationSetDeliveryOptionsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetDeliveryOptionsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts index 62c61b9706285..7274509f7e109 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetReputationOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< PutConfigurationSetReputationOptionsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetReputationOptionsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts index 751e12901b8a5..d2cb3ff5f1588 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetSendingOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< PutConfigurationSetSendingOptionsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetSendingOptionsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts index 4740034da2bd3..0f1e8d8a6ee67 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetSuppressionOptionsCommand.ts @@ -32,7 +32,6 @@ export class PutConfigurationSetSuppressionOptionsCommand extends $Command< PutConfigurationSetSuppressionOptionsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class PutConfigurationSetSuppressionOptionsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts b/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts index 71981df5153b7..91792ccf4cf1d 100644 --- a/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts +++ b/clients/client-sesv2/commands/PutConfigurationSetTrackingOptionsCommand.ts @@ -33,7 +33,6 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< PutConfigurationSetTrackingOptionsCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutConfigurationSetTrackingOptionsCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts b/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts index 08d58c5584f2e..cafd6523f2296 100644 --- a/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts +++ b/clients/client-sesv2/commands/PutDedicatedIpInPoolCommand.ts @@ -37,7 +37,6 @@ export class PutDedicatedIpInPoolCommand extends $Command< PutDedicatedIpInPoolCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class PutDedicatedIpInPoolCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts b/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts index c1c4cf1ae51a7..ec3e2df749c84 100644 --- a/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutDedicatedIpWarmupAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< PutDedicatedIpWarmupAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutDedicatedIpWarmupAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts b/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts index b5a15d36c71bb..81c49a7fc4a61 100644 --- a/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts +++ b/clients/client-sesv2/commands/PutDeliverabilityDashboardOptionCommand.ts @@ -34,7 +34,6 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< PutDeliverabilityDashboardOptionCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class PutDeliverabilityDashboardOptionCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts index 30c1988ffbf62..2ec479d87c615 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityDkimAttributesCommand.ts @@ -28,7 +28,6 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< PutEmailIdentityDkimAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEmailIdentityDkimAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts index b89d0d3c1e219..311832034a61d 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityDkimSigningAttributesCommand.ts @@ -51,7 +51,6 @@ export class PutEmailIdentityDkimSigningAttributesCommand extends $Command< PutEmailIdentityDkimSigningAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class PutEmailIdentityDkimSigningAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts index b8f8d0feb269c..b559845fed238 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityFeedbackAttributesCommand.ts @@ -41,7 +41,6 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< PutEmailIdentityFeedbackAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class PutEmailIdentityFeedbackAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts b/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts index db1165bcb6919..5948178a6c0cd 100644 --- a/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts +++ b/clients/client-sesv2/commands/PutEmailIdentityMailFromAttributesCommand.ts @@ -33,7 +33,6 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< PutEmailIdentityMailFromAttributesCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutEmailIdentityMailFromAttributesCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts b/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts index 879e19a1e263b..07421185fcbb3 100644 --- a/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts +++ b/clients/client-sesv2/commands/PutSuppressedDestinationCommand.ts @@ -28,7 +28,6 @@ export class PutSuppressedDestinationCommand extends $Command< PutSuppressedDestinationCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutSuppressedDestinationCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/SendBulkEmailCommand.ts b/clients/client-sesv2/commands/SendBulkEmailCommand.ts index 0b5174c92f631..936df0fd11c26 100644 --- a/clients/client-sesv2/commands/SendBulkEmailCommand.ts +++ b/clients/client-sesv2/commands/SendBulkEmailCommand.ts @@ -28,7 +28,6 @@ export class SendBulkEmailCommand extends $Command< SendBulkEmailCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SendBulkEmailCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/SendCustomVerificationEmailCommand.ts b/clients/client-sesv2/commands/SendCustomVerificationEmailCommand.ts index 381100ad52007..2454507b80b9a 100644 --- a/clients/client-sesv2/commands/SendCustomVerificationEmailCommand.ts +++ b/clients/client-sesv2/commands/SendCustomVerificationEmailCommand.ts @@ -35,7 +35,6 @@ export class SendCustomVerificationEmailCommand extends $Command< SendCustomVerificationEmailCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class SendCustomVerificationEmailCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/SendEmailCommand.ts b/clients/client-sesv2/commands/SendEmailCommand.ts index 573d3aee34fb0..112f253a48448 100644 --- a/clients/client-sesv2/commands/SendEmailCommand.ts +++ b/clients/client-sesv2/commands/SendEmailCommand.ts @@ -51,7 +51,6 @@ export class SendEmailCommand extends $Command< SendEmailCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class SendEmailCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/TagResourceCommand.ts b/clients/client-sesv2/commands/TagResourceCommand.ts index f3c83a2d1b67a..2fd7453dd3220 100644 --- a/clients/client-sesv2/commands/TagResourceCommand.ts +++ b/clients/client-sesv2/commands/TagResourceCommand.ts @@ -36,7 +36,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class TagResourceCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/TestRenderEmailTemplateCommand.ts b/clients/client-sesv2/commands/TestRenderEmailTemplateCommand.ts index a150cbe95cb3d..eb62e1dafc7e1 100644 --- a/clients/client-sesv2/commands/TestRenderEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/TestRenderEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class TestRenderEmailTemplateCommand extends $Command< TestRenderEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TestRenderEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UntagResourceCommand.ts b/clients/client-sesv2/commands/UntagResourceCommand.ts index f86f24059950d..ad2fe0361f5a0 100644 --- a/clients/client-sesv2/commands/UntagResourceCommand.ts +++ b/clients/client-sesv2/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts b/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts index b6cb48e54ec75..a63bdd75180f4 100644 --- a/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts +++ b/clients/client-sesv2/commands/UpdateConfigurationSetEventDestinationCommand.ts @@ -38,7 +38,6 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< UpdateConfigurationSetEventDestinationCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateConfigurationSetEventDestinationCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UpdateContactCommand.ts b/clients/client-sesv2/commands/UpdateContactCommand.ts index 1d7e67a3f4863..112b70e58a585 100644 --- a/clients/client-sesv2/commands/UpdateContactCommand.ts +++ b/clients/client-sesv2/commands/UpdateContactCommand.ts @@ -30,7 +30,6 @@ export class UpdateContactCommand extends $Command< UpdateContactCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateContactCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UpdateContactListCommand.ts b/clients/client-sesv2/commands/UpdateContactListCommand.ts index 45767fed0d2b5..69202588943b7 100644 --- a/clients/client-sesv2/commands/UpdateContactListCommand.ts +++ b/clients/client-sesv2/commands/UpdateContactListCommand.ts @@ -28,7 +28,6 @@ export class UpdateContactListCommand extends $Command< UpdateContactListCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateContactListCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UpdateCustomVerificationEmailTemplateCommand.ts b/clients/client-sesv2/commands/UpdateCustomVerificationEmailTemplateCommand.ts index d2ee982473110..aa83710139b02 100644 --- a/clients/client-sesv2/commands/UpdateCustomVerificationEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/UpdateCustomVerificationEmailTemplateCommand.ts @@ -35,7 +35,6 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command< UpdateCustomVerificationEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateCustomVerificationEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UpdateEmailIdentityPolicyCommand.ts b/clients/client-sesv2/commands/UpdateEmailIdentityPolicyCommand.ts index 5921f90983f7f..40366c5abe3d6 100644 --- a/clients/client-sesv2/commands/UpdateEmailIdentityPolicyCommand.ts +++ b/clients/client-sesv2/commands/UpdateEmailIdentityPolicyCommand.ts @@ -40,7 +40,6 @@ export class UpdateEmailIdentityPolicyCommand extends $Command< UpdateEmailIdentityPolicyCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateEmailIdentityPolicyCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sesv2/commands/UpdateEmailTemplateCommand.ts b/clients/client-sesv2/commands/UpdateEmailTemplateCommand.ts index d9309697f84dc..4592a05ef38f2 100644 --- a/clients/client-sesv2/commands/UpdateEmailTemplateCommand.ts +++ b/clients/client-sesv2/commands/UpdateEmailTemplateCommand.ts @@ -31,7 +31,6 @@ export class UpdateEmailTemplateCommand extends $Command< UpdateEmailTemplateCommandOutput, SESv2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateEmailTemplateCommand extends $Command< configuration: SESv2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/CreateActivityCommand.ts b/clients/client-sfn/commands/CreateActivityCommand.ts index 297629ee5b766..79b53e14433e5 100644 --- a/clients/client-sfn/commands/CreateActivityCommand.ts +++ b/clients/client-sfn/commands/CreateActivityCommand.ts @@ -44,7 +44,6 @@ export class CreateActivityCommand extends $Command< CreateActivityCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CreateActivityCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/CreateStateMachineCommand.ts b/clients/client-sfn/commands/CreateStateMachineCommand.ts index 6b976dce92862..8720e32c09004 100644 --- a/clients/client-sfn/commands/CreateStateMachineCommand.ts +++ b/clients/client-sfn/commands/CreateStateMachineCommand.ts @@ -46,7 +46,6 @@ export class CreateStateMachineCommand extends $Command< CreateStateMachineCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class CreateStateMachineCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/DeleteActivityCommand.ts b/clients/client-sfn/commands/DeleteActivityCommand.ts index 7c00f73fe1ba5..afbc26040ef10 100644 --- a/clients/client-sfn/commands/DeleteActivityCommand.ts +++ b/clients/client-sfn/commands/DeleteActivityCommand.ts @@ -28,7 +28,6 @@ export class DeleteActivityCommand extends $Command< DeleteActivityCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteActivityCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/DeleteStateMachineCommand.ts b/clients/client-sfn/commands/DeleteStateMachineCommand.ts index eb7f402892058..1703b27a1166d 100644 --- a/clients/client-sfn/commands/DeleteStateMachineCommand.ts +++ b/clients/client-sfn/commands/DeleteStateMachineCommand.ts @@ -34,7 +34,6 @@ export class DeleteStateMachineCommand extends $Command< DeleteStateMachineCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteStateMachineCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/DescribeActivityCommand.ts b/clients/client-sfn/commands/DescribeActivityCommand.ts index 53e35707b80f2..338e50032742c 100644 --- a/clients/client-sfn/commands/DescribeActivityCommand.ts +++ b/clients/client-sfn/commands/DescribeActivityCommand.ts @@ -31,7 +31,6 @@ export class DescribeActivityCommand extends $Command< DescribeActivityCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeActivityCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/DescribeExecutionCommand.ts b/clients/client-sfn/commands/DescribeExecutionCommand.ts index 58d018d6d5aae..06a63d944651d 100644 --- a/clients/client-sfn/commands/DescribeExecutionCommand.ts +++ b/clients/client-sfn/commands/DescribeExecutionCommand.ts @@ -32,7 +32,6 @@ export class DescribeExecutionCommand extends $Command< DescribeExecutionCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeExecutionCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/DescribeStateMachineCommand.ts b/clients/client-sfn/commands/DescribeStateMachineCommand.ts index a5363d5664444..b3c7bbdc59edd 100644 --- a/clients/client-sfn/commands/DescribeStateMachineCommand.ts +++ b/clients/client-sfn/commands/DescribeStateMachineCommand.ts @@ -31,7 +31,6 @@ export class DescribeStateMachineCommand extends $Command< DescribeStateMachineCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeStateMachineCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts b/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts index 3670b536d296d..4c081a1fef6ef 100644 --- a/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts +++ b/clients/client-sfn/commands/DescribeStateMachineForExecutionCommand.ts @@ -32,7 +32,6 @@ export class DescribeStateMachineForExecutionCommand extends $Command< DescribeStateMachineForExecutionCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeStateMachineForExecutionCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/GetActivityTaskCommand.ts b/clients/client-sfn/commands/GetActivityTaskCommand.ts index 313ad378b48a6..97d3441d4386d 100644 --- a/clients/client-sfn/commands/GetActivityTaskCommand.ts +++ b/clients/client-sfn/commands/GetActivityTaskCommand.ts @@ -40,7 +40,6 @@ export class GetActivityTaskCommand extends $Command< GetActivityTaskCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetActivityTaskCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/GetExecutionHistoryCommand.ts b/clients/client-sfn/commands/GetExecutionHistoryCommand.ts index 56bd6ea4b9a07..1576128371702 100644 --- a/clients/client-sfn/commands/GetExecutionHistoryCommand.ts +++ b/clients/client-sfn/commands/GetExecutionHistoryCommand.ts @@ -33,7 +33,6 @@ export class GetExecutionHistoryCommand extends $Command< GetExecutionHistoryCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetExecutionHistoryCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/ListActivitiesCommand.ts b/clients/client-sfn/commands/ListActivitiesCommand.ts index e67632c3943cc..8f66f9b7b0ce0 100644 --- a/clients/client-sfn/commands/ListActivitiesCommand.ts +++ b/clients/client-sfn/commands/ListActivitiesCommand.ts @@ -33,7 +33,6 @@ export class ListActivitiesCommand extends $Command< ListActivitiesCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListActivitiesCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/ListExecutionsCommand.ts b/clients/client-sfn/commands/ListExecutionsCommand.ts index 2059e2833a6f1..bcd875d97a464 100644 --- a/clients/client-sfn/commands/ListExecutionsCommand.ts +++ b/clients/client-sfn/commands/ListExecutionsCommand.ts @@ -35,7 +35,6 @@ export class ListExecutionsCommand extends $Command< ListExecutionsCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListExecutionsCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/ListStateMachinesCommand.ts b/clients/client-sfn/commands/ListStateMachinesCommand.ts index 772e7bc5cbf62..edbcd12f22707 100644 --- a/clients/client-sfn/commands/ListStateMachinesCommand.ts +++ b/clients/client-sfn/commands/ListStateMachinesCommand.ts @@ -33,7 +33,6 @@ export class ListStateMachinesCommand extends $Command< ListStateMachinesCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListStateMachinesCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/ListTagsForResourceCommand.ts b/clients/client-sfn/commands/ListTagsForResourceCommand.ts index a56492594d01a..021d951a35855 100644 --- a/clients/client-sfn/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sfn/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/SendTaskFailureCommand.ts b/clients/client-sfn/commands/SendTaskFailureCommand.ts index 157819aff43e5..95c1eb05bae3a 100644 --- a/clients/client-sfn/commands/SendTaskFailureCommand.ts +++ b/clients/client-sfn/commands/SendTaskFailureCommand.ts @@ -29,7 +29,6 @@ export class SendTaskFailureCommand extends $Command< SendTaskFailureCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SendTaskFailureCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts b/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts index 52957d9cd2add..a37f2050bf8f3 100644 --- a/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts +++ b/clients/client-sfn/commands/SendTaskHeartbeatCommand.ts @@ -42,7 +42,6 @@ export class SendTaskHeartbeatCommand extends $Command< SendTaskHeartbeatCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class SendTaskHeartbeatCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/SendTaskSuccessCommand.ts b/clients/client-sfn/commands/SendTaskSuccessCommand.ts index fc07fb5a90087..5f4539e73f5eb 100644 --- a/clients/client-sfn/commands/SendTaskSuccessCommand.ts +++ b/clients/client-sfn/commands/SendTaskSuccessCommand.ts @@ -30,7 +30,6 @@ export class SendTaskSuccessCommand extends $Command< SendTaskSuccessCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SendTaskSuccessCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/StartExecutionCommand.ts b/clients/client-sfn/commands/StartExecutionCommand.ts index e9f68ae0ac686..ea01642c4ee53 100644 --- a/clients/client-sfn/commands/StartExecutionCommand.ts +++ b/clients/client-sfn/commands/StartExecutionCommand.ts @@ -36,7 +36,6 @@ export class StartExecutionCommand extends $Command< StartExecutionCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartExecutionCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/StartSyncExecutionCommand.ts b/clients/client-sfn/commands/StartSyncExecutionCommand.ts index a38d103e86cfe..c338fbf67faf6 100644 --- a/clients/client-sfn/commands/StartSyncExecutionCommand.ts +++ b/clients/client-sfn/commands/StartSyncExecutionCommand.ts @@ -28,7 +28,6 @@ export class StartSyncExecutionCommand extends $Command< StartSyncExecutionCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartSyncExecutionCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/StopExecutionCommand.ts b/clients/client-sfn/commands/StopExecutionCommand.ts index d709bcf4dc8bf..f9d52c203f577 100644 --- a/clients/client-sfn/commands/StopExecutionCommand.ts +++ b/clients/client-sfn/commands/StopExecutionCommand.ts @@ -29,7 +29,6 @@ export class StopExecutionCommand extends $Command< StopExecutionCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopExecutionCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/TagResourceCommand.ts b/clients/client-sfn/commands/TagResourceCommand.ts index 8d2d53327ade7..3422ce9004511 100644 --- a/clients/client-sfn/commands/TagResourceCommand.ts +++ b/clients/client-sfn/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/UntagResourceCommand.ts b/clients/client-sfn/commands/UntagResourceCommand.ts index b274b0e79cca0..ce9533070a085 100644 --- a/clients/client-sfn/commands/UntagResourceCommand.ts +++ b/clients/client-sfn/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sfn/commands/UpdateStateMachineCommand.ts b/clients/client-sfn/commands/UpdateStateMachineCommand.ts index e7f56690337c4..4b197b3434c91 100644 --- a/clients/client-sfn/commands/UpdateStateMachineCommand.ts +++ b/clients/client-sfn/commands/UpdateStateMachineCommand.ts @@ -38,7 +38,6 @@ export class UpdateStateMachineCommand extends $Command< UpdateStateMachineCommandOutput, SFNClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateStateMachineCommand extends $Command< configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts b/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts index 1876e4f3a1517..e0ffff611ffdb 100644 --- a/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts +++ b/clients/client-shield/commands/AssociateDRTLogBucketCommand.ts @@ -29,7 +29,6 @@ export class AssociateDRTLogBucketCommand extends $Command< AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateDRTLogBucketCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/AssociateDRTRoleCommand.ts b/clients/client-shield/commands/AssociateDRTRoleCommand.ts index 333e1921bfe1b..f6d0a5646b9b5 100644 --- a/clients/client-shield/commands/AssociateDRTRoleCommand.ts +++ b/clients/client-shield/commands/AssociateDRTRoleCommand.ts @@ -34,7 +34,6 @@ export class AssociateDRTRoleCommand extends $Command< AssociateDRTRoleCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AssociateDRTRoleCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/AssociateHealthCheckCommand.ts b/clients/client-shield/commands/AssociateHealthCheckCommand.ts index 5cd847426e97c..973e241ce9a6f 100644 --- a/clients/client-shield/commands/AssociateHealthCheckCommand.ts +++ b/clients/client-shield/commands/AssociateHealthCheckCommand.ts @@ -29,7 +29,6 @@ export class AssociateHealthCheckCommand extends $Command< AssociateHealthCheckCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AssociateHealthCheckCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/AssociateProactiveEngagementDetailsCommand.ts b/clients/client-shield/commands/AssociateProactiveEngagementDetailsCommand.ts index e60eb3352b72c..d25df3c9bf67c 100644 --- a/clients/client-shield/commands/AssociateProactiveEngagementDetailsCommand.ts +++ b/clients/client-shield/commands/AssociateProactiveEngagementDetailsCommand.ts @@ -37,7 +37,6 @@ export class AssociateProactiveEngagementDetailsCommand extends $Command< AssociateProactiveEngagementDetailsCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AssociateProactiveEngagementDetailsCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/CreateProtectionCommand.ts b/clients/client-shield/commands/CreateProtectionCommand.ts index c8dfe53a4b1c7..91f0a6e11a42a 100644 --- a/clients/client-shield/commands/CreateProtectionCommand.ts +++ b/clients/client-shield/commands/CreateProtectionCommand.ts @@ -30,7 +30,6 @@ export class CreateProtectionCommand extends $Command< CreateProtectionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateProtectionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/CreateProtectionGroupCommand.ts b/clients/client-shield/commands/CreateProtectionGroupCommand.ts index f13036162c13b..b341e54f416d9 100644 --- a/clients/client-shield/commands/CreateProtectionGroupCommand.ts +++ b/clients/client-shield/commands/CreateProtectionGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateProtectionGroupCommand extends $Command< CreateProtectionGroupCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateProtectionGroupCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/CreateSubscriptionCommand.ts b/clients/client-shield/commands/CreateSubscriptionCommand.ts index 3b5ba8500204d..90cf123a3ead2 100644 --- a/clients/client-shield/commands/CreateSubscriptionCommand.ts +++ b/clients/client-shield/commands/CreateSubscriptionCommand.ts @@ -30,7 +30,6 @@ export class CreateSubscriptionCommand extends $Command< CreateSubscriptionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateSubscriptionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DeleteProtectionCommand.ts b/clients/client-shield/commands/DeleteProtectionCommand.ts index 9d7161f783f91..f6348f300849e 100644 --- a/clients/client-shield/commands/DeleteProtectionCommand.ts +++ b/clients/client-shield/commands/DeleteProtectionCommand.ts @@ -28,7 +28,6 @@ export class DeleteProtectionCommand extends $Command< DeleteProtectionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProtectionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DeleteProtectionGroupCommand.ts b/clients/client-shield/commands/DeleteProtectionGroupCommand.ts index 2c1a01e232141..6baa7e958550d 100644 --- a/clients/client-shield/commands/DeleteProtectionGroupCommand.ts +++ b/clients/client-shield/commands/DeleteProtectionGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteProtectionGroupCommand extends $Command< DeleteProtectionGroupCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteProtectionGroupCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DeleteSubscriptionCommand.ts b/clients/client-shield/commands/DeleteSubscriptionCommand.ts index 435bb58bb4644..dae3dde4dc842 100644 --- a/clients/client-shield/commands/DeleteSubscriptionCommand.ts +++ b/clients/client-shield/commands/DeleteSubscriptionCommand.ts @@ -30,7 +30,6 @@ export class DeleteSubscriptionCommand extends $Command< DeleteSubscriptionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteSubscriptionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeAttackCommand.ts b/clients/client-shield/commands/DescribeAttackCommand.ts index d9e79762fe1a9..c31736030767d 100644 --- a/clients/client-shield/commands/DescribeAttackCommand.ts +++ b/clients/client-shield/commands/DescribeAttackCommand.ts @@ -28,7 +28,6 @@ export class DescribeAttackCommand extends $Command< DescribeAttackCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAttackCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts b/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts index 32d6b1177bcfc..f3e7bed38da46 100644 --- a/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts +++ b/clients/client-shield/commands/DescribeAttackStatisticsCommand.ts @@ -30,7 +30,6 @@ export class DescribeAttackStatisticsCommand extends $Command< DescribeAttackStatisticsCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAttackStatisticsCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeDRTAccessCommand.ts b/clients/client-shield/commands/DescribeDRTAccessCommand.ts index 108ba5ccd02d1..ae90b3d38c705 100644 --- a/clients/client-shield/commands/DescribeDRTAccessCommand.ts +++ b/clients/client-shield/commands/DescribeDRTAccessCommand.ts @@ -28,7 +28,6 @@ export class DescribeDRTAccessCommand extends $Command< DescribeDRTAccessCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDRTAccessCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts b/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts index 13230b6e70183..3e53ceb730d9e 100644 --- a/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts +++ b/clients/client-shield/commands/DescribeEmergencyContactSettingsCommand.ts @@ -28,7 +28,6 @@ export class DescribeEmergencyContactSettingsCommand extends $Command< DescribeEmergencyContactSettingsCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeEmergencyContactSettingsCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeProtectionCommand.ts b/clients/client-shield/commands/DescribeProtectionCommand.ts index bc53f77923fc0..eb4465a2ff3de 100644 --- a/clients/client-shield/commands/DescribeProtectionCommand.ts +++ b/clients/client-shield/commands/DescribeProtectionCommand.ts @@ -28,7 +28,6 @@ export class DescribeProtectionCommand extends $Command< DescribeProtectionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProtectionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeProtectionGroupCommand.ts b/clients/client-shield/commands/DescribeProtectionGroupCommand.ts index cda6b238ea851..8dbcc36852b9b 100644 --- a/clients/client-shield/commands/DescribeProtectionGroupCommand.ts +++ b/clients/client-shield/commands/DescribeProtectionGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeProtectionGroupCommand extends $Command< DescribeProtectionGroupCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeProtectionGroupCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DescribeSubscriptionCommand.ts b/clients/client-shield/commands/DescribeSubscriptionCommand.ts index ecc176268e787..f13387a0e15bd 100644 --- a/clients/client-shield/commands/DescribeSubscriptionCommand.ts +++ b/clients/client-shield/commands/DescribeSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DescribeSubscriptionCommand extends $Command< DescribeSubscriptionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeSubscriptionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DisableProactiveEngagementCommand.ts b/clients/client-shield/commands/DisableProactiveEngagementCommand.ts index cc73c00e8be05..c442661678f52 100644 --- a/clients/client-shield/commands/DisableProactiveEngagementCommand.ts +++ b/clients/client-shield/commands/DisableProactiveEngagementCommand.ts @@ -28,7 +28,6 @@ export class DisableProactiveEngagementCommand extends $Command< DisableProactiveEngagementCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisableProactiveEngagementCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts b/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts index a1373e99ccba0..191bbdbf33e5e 100644 --- a/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts +++ b/clients/client-shield/commands/DisassociateDRTLogBucketCommand.ts @@ -29,7 +29,6 @@ export class DisassociateDRTLogBucketCommand extends $Command< DisassociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateDRTLogBucketCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DisassociateDRTRoleCommand.ts b/clients/client-shield/commands/DisassociateDRTRoleCommand.ts index d857df9274f02..91cb5e658ad68 100644 --- a/clients/client-shield/commands/DisassociateDRTRoleCommand.ts +++ b/clients/client-shield/commands/DisassociateDRTRoleCommand.ts @@ -29,7 +29,6 @@ export class DisassociateDRTRoleCommand extends $Command< DisassociateDRTRoleCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateDRTRoleCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/DisassociateHealthCheckCommand.ts b/clients/client-shield/commands/DisassociateHealthCheckCommand.ts index c8b4d097ccd1a..98b95f21c26b8 100644 --- a/clients/client-shield/commands/DisassociateHealthCheckCommand.ts +++ b/clients/client-shield/commands/DisassociateHealthCheckCommand.ts @@ -29,7 +29,6 @@ export class DisassociateHealthCheckCommand extends $Command< DisassociateHealthCheckCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DisassociateHealthCheckCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/EnableProactiveEngagementCommand.ts b/clients/client-shield/commands/EnableProactiveEngagementCommand.ts index fe1e68bab0873..12f5ce274ae76 100644 --- a/clients/client-shield/commands/EnableProactiveEngagementCommand.ts +++ b/clients/client-shield/commands/EnableProactiveEngagementCommand.ts @@ -28,7 +28,6 @@ export class EnableProactiveEngagementCommand extends $Command< EnableProactiveEngagementCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class EnableProactiveEngagementCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/GetSubscriptionStateCommand.ts b/clients/client-shield/commands/GetSubscriptionStateCommand.ts index 1e58edcce4dcd..84bb71cde34c6 100644 --- a/clients/client-shield/commands/GetSubscriptionStateCommand.ts +++ b/clients/client-shield/commands/GetSubscriptionStateCommand.ts @@ -28,7 +28,6 @@ export class GetSubscriptionStateCommand extends $Command< GetSubscriptionStateCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSubscriptionStateCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/ListAttacksCommand.ts b/clients/client-shield/commands/ListAttacksCommand.ts index 6090f94db2159..1543a303720ff 100644 --- a/clients/client-shield/commands/ListAttacksCommand.ts +++ b/clients/client-shield/commands/ListAttacksCommand.ts @@ -29,7 +29,6 @@ export class ListAttacksCommand extends $Command< ListAttacksCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAttacksCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/ListProtectionGroupsCommand.ts b/clients/client-shield/commands/ListProtectionGroupsCommand.ts index a5f878eea7cfa..a5824eb36d8eb 100644 --- a/clients/client-shield/commands/ListProtectionGroupsCommand.ts +++ b/clients/client-shield/commands/ListProtectionGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListProtectionGroupsCommand extends $Command< ListProtectionGroupsCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProtectionGroupsCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/ListProtectionsCommand.ts b/clients/client-shield/commands/ListProtectionsCommand.ts index 029b7728f7857..2429e1818dab1 100644 --- a/clients/client-shield/commands/ListProtectionsCommand.ts +++ b/clients/client-shield/commands/ListProtectionsCommand.ts @@ -28,7 +28,6 @@ export class ListProtectionsCommand extends $Command< ListProtectionsCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProtectionsCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts b/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts index 1e568f2f6022a..f6a6842e5ce00 100644 --- a/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts +++ b/clients/client-shield/commands/ListResourcesInProtectionGroupCommand.ts @@ -28,7 +28,6 @@ export class ListResourcesInProtectionGroupCommand extends $Command< ListResourcesInProtectionGroupCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourcesInProtectionGroupCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts b/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts index b16e7a7e598c9..ee3d346644bb1 100644 --- a/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts +++ b/clients/client-shield/commands/UpdateEmergencyContactSettingsCommand.ts @@ -28,7 +28,6 @@ export class UpdateEmergencyContactSettingsCommand extends $Command< UpdateEmergencyContactSettingsCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateEmergencyContactSettingsCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/UpdateProtectionGroupCommand.ts b/clients/client-shield/commands/UpdateProtectionGroupCommand.ts index 509aacdfaa9fa..be8985cbb5977 100644 --- a/clients/client-shield/commands/UpdateProtectionGroupCommand.ts +++ b/clients/client-shield/commands/UpdateProtectionGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateProtectionGroupCommand extends $Command< UpdateProtectionGroupCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateProtectionGroupCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-shield/commands/UpdateSubscriptionCommand.ts b/clients/client-shield/commands/UpdateSubscriptionCommand.ts index f283af658aeda..0c4e54fd0d386 100644 --- a/clients/client-shield/commands/UpdateSubscriptionCommand.ts +++ b/clients/client-shield/commands/UpdateSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class UpdateSubscriptionCommand extends $Command< UpdateSubscriptionCommandOutput, ShieldClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSubscriptionCommand extends $Command< configuration: ShieldClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/AddProfilePermissionCommand.ts b/clients/client-signer/commands/AddProfilePermissionCommand.ts index 21dffc51a00ee..248535d760e61 100644 --- a/clients/client-signer/commands/AddProfilePermissionCommand.ts +++ b/clients/client-signer/commands/AddProfilePermissionCommand.ts @@ -28,7 +28,6 @@ export class AddProfilePermissionCommand extends $Command< AddProfilePermissionCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AddProfilePermissionCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/CancelSigningProfileCommand.ts b/clients/client-signer/commands/CancelSigningProfileCommand.ts index abb8f103d291f..3cd55e5f4cd60 100644 --- a/clients/client-signer/commands/CancelSigningProfileCommand.ts +++ b/clients/client-signer/commands/CancelSigningProfileCommand.ts @@ -31,7 +31,6 @@ export class CancelSigningProfileCommand extends $Command< CancelSigningProfileCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CancelSigningProfileCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/DescribeSigningJobCommand.ts b/clients/client-signer/commands/DescribeSigningJobCommand.ts index fd9111809dfa8..02334826b1744 100644 --- a/clients/client-signer/commands/DescribeSigningJobCommand.ts +++ b/clients/client-signer/commands/DescribeSigningJobCommand.ts @@ -30,7 +30,6 @@ export class DescribeSigningJobCommand extends $Command< DescribeSigningJobCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeSigningJobCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/GetSigningPlatformCommand.ts b/clients/client-signer/commands/GetSigningPlatformCommand.ts index 3fcf81fc8b457..a1a0951f48ff1 100644 --- a/clients/client-signer/commands/GetSigningPlatformCommand.ts +++ b/clients/client-signer/commands/GetSigningPlatformCommand.ts @@ -28,7 +28,6 @@ export class GetSigningPlatformCommand extends $Command< GetSigningPlatformCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSigningPlatformCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/GetSigningProfileCommand.ts b/clients/client-signer/commands/GetSigningProfileCommand.ts index 49d745cbeb3c6..8f2d351281150 100644 --- a/clients/client-signer/commands/GetSigningProfileCommand.ts +++ b/clients/client-signer/commands/GetSigningProfileCommand.ts @@ -28,7 +28,6 @@ export class GetSigningProfileCommand extends $Command< GetSigningProfileCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSigningProfileCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/ListProfilePermissionsCommand.ts b/clients/client-signer/commands/ListProfilePermissionsCommand.ts index e9f8603454642..8bea71ad72977 100644 --- a/clients/client-signer/commands/ListProfilePermissionsCommand.ts +++ b/clients/client-signer/commands/ListProfilePermissionsCommand.ts @@ -28,7 +28,6 @@ export class ListProfilePermissionsCommand extends $Command< ListProfilePermissionsCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListProfilePermissionsCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/ListSigningJobsCommand.ts b/clients/client-signer/commands/ListSigningJobsCommand.ts index b1814430ec04f..575d4b428f6f9 100644 --- a/clients/client-signer/commands/ListSigningJobsCommand.ts +++ b/clients/client-signer/commands/ListSigningJobsCommand.ts @@ -34,7 +34,6 @@ export class ListSigningJobsCommand extends $Command< ListSigningJobsCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListSigningJobsCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/ListSigningPlatformsCommand.ts b/clients/client-signer/commands/ListSigningPlatformsCommand.ts index 2699e31ea9c6f..423ddae56d762 100644 --- a/clients/client-signer/commands/ListSigningPlatformsCommand.ts +++ b/clients/client-signer/commands/ListSigningPlatformsCommand.ts @@ -34,7 +34,6 @@ export class ListSigningPlatformsCommand extends $Command< ListSigningPlatformsCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListSigningPlatformsCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/ListSigningProfilesCommand.ts b/clients/client-signer/commands/ListSigningProfilesCommand.ts index 8fdbf22508f3b..39c62613386e1 100644 --- a/clients/client-signer/commands/ListSigningProfilesCommand.ts +++ b/clients/client-signer/commands/ListSigningProfilesCommand.ts @@ -35,7 +35,6 @@ export class ListSigningProfilesCommand extends $Command< ListSigningProfilesCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListSigningProfilesCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/ListTagsForResourceCommand.ts b/clients/client-signer/commands/ListTagsForResourceCommand.ts index c82a42c948023..65fef32f89173 100644 --- a/clients/client-signer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-signer/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/PutSigningProfileCommand.ts b/clients/client-signer/commands/PutSigningProfileCommand.ts index c79c54575b6c1..997d31b0d1d8c 100644 --- a/clients/client-signer/commands/PutSigningProfileCommand.ts +++ b/clients/client-signer/commands/PutSigningProfileCommand.ts @@ -30,7 +30,6 @@ export class PutSigningProfileCommand extends $Command< PutSigningProfileCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class PutSigningProfileCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/RemoveProfilePermissionCommand.ts b/clients/client-signer/commands/RemoveProfilePermissionCommand.ts index 3e7a39f24d74d..ecfe1cae4e156 100644 --- a/clients/client-signer/commands/RemoveProfilePermissionCommand.ts +++ b/clients/client-signer/commands/RemoveProfilePermissionCommand.ts @@ -28,7 +28,6 @@ export class RemoveProfilePermissionCommand extends $Command< RemoveProfilePermissionCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveProfilePermissionCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/RevokeSignatureCommand.ts b/clients/client-signer/commands/RevokeSignatureCommand.ts index c7a2dcb1d5c05..7e158d0002c45 100644 --- a/clients/client-signer/commands/RevokeSignatureCommand.ts +++ b/clients/client-signer/commands/RevokeSignatureCommand.ts @@ -29,7 +29,6 @@ export class RevokeSignatureCommand extends $Command< RevokeSignatureCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RevokeSignatureCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/RevokeSigningProfileCommand.ts b/clients/client-signer/commands/RevokeSigningProfileCommand.ts index a0b2eb589cc39..da4f112df0c68 100644 --- a/clients/client-signer/commands/RevokeSigningProfileCommand.ts +++ b/clients/client-signer/commands/RevokeSigningProfileCommand.ts @@ -30,7 +30,6 @@ export class RevokeSigningProfileCommand extends $Command< RevokeSigningProfileCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class RevokeSigningProfileCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/StartSigningJobCommand.ts b/clients/client-signer/commands/StartSigningJobCommand.ts index 6a769188f3571..9482c67dae759 100644 --- a/clients/client-signer/commands/StartSigningJobCommand.ts +++ b/clients/client-signer/commands/StartSigningJobCommand.ts @@ -55,7 +55,6 @@ export class StartSigningJobCommand extends $Command< StartSigningJobCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class StartSigningJobCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/TagResourceCommand.ts b/clients/client-signer/commands/TagResourceCommand.ts index cf3d9a53ea401..277cf9ccd5499 100644 --- a/clients/client-signer/commands/TagResourceCommand.ts +++ b/clients/client-signer/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-signer/commands/UntagResourceCommand.ts b/clients/client-signer/commands/UntagResourceCommand.ts index 531d8b5c61613..7e20e2df2f975 100644 --- a/clients/client-signer/commands/UntagResourceCommand.ts +++ b/clients/client-signer/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SignerClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: SignerClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/CreateAppCommand.ts b/clients/client-sms/commands/CreateAppCommand.ts index 1553538987917..902f51aec700a 100644 --- a/clients/client-sms/commands/CreateAppCommand.ts +++ b/clients/client-sms/commands/CreateAppCommand.ts @@ -22,7 +22,6 @@ export type CreateAppCommandOutput = CreateAppResponse & __MetadataBearer; * server group contain one or more servers.

*/ export class CreateAppCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class CreateAppCommand 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-sms/commands/CreateReplicationJobCommand.ts b/clients/client-sms/commands/CreateReplicationJobCommand.ts index 626b3cab46033..5d92e97c6be62 100644 --- a/clients/client-sms/commands/CreateReplicationJobCommand.ts +++ b/clients/client-sms/commands/CreateReplicationJobCommand.ts @@ -30,7 +30,6 @@ export class CreateReplicationJobCommand extends $Command< CreateReplicationJobCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateReplicationJobCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/DeleteAppCommand.ts b/clients/client-sms/commands/DeleteAppCommand.ts index 03e03268a917c..1b7e581975c0c 100644 --- a/clients/client-sms/commands/DeleteAppCommand.ts +++ b/clients/client-sms/commands/DeleteAppCommand.ts @@ -22,7 +22,6 @@ export type DeleteAppCommandOutput = DeleteAppResponse & __MetadataBearer; * the application and all AWS SMS replication jobs for servers in the application.

*/ export class DeleteAppCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class DeleteAppCommand 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-sms/commands/DeleteAppLaunchConfigurationCommand.ts b/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts index 161a02cefc7e1..03e96b5a6e070 100644 --- a/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts +++ b/clients/client-sms/commands/DeleteAppLaunchConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppLaunchConfigurationCommand extends $Command< DeleteAppLaunchConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppLaunchConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts b/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts index b66e408cc1d90..e538a022d96d8 100644 --- a/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts +++ b/clients/client-sms/commands/DeleteAppReplicationConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DeleteAppReplicationConfigurationCommand extends $Command< DeleteAppReplicationConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteAppReplicationConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/DeleteAppValidationConfigurationCommand.ts b/clients/client-sms/commands/DeleteAppValidationConfigurationCommand.ts index 9b4577eaed068..020777e622607 100644 --- a/clients/client-sms/commands/DeleteAppValidationConfigurationCommand.ts +++ b/clients/client-sms/commands/DeleteAppValidationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DeleteAppValidationConfigurationCommand extends $Command< DeleteAppValidationConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteAppValidationConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/DeleteReplicationJobCommand.ts b/clients/client-sms/commands/DeleteReplicationJobCommand.ts index 4e268aef19b52..a9569c7388825 100644 --- a/clients/client-sms/commands/DeleteReplicationJobCommand.ts +++ b/clients/client-sms/commands/DeleteReplicationJobCommand.ts @@ -31,7 +31,6 @@ export class DeleteReplicationJobCommand extends $Command< DeleteReplicationJobCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteReplicationJobCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/DeleteServerCatalogCommand.ts b/clients/client-sms/commands/DeleteServerCatalogCommand.ts index bc0e9434800f3..bf3a1a04fb54f 100644 --- a/clients/client-sms/commands/DeleteServerCatalogCommand.ts +++ b/clients/client-sms/commands/DeleteServerCatalogCommand.ts @@ -28,7 +28,6 @@ export class DeleteServerCatalogCommand extends $Command< DeleteServerCatalogCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteServerCatalogCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/DisassociateConnectorCommand.ts b/clients/client-sms/commands/DisassociateConnectorCommand.ts index 9ed242b7e517b..db4cce169c25d 100644 --- a/clients/client-sms/commands/DisassociateConnectorCommand.ts +++ b/clients/client-sms/commands/DisassociateConnectorCommand.ts @@ -30,7 +30,6 @@ export class DisassociateConnectorCommand extends $Command< DisassociateConnectorCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DisassociateConnectorCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GenerateChangeSetCommand.ts b/clients/client-sms/commands/GenerateChangeSetCommand.ts index 862df0bd3b317..7cd158f825a2f 100644 --- a/clients/client-sms/commands/GenerateChangeSetCommand.ts +++ b/clients/client-sms/commands/GenerateChangeSetCommand.ts @@ -29,7 +29,6 @@ export class GenerateChangeSetCommand extends $Command< GenerateChangeSetCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GenerateChangeSetCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GenerateTemplateCommand.ts b/clients/client-sms/commands/GenerateTemplateCommand.ts index d31b5fff76018..91dda0bca7031 100644 --- a/clients/client-sms/commands/GenerateTemplateCommand.ts +++ b/clients/client-sms/commands/GenerateTemplateCommand.ts @@ -29,7 +29,6 @@ export class GenerateTemplateCommand extends $Command< GenerateTemplateCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GenerateTemplateCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetAppCommand.ts b/clients/client-sms/commands/GetAppCommand.ts index 4430ba99bdf6f..148833444727a 100644 --- a/clients/client-sms/commands/GetAppCommand.ts +++ b/clients/client-sms/commands/GetAppCommand.ts @@ -21,7 +21,6 @@ export type GetAppCommandOutput = GetAppResponse & __MetadataBearer; *

Retrieve information about the specified application.

*/ 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-sms/commands/GetAppLaunchConfigurationCommand.ts b/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts index 7cbe4e67eb7a9..adaf7cfb475bc 100644 --- a/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts +++ b/clients/client-sms/commands/GetAppLaunchConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetAppLaunchConfigurationCommand extends $Command< GetAppLaunchConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAppLaunchConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts b/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts index 42766986f61ca..1d4ab73282d18 100644 --- a/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts +++ b/clients/client-sms/commands/GetAppReplicationConfigurationCommand.ts @@ -29,7 +29,6 @@ export class GetAppReplicationConfigurationCommand extends $Command< GetAppReplicationConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetAppReplicationConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetAppValidationConfigurationCommand.ts b/clients/client-sms/commands/GetAppValidationConfigurationCommand.ts index e95d2aae0887e..eaca8a5ea584d 100644 --- a/clients/client-sms/commands/GetAppValidationConfigurationCommand.ts +++ b/clients/client-sms/commands/GetAppValidationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class GetAppValidationConfigurationCommand extends $Command< GetAppValidationConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAppValidationConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetAppValidationOutputCommand.ts b/clients/client-sms/commands/GetAppValidationOutputCommand.ts index 7c3ec6207ac9a..df19c6ecefdcb 100644 --- a/clients/client-sms/commands/GetAppValidationOutputCommand.ts +++ b/clients/client-sms/commands/GetAppValidationOutputCommand.ts @@ -28,7 +28,6 @@ export class GetAppValidationOutputCommand extends $Command< GetAppValidationOutputCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAppValidationOutputCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetConnectorsCommand.ts b/clients/client-sms/commands/GetConnectorsCommand.ts index 4e0a72d5f5c14..ae655d47a2290 100644 --- a/clients/client-sms/commands/GetConnectorsCommand.ts +++ b/clients/client-sms/commands/GetConnectorsCommand.ts @@ -28,7 +28,6 @@ export class GetConnectorsCommand extends $Command< GetConnectorsCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetConnectorsCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetReplicationJobsCommand.ts b/clients/client-sms/commands/GetReplicationJobsCommand.ts index 3d3dfb5a8aee7..48d35ece5ae06 100644 --- a/clients/client-sms/commands/GetReplicationJobsCommand.ts +++ b/clients/client-sms/commands/GetReplicationJobsCommand.ts @@ -28,7 +28,6 @@ export class GetReplicationJobsCommand extends $Command< GetReplicationJobsCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetReplicationJobsCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetReplicationRunsCommand.ts b/clients/client-sms/commands/GetReplicationRunsCommand.ts index 69bc977c3a68c..97a9ca5744d4d 100644 --- a/clients/client-sms/commands/GetReplicationRunsCommand.ts +++ b/clients/client-sms/commands/GetReplicationRunsCommand.ts @@ -28,7 +28,6 @@ export class GetReplicationRunsCommand extends $Command< GetReplicationRunsCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetReplicationRunsCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/GetServersCommand.ts b/clients/client-sms/commands/GetServersCommand.ts index 681587ef06ce2..b1639db3e5cdd 100644 --- a/clients/client-sms/commands/GetServersCommand.ts +++ b/clients/client-sms/commands/GetServersCommand.ts @@ -29,7 +29,6 @@ export class GetServersCommand extends $Command< GetServersCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetServersCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/ImportAppCatalogCommand.ts b/clients/client-sms/commands/ImportAppCatalogCommand.ts index da3ffb25930d9..1e1936a220de9 100644 --- a/clients/client-sms/commands/ImportAppCatalogCommand.ts +++ b/clients/client-sms/commands/ImportAppCatalogCommand.ts @@ -28,7 +28,6 @@ export class ImportAppCatalogCommand extends $Command< ImportAppCatalogCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ImportAppCatalogCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/ImportServerCatalogCommand.ts b/clients/client-sms/commands/ImportServerCatalogCommand.ts index 8d168e29f9990..6496f6f42911d 100644 --- a/clients/client-sms/commands/ImportServerCatalogCommand.ts +++ b/clients/client-sms/commands/ImportServerCatalogCommand.ts @@ -31,7 +31,6 @@ export class ImportServerCatalogCommand extends $Command< ImportServerCatalogCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ImportServerCatalogCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/LaunchAppCommand.ts b/clients/client-sms/commands/LaunchAppCommand.ts index 01a38fec45070..7bf405f4050f1 100644 --- a/clients/client-sms/commands/LaunchAppCommand.ts +++ b/clients/client-sms/commands/LaunchAppCommand.ts @@ -21,7 +21,6 @@ export type LaunchAppCommandOutput = LaunchAppResponse & __MetadataBearer; *

Launches the specified application as a stack in AWS CloudFormation.

*/ export class LaunchAppCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class LaunchAppCommand 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-sms/commands/ListAppsCommand.ts b/clients/client-sms/commands/ListAppsCommand.ts index 1a620972bd477..2937fde3e74a8 100644 --- a/clients/client-sms/commands/ListAppsCommand.ts +++ b/clients/client-sms/commands/ListAppsCommand.ts @@ -21,7 +21,6 @@ export type ListAppsCommandOutput = ListAppsResponse & __MetadataBearer; *

Retrieves summaries for all applications.

*/ export class ListAppsCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class ListAppsCommand 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-sms/commands/NotifyAppValidationOutputCommand.ts b/clients/client-sms/commands/NotifyAppValidationOutputCommand.ts index 2d17cedc6244c..6698b669e4f33 100644 --- a/clients/client-sms/commands/NotifyAppValidationOutputCommand.ts +++ b/clients/client-sms/commands/NotifyAppValidationOutputCommand.ts @@ -28,7 +28,6 @@ export class NotifyAppValidationOutputCommand extends $Command< NotifyAppValidationOutputCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NotifyAppValidationOutputCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts b/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts index cd836faf381e0..e13670556a82c 100644 --- a/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts +++ b/clients/client-sms/commands/PutAppLaunchConfigurationCommand.ts @@ -28,7 +28,6 @@ export class PutAppLaunchConfigurationCommand extends $Command< PutAppLaunchConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAppLaunchConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts b/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts index f194dab57cde4..733783c97c111 100644 --- a/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts +++ b/clients/client-sms/commands/PutAppReplicationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class PutAppReplicationConfigurationCommand extends $Command< PutAppReplicationConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAppReplicationConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/PutAppValidationConfigurationCommand.ts b/clients/client-sms/commands/PutAppValidationConfigurationCommand.ts index 03da69e7e7f3e..1e99cd758f378 100644 --- a/clients/client-sms/commands/PutAppValidationConfigurationCommand.ts +++ b/clients/client-sms/commands/PutAppValidationConfigurationCommand.ts @@ -28,7 +28,6 @@ export class PutAppValidationConfigurationCommand extends $Command< PutAppValidationConfigurationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAppValidationConfigurationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/StartAppReplicationCommand.ts b/clients/client-sms/commands/StartAppReplicationCommand.ts index d4124fd66e6d0..ad3352008c5a1 100644 --- a/clients/client-sms/commands/StartAppReplicationCommand.ts +++ b/clients/client-sms/commands/StartAppReplicationCommand.ts @@ -29,7 +29,6 @@ export class StartAppReplicationCommand extends $Command< StartAppReplicationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartAppReplicationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/StartOnDemandAppReplicationCommand.ts b/clients/client-sms/commands/StartOnDemandAppReplicationCommand.ts index 7c246f9a598b0..e89427b4524b8 100644 --- a/clients/client-sms/commands/StartOnDemandAppReplicationCommand.ts +++ b/clients/client-sms/commands/StartOnDemandAppReplicationCommand.ts @@ -28,7 +28,6 @@ export class StartOnDemandAppReplicationCommand extends $Command< StartOnDemandAppReplicationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartOnDemandAppReplicationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts b/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts index 819a5cbbc83fc..0368eafd7e13c 100644 --- a/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts +++ b/clients/client-sms/commands/StartOnDemandReplicationRunCommand.ts @@ -32,7 +32,6 @@ export class StartOnDemandReplicationRunCommand extends $Command< StartOnDemandReplicationRunCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class StartOnDemandReplicationRunCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/StopAppReplicationCommand.ts b/clients/client-sms/commands/StopAppReplicationCommand.ts index b5fdc4456ced5..5336f02b5bf85 100644 --- a/clients/client-sms/commands/StopAppReplicationCommand.ts +++ b/clients/client-sms/commands/StopAppReplicationCommand.ts @@ -29,7 +29,6 @@ export class StopAppReplicationCommand extends $Command< StopAppReplicationCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StopAppReplicationCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/TerminateAppCommand.ts b/clients/client-sms/commands/TerminateAppCommand.ts index 8d9f9e0bed904..18591b86b53ee 100644 --- a/clients/client-sms/commands/TerminateAppCommand.ts +++ b/clients/client-sms/commands/TerminateAppCommand.ts @@ -28,7 +28,6 @@ export class TerminateAppCommand extends $Command< TerminateAppCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TerminateAppCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sms/commands/UpdateAppCommand.ts b/clients/client-sms/commands/UpdateAppCommand.ts index f4b2d09dadbd2..cbb463ddacdce 100644 --- a/clients/client-sms/commands/UpdateAppCommand.ts +++ b/clients/client-sms/commands/UpdateAppCommand.ts @@ -21,7 +21,6 @@ export type UpdateAppCommandOutput = UpdateAppResponse & __MetadataBearer; *

Updates the specified application.

*/ export class UpdateAppCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class UpdateAppCommand 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-sms/commands/UpdateReplicationJobCommand.ts b/clients/client-sms/commands/UpdateReplicationJobCommand.ts index 695790922731b..db8b5918abb7a 100644 --- a/clients/client-sms/commands/UpdateReplicationJobCommand.ts +++ b/clients/client-sms/commands/UpdateReplicationJobCommand.ts @@ -28,7 +28,6 @@ export class UpdateReplicationJobCommand extends $Command< UpdateReplicationJobCommandOutput, SMSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateReplicationJobCommand extends $Command< configuration: SMSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/CancelClusterCommand.ts b/clients/client-snowball/commands/CancelClusterCommand.ts index 1a60abcc3f2a0..5b740b30a0727 100644 --- a/clients/client-snowball/commands/CancelClusterCommand.ts +++ b/clients/client-snowball/commands/CancelClusterCommand.ts @@ -30,7 +30,6 @@ export class CancelClusterCommand extends $Command< CancelClusterCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CancelClusterCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/CancelJobCommand.ts b/clients/client-snowball/commands/CancelJobCommand.ts index 9e0211ce868a8..2a45988559af1 100644 --- a/clients/client-snowball/commands/CancelJobCommand.ts +++ b/clients/client-snowball/commands/CancelJobCommand.ts @@ -28,7 +28,6 @@ export class CancelJobCommand extends $Command< CancelJobCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CancelJobCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/CreateAddressCommand.ts b/clients/client-snowball/commands/CreateAddressCommand.ts index bb0651b51d346..ccc1b32b08dc0 100644 --- a/clients/client-snowball/commands/CreateAddressCommand.ts +++ b/clients/client-snowball/commands/CreateAddressCommand.ts @@ -31,7 +31,6 @@ export class CreateAddressCommand extends $Command< CreateAddressCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateAddressCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/CreateClusterCommand.ts b/clients/client-snowball/commands/CreateClusterCommand.ts index 46f8b7a9ccc92..94e99ad566a3b 100644 --- a/clients/client-snowball/commands/CreateClusterCommand.ts +++ b/clients/client-snowball/commands/CreateClusterCommand.ts @@ -29,7 +29,6 @@ export class CreateClusterCommand extends $Command< CreateClusterCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateClusterCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/CreateJobCommand.ts b/clients/client-snowball/commands/CreateJobCommand.ts index 6ee5153a4752e..8782e5f6158cb 100644 --- a/clients/client-snowball/commands/CreateJobCommand.ts +++ b/clients/client-snowball/commands/CreateJobCommand.ts @@ -29,7 +29,6 @@ export class CreateJobCommand extends $Command< CreateJobCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateJobCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/CreateReturnShippingLabelCommand.ts b/clients/client-snowball/commands/CreateReturnShippingLabelCommand.ts index b245d70d61783..5f652b368573e 100644 --- a/clients/client-snowball/commands/CreateReturnShippingLabelCommand.ts +++ b/clients/client-snowball/commands/CreateReturnShippingLabelCommand.ts @@ -28,7 +28,6 @@ export class CreateReturnShippingLabelCommand extends $Command< CreateReturnShippingLabelCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateReturnShippingLabelCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/DescribeAddressCommand.ts b/clients/client-snowball/commands/DescribeAddressCommand.ts index af607ed5d862d..b151eaa0e48fe 100644 --- a/clients/client-snowball/commands/DescribeAddressCommand.ts +++ b/clients/client-snowball/commands/DescribeAddressCommand.ts @@ -29,7 +29,6 @@ export class DescribeAddressCommand extends $Command< DescribeAddressCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAddressCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/DescribeAddressesCommand.ts b/clients/client-snowball/commands/DescribeAddressesCommand.ts index 6c3966820d665..72cfd7f28ce28 100644 --- a/clients/client-snowball/commands/DescribeAddressesCommand.ts +++ b/clients/client-snowball/commands/DescribeAddressesCommand.ts @@ -30,7 +30,6 @@ export class DescribeAddressesCommand extends $Command< DescribeAddressesCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAddressesCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/DescribeClusterCommand.ts b/clients/client-snowball/commands/DescribeClusterCommand.ts index 0d49c273de0f1..e83e460fdd644 100644 --- a/clients/client-snowball/commands/DescribeClusterCommand.ts +++ b/clients/client-snowball/commands/DescribeClusterCommand.ts @@ -29,7 +29,6 @@ export class DescribeClusterCommand extends $Command< DescribeClusterCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeClusterCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/DescribeJobCommand.ts b/clients/client-snowball/commands/DescribeJobCommand.ts index dcc2af9bc89c3..85be766de58b2 100644 --- a/clients/client-snowball/commands/DescribeJobCommand.ts +++ b/clients/client-snowball/commands/DescribeJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeJobCommand extends $Command< DescribeJobCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeJobCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/DescribeReturnShippingLabelCommand.ts b/clients/client-snowball/commands/DescribeReturnShippingLabelCommand.ts index 7e814ebff68cd..887dabf585dd3 100644 --- a/clients/client-snowball/commands/DescribeReturnShippingLabelCommand.ts +++ b/clients/client-snowball/commands/DescribeReturnShippingLabelCommand.ts @@ -28,7 +28,6 @@ export class DescribeReturnShippingLabelCommand extends $Command< DescribeReturnShippingLabelCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeReturnShippingLabelCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/GetJobManifestCommand.ts b/clients/client-snowball/commands/GetJobManifestCommand.ts index 408a00170dc19..ae6e7ce944928 100644 --- a/clients/client-snowball/commands/GetJobManifestCommand.ts +++ b/clients/client-snowball/commands/GetJobManifestCommand.ts @@ -46,7 +46,6 @@ export class GetJobManifestCommand extends $Command< GetJobManifestCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class GetJobManifestCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts b/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts index 60a930f73c876..f7a0f3a8a75f1 100644 --- a/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts +++ b/clients/client-snowball/commands/GetJobUnlockCodeCommand.ts @@ -40,7 +40,6 @@ export class GetJobUnlockCodeCommand extends $Command< GetJobUnlockCodeCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetJobUnlockCodeCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/GetSnowballUsageCommand.ts b/clients/client-snowball/commands/GetSnowballUsageCommand.ts index c3e97ee18bb8b..08bf754b4995a 100644 --- a/clients/client-snowball/commands/GetSnowballUsageCommand.ts +++ b/clients/client-snowball/commands/GetSnowballUsageCommand.ts @@ -32,7 +32,6 @@ export class GetSnowballUsageCommand extends $Command< GetSnowballUsageCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetSnowballUsageCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts b/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts index ee8b8e4eefad4..2ad0b583d1145 100644 --- a/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts +++ b/clients/client-snowball/commands/GetSoftwareUpdatesCommand.ts @@ -29,7 +29,6 @@ export class GetSoftwareUpdatesCommand extends $Command< GetSoftwareUpdatesCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSoftwareUpdatesCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/ListClusterJobsCommand.ts b/clients/client-snowball/commands/ListClusterJobsCommand.ts index fc650827d6eb1..13dc278b4682f 100644 --- a/clients/client-snowball/commands/ListClusterJobsCommand.ts +++ b/clients/client-snowball/commands/ListClusterJobsCommand.ts @@ -30,7 +30,6 @@ export class ListClusterJobsCommand extends $Command< ListClusterJobsCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListClusterJobsCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/ListClustersCommand.ts b/clients/client-snowball/commands/ListClustersCommand.ts index 54bc84544bf42..0afd577e6269f 100644 --- a/clients/client-snowball/commands/ListClustersCommand.ts +++ b/clients/client-snowball/commands/ListClustersCommand.ts @@ -30,7 +30,6 @@ export class ListClustersCommand extends $Command< ListClustersCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListClustersCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/ListCompatibleImagesCommand.ts b/clients/client-snowball/commands/ListCompatibleImagesCommand.ts index c0bcea5891452..7a647816f03a2 100644 --- a/clients/client-snowball/commands/ListCompatibleImagesCommand.ts +++ b/clients/client-snowball/commands/ListCompatibleImagesCommand.ts @@ -32,7 +32,6 @@ export class ListCompatibleImagesCommand extends $Command< ListCompatibleImagesCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListCompatibleImagesCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/ListJobsCommand.ts b/clients/client-snowball/commands/ListJobsCommand.ts index 51dc06ea21b9e..e1c02ba486453 100644 --- a/clients/client-snowball/commands/ListJobsCommand.ts +++ b/clients/client-snowball/commands/ListJobsCommand.ts @@ -29,7 +29,6 @@ export class ListJobsCommand extends $Command< ListJobsCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListJobsCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/UpdateClusterCommand.ts b/clients/client-snowball/commands/UpdateClusterCommand.ts index 206544eedd6d0..01a94ab707447 100644 --- a/clients/client-snowball/commands/UpdateClusterCommand.ts +++ b/clients/client-snowball/commands/UpdateClusterCommand.ts @@ -31,7 +31,6 @@ export class UpdateClusterCommand extends $Command< UpdateClusterCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateClusterCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/UpdateJobCommand.ts b/clients/client-snowball/commands/UpdateJobCommand.ts index 1ff2f632e8cd1..488890227ca21 100644 --- a/clients/client-snowball/commands/UpdateJobCommand.ts +++ b/clients/client-snowball/commands/UpdateJobCommand.ts @@ -27,7 +27,6 @@ export class UpdateJobCommand extends $Command< UpdateJobCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class UpdateJobCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-snowball/commands/UpdateJobShipmentStateCommand.ts b/clients/client-snowball/commands/UpdateJobShipmentStateCommand.ts index 8b28594356fc1..aee92ca56995f 100644 --- a/clients/client-snowball/commands/UpdateJobShipmentStateCommand.ts +++ b/clients/client-snowball/commands/UpdateJobShipmentStateCommand.ts @@ -28,7 +28,6 @@ export class UpdateJobShipmentStateCommand extends $Command< UpdateJobShipmentStateCommandOutput, SnowballClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateJobShipmentStateCommand extends $Command< configuration: SnowballClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/AddPermissionCommand.ts b/clients/client-sns/commands/AddPermissionCommand.ts index cf0f405909beb..ed04ac1cebdb5 100644 --- a/clients/client-sns/commands/AddPermissionCommand.ts +++ b/clients/client-sns/commands/AddPermissionCommand.ts @@ -29,7 +29,6 @@ export class AddPermissionCommand extends $Command< AddPermissionCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AddPermissionCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts b/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts index e6525ca563cfc..30c2cd6f79105 100644 --- a/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts +++ b/clients/client-sns/commands/CheckIfPhoneNumberIsOptedOutCommand.ts @@ -32,7 +32,6 @@ export class CheckIfPhoneNumberIsOptedOutCommand extends $Command< CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CheckIfPhoneNumberIsOptedOutCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ConfirmSubscriptionCommand.ts b/clients/client-sns/commands/ConfirmSubscriptionCommand.ts index f634906b109ed..4bb98b0f45ea0 100644 --- a/clients/client-sns/commands/ConfirmSubscriptionCommand.ts +++ b/clients/client-sns/commands/ConfirmSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class ConfirmSubscriptionCommand extends $Command< ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ConfirmSubscriptionCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/CreatePlatformApplicationCommand.ts b/clients/client-sns/commands/CreatePlatformApplicationCommand.ts index 04855748b4997..e6fdaa6d6e08e 100644 --- a/clients/client-sns/commands/CreatePlatformApplicationCommand.ts +++ b/clients/client-sns/commands/CreatePlatformApplicationCommand.ts @@ -66,7 +66,6 @@ export class CreatePlatformApplicationCommand extends $Command< CreatePlatformApplicationCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class CreatePlatformApplicationCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/CreatePlatformEndpointCommand.ts b/clients/client-sns/commands/CreatePlatformEndpointCommand.ts index 56c9b1d93e15f..96e673f082790 100644 --- a/clients/client-sns/commands/CreatePlatformEndpointCommand.ts +++ b/clients/client-sns/commands/CreatePlatformEndpointCommand.ts @@ -41,7 +41,6 @@ export class CreatePlatformEndpointCommand extends $Command< CreatePlatformEndpointCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreatePlatformEndpointCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/CreateTopicCommand.ts b/clients/client-sns/commands/CreateTopicCommand.ts index 07e3c5c5d8fc7..4fa0ada2e911e 100644 --- a/clients/client-sns/commands/CreateTopicCommand.ts +++ b/clients/client-sns/commands/CreateTopicCommand.ts @@ -28,7 +28,6 @@ export class CreateTopicCommand extends $Command< CreateTopicCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTopicCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/DeleteEndpointCommand.ts b/clients/client-sns/commands/DeleteEndpointCommand.ts index 69111fea3bf97..45cf331ce67eb 100644 --- a/clients/client-sns/commands/DeleteEndpointCommand.ts +++ b/clients/client-sns/commands/DeleteEndpointCommand.ts @@ -32,7 +32,6 @@ export class DeleteEndpointCommand extends $Command< DeleteEndpointCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteEndpointCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/DeletePlatformApplicationCommand.ts b/clients/client-sns/commands/DeletePlatformApplicationCommand.ts index 4021a76bc2c97..1d4eb3227afd5 100644 --- a/clients/client-sns/commands/DeletePlatformApplicationCommand.ts +++ b/clients/client-sns/commands/DeletePlatformApplicationCommand.ts @@ -31,7 +31,6 @@ export class DeletePlatformApplicationCommand extends $Command< DeletePlatformApplicationCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeletePlatformApplicationCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/DeleteTopicCommand.ts b/clients/client-sns/commands/DeleteTopicCommand.ts index 5d82706b5808a..cdbe619abdf65 100644 --- a/clients/client-sns/commands/DeleteTopicCommand.ts +++ b/clients/client-sns/commands/DeleteTopicCommand.ts @@ -28,7 +28,6 @@ export class DeleteTopicCommand extends $Command< DeleteTopicCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTopicCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/GetEndpointAttributesCommand.ts b/clients/client-sns/commands/GetEndpointAttributesCommand.ts index cd23e670540e7..e375b1df80562 100644 --- a/clients/client-sns/commands/GetEndpointAttributesCommand.ts +++ b/clients/client-sns/commands/GetEndpointAttributesCommand.ts @@ -30,7 +30,6 @@ export class GetEndpointAttributesCommand extends $Command< GetEndpointAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetEndpointAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts b/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts index e7c67903cc7fb..38fcd11171bea 100644 --- a/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts +++ b/clients/client-sns/commands/GetPlatformApplicationAttributesCommand.ts @@ -30,7 +30,6 @@ export class GetPlatformApplicationAttributesCommand extends $Command< GetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetPlatformApplicationAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/GetSMSAttributesCommand.ts b/clients/client-sns/commands/GetSMSAttributesCommand.ts index dbd36a81c2eae..08503b627b01c 100644 --- a/clients/client-sns/commands/GetSMSAttributesCommand.ts +++ b/clients/client-sns/commands/GetSMSAttributesCommand.ts @@ -29,7 +29,6 @@ export class GetSMSAttributesCommand extends $Command< GetSMSAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSMSAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts b/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts index 85800b53a4f68..2cf538e26858b 100644 --- a/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts +++ b/clients/client-sns/commands/GetSubscriptionAttributesCommand.ts @@ -28,7 +28,6 @@ export class GetSubscriptionAttributesCommand extends $Command< GetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSubscriptionAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/GetTopicAttributesCommand.ts b/clients/client-sns/commands/GetTopicAttributesCommand.ts index 39f4cd9ef4ee1..73ea0213f87ae 100644 --- a/clients/client-sns/commands/GetTopicAttributesCommand.ts +++ b/clients/client-sns/commands/GetTopicAttributesCommand.ts @@ -29,7 +29,6 @@ export class GetTopicAttributesCommand extends $Command< GetTopicAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetTopicAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts b/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts index 43f6a9bde8811..74bd889cf47cf 100644 --- a/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts +++ b/clients/client-sns/commands/ListEndpointsByPlatformApplicationCommand.ts @@ -41,7 +41,6 @@ export class ListEndpointsByPlatformApplicationCommand extends $Command< ListEndpointsByPlatformApplicationCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class ListEndpointsByPlatformApplicationCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts b/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts index 8c550ab4d09a3..c68cb0a22ff64 100644 --- a/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts +++ b/clients/client-sns/commands/ListPhoneNumbersOptedOutCommand.ts @@ -35,7 +35,6 @@ export class ListPhoneNumbersOptedOutCommand extends $Command< ListPhoneNumbersOptedOutCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListPhoneNumbersOptedOutCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListPlatformApplicationsCommand.ts b/clients/client-sns/commands/ListPlatformApplicationsCommand.ts index b80110667a1d2..5ba3447867c1c 100644 --- a/clients/client-sns/commands/ListPlatformApplicationsCommand.ts +++ b/clients/client-sns/commands/ListPlatformApplicationsCommand.ts @@ -37,7 +37,6 @@ export class ListPlatformApplicationsCommand extends $Command< ListPlatformApplicationsCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListPlatformApplicationsCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts b/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts index df47839f542a3..c6720b4ce79da 100644 --- a/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts +++ b/clients/client-sns/commands/ListSubscriptionsByTopicCommand.ts @@ -32,7 +32,6 @@ export class ListSubscriptionsByTopicCommand extends $Command< ListSubscriptionsByTopicCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListSubscriptionsByTopicCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListSubscriptionsCommand.ts b/clients/client-sns/commands/ListSubscriptionsCommand.ts index 2b2766e9b5e0c..6e81c3185073e 100644 --- a/clients/client-sns/commands/ListSubscriptionsCommand.ts +++ b/clients/client-sns/commands/ListSubscriptionsCommand.ts @@ -32,7 +32,6 @@ export class ListSubscriptionsCommand extends $Command< ListSubscriptionsCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListSubscriptionsCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListTagsForResourceCommand.ts b/clients/client-sns/commands/ListTagsForResourceCommand.ts index 1dacbef87531e..8477823739764 100644 --- a/clients/client-sns/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sns/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/ListTopicsCommand.ts b/clients/client-sns/commands/ListTopicsCommand.ts index cdfae0026281d..b54c49ba047ff 100644 --- a/clients/client-sns/commands/ListTopicsCommand.ts +++ b/clients/client-sns/commands/ListTopicsCommand.ts @@ -29,7 +29,6 @@ export class ListTopicsCommand extends $Command< ListTopicsCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTopicsCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/OptInPhoneNumberCommand.ts b/clients/client-sns/commands/OptInPhoneNumberCommand.ts index 78a8f98c8e927..c6f3424286900 100644 --- a/clients/client-sns/commands/OptInPhoneNumberCommand.ts +++ b/clients/client-sns/commands/OptInPhoneNumberCommand.ts @@ -30,7 +30,6 @@ export class OptInPhoneNumberCommand extends $Command< OptInPhoneNumberCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class OptInPhoneNumberCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/PublishCommand.ts b/clients/client-sns/commands/PublishCommand.ts index 8ccf80dd135d7..6446bf739bfa5 100644 --- a/clients/client-sns/commands/PublishCommand.ts +++ b/clients/client-sns/commands/PublishCommand.ts @@ -38,7 +38,6 @@ export type PublishCommandOutput = PublishResponse & __MetadataBearer; * */ export class PublishCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PublishCommand 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-sns/commands/RemovePermissionCommand.ts b/clients/client-sns/commands/RemovePermissionCommand.ts index 2d699546810b9..fe2afeba9bc4e 100644 --- a/clients/client-sns/commands/RemovePermissionCommand.ts +++ b/clients/client-sns/commands/RemovePermissionCommand.ts @@ -28,7 +28,6 @@ export class RemovePermissionCommand extends $Command< RemovePermissionCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemovePermissionCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/SetEndpointAttributesCommand.ts b/clients/client-sns/commands/SetEndpointAttributesCommand.ts index 342a6a77ae353..d34e36693e3ba 100644 --- a/clients/client-sns/commands/SetEndpointAttributesCommand.ts +++ b/clients/client-sns/commands/SetEndpointAttributesCommand.ts @@ -30,7 +30,6 @@ export class SetEndpointAttributesCommand extends $Command< SetEndpointAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetEndpointAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts b/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts index 823040b4ea17f..bcc7daf9a82a4 100644 --- a/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts +++ b/clients/client-sns/commands/SetPlatformApplicationAttributesCommand.ts @@ -32,7 +32,6 @@ export class SetPlatformApplicationAttributesCommand extends $Command< SetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class SetPlatformApplicationAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/SetSMSAttributesCommand.ts b/clients/client-sns/commands/SetSMSAttributesCommand.ts index a289049092c1b..5fb5296c39895 100644 --- a/clients/client-sns/commands/SetSMSAttributesCommand.ts +++ b/clients/client-sns/commands/SetSMSAttributesCommand.ts @@ -33,7 +33,6 @@ export class SetSMSAttributesCommand extends $Command< SetSMSAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class SetSMSAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts b/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts index 8dd17b7778c74..33be890d0479e 100644 --- a/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts +++ b/clients/client-sns/commands/SetSubscriptionAttributesCommand.ts @@ -29,7 +29,6 @@ export class SetSubscriptionAttributesCommand extends $Command< SetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SetSubscriptionAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/SetTopicAttributesCommand.ts b/clients/client-sns/commands/SetTopicAttributesCommand.ts index 66334b36bfad7..18f4d208385ee 100644 --- a/clients/client-sns/commands/SetTopicAttributesCommand.ts +++ b/clients/client-sns/commands/SetTopicAttributesCommand.ts @@ -28,7 +28,6 @@ export class SetTopicAttributesCommand extends $Command< SetTopicAttributesCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SetTopicAttributesCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/SubscribeCommand.ts b/clients/client-sns/commands/SubscribeCommand.ts index bb1a89b11726a..883a735084110 100644 --- a/clients/client-sns/commands/SubscribeCommand.ts +++ b/clients/client-sns/commands/SubscribeCommand.ts @@ -26,7 +26,6 @@ export type SubscribeCommandOutput = SubscribeResponse & __MetadataBearer; *

This action is throttled at 100 transactions per second (TPS).

*/ export class SubscribeCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class SubscribeCommand 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-sns/commands/TagResourceCommand.ts b/clients/client-sns/commands/TagResourceCommand.ts index 96701048b0404..cd12288708e46 100644 --- a/clients/client-sns/commands/TagResourceCommand.ts +++ b/clients/client-sns/commands/TagResourceCommand.ts @@ -48,7 +48,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -66,10 +65,7 @@ export class TagResourceCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/UnsubscribeCommand.ts b/clients/client-sns/commands/UnsubscribeCommand.ts index cd1084bdcfbf2..c52bf003728e4 100644 --- a/clients/client-sns/commands/UnsubscribeCommand.ts +++ b/clients/client-sns/commands/UnsubscribeCommand.ts @@ -31,7 +31,6 @@ export class UnsubscribeCommand extends $Command< UnsubscribeCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UnsubscribeCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sns/commands/UntagResourceCommand.ts b/clients/client-sns/commands/UntagResourceCommand.ts index 2a68d21aea62c..24c7f60242f2a 100644 --- a/clients/client-sns/commands/UntagResourceCommand.ts +++ b/clients/client-sns/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SNSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/AddPermissionCommand.ts b/clients/client-sqs/commands/AddPermissionCommand.ts index 496be8845549b..d104e7304c95f 100644 --- a/clients/client-sqs/commands/AddPermissionCommand.ts +++ b/clients/client-sqs/commands/AddPermissionCommand.ts @@ -65,7 +65,6 @@ export class AddPermissionCommand extends $Command< AddPermissionCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -83,10 +82,7 @@ export class AddPermissionCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts b/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts index 586c5db29acfc..bb29db5bc9579 100644 --- a/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts +++ b/clients/client-sqs/commands/ChangeMessageVisibilityBatchCommand.ts @@ -42,7 +42,6 @@ export class ChangeMessageVisibilityBatchCommand extends $Command< ChangeMessageVisibilityBatchCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ChangeMessageVisibilityBatchCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts b/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts index 4babc85bb2c61..5a5f8e15dc58a 100644 --- a/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts +++ b/clients/client-sqs/commands/ChangeMessageVisibilityCommand.ts @@ -61,7 +61,6 @@ export class ChangeMessageVisibilityCommand extends $Command< ChangeMessageVisibilityCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class ChangeMessageVisibilityCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/CreateQueueCommand.ts b/clients/client-sqs/commands/CreateQueueCommand.ts index f77d0b2b561ea..72e1718bae3be 100644 --- a/clients/client-sqs/commands/CreateQueueCommand.ts +++ b/clients/client-sqs/commands/CreateQueueCommand.ts @@ -74,7 +74,6 @@ export class CreateQueueCommand extends $Command< CreateQueueCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class CreateQueueCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/DeleteMessageBatchCommand.ts b/clients/client-sqs/commands/DeleteMessageBatchCommand.ts index a09734f34bf5c..3a62eac572cbc 100644 --- a/clients/client-sqs/commands/DeleteMessageBatchCommand.ts +++ b/clients/client-sqs/commands/DeleteMessageBatchCommand.ts @@ -39,7 +39,6 @@ export class DeleteMessageBatchCommand extends $Command< DeleteMessageBatchCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class DeleteMessageBatchCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/DeleteMessageCommand.ts b/clients/client-sqs/commands/DeleteMessageCommand.ts index d57ef33ee4e6f..f8cc5809eb997 100644 --- a/clients/client-sqs/commands/DeleteMessageCommand.ts +++ b/clients/client-sqs/commands/DeleteMessageCommand.ts @@ -47,7 +47,6 @@ export class DeleteMessageCommand extends $Command< DeleteMessageCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class DeleteMessageCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/DeleteQueueCommand.ts b/clients/client-sqs/commands/DeleteQueueCommand.ts index c01b3ac7df29b..fba8adb8167bc 100644 --- a/clients/client-sqs/commands/DeleteQueueCommand.ts +++ b/clients/client-sqs/commands/DeleteQueueCommand.ts @@ -37,7 +37,6 @@ export class DeleteQueueCommand extends $Command< DeleteQueueCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteQueueCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/GetQueueAttributesCommand.ts b/clients/client-sqs/commands/GetQueueAttributesCommand.ts index 1fbe5953ac96e..8f3a87dca7ef8 100644 --- a/clients/client-sqs/commands/GetQueueAttributesCommand.ts +++ b/clients/client-sqs/commands/GetQueueAttributesCommand.ts @@ -31,7 +31,6 @@ export class GetQueueAttributesCommand extends $Command< GetQueueAttributesCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetQueueAttributesCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/GetQueueUrlCommand.ts b/clients/client-sqs/commands/GetQueueUrlCommand.ts index 1df85a7e6dd39..75d5ba7fa0747 100644 --- a/clients/client-sqs/commands/GetQueueUrlCommand.ts +++ b/clients/client-sqs/commands/GetQueueUrlCommand.ts @@ -30,7 +30,6 @@ export class GetQueueUrlCommand extends $Command< GetQueueUrlCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetQueueUrlCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts b/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts index c0747548b581c..139c933ff426b 100644 --- a/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts +++ b/clients/client-sqs/commands/ListDeadLetterSourceQueuesCommand.ts @@ -38,7 +38,6 @@ export class ListDeadLetterSourceQueuesCommand extends $Command< ListDeadLetterSourceQueuesCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class ListDeadLetterSourceQueuesCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/ListQueueTagsCommand.ts b/clients/client-sqs/commands/ListQueueTagsCommand.ts index 487fc128ef52b..842c4bc7c5679 100644 --- a/clients/client-sqs/commands/ListQueueTagsCommand.ts +++ b/clients/client-sqs/commands/ListQueueTagsCommand.ts @@ -31,7 +31,6 @@ export class ListQueueTagsCommand extends $Command< ListQueueTagsCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListQueueTagsCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/ListQueuesCommand.ts b/clients/client-sqs/commands/ListQueuesCommand.ts index bff34956d2f1d..9fbb6785c8ba4 100644 --- a/clients/client-sqs/commands/ListQueuesCommand.ts +++ b/clients/client-sqs/commands/ListQueuesCommand.ts @@ -36,7 +36,6 @@ export class ListQueuesCommand extends $Command< ListQueuesCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListQueuesCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/PurgeQueueCommand.ts b/clients/client-sqs/commands/PurgeQueueCommand.ts index 4b44217892aed..ad626547bad3a 100644 --- a/clients/client-sqs/commands/PurgeQueueCommand.ts +++ b/clients/client-sqs/commands/PurgeQueueCommand.ts @@ -38,7 +38,6 @@ export class PurgeQueueCommand extends $Command< PurgeQueueCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class PurgeQueueCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/ReceiveMessageCommand.ts b/clients/client-sqs/commands/ReceiveMessageCommand.ts index c5143ee12df2b..f0243e4b8f623 100644 --- a/clients/client-sqs/commands/ReceiveMessageCommand.ts +++ b/clients/client-sqs/commands/ReceiveMessageCommand.ts @@ -64,7 +64,6 @@ export class ReceiveMessageCommand extends $Command< ReceiveMessageCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,11 +81,8 @@ export class ReceiveMessageCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getReceiveMessagePlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getReceiveMessagePlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/RemovePermissionCommand.ts b/clients/client-sqs/commands/RemovePermissionCommand.ts index cb4f5bc41c63b..e934a50054384 100644 --- a/clients/client-sqs/commands/RemovePermissionCommand.ts +++ b/clients/client-sqs/commands/RemovePermissionCommand.ts @@ -41,7 +41,6 @@ export class RemovePermissionCommand extends $Command< RemovePermissionCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class RemovePermissionCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/SendMessageBatchCommand.ts b/clients/client-sqs/commands/SendMessageBatchCommand.ts index aaec0fafbf597..92164922edffc 100644 --- a/clients/client-sqs/commands/SendMessageBatchCommand.ts +++ b/clients/client-sqs/commands/SendMessageBatchCommand.ts @@ -47,7 +47,6 @@ export class SendMessageBatchCommand extends $Command< SendMessageBatchCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,11 +64,8 @@ export class SendMessageBatchCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSendMessageBatchPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSendMessageBatchPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/SendMessageCommand.ts b/clients/client-sqs/commands/SendMessageCommand.ts index 8259ae68a5823..a00572f05b7d3 100644 --- a/clients/client-sqs/commands/SendMessageCommand.ts +++ b/clients/client-sqs/commands/SendMessageCommand.ts @@ -33,7 +33,6 @@ export class SendMessageCommand extends $Command< SendMessageCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,11 +50,8 @@ export class SendMessageCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getSendMessagePlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getSendMessagePlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/SetQueueAttributesCommand.ts b/clients/client-sqs/commands/SetQueueAttributesCommand.ts index 0fade6ba09643..8df6855934a75 100644 --- a/clients/client-sqs/commands/SetQueueAttributesCommand.ts +++ b/clients/client-sqs/commands/SetQueueAttributesCommand.ts @@ -42,7 +42,6 @@ export class SetQueueAttributesCommand extends $Command< SetQueueAttributesCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class SetQueueAttributesCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sqs/commands/TagQueueCommand.ts b/clients/client-sqs/commands/TagQueueCommand.ts index cd90e3c162ca2..c0b359eac7683 100644 --- a/clients/client-sqs/commands/TagQueueCommand.ts +++ b/clients/client-sqs/commands/TagQueueCommand.ts @@ -41,7 +41,6 @@ export type TagQueueCommandOutput = __MetadataBearer; * */ export class TagQueueCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class TagQueueCommand 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-sqs/commands/UntagQueueCommand.ts b/clients/client-sqs/commands/UntagQueueCommand.ts index 4cb0dce61df5b..fc227c9d2a934 100644 --- a/clients/client-sqs/commands/UntagQueueCommand.ts +++ b/clients/client-sqs/commands/UntagQueueCommand.ts @@ -28,7 +28,6 @@ export class UntagQueueCommand extends $Command< UntagQueueCommandOutput, SQSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagQueueCommand extends $Command< configuration: SQSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/AddTagsToResourceCommand.ts b/clients/client-ssm/commands/AddTagsToResourceCommand.ts index 60b989e620922..fcb7eb40d30ab 100644 --- a/clients/client-ssm/commands/AddTagsToResourceCommand.ts +++ b/clients/client-ssm/commands/AddTagsToResourceCommand.ts @@ -43,7 +43,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CancelCommandCommand.ts b/clients/client-ssm/commands/CancelCommandCommand.ts index 80f9079945aa9..da623f9dad057 100644 --- a/clients/client-ssm/commands/CancelCommandCommand.ts +++ b/clients/client-ssm/commands/CancelCommandCommand.ts @@ -29,7 +29,6 @@ export class CancelCommandCommand extends $Command< CancelCommandCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CancelCommandCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts b/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts index f0796d56b37fb..d653380a9fa90 100644 --- a/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts +++ b/clients/client-ssm/commands/CancelMaintenanceWindowExecutionCommand.ts @@ -30,7 +30,6 @@ export class CancelMaintenanceWindowExecutionCommand extends $Command< CancelMaintenanceWindowExecutionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CancelMaintenanceWindowExecutionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateActivationCommand.ts b/clients/client-ssm/commands/CreateActivationCommand.ts index 2943074a3ee04..5ed4a92777731 100644 --- a/clients/client-ssm/commands/CreateActivationCommand.ts +++ b/clients/client-ssm/commands/CreateActivationCommand.ts @@ -37,7 +37,6 @@ export class CreateActivationCommand extends $Command< CreateActivationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateActivationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateAssociationBatchCommand.ts b/clients/client-ssm/commands/CreateAssociationBatchCommand.ts index eaf851b25e188..75629840bf48b 100644 --- a/clients/client-ssm/commands/CreateAssociationBatchCommand.ts +++ b/clients/client-ssm/commands/CreateAssociationBatchCommand.ts @@ -33,7 +33,6 @@ export class CreateAssociationBatchCommand extends $Command< CreateAssociationBatchCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreateAssociationBatchCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateAssociationCommand.ts b/clients/client-ssm/commands/CreateAssociationCommand.ts index 3ad2cc4cb28a1..0a930d397ae9b 100644 --- a/clients/client-ssm/commands/CreateAssociationCommand.ts +++ b/clients/client-ssm/commands/CreateAssociationCommand.ts @@ -37,7 +37,6 @@ export class CreateAssociationCommand extends $Command< CreateAssociationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateAssociationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateDocumentCommand.ts b/clients/client-ssm/commands/CreateDocumentCommand.ts index aed2c9a303819..0d59cac13a7be 100644 --- a/clients/client-ssm/commands/CreateDocumentCommand.ts +++ b/clients/client-ssm/commands/CreateDocumentCommand.ts @@ -31,7 +31,6 @@ export class CreateDocumentCommand extends $Command< CreateDocumentCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDocumentCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts b/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts index be63efc681629..4d6bf058ec497 100644 --- a/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/CreateMaintenanceWindowCommand.ts @@ -36,7 +36,6 @@ export class CreateMaintenanceWindowCommand extends $Command< CreateMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateOpsItemCommand.ts b/clients/client-ssm/commands/CreateOpsItemCommand.ts index 8a6c98d17a08b..14ddb1b7ac429 100644 --- a/clients/client-ssm/commands/CreateOpsItemCommand.ts +++ b/clients/client-ssm/commands/CreateOpsItemCommand.ts @@ -34,7 +34,6 @@ export class CreateOpsItemCommand extends $Command< CreateOpsItemCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateOpsItemCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateOpsMetadataCommand.ts b/clients/client-ssm/commands/CreateOpsMetadataCommand.ts index bbe93317d2dc4..bea6c01a00c40 100644 --- a/clients/client-ssm/commands/CreateOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/CreateOpsMetadataCommand.ts @@ -29,7 +29,6 @@ export class CreateOpsMetadataCommand extends $Command< CreateOpsMetadataCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateOpsMetadataCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreatePatchBaselineCommand.ts b/clients/client-ssm/commands/CreatePatchBaselineCommand.ts index 94bb956d9c035..942e322adada1 100644 --- a/clients/client-ssm/commands/CreatePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/CreatePatchBaselineCommand.ts @@ -32,7 +32,6 @@ export class CreatePatchBaselineCommand extends $Command< CreatePatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreatePatchBaselineCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts b/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts index 7e0fd4de74c32..354bb04d8c94c 100644 --- a/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/CreateResourceDataSyncCommand.ts @@ -50,7 +50,6 @@ export class CreateResourceDataSyncCommand extends $Command< CreateResourceDataSyncCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class CreateResourceDataSyncCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteActivationCommand.ts b/clients/client-ssm/commands/DeleteActivationCommand.ts index e0c0daad04d48..1be0c676dcea1 100644 --- a/clients/client-ssm/commands/DeleteActivationCommand.ts +++ b/clients/client-ssm/commands/DeleteActivationCommand.ts @@ -31,7 +31,6 @@ export class DeleteActivationCommand extends $Command< DeleteActivationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteActivationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteAssociationCommand.ts b/clients/client-ssm/commands/DeleteAssociationCommand.ts index 3a117844ddc43..47fdaa707ec52 100644 --- a/clients/client-ssm/commands/DeleteAssociationCommand.ts +++ b/clients/client-ssm/commands/DeleteAssociationCommand.ts @@ -32,7 +32,6 @@ export class DeleteAssociationCommand extends $Command< DeleteAssociationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteAssociationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteDocumentCommand.ts b/clients/client-ssm/commands/DeleteDocumentCommand.ts index 91d504ae4d2e4..e6843dc090105 100644 --- a/clients/client-ssm/commands/DeleteDocumentCommand.ts +++ b/clients/client-ssm/commands/DeleteDocumentCommand.ts @@ -29,7 +29,6 @@ export class DeleteDocumentCommand extends $Command< DeleteDocumentCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteDocumentCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteInventoryCommand.ts b/clients/client-ssm/commands/DeleteInventoryCommand.ts index 729ee4efe79db..171fae3294633 100644 --- a/clients/client-ssm/commands/DeleteInventoryCommand.ts +++ b/clients/client-ssm/commands/DeleteInventoryCommand.ts @@ -29,7 +29,6 @@ export class DeleteInventoryCommand extends $Command< DeleteInventoryCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteInventoryCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts b/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts index 8e7a45492eea4..4885f1da14fb3 100644 --- a/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/DeleteMaintenanceWindowCommand.ts @@ -28,7 +28,6 @@ export class DeleteMaintenanceWindowCommand extends $Command< DeleteMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteOpsMetadataCommand.ts b/clients/client-ssm/commands/DeleteOpsMetadataCommand.ts index ced9e30b296e2..7bd7c164be5d4 100644 --- a/clients/client-ssm/commands/DeleteOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/DeleteOpsMetadataCommand.ts @@ -28,7 +28,6 @@ export class DeleteOpsMetadataCommand extends $Command< DeleteOpsMetadataCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteOpsMetadataCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteParameterCommand.ts b/clients/client-ssm/commands/DeleteParameterCommand.ts index 17fc7bfd8bfc4..62319703c7f3d 100644 --- a/clients/client-ssm/commands/DeleteParameterCommand.ts +++ b/clients/client-ssm/commands/DeleteParameterCommand.ts @@ -28,7 +28,6 @@ export class DeleteParameterCommand extends $Command< DeleteParameterCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteParameterCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteParametersCommand.ts b/clients/client-ssm/commands/DeleteParametersCommand.ts index 42240886c5e6a..fc07b8ed890dd 100644 --- a/clients/client-ssm/commands/DeleteParametersCommand.ts +++ b/clients/client-ssm/commands/DeleteParametersCommand.ts @@ -28,7 +28,6 @@ export class DeleteParametersCommand extends $Command< DeleteParametersCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteParametersCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeletePatchBaselineCommand.ts b/clients/client-ssm/commands/DeletePatchBaselineCommand.ts index 7fa900e2074b7..12493073ca030 100644 --- a/clients/client-ssm/commands/DeletePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/DeletePatchBaselineCommand.ts @@ -28,7 +28,6 @@ export class DeletePatchBaselineCommand extends $Command< DeletePatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePatchBaselineCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts b/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts index a3054811feb4c..f05ece30ed456 100644 --- a/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/DeleteResourceDataSyncCommand.ts @@ -30,7 +30,6 @@ export class DeleteResourceDataSyncCommand extends $Command< DeleteResourceDataSyncCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteResourceDataSyncCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts b/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts index 1d55bce007d48..de803ed8133c3 100644 --- a/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts +++ b/clients/client-ssm/commands/DeregisterManagedInstanceCommand.ts @@ -30,7 +30,6 @@ export class DeregisterManagedInstanceCommand extends $Command< DeregisterManagedInstanceCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeregisterManagedInstanceCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts b/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts index 8132145f12ba6..2c040ea8117a2 100644 --- a/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/DeregisterPatchBaselineForPatchGroupCommand.ts @@ -32,7 +32,6 @@ export class DeregisterPatchBaselineForPatchGroupCommand extends $Command< DeregisterPatchBaselineForPatchGroupCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeregisterPatchBaselineForPatchGroupCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts b/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts index f517ceeddc900..b2773f109d7fe 100644 --- a/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/DeregisterTargetFromMaintenanceWindowCommand.ts @@ -32,7 +32,6 @@ export class DeregisterTargetFromMaintenanceWindowCommand extends $Command< DeregisterTargetFromMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeregisterTargetFromMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts b/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts index e98483fc7ab0d..969620cee0608 100644 --- a/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/DeregisterTaskFromMaintenanceWindowCommand.ts @@ -32,7 +32,6 @@ export class DeregisterTaskFromMaintenanceWindowCommand extends $Command< DeregisterTaskFromMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeregisterTaskFromMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeActivationsCommand.ts b/clients/client-ssm/commands/DescribeActivationsCommand.ts index 375e355e5ddd8..e6ceba630dfd0 100644 --- a/clients/client-ssm/commands/DescribeActivationsCommand.ts +++ b/clients/client-ssm/commands/DescribeActivationsCommand.ts @@ -30,7 +30,6 @@ export class DescribeActivationsCommand extends $Command< DescribeActivationsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeActivationsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeAssociationCommand.ts b/clients/client-ssm/commands/DescribeAssociationCommand.ts index 827465859b736..7a6245d7f0607 100644 --- a/clients/client-ssm/commands/DescribeAssociationCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationCommand.ts @@ -32,7 +32,6 @@ export class DescribeAssociationCommand extends $Command< DescribeAssociationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeAssociationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts b/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts index 2f049c496daaa..29f18b587ea84 100644 --- a/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationExecutionTargetsCommand.ts @@ -33,7 +33,6 @@ export class DescribeAssociationExecutionTargetsCommand extends $Command< DescribeAssociationExecutionTargetsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeAssociationExecutionTargetsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts index ff26e9a0c2f39..8a4f41d171d26 100644 --- a/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAssociationExecutionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeAssociationExecutionsCommand extends $Command< DescribeAssociationExecutionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAssociationExecutionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts index 92cf9828ea06e..b245259fa4aec 100644 --- a/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAutomationExecutionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeAutomationExecutionsCommand extends $Command< DescribeAutomationExecutionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAutomationExecutionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts b/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts index dd4a82bb6a93d..290c68ec1f804 100644 --- a/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeAutomationStepExecutionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeAutomationStepExecutionsCommand extends $Command< DescribeAutomationStepExecutionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAutomationStepExecutionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts b/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts index 415bea507c37d..0e68c4a26ba2f 100644 --- a/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts +++ b/clients/client-ssm/commands/DescribeAvailablePatchesCommand.ts @@ -28,7 +28,6 @@ export class DescribeAvailablePatchesCommand extends $Command< DescribeAvailablePatchesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAvailablePatchesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeDocumentCommand.ts b/clients/client-ssm/commands/DescribeDocumentCommand.ts index 993edb3e18958..73ea8aea91910 100644 --- a/clients/client-ssm/commands/DescribeDocumentCommand.ts +++ b/clients/client-ssm/commands/DescribeDocumentCommand.ts @@ -28,7 +28,6 @@ export class DescribeDocumentCommand extends $Command< DescribeDocumentCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDocumentCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts b/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts index 70a50d9d08c07..bae59507ffcd2 100644 --- a/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts +++ b/clients/client-ssm/commands/DescribeDocumentPermissionCommand.ts @@ -30,7 +30,6 @@ export class DescribeDocumentPermissionCommand extends $Command< DescribeDocumentPermissionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDocumentPermissionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts b/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts index 874dcaed24720..a31620a8eb8fa 100644 --- a/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts +++ b/clients/client-ssm/commands/DescribeEffectiveInstanceAssociationsCommand.ts @@ -32,7 +32,6 @@ export class DescribeEffectiveInstanceAssociationsCommand extends $Command< DescribeEffectiveInstanceAssociationsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeEffectiveInstanceAssociationsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts b/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts index 301fbe4314a49..53d4a06103b15 100644 --- a/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/DescribeEffectivePatchesForPatchBaselineCommand.ts @@ -33,7 +33,6 @@ export class DescribeEffectivePatchesForPatchBaselineCommand extends $Command< DescribeEffectivePatchesForPatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeEffectivePatchesForPatchBaselineCommand extends $Command< DescribeEffectivePatchesForPatchBaselineCommandInput, DescribeEffectivePatchesForPatchBaselineCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts b/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts index 65438295ff249..9a647ef091a14 100644 --- a/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts +++ b/clients/client-ssm/commands/DescribeInstanceAssociationsStatusCommand.ts @@ -32,7 +32,6 @@ export class DescribeInstanceAssociationsStatusCommand extends $Command< DescribeInstanceAssociationsStatusCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeInstanceAssociationsStatusCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts b/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts index 274ada542b251..8d53925b4e4f2 100644 --- a/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts +++ b/clients/client-ssm/commands/DescribeInstanceInformationCommand.ts @@ -37,7 +37,6 @@ export class DescribeInstanceInformationCommand extends $Command< DescribeInstanceInformationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DescribeInstanceInformationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts b/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts index 774c5c2e6ef57..cbd8672d1f382 100644 --- a/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts +++ b/clients/client-ssm/commands/DescribeInstancePatchStatesCommand.ts @@ -28,7 +28,6 @@ export class DescribeInstancePatchStatesCommand extends $Command< DescribeInstancePatchStatesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInstancePatchStatesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts b/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts index f3694faf10913..84a01559909d3 100644 --- a/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts @@ -32,7 +32,6 @@ export class DescribeInstancePatchStatesForPatchGroupCommand extends $Command< DescribeInstancePatchStatesForPatchGroupCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeInstancePatchStatesForPatchGroupCommand extends $Command< DescribeInstancePatchStatesForPatchGroupCommandInput, DescribeInstancePatchStatesForPatchGroupCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts b/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts index f126c198dda76..36e455c601cbb 100644 --- a/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts +++ b/clients/client-ssm/commands/DescribeInstancePatchesCommand.ts @@ -29,7 +29,6 @@ export class DescribeInstancePatchesCommand extends $Command< DescribeInstancePatchesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeInstancePatchesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts b/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts index 672a1b04771f5..5d38c9ead8ab5 100644 --- a/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts +++ b/clients/client-ssm/commands/DescribeInventoryDeletionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeInventoryDeletionsCommand extends $Command< DescribeInventoryDeletionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeInventoryDeletionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts index 8240e76615c9a..f0d0c9353b2d3 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.ts @@ -33,7 +33,6 @@ export class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $C DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $C DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts index e89547dd876fc..28718521dc71c 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionTasksCommand.ts @@ -32,7 +32,6 @@ export class DescribeMaintenanceWindowExecutionTasksCommand extends $Command< DescribeMaintenanceWindowExecutionTasksCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeMaintenanceWindowExecutionTasksCommand extends $Command< DescribeMaintenanceWindowExecutionTasksCommandInput, DescribeMaintenanceWindowExecutionTasksCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts index f06bcf1def1d3..4db85643e45f4 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowExecutionsCommand.ts @@ -34,7 +34,6 @@ export class DescribeMaintenanceWindowExecutionsCommand extends $Command< DescribeMaintenanceWindowExecutionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeMaintenanceWindowExecutionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts index 385a0827ed0df..9f8c5c20c1483 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowScheduleCommand.ts @@ -28,7 +28,6 @@ export class DescribeMaintenanceWindowScheduleCommand extends $Command< DescribeMaintenanceWindowScheduleCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMaintenanceWindowScheduleCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts index 7ace0c88f599e..064b6445243a3 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowTargetsCommand.ts @@ -28,7 +28,6 @@ export class DescribeMaintenanceWindowTargetsCommand extends $Command< DescribeMaintenanceWindowTargetsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMaintenanceWindowTargetsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts index cc990eb281b7c..b0ead98c3161d 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowTasksCommand.ts @@ -28,7 +28,6 @@ export class DescribeMaintenanceWindowTasksCommand extends $Command< DescribeMaintenanceWindowTasksCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMaintenanceWindowTasksCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts index 7860418771b38..dea8e1e1756ad 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowsCommand.ts @@ -28,7 +28,6 @@ export class DescribeMaintenanceWindowsCommand extends $Command< DescribeMaintenanceWindowsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeMaintenanceWindowsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts b/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts index 7b163b1a06fa8..003f9cc53889d 100644 --- a/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts +++ b/clients/client-ssm/commands/DescribeMaintenanceWindowsForTargetCommand.ts @@ -33,7 +33,6 @@ export class DescribeMaintenanceWindowsForTargetCommand extends $Command< DescribeMaintenanceWindowsForTargetCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeMaintenanceWindowsForTargetCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeOpsItemsCommand.ts b/clients/client-ssm/commands/DescribeOpsItemsCommand.ts index ceb5f553132d5..5a0fa256c7200 100644 --- a/clients/client-ssm/commands/DescribeOpsItemsCommand.ts +++ b/clients/client-ssm/commands/DescribeOpsItemsCommand.ts @@ -34,7 +34,6 @@ export class DescribeOpsItemsCommand extends $Command< DescribeOpsItemsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeOpsItemsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeParametersCommand.ts b/clients/client-ssm/commands/DescribeParametersCommand.ts index 050ec3ab9f3ad..f392ce2241df1 100644 --- a/clients/client-ssm/commands/DescribeParametersCommand.ts +++ b/clients/client-ssm/commands/DescribeParametersCommand.ts @@ -36,7 +36,6 @@ export class DescribeParametersCommand extends $Command< DescribeParametersCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeParametersCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts b/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts index 4e65825dc1cf4..cbe8760c2eedc 100644 --- a/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts +++ b/clients/client-ssm/commands/DescribePatchBaselinesCommand.ts @@ -28,7 +28,6 @@ export class DescribePatchBaselinesCommand extends $Command< DescribePatchBaselinesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePatchBaselinesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts b/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts index cc62a3212f8cc..968078d4a7405 100644 --- a/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts +++ b/clients/client-ssm/commands/DescribePatchGroupStateCommand.ts @@ -29,7 +29,6 @@ export class DescribePatchGroupStateCommand extends $Command< DescribePatchGroupStateCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribePatchGroupStateCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribePatchGroupsCommand.ts b/clients/client-ssm/commands/DescribePatchGroupsCommand.ts index 4cd55e335c109..cebc2e8ba8fdb 100644 --- a/clients/client-ssm/commands/DescribePatchGroupsCommand.ts +++ b/clients/client-ssm/commands/DescribePatchGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribePatchGroupsCommand extends $Command< DescribePatchGroupsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePatchGroupsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts b/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts index 92a2c333db304..223ab1ef3e359 100644 --- a/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts +++ b/clients/client-ssm/commands/DescribePatchPropertiesCommand.ts @@ -74,7 +74,6 @@ export class DescribePatchPropertiesCommand extends $Command< DescribePatchPropertiesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class DescribePatchPropertiesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/DescribeSessionsCommand.ts b/clients/client-ssm/commands/DescribeSessionsCommand.ts index 804b04f255059..f9b1fb49ee306 100644 --- a/clients/client-ssm/commands/DescribeSessionsCommand.ts +++ b/clients/client-ssm/commands/DescribeSessionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeSessionsCommand extends $Command< DescribeSessionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSessionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetAutomationExecutionCommand.ts b/clients/client-ssm/commands/GetAutomationExecutionCommand.ts index 1bfea0ff13dd1..69c79ecbff270 100644 --- a/clients/client-ssm/commands/GetAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/GetAutomationExecutionCommand.ts @@ -28,7 +28,6 @@ export class GetAutomationExecutionCommand extends $Command< GetAutomationExecutionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetAutomationExecutionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetCalendarStateCommand.ts b/clients/client-ssm/commands/GetCalendarStateCommand.ts index 6f1ee7de8f7a0..641e511f618a9 100644 --- a/clients/client-ssm/commands/GetCalendarStateCommand.ts +++ b/clients/client-ssm/commands/GetCalendarStateCommand.ts @@ -37,7 +37,6 @@ export class GetCalendarStateCommand extends $Command< GetCalendarStateCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetCalendarStateCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetCommandInvocationCommand.ts b/clients/client-ssm/commands/GetCommandInvocationCommand.ts index d30056b9cfe95..0834958379c55 100644 --- a/clients/client-ssm/commands/GetCommandInvocationCommand.ts +++ b/clients/client-ssm/commands/GetCommandInvocationCommand.ts @@ -28,7 +28,6 @@ export class GetCommandInvocationCommand extends $Command< GetCommandInvocationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCommandInvocationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetConnectionStatusCommand.ts b/clients/client-ssm/commands/GetConnectionStatusCommand.ts index c06875263c7b6..0eaacd8917bac 100644 --- a/clients/client-ssm/commands/GetConnectionStatusCommand.ts +++ b/clients/client-ssm/commands/GetConnectionStatusCommand.ts @@ -29,7 +29,6 @@ export class GetConnectionStatusCommand extends $Command< GetConnectionStatusCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetConnectionStatusCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts b/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts index 2ef3c896222a7..89b189c20fa5e 100644 --- a/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/GetDefaultPatchBaselineCommand.ts @@ -32,7 +32,6 @@ export class GetDefaultPatchBaselineCommand extends $Command< GetDefaultPatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetDefaultPatchBaselineCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts b/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts index e084639209642..a9950794bbd0a 100644 --- a/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts +++ b/clients/client-ssm/commands/GetDeployablePatchSnapshotForInstanceCommand.ts @@ -33,7 +33,6 @@ export class GetDeployablePatchSnapshotForInstanceCommand extends $Command< GetDeployablePatchSnapshotForInstanceCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetDeployablePatchSnapshotForInstanceCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetDocumentCommand.ts b/clients/client-ssm/commands/GetDocumentCommand.ts index 151c63f71df1d..218f1b5420e2e 100644 --- a/clients/client-ssm/commands/GetDocumentCommand.ts +++ b/clients/client-ssm/commands/GetDocumentCommand.ts @@ -28,7 +28,6 @@ export class GetDocumentCommand extends $Command< GetDocumentCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDocumentCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetInventoryCommand.ts b/clients/client-ssm/commands/GetInventoryCommand.ts index 7d773830330db..936f6246c91ea 100644 --- a/clients/client-ssm/commands/GetInventoryCommand.ts +++ b/clients/client-ssm/commands/GetInventoryCommand.ts @@ -28,7 +28,6 @@ export class GetInventoryCommand extends $Command< GetInventoryCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInventoryCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetInventorySchemaCommand.ts b/clients/client-ssm/commands/GetInventorySchemaCommand.ts index 54078aff778a9..b8959c7104667 100644 --- a/clients/client-ssm/commands/GetInventorySchemaCommand.ts +++ b/clients/client-ssm/commands/GetInventorySchemaCommand.ts @@ -29,7 +29,6 @@ export class GetInventorySchemaCommand extends $Command< GetInventorySchemaCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInventorySchemaCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts index 99c76260529d7..24eca60a8d1f7 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowCommand.ts @@ -28,7 +28,6 @@ export class GetMaintenanceWindowCommand extends $Command< GetMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts index e6cdeb9cee8b6..6ede4c7993c20 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowExecutionCommand.ts @@ -28,7 +28,6 @@ export class GetMaintenanceWindowExecutionCommand extends $Command< GetMaintenanceWindowExecutionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMaintenanceWindowExecutionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts index 0b0bfad9efc31..c84fe36a3dd61 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskCommand.ts @@ -29,7 +29,6 @@ export class GetMaintenanceWindowExecutionTaskCommand extends $Command< GetMaintenanceWindowExecutionTaskCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetMaintenanceWindowExecutionTaskCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts index c8499b03ab32d..2f9bf68a39c28 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.ts @@ -32,7 +32,6 @@ export class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command GetMaintenanceWindowExecutionTaskInvocationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command GetMaintenanceWindowExecutionTaskInvocationCommandInput, GetMaintenanceWindowExecutionTaskInvocationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts b/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts index 065f636751b75..fb79c31452ab5 100644 --- a/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts +++ b/clients/client-ssm/commands/GetMaintenanceWindowTaskCommand.ts @@ -28,7 +28,6 @@ export class GetMaintenanceWindowTaskCommand extends $Command< GetMaintenanceWindowTaskCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMaintenanceWindowTaskCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetOpsItemCommand.ts b/clients/client-ssm/commands/GetOpsItemCommand.ts index 9dbec45da1e1f..89f7c92ba3a3e 100644 --- a/clients/client-ssm/commands/GetOpsItemCommand.ts +++ b/clients/client-ssm/commands/GetOpsItemCommand.ts @@ -35,7 +35,6 @@ export class GetOpsItemCommand extends $Command< GetOpsItemCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetOpsItemCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetOpsMetadataCommand.ts b/clients/client-ssm/commands/GetOpsMetadataCommand.ts index 5eb524e582dde..864cef40825d5 100644 --- a/clients/client-ssm/commands/GetOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/GetOpsMetadataCommand.ts @@ -28,7 +28,6 @@ export class GetOpsMetadataCommand extends $Command< GetOpsMetadataCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOpsMetadataCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetOpsSummaryCommand.ts b/clients/client-ssm/commands/GetOpsSummaryCommand.ts index 72317ed2a913e..ea8ec54387f4c 100644 --- a/clients/client-ssm/commands/GetOpsSummaryCommand.ts +++ b/clients/client-ssm/commands/GetOpsSummaryCommand.ts @@ -28,7 +28,6 @@ export class GetOpsSummaryCommand extends $Command< GetOpsSummaryCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetOpsSummaryCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetParameterCommand.ts b/clients/client-ssm/commands/GetParameterCommand.ts index 66219fbc69895..ccc36b928ff83 100644 --- a/clients/client-ssm/commands/GetParameterCommand.ts +++ b/clients/client-ssm/commands/GetParameterCommand.ts @@ -29,7 +29,6 @@ export class GetParameterCommand extends $Command< GetParameterCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetParameterCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetParameterHistoryCommand.ts b/clients/client-ssm/commands/GetParameterHistoryCommand.ts index 378d446f255da..81f2bb39621d6 100644 --- a/clients/client-ssm/commands/GetParameterHistoryCommand.ts +++ b/clients/client-ssm/commands/GetParameterHistoryCommand.ts @@ -28,7 +28,6 @@ export class GetParameterHistoryCommand extends $Command< GetParameterHistoryCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetParameterHistoryCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetParametersByPathCommand.ts b/clients/client-ssm/commands/GetParametersByPathCommand.ts index 3bedf164a2fbe..36c8942997912 100644 --- a/clients/client-ssm/commands/GetParametersByPathCommand.ts +++ b/clients/client-ssm/commands/GetParametersByPathCommand.ts @@ -36,7 +36,6 @@ export class GetParametersByPathCommand extends $Command< GetParametersByPathCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetParametersByPathCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetParametersCommand.ts b/clients/client-ssm/commands/GetParametersCommand.ts index 8466b0067f8c8..ddc3d5ef7966b 100644 --- a/clients/client-ssm/commands/GetParametersCommand.ts +++ b/clients/client-ssm/commands/GetParametersCommand.ts @@ -28,7 +28,6 @@ export class GetParametersCommand extends $Command< GetParametersCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetParametersCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetPatchBaselineCommand.ts b/clients/client-ssm/commands/GetPatchBaselineCommand.ts index 1d345aa526372..99e649fa9bd61 100644 --- a/clients/client-ssm/commands/GetPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/GetPatchBaselineCommand.ts @@ -28,7 +28,6 @@ export class GetPatchBaselineCommand extends $Command< GetPatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPatchBaselineCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts b/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts index c63abb0b3f5de..72c87ea49ad40 100644 --- a/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/GetPatchBaselineForPatchGroupCommand.ts @@ -28,7 +28,6 @@ export class GetPatchBaselineForPatchGroupCommand extends $Command< GetPatchBaselineForPatchGroupCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetPatchBaselineForPatchGroupCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/GetServiceSettingCommand.ts b/clients/client-ssm/commands/GetServiceSettingCommand.ts index 547b4db554e20..aa213a39239af 100644 --- a/clients/client-ssm/commands/GetServiceSettingCommand.ts +++ b/clients/client-ssm/commands/GetServiceSettingCommand.ts @@ -41,7 +41,6 @@ export class GetServiceSettingCommand extends $Command< GetServiceSettingCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class GetServiceSettingCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/LabelParameterVersionCommand.ts b/clients/client-ssm/commands/LabelParameterVersionCommand.ts index f9fb67f610c52..214eca3ff792b 100644 --- a/clients/client-ssm/commands/LabelParameterVersionCommand.ts +++ b/clients/client-ssm/commands/LabelParameterVersionCommand.ts @@ -64,7 +64,6 @@ export class LabelParameterVersionCommand extends $Command< LabelParameterVersionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class LabelParameterVersionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListAssociationVersionsCommand.ts b/clients/client-ssm/commands/ListAssociationVersionsCommand.ts index d6b63b0bce64d..bbae850236615 100644 --- a/clients/client-ssm/commands/ListAssociationVersionsCommand.ts +++ b/clients/client-ssm/commands/ListAssociationVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListAssociationVersionsCommand extends $Command< ListAssociationVersionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAssociationVersionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListAssociationsCommand.ts b/clients/client-ssm/commands/ListAssociationsCommand.ts index c83a5a5d09eb6..995b24af79992 100644 --- a/clients/client-ssm/commands/ListAssociationsCommand.ts +++ b/clients/client-ssm/commands/ListAssociationsCommand.ts @@ -30,7 +30,6 @@ export class ListAssociationsCommand extends $Command< ListAssociationsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAssociationsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListCommandInvocationsCommand.ts b/clients/client-ssm/commands/ListCommandInvocationsCommand.ts index 8ae6498733a6a..3bb065c487e20 100644 --- a/clients/client-ssm/commands/ListCommandInvocationsCommand.ts +++ b/clients/client-ssm/commands/ListCommandInvocationsCommand.ts @@ -31,7 +31,6 @@ export class ListCommandInvocationsCommand extends $Command< ListCommandInvocationsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListCommandInvocationsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListCommandsCommand.ts b/clients/client-ssm/commands/ListCommandsCommand.ts index 2712b64decedb..4e9f7d4096b10 100644 --- a/clients/client-ssm/commands/ListCommandsCommand.ts +++ b/clients/client-ssm/commands/ListCommandsCommand.ts @@ -28,7 +28,6 @@ export class ListCommandsCommand extends $Command< ListCommandsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListCommandsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListComplianceItemsCommand.ts b/clients/client-ssm/commands/ListComplianceItemsCommand.ts index 761d52d60f9fe..2cf8a766328c4 100644 --- a/clients/client-ssm/commands/ListComplianceItemsCommand.ts +++ b/clients/client-ssm/commands/ListComplianceItemsCommand.ts @@ -30,7 +30,6 @@ export class ListComplianceItemsCommand extends $Command< ListComplianceItemsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListComplianceItemsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListComplianceSummariesCommand.ts b/clients/client-ssm/commands/ListComplianceSummariesCommand.ts index 53106f93b0e84..bfcc01675c396 100644 --- a/clients/client-ssm/commands/ListComplianceSummariesCommand.ts +++ b/clients/client-ssm/commands/ListComplianceSummariesCommand.ts @@ -30,7 +30,6 @@ export class ListComplianceSummariesCommand extends $Command< ListComplianceSummariesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListComplianceSummariesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListDocumentVersionsCommand.ts b/clients/client-ssm/commands/ListDocumentVersionsCommand.ts index b98a3175d9af0..88d04c57f40cf 100644 --- a/clients/client-ssm/commands/ListDocumentVersionsCommand.ts +++ b/clients/client-ssm/commands/ListDocumentVersionsCommand.ts @@ -28,7 +28,6 @@ export class ListDocumentVersionsCommand extends $Command< ListDocumentVersionsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDocumentVersionsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListDocumentsCommand.ts b/clients/client-ssm/commands/ListDocumentsCommand.ts index da3207fc6e002..e316d766ab99d 100644 --- a/clients/client-ssm/commands/ListDocumentsCommand.ts +++ b/clients/client-ssm/commands/ListDocumentsCommand.ts @@ -29,7 +29,6 @@ export class ListDocumentsCommand extends $Command< ListDocumentsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListDocumentsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListInventoryEntriesCommand.ts b/clients/client-ssm/commands/ListInventoryEntriesCommand.ts index 8762eee13b34c..bf804a022628b 100644 --- a/clients/client-ssm/commands/ListInventoryEntriesCommand.ts +++ b/clients/client-ssm/commands/ListInventoryEntriesCommand.ts @@ -28,7 +28,6 @@ export class ListInventoryEntriesCommand extends $Command< ListInventoryEntriesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInventoryEntriesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListOpsMetadataCommand.ts b/clients/client-ssm/commands/ListOpsMetadataCommand.ts index d311003df6864..84c4efe721bda 100644 --- a/clients/client-ssm/commands/ListOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/ListOpsMetadataCommand.ts @@ -29,7 +29,6 @@ export class ListOpsMetadataCommand extends $Command< ListOpsMetadataCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListOpsMetadataCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts b/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts index de907b8bdb626..1b2fc26e9a5f0 100644 --- a/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts +++ b/clients/client-ssm/commands/ListResourceComplianceSummariesCommand.ts @@ -30,7 +30,6 @@ export class ListResourceComplianceSummariesCommand extends $Command< ListResourceComplianceSummariesCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListResourceComplianceSummariesCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListResourceDataSyncCommand.ts b/clients/client-ssm/commands/ListResourceDataSyncCommand.ts index 3f227c9028d19..36184d323c7b4 100644 --- a/clients/client-ssm/commands/ListResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/ListResourceDataSyncCommand.ts @@ -36,7 +36,6 @@ export class ListResourceDataSyncCommand extends $Command< ListResourceDataSyncCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListResourceDataSyncCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ListTagsForResourceCommand.ts b/clients/client-ssm/commands/ListTagsForResourceCommand.ts index 3c267c71f329e..a31fe528eb2f4 100644 --- a/clients/client-ssm/commands/ListTagsForResourceCommand.ts +++ b/clients/client-ssm/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts b/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts index 280ff3a26907c..c77e7c0e383f0 100644 --- a/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts +++ b/clients/client-ssm/commands/ModifyDocumentPermissionCommand.ts @@ -30,7 +30,6 @@ export class ModifyDocumentPermissionCommand extends $Command< ModifyDocumentPermissionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyDocumentPermissionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/PutComplianceItemsCommand.ts b/clients/client-ssm/commands/PutComplianceItemsCommand.ts index b3bc3478f17df..cc24e72aa3884 100644 --- a/clients/client-ssm/commands/PutComplianceItemsCommand.ts +++ b/clients/client-ssm/commands/PutComplianceItemsCommand.ts @@ -83,7 +83,6 @@ export class PutComplianceItemsCommand extends $Command< PutComplianceItemsCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -101,10 +100,7 @@ export class PutComplianceItemsCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/PutInventoryCommand.ts b/clients/client-ssm/commands/PutInventoryCommand.ts index 185c9787ac3f2..13ea9d2cbb380 100644 --- a/clients/client-ssm/commands/PutInventoryCommand.ts +++ b/clients/client-ssm/commands/PutInventoryCommand.ts @@ -29,7 +29,6 @@ export class PutInventoryCommand extends $Command< PutInventoryCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutInventoryCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/PutParameterCommand.ts b/clients/client-ssm/commands/PutParameterCommand.ts index 70794b4ad0d05..e93e3d3908115 100644 --- a/clients/client-ssm/commands/PutParameterCommand.ts +++ b/clients/client-ssm/commands/PutParameterCommand.ts @@ -28,7 +28,6 @@ export class PutParameterCommand extends $Command< PutParameterCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutParameterCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts b/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts index 2fe418fe21b6f..f250e710056eb 100644 --- a/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts +++ b/clients/client-ssm/commands/RegisterDefaultPatchBaselineCommand.ts @@ -32,7 +32,6 @@ export class RegisterDefaultPatchBaselineCommand extends $Command< RegisterDefaultPatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RegisterDefaultPatchBaselineCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts b/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts index 51ffebf13b4c3..d9068450af64d 100644 --- a/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts +++ b/clients/client-ssm/commands/RegisterPatchBaselineForPatchGroupCommand.ts @@ -32,7 +32,6 @@ export class RegisterPatchBaselineForPatchGroupCommand extends $Command< RegisterPatchBaselineForPatchGroupCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RegisterPatchBaselineForPatchGroupCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts b/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts index aa2b60651899a..1f016098fd591 100644 --- a/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/RegisterTargetWithMaintenanceWindowCommand.ts @@ -32,7 +32,6 @@ export class RegisterTargetWithMaintenanceWindowCommand extends $Command< RegisterTargetWithMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RegisterTargetWithMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts b/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts index bb766e12f9a7c..8334aaa864bcf 100644 --- a/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/RegisterTaskWithMaintenanceWindowCommand.ts @@ -28,7 +28,6 @@ export class RegisterTaskWithMaintenanceWindowCommand extends $Command< RegisterTaskWithMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RegisterTaskWithMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts b/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts index 92acd1d978883..83698224a3122 100644 --- a/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-ssm/commands/RemoveTagsFromResourceCommand.ts @@ -28,7 +28,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ResetServiceSettingCommand.ts b/clients/client-ssm/commands/ResetServiceSettingCommand.ts index 4a55167fd0e19..12efb6bc770e8 100644 --- a/clients/client-ssm/commands/ResetServiceSettingCommand.ts +++ b/clients/client-ssm/commands/ResetServiceSettingCommand.ts @@ -42,7 +42,6 @@ export class ResetServiceSettingCommand extends $Command< ResetServiceSettingCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class ResetServiceSettingCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/ResumeSessionCommand.ts b/clients/client-ssm/commands/ResumeSessionCommand.ts index 2463ea7ce044e..478b351c37409 100644 --- a/clients/client-ssm/commands/ResumeSessionCommand.ts +++ b/clients/client-ssm/commands/ResumeSessionCommand.ts @@ -33,7 +33,6 @@ export class ResumeSessionCommand extends $Command< ResumeSessionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ResumeSessionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/SendAutomationSignalCommand.ts b/clients/client-ssm/commands/SendAutomationSignalCommand.ts index 2550b70646208..82ece0ecbbfb4 100644 --- a/clients/client-ssm/commands/SendAutomationSignalCommand.ts +++ b/clients/client-ssm/commands/SendAutomationSignalCommand.ts @@ -29,7 +29,6 @@ export class SendAutomationSignalCommand extends $Command< SendAutomationSignalCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SendAutomationSignalCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/SendCommandCommand.ts b/clients/client-ssm/commands/SendCommandCommand.ts index f0fa9dddad97f..6a5f68cb24b27 100644 --- a/clients/client-ssm/commands/SendCommandCommand.ts +++ b/clients/client-ssm/commands/SendCommandCommand.ts @@ -28,7 +28,6 @@ export class SendCommandCommand extends $Command< SendCommandCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SendCommandCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/StartAssociationsOnceCommand.ts b/clients/client-ssm/commands/StartAssociationsOnceCommand.ts index d23f51da69641..7fc3a95e95843 100644 --- a/clients/client-ssm/commands/StartAssociationsOnceCommand.ts +++ b/clients/client-ssm/commands/StartAssociationsOnceCommand.ts @@ -29,7 +29,6 @@ export class StartAssociationsOnceCommand extends $Command< StartAssociationsOnceCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class StartAssociationsOnceCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/StartAutomationExecutionCommand.ts b/clients/client-ssm/commands/StartAutomationExecutionCommand.ts index 9408187ea7f75..1df4291f061df 100644 --- a/clients/client-ssm/commands/StartAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/StartAutomationExecutionCommand.ts @@ -28,7 +28,6 @@ export class StartAutomationExecutionCommand extends $Command< StartAutomationExecutionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartAutomationExecutionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/StartSessionCommand.ts b/clients/client-ssm/commands/StartSessionCommand.ts index 2f8d0f72944d5..b95e71351cc2a 100644 --- a/clients/client-ssm/commands/StartSessionCommand.ts +++ b/clients/client-ssm/commands/StartSessionCommand.ts @@ -37,7 +37,6 @@ export class StartSessionCommand extends $Command< StartSessionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class StartSessionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/StopAutomationExecutionCommand.ts b/clients/client-ssm/commands/StopAutomationExecutionCommand.ts index 04ff1d01e92d7..d65f9e35d7532 100644 --- a/clients/client-ssm/commands/StopAutomationExecutionCommand.ts +++ b/clients/client-ssm/commands/StopAutomationExecutionCommand.ts @@ -28,7 +28,6 @@ export class StopAutomationExecutionCommand extends $Command< StopAutomationExecutionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StopAutomationExecutionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/TerminateSessionCommand.ts b/clients/client-ssm/commands/TerminateSessionCommand.ts index 4d3c710052af2..76a69618a3b2c 100644 --- a/clients/client-ssm/commands/TerminateSessionCommand.ts +++ b/clients/client-ssm/commands/TerminateSessionCommand.ts @@ -29,7 +29,6 @@ export class TerminateSessionCommand extends $Command< TerminateSessionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TerminateSessionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateAssociationCommand.ts b/clients/client-ssm/commands/UpdateAssociationCommand.ts index 91e7de886bec6..c1823ee6f9ab6 100644 --- a/clients/client-ssm/commands/UpdateAssociationCommand.ts +++ b/clients/client-ssm/commands/UpdateAssociationCommand.ts @@ -40,7 +40,6 @@ export class UpdateAssociationCommand extends $Command< UpdateAssociationCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class UpdateAssociationCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts b/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts index 2dc2e2c3235e2..f8fb67d915c33 100644 --- a/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts +++ b/clients/client-ssm/commands/UpdateAssociationStatusCommand.ts @@ -28,7 +28,6 @@ export class UpdateAssociationStatusCommand extends $Command< UpdateAssociationStatusCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAssociationStatusCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateDocumentCommand.ts b/clients/client-ssm/commands/UpdateDocumentCommand.ts index d7231bda9974f..ba7418f3a1d60 100644 --- a/clients/client-ssm/commands/UpdateDocumentCommand.ts +++ b/clients/client-ssm/commands/UpdateDocumentCommand.ts @@ -28,7 +28,6 @@ export class UpdateDocumentCommand extends $Command< UpdateDocumentCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDocumentCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts b/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts index 66b517af65b14..5b7fa3c596ff2 100644 --- a/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts +++ b/clients/client-ssm/commands/UpdateDocumentDefaultVersionCommand.ts @@ -28,7 +28,6 @@ export class UpdateDocumentDefaultVersionCommand extends $Command< UpdateDocumentDefaultVersionCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDocumentDefaultVersionCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts index 2f1259317ed79..ce74b460d6f16 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowCommand.ts @@ -36,7 +36,6 @@ export class UpdateMaintenanceWindowCommand extends $Command< UpdateMaintenanceWindowCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateMaintenanceWindowCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts index 4eac9f1d1cb18..2c26118671ddc 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowTargetCommand.ts @@ -54,7 +54,6 @@ export class UpdateMaintenanceWindowTargetCommand extends $Command< UpdateMaintenanceWindowTargetCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class UpdateMaintenanceWindowTargetCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts b/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts index 703791be2be06..18da08063d485 100644 --- a/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts +++ b/clients/client-ssm/commands/UpdateMaintenanceWindowTaskCommand.ts @@ -64,7 +64,6 @@ export class UpdateMaintenanceWindowTaskCommand extends $Command< UpdateMaintenanceWindowTaskCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,10 +81,7 @@ export class UpdateMaintenanceWindowTaskCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts b/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts index b14674721fff9..949ad048d0c17 100644 --- a/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts +++ b/clients/client-ssm/commands/UpdateManagedInstanceRoleCommand.ts @@ -30,7 +30,6 @@ export class UpdateManagedInstanceRoleCommand extends $Command< UpdateManagedInstanceRoleCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateManagedInstanceRoleCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateOpsItemCommand.ts b/clients/client-ssm/commands/UpdateOpsItemCommand.ts index 093c352a6be4a..c0a060e12a450 100644 --- a/clients/client-ssm/commands/UpdateOpsItemCommand.ts +++ b/clients/client-ssm/commands/UpdateOpsItemCommand.ts @@ -34,7 +34,6 @@ export class UpdateOpsItemCommand extends $Command< UpdateOpsItemCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateOpsItemCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts b/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts index b43473823bd18..02fa14e0c4ae5 100644 --- a/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts +++ b/clients/client-ssm/commands/UpdateOpsMetadataCommand.ts @@ -28,7 +28,6 @@ export class UpdateOpsMetadataCommand extends $Command< UpdateOpsMetadataCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateOpsMetadataCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts b/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts index 2164b6b7c2e1b..93cc2ea15dfaa 100644 --- a/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts +++ b/clients/client-ssm/commands/UpdatePatchBaselineCommand.ts @@ -33,7 +33,6 @@ export class UpdatePatchBaselineCommand extends $Command< UpdatePatchBaselineCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdatePatchBaselineCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts b/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts index 4230713044d50..6a62ece166945 100644 --- a/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts +++ b/clients/client-ssm/commands/UpdateResourceDataSyncCommand.ts @@ -36,7 +36,6 @@ export class UpdateResourceDataSyncCommand extends $Command< UpdateResourceDataSyncCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateResourceDataSyncCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-ssm/commands/UpdateServiceSettingCommand.ts b/clients/client-ssm/commands/UpdateServiceSettingCommand.ts index 6a2baad6a0918..f5b6f95244c59 100644 --- a/clients/client-ssm/commands/UpdateServiceSettingCommand.ts +++ b/clients/client-ssm/commands/UpdateServiceSettingCommand.ts @@ -41,7 +41,6 @@ export class UpdateServiceSettingCommand extends $Command< UpdateServiceSettingCommandOutput, SSMClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class UpdateServiceSettingCommand extends $Command< configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/AttachManagedPolicyToPermissionSetCommand.ts b/clients/client-sso-admin/commands/AttachManagedPolicyToPermissionSetCommand.ts index 69a3515cf5683..50bc63ca613f6 100644 --- a/clients/client-sso-admin/commands/AttachManagedPolicyToPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/AttachManagedPolicyToPermissionSetCommand.ts @@ -37,7 +37,6 @@ export class AttachManagedPolicyToPermissionSetCommand extends $Command< AttachManagedPolicyToPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class AttachManagedPolicyToPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/CreateAccountAssignmentCommand.ts b/clients/client-sso-admin/commands/CreateAccountAssignmentCommand.ts index 2e06c1bb723f1..851859549385d 100644 --- a/clients/client-sso-admin/commands/CreateAccountAssignmentCommand.ts +++ b/clients/client-sso-admin/commands/CreateAccountAssignmentCommand.ts @@ -37,7 +37,6 @@ export class CreateAccountAssignmentCommand extends $Command< CreateAccountAssignmentCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateAccountAssignmentCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/CreateInstanceAccessControlAttributeConfigurationCommand.ts b/clients/client-sso-admin/commands/CreateInstanceAccessControlAttributeConfigurationCommand.ts index 2bc0184db1be2..56d4523ac5a13 100644 --- a/clients/client-sso-admin/commands/CreateInstanceAccessControlAttributeConfigurationCommand.ts +++ b/clients/client-sso-admin/commands/CreateInstanceAccessControlAttributeConfigurationCommand.ts @@ -32,7 +32,6 @@ export class CreateInstanceAccessControlAttributeConfigurationCommand extends $C CreateInstanceAccessControlAttributeConfigurationCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateInstanceAccessControlAttributeConfigurationCommand extends $C CreateInstanceAccessControlAttributeConfigurationCommandInput, CreateInstanceAccessControlAttributeConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/CreatePermissionSetCommand.ts b/clients/client-sso-admin/commands/CreatePermissionSetCommand.ts index 6c91fd0aab94d..42e151a25f879 100644 --- a/clients/client-sso-admin/commands/CreatePermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/CreatePermissionSetCommand.ts @@ -33,7 +33,6 @@ export class CreatePermissionSetCommand extends $Command< CreatePermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class CreatePermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DeleteAccountAssignmentCommand.ts b/clients/client-sso-admin/commands/DeleteAccountAssignmentCommand.ts index 71635b3a2abbf..90407590293da 100644 --- a/clients/client-sso-admin/commands/DeleteAccountAssignmentCommand.ts +++ b/clients/client-sso-admin/commands/DeleteAccountAssignmentCommand.ts @@ -29,7 +29,6 @@ export class DeleteAccountAssignmentCommand extends $Command< DeleteAccountAssignmentCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAccountAssignmentCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DeleteInlinePolicyFromPermissionSetCommand.ts b/clients/client-sso-admin/commands/DeleteInlinePolicyFromPermissionSetCommand.ts index 347d2c1c3dfdf..4a8b2076c8362 100644 --- a/clients/client-sso-admin/commands/DeleteInlinePolicyFromPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/DeleteInlinePolicyFromPermissionSetCommand.ts @@ -32,7 +32,6 @@ export class DeleteInlinePolicyFromPermissionSetCommand extends $Command< DeleteInlinePolicyFromPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteInlinePolicyFromPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.ts b/clients/client-sso-admin/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.ts index 9cf9b7bbe4114..2dff7785ab109 100644 --- a/clients/client-sso-admin/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.ts +++ b/clients/client-sso-admin/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DeleteInstanceAccessControlAttributeConfigurationCommand extends $C DeleteInstanceAccessControlAttributeConfigurationCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DeleteInstanceAccessControlAttributeConfigurationCommand extends $C DeleteInstanceAccessControlAttributeConfigurationCommandInput, DeleteInstanceAccessControlAttributeConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DeletePermissionSetCommand.ts b/clients/client-sso-admin/commands/DeletePermissionSetCommand.ts index b37dc1b900ebb..a10663670e5d3 100644 --- a/clients/client-sso-admin/commands/DeletePermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/DeletePermissionSetCommand.ts @@ -28,7 +28,6 @@ export class DeletePermissionSetCommand extends $Command< DeletePermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeletePermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DescribeAccountAssignmentCreationStatusCommand.ts b/clients/client-sso-admin/commands/DescribeAccountAssignmentCreationStatusCommand.ts index 15a9a946639ea..8c9deaf50013a 100644 --- a/clients/client-sso-admin/commands/DescribeAccountAssignmentCreationStatusCommand.ts +++ b/clients/client-sso-admin/commands/DescribeAccountAssignmentCreationStatusCommand.ts @@ -32,7 +32,6 @@ export class DescribeAccountAssignmentCreationStatusCommand extends $Command< DescribeAccountAssignmentCreationStatusCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeAccountAssignmentCreationStatusCommand extends $Command< DescribeAccountAssignmentCreationStatusCommandInput, DescribeAccountAssignmentCreationStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DescribeAccountAssignmentDeletionStatusCommand.ts b/clients/client-sso-admin/commands/DescribeAccountAssignmentDeletionStatusCommand.ts index 66da1853abc64..439d695f87c7d 100644 --- a/clients/client-sso-admin/commands/DescribeAccountAssignmentDeletionStatusCommand.ts +++ b/clients/client-sso-admin/commands/DescribeAccountAssignmentDeletionStatusCommand.ts @@ -32,7 +32,6 @@ export class DescribeAccountAssignmentDeletionStatusCommand extends $Command< DescribeAccountAssignmentDeletionStatusCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeAccountAssignmentDeletionStatusCommand extends $Command< DescribeAccountAssignmentDeletionStatusCommandInput, DescribeAccountAssignmentDeletionStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.ts b/clients/client-sso-admin/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.ts index 18c81874aee33..564f2a96c7a39 100644 --- a/clients/client-sso-admin/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.ts +++ b/clients/client-sso-admin/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DescribeInstanceAccessControlAttributeConfigurationCommand extends DescribeInstanceAccessControlAttributeConfigurationCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeInstanceAccessControlAttributeConfigurationCommand extends DescribeInstanceAccessControlAttributeConfigurationCommandInput, DescribeInstanceAccessControlAttributeConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DescribePermissionSetCommand.ts b/clients/client-sso-admin/commands/DescribePermissionSetCommand.ts index faa4bafc7755d..b18b913fdcf6e 100644 --- a/clients/client-sso-admin/commands/DescribePermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/DescribePermissionSetCommand.ts @@ -28,7 +28,6 @@ export class DescribePermissionSetCommand extends $Command< DescribePermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribePermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DescribePermissionSetProvisioningStatusCommand.ts b/clients/client-sso-admin/commands/DescribePermissionSetProvisioningStatusCommand.ts index 3899a28490576..906f44dd8df94 100644 --- a/clients/client-sso-admin/commands/DescribePermissionSetProvisioningStatusCommand.ts +++ b/clients/client-sso-admin/commands/DescribePermissionSetProvisioningStatusCommand.ts @@ -32,7 +32,6 @@ export class DescribePermissionSetProvisioningStatusCommand extends $Command< DescribePermissionSetProvisioningStatusCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribePermissionSetProvisioningStatusCommand extends $Command< DescribePermissionSetProvisioningStatusCommandInput, DescribePermissionSetProvisioningStatusCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/DetachManagedPolicyFromPermissionSetCommand.ts b/clients/client-sso-admin/commands/DetachManagedPolicyFromPermissionSetCommand.ts index c7ffd41040452..4bcd71c793983 100644 --- a/clients/client-sso-admin/commands/DetachManagedPolicyFromPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/DetachManagedPolicyFromPermissionSetCommand.ts @@ -32,7 +32,6 @@ export class DetachManagedPolicyFromPermissionSetCommand extends $Command< DetachManagedPolicyFromPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DetachManagedPolicyFromPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/GetInlinePolicyForPermissionSetCommand.ts b/clients/client-sso-admin/commands/GetInlinePolicyForPermissionSetCommand.ts index 9d378ea3bb4de..43932ad3f83d8 100644 --- a/clients/client-sso-admin/commands/GetInlinePolicyForPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/GetInlinePolicyForPermissionSetCommand.ts @@ -28,7 +28,6 @@ export class GetInlinePolicyForPermissionSetCommand extends $Command< GetInlinePolicyForPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInlinePolicyForPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListAccountAssignmentCreationStatusCommand.ts b/clients/client-sso-admin/commands/ListAccountAssignmentCreationStatusCommand.ts index 0ac9b7732c81c..9ba47b7c6d5fe 100644 --- a/clients/client-sso-admin/commands/ListAccountAssignmentCreationStatusCommand.ts +++ b/clients/client-sso-admin/commands/ListAccountAssignmentCreationStatusCommand.ts @@ -33,7 +33,6 @@ export class ListAccountAssignmentCreationStatusCommand extends $Command< ListAccountAssignmentCreationStatusCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListAccountAssignmentCreationStatusCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListAccountAssignmentDeletionStatusCommand.ts b/clients/client-sso-admin/commands/ListAccountAssignmentDeletionStatusCommand.ts index 67cd1191a6f53..5e71f34a62713 100644 --- a/clients/client-sso-admin/commands/ListAccountAssignmentDeletionStatusCommand.ts +++ b/clients/client-sso-admin/commands/ListAccountAssignmentDeletionStatusCommand.ts @@ -33,7 +33,6 @@ export class ListAccountAssignmentDeletionStatusCommand extends $Command< ListAccountAssignmentDeletionStatusCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListAccountAssignmentDeletionStatusCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListAccountAssignmentsCommand.ts b/clients/client-sso-admin/commands/ListAccountAssignmentsCommand.ts index b7bdb75b16bdf..06c837813fc5a 100644 --- a/clients/client-sso-admin/commands/ListAccountAssignmentsCommand.ts +++ b/clients/client-sso-admin/commands/ListAccountAssignmentsCommand.ts @@ -29,7 +29,6 @@ export class ListAccountAssignmentsCommand extends $Command< ListAccountAssignmentsCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListAccountAssignmentsCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListAccountsForProvisionedPermissionSetCommand.ts b/clients/client-sso-admin/commands/ListAccountsForProvisionedPermissionSetCommand.ts index 95332269694cb..a553e1a0cb2e2 100644 --- a/clients/client-sso-admin/commands/ListAccountsForProvisionedPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/ListAccountsForProvisionedPermissionSetCommand.ts @@ -32,7 +32,6 @@ export class ListAccountsForProvisionedPermissionSetCommand extends $Command< ListAccountsForProvisionedPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListAccountsForProvisionedPermissionSetCommand extends $Command< ListAccountsForProvisionedPermissionSetCommandInput, ListAccountsForProvisionedPermissionSetCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListInstancesCommand.ts b/clients/client-sso-admin/commands/ListInstancesCommand.ts index 6b9251eeec618..b295ef86743f5 100644 --- a/clients/client-sso-admin/commands/ListInstancesCommand.ts +++ b/clients/client-sso-admin/commands/ListInstancesCommand.ts @@ -28,7 +28,6 @@ export class ListInstancesCommand extends $Command< ListInstancesCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListInstancesCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListManagedPoliciesInPermissionSetCommand.ts b/clients/client-sso-admin/commands/ListManagedPoliciesInPermissionSetCommand.ts index ba8045094376c..9a048ac7696a8 100644 --- a/clients/client-sso-admin/commands/ListManagedPoliciesInPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/ListManagedPoliciesInPermissionSetCommand.ts @@ -32,7 +32,6 @@ export class ListManagedPoliciesInPermissionSetCommand extends $Command< ListManagedPoliciesInPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListManagedPoliciesInPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListPermissionSetProvisioningStatusCommand.ts b/clients/client-sso-admin/commands/ListPermissionSetProvisioningStatusCommand.ts index 4482e099c48be..a232a0e1cd6cb 100644 --- a/clients/client-sso-admin/commands/ListPermissionSetProvisioningStatusCommand.ts +++ b/clients/client-sso-admin/commands/ListPermissionSetProvisioningStatusCommand.ts @@ -33,7 +33,6 @@ export class ListPermissionSetProvisioningStatusCommand extends $Command< ListPermissionSetProvisioningStatusCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListPermissionSetProvisioningStatusCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListPermissionSetsCommand.ts b/clients/client-sso-admin/commands/ListPermissionSetsCommand.ts index 525408de47764..ed47f6bb44b1b 100644 --- a/clients/client-sso-admin/commands/ListPermissionSetsCommand.ts +++ b/clients/client-sso-admin/commands/ListPermissionSetsCommand.ts @@ -28,7 +28,6 @@ export class ListPermissionSetsCommand extends $Command< ListPermissionSetsCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListPermissionSetsCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListPermissionSetsProvisionedToAccountCommand.ts b/clients/client-sso-admin/commands/ListPermissionSetsProvisionedToAccountCommand.ts index 2a64f84c3c8bc..9a4051a0b0687 100644 --- a/clients/client-sso-admin/commands/ListPermissionSetsProvisionedToAccountCommand.ts +++ b/clients/client-sso-admin/commands/ListPermissionSetsProvisionedToAccountCommand.ts @@ -32,7 +32,6 @@ export class ListPermissionSetsProvisionedToAccountCommand extends $Command< ListPermissionSetsProvisionedToAccountCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListPermissionSetsProvisionedToAccountCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ListTagsForResourceCommand.ts b/clients/client-sso-admin/commands/ListTagsForResourceCommand.ts index a34c531f91389..9eea50ff44f6f 100644 --- a/clients/client-sso-admin/commands/ListTagsForResourceCommand.ts +++ b/clients/client-sso-admin/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/ProvisionPermissionSetCommand.ts b/clients/client-sso-admin/commands/ProvisionPermissionSetCommand.ts index 9310270e45d82..df36d03061e44 100644 --- a/clients/client-sso-admin/commands/ProvisionPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/ProvisionPermissionSetCommand.ts @@ -28,7 +28,6 @@ export class ProvisionPermissionSetCommand extends $Command< ProvisionPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ProvisionPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/PutInlinePolicyToPermissionSetCommand.ts b/clients/client-sso-admin/commands/PutInlinePolicyToPermissionSetCommand.ts index ea8d4f4e61058..274923e66b315 100644 --- a/clients/client-sso-admin/commands/PutInlinePolicyToPermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/PutInlinePolicyToPermissionSetCommand.ts @@ -33,7 +33,6 @@ export class PutInlinePolicyToPermissionSetCommand extends $Command< PutInlinePolicyToPermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class PutInlinePolicyToPermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/TagResourceCommand.ts b/clients/client-sso-admin/commands/TagResourceCommand.ts index 0e347dd5a34c8..d417419eaf4f0 100644 --- a/clients/client-sso-admin/commands/TagResourceCommand.ts +++ b/clients/client-sso-admin/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/UntagResourceCommand.ts b/clients/client-sso-admin/commands/UntagResourceCommand.ts index 299cf5740e9b2..1068785d3fc84 100644 --- a/clients/client-sso-admin/commands/UntagResourceCommand.ts +++ b/clients/client-sso-admin/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.ts b/clients/client-sso-admin/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.ts index 1632d46cb59d4..c40cc20a90457 100644 --- a/clients/client-sso-admin/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.ts +++ b/clients/client-sso-admin/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.ts @@ -32,7 +32,6 @@ export class UpdateInstanceAccessControlAttributeConfigurationCommand extends $C UpdateInstanceAccessControlAttributeConfigurationCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateInstanceAccessControlAttributeConfigurationCommand extends $C UpdateInstanceAccessControlAttributeConfigurationCommandInput, UpdateInstanceAccessControlAttributeConfigurationCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-admin/commands/UpdatePermissionSetCommand.ts b/clients/client-sso-admin/commands/UpdatePermissionSetCommand.ts index e29a241b8d39e..0be555b090d80 100644 --- a/clients/client-sso-admin/commands/UpdatePermissionSetCommand.ts +++ b/clients/client-sso-admin/commands/UpdatePermissionSetCommand.ts @@ -28,7 +28,6 @@ export class UpdatePermissionSetCommand extends $Command< UpdatePermissionSetCommandOutput, SSOAdminClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdatePermissionSetCommand extends $Command< configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-oidc/commands/CreateTokenCommand.ts b/clients/client-sso-oidc/commands/CreateTokenCommand.ts index 7aab1d919b1e8..f67b296a788a3 100644 --- a/clients/client-sso-oidc/commands/CreateTokenCommand.ts +++ b/clients/client-sso-oidc/commands/CreateTokenCommand.ts @@ -30,7 +30,6 @@ export class CreateTokenCommand extends $Command< CreateTokenCommandOutput, SSOOIDCClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateTokenCommand extends $Command< configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-oidc/commands/RegisterClientCommand.ts b/clients/client-sso-oidc/commands/RegisterClientCommand.ts index ed85c29a6f9d5..4e1cb9fe5c7f9 100644 --- a/clients/client-sso-oidc/commands/RegisterClientCommand.ts +++ b/clients/client-sso-oidc/commands/RegisterClientCommand.ts @@ -29,7 +29,6 @@ export class RegisterClientCommand extends $Command< RegisterClientCommandOutput, SSOOIDCClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RegisterClientCommand extends $Command< configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts b/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts index edd14457b482d..8d6f9e1b7b4e1 100644 --- a/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts +++ b/clients/client-sso-oidc/commands/StartDeviceAuthorizationCommand.ts @@ -28,7 +28,6 @@ export class StartDeviceAuthorizationCommand extends $Command< StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartDeviceAuthorizationCommand extends $Command< configuration: SSOOIDCClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso/commands/GetRoleCredentialsCommand.ts b/clients/client-sso/commands/GetRoleCredentialsCommand.ts index bbea6c074fc0a..9feac34b3489c 100644 --- a/clients/client-sso/commands/GetRoleCredentialsCommand.ts +++ b/clients/client-sso/commands/GetRoleCredentialsCommand.ts @@ -29,7 +29,6 @@ export class GetRoleCredentialsCommand extends $Command< GetRoleCredentialsCommandOutput, SSOClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetRoleCredentialsCommand extends $Command< configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso/commands/ListAccountRolesCommand.ts b/clients/client-sso/commands/ListAccountRolesCommand.ts index 24ae34f11da9d..1729397653087 100644 --- a/clients/client-sso/commands/ListAccountRolesCommand.ts +++ b/clients/client-sso/commands/ListAccountRolesCommand.ts @@ -28,7 +28,6 @@ export class ListAccountRolesCommand extends $Command< ListAccountRolesCommandOutput, SSOClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAccountRolesCommand extends $Command< configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso/commands/ListAccountsCommand.ts b/clients/client-sso/commands/ListAccountsCommand.ts index d9604166303dc..6cc3734f229e0 100644 --- a/clients/client-sso/commands/ListAccountsCommand.ts +++ b/clients/client-sso/commands/ListAccountsCommand.ts @@ -30,7 +30,6 @@ export class ListAccountsCommand extends $Command< ListAccountsCommandOutput, SSOClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListAccountsCommand extends $Command< configuration: SSOClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sso/commands/LogoutCommand.ts b/clients/client-sso/commands/LogoutCommand.ts index 428ac6783afd6..6487afe8179dc 100644 --- a/clients/client-sso/commands/LogoutCommand.ts +++ b/clients/client-sso/commands/LogoutCommand.ts @@ -21,7 +21,6 @@ export type LogoutCommandOutput = __MetadataBearer; *

Removes the client- and server-side session that is associated with the user.

*/ export class LogoutCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -39,10 +38,7 @@ export class LogoutCommand 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-storage-gateway/commands/ActivateGatewayCommand.ts b/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts index fdcdf41a8984a..6fedd59b37836 100644 --- a/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/ActivateGatewayCommand.ts @@ -35,7 +35,6 @@ export class ActivateGatewayCommand extends $Command< ActivateGatewayCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ActivateGatewayCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/AddCacheCommand.ts b/clients/client-storage-gateway/commands/AddCacheCommand.ts index bb5ebe566bca4..6f5ba80e32209 100644 --- a/clients/client-storage-gateway/commands/AddCacheCommand.ts +++ b/clients/client-storage-gateway/commands/AddCacheCommand.ts @@ -29,7 +29,6 @@ export class AddCacheCommand extends $Command< AddCacheCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class AddCacheCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts b/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts index 9faba04f316d8..8c3a49d86ce34 100644 --- a/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts +++ b/clients/client-storage-gateway/commands/AddTagsToResourceCommand.ts @@ -49,7 +49,6 @@ export class AddTagsToResourceCommand extends $Command< AddTagsToResourceCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class AddTagsToResourceCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts b/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts index 1018545c39dc6..557a010a230ec 100644 --- a/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts +++ b/clients/client-storage-gateway/commands/AddUploadBufferCommand.ts @@ -34,7 +34,6 @@ export class AddUploadBufferCommand extends $Command< AddUploadBufferCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AddUploadBufferCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts b/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts index 64374b9f889f1..326f9c54f583e 100644 --- a/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts +++ b/clients/client-storage-gateway/commands/AddWorkingStorageCommand.ts @@ -40,7 +40,6 @@ export class AddWorkingStorageCommand extends $Command< AddWorkingStorageCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class AddWorkingStorageCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts b/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts index bc595885bd0b1..1841c0245155b 100644 --- a/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts +++ b/clients/client-storage-gateway/commands/AssignTapePoolCommand.ts @@ -34,7 +34,6 @@ export class AssignTapePoolCommand extends $Command< AssignTapePoolCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class AssignTapePoolCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/AttachVolumeCommand.ts b/clients/client-storage-gateway/commands/AttachVolumeCommand.ts index 9a862340bc251..92598550aa489 100644 --- a/clients/client-storage-gateway/commands/AttachVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/AttachVolumeCommand.ts @@ -31,7 +31,6 @@ export class AttachVolumeCommand extends $Command< AttachVolumeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AttachVolumeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CancelArchivalCommand.ts b/clients/client-storage-gateway/commands/CancelArchivalCommand.ts index 85acd2cc27eb6..09f418a42ca0a 100644 --- a/clients/client-storage-gateway/commands/CancelArchivalCommand.ts +++ b/clients/client-storage-gateway/commands/CancelArchivalCommand.ts @@ -29,7 +29,6 @@ export class CancelArchivalCommand extends $Command< CancelArchivalCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CancelArchivalCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts b/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts index ef1a54d88ce8b..a9b88c182ac46 100644 --- a/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts +++ b/clients/client-storage-gateway/commands/CancelRetrievalCommand.ts @@ -30,7 +30,6 @@ export class CancelRetrievalCommand extends $Command< CancelRetrievalCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CancelRetrievalCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts b/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts index 57107c499990d..41bdbcd879a75 100644 --- a/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/CreateCachediSCSIVolumeCommand.ts @@ -45,7 +45,6 @@ export class CreateCachediSCSIVolumeCommand extends $Command< CreateCachediSCSIVolumeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class CreateCachediSCSIVolumeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts b/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts index f4df6efd00ebb..a58502357e4ad 100644 --- a/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/CreateNFSFileShareCommand.ts @@ -42,7 +42,6 @@ export class CreateNFSFileShareCommand extends $Command< CreateNFSFileShareCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CreateNFSFileShareCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts b/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts index 3fe0a42ae4ff2..6a65e5d5208c7 100644 --- a/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/CreateSMBFileShareCommand.ts @@ -43,7 +43,6 @@ export class CreateSMBFileShareCommand extends $Command< CreateSMBFileShareCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class CreateSMBFileShareCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts b/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts index 6572dc66b3178..d85134c209018 100644 --- a/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts +++ b/clients/client-storage-gateway/commands/CreateSnapshotCommand.ts @@ -55,7 +55,6 @@ export class CreateSnapshotCommand extends $Command< CreateSnapshotCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CreateSnapshotCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts b/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts index 633bf3a7712ef..28937fb4c9977 100644 --- a/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts +++ b/clients/client-storage-gateway/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts @@ -52,7 +52,6 @@ export class CreateSnapshotFromVolumeRecoveryPointCommand extends $Command< CreateSnapshotFromVolumeRecoveryPointCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class CreateSnapshotFromVolumeRecoveryPointCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts b/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts index 56b0ab45de7d1..7b4b1a5c20f69 100644 --- a/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/CreateStorediSCSIVolumeCommand.ts @@ -39,7 +39,6 @@ export class CreateStorediSCSIVolumeCommand extends $Command< CreateStorediSCSIVolumeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class CreateStorediSCSIVolumeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateTapePoolCommand.ts b/clients/client-storage-gateway/commands/CreateTapePoolCommand.ts index 7bb74b855acc5..6904e94c672e8 100644 --- a/clients/client-storage-gateway/commands/CreateTapePoolCommand.ts +++ b/clients/client-storage-gateway/commands/CreateTapePoolCommand.ts @@ -29,7 +29,6 @@ export class CreateTapePoolCommand extends $Command< CreateTapePoolCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateTapePoolCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts b/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts index 2dbf9b2584dd1..9931368124c31 100644 --- a/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts +++ b/clients/client-storage-gateway/commands/CreateTapeWithBarcodeCommand.ts @@ -36,7 +36,6 @@ export class CreateTapeWithBarcodeCommand extends $Command< CreateTapeWithBarcodeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class CreateTapeWithBarcodeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/CreateTapesCommand.ts b/clients/client-storage-gateway/commands/CreateTapesCommand.ts index 3bb63872dd4d2..13d503d6edcfd 100644 --- a/clients/client-storage-gateway/commands/CreateTapesCommand.ts +++ b/clients/client-storage-gateway/commands/CreateTapesCommand.ts @@ -34,7 +34,6 @@ export class CreateTapesCommand extends $Command< CreateTapesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateTapesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteAutomaticTapeCreationPolicyCommand.ts b/clients/client-storage-gateway/commands/DeleteAutomaticTapeCreationPolicyCommand.ts index 0c1c8cc3d1e36..f5d9cc9b2fb14 100644 --- a/clients/client-storage-gateway/commands/DeleteAutomaticTapeCreationPolicyCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteAutomaticTapeCreationPolicyCommand.ts @@ -30,7 +30,6 @@ export class DeleteAutomaticTapeCreationPolicyCommand extends $Command< DeleteAutomaticTapeCreationPolicyCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteAutomaticTapeCreationPolicyCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts index 6d735e25240b1..b0c56131f12bb 100644 --- a/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteBandwidthRateLimitCommand.ts @@ -32,7 +32,6 @@ export class DeleteBandwidthRateLimitCommand extends $Command< DeleteBandwidthRateLimitCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteBandwidthRateLimitCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts b/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts index b45052c487279..7b4ba37efe904 100644 --- a/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteChapCredentialsCommand.ts @@ -30,7 +30,6 @@ export class DeleteChapCredentialsCommand extends $Command< DeleteChapCredentialsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteChapCredentialsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts b/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts index 7a34655c85ae1..61811f61e9fff 100644 --- a/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteFileShareCommand.ts @@ -29,7 +29,6 @@ export class DeleteFileShareCommand extends $Command< DeleteFileShareCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteFileShareCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts b/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts index e30409816bc0c..a8c898b55c6db 100644 --- a/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteGatewayCommand.ts @@ -45,7 +45,6 @@ export class DeleteGatewayCommand extends $Command< DeleteGatewayCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DeleteGatewayCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts b/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts index 136c05da2c611..6b574dd6df453 100644 --- a/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteSnapshotScheduleCommand.ts @@ -42,7 +42,6 @@ export class DeleteSnapshotScheduleCommand extends $Command< DeleteSnapshotScheduleCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DeleteSnapshotScheduleCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts b/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts index c99782f530072..6b36d3d84d338 100644 --- a/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteTapeArchiveCommand.ts @@ -29,7 +29,6 @@ export class DeleteTapeArchiveCommand extends $Command< DeleteTapeArchiveCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTapeArchiveCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteTapeCommand.ts b/clients/client-storage-gateway/commands/DeleteTapeCommand.ts index c8f6a11914bfb..1e78fc80ac1ed 100644 --- a/clients/client-storage-gateway/commands/DeleteTapeCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteTapeCommand.ts @@ -29,7 +29,6 @@ export class DeleteTapeCommand extends $Command< DeleteTapeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTapeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteTapePoolCommand.ts b/clients/client-storage-gateway/commands/DeleteTapePoolCommand.ts index 65bf2927ba438..03ed6d740d742 100644 --- a/clients/client-storage-gateway/commands/DeleteTapePoolCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteTapePoolCommand.ts @@ -30,7 +30,6 @@ export class DeleteTapePoolCommand extends $Command< DeleteTapePoolCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteTapePoolCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts b/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts index a9ccd73e07b07..b7d7fca5c0bde 100644 --- a/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/DeleteVolumeCommand.ts @@ -40,7 +40,6 @@ export class DeleteVolumeCommand extends $Command< DeleteVolumeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class DeleteVolumeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts b/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts index ee5a5cf001ed4..3de48a3823f23 100644 --- a/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeAvailabilityMonitorTestCommand.ts @@ -30,7 +30,6 @@ export class DescribeAvailabilityMonitorTestCommand extends $Command< DescribeAvailabilityMonitorTestCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeAvailabilityMonitorTestCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts index c66effd196e0d..190944bc50ba3 100644 --- a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitCommand.ts @@ -35,7 +35,6 @@ export class DescribeBandwidthRateLimitCommand extends $Command< DescribeBandwidthRateLimitCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DescribeBandwidthRateLimitCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts index 80d9d0a588458..1a250b4ddd76f 100644 --- a/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeBandwidthRateLimitScheduleCommand.ts @@ -49,7 +49,6 @@ export class DescribeBandwidthRateLimitScheduleCommand extends $Command< DescribeBandwidthRateLimitScheduleCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DescribeBandwidthRateLimitScheduleCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeCacheCommand.ts b/clients/client-storage-gateway/commands/DescribeCacheCommand.ts index 1afcf719fbbb9..8a17546053705 100644 --- a/clients/client-storage-gateway/commands/DescribeCacheCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeCacheCommand.ts @@ -32,7 +32,6 @@ export class DescribeCacheCommand extends $Command< DescribeCacheCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeCacheCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts b/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts index 9be659892382e..31eb483378ccb 100644 --- a/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeCachediSCSIVolumesCommand.ts @@ -33,7 +33,6 @@ export class DescribeCachediSCSIVolumesCommand extends $Command< DescribeCachediSCSIVolumesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeCachediSCSIVolumesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts b/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts index 5892fc68518e0..6aaded89aee57 100644 --- a/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeChapCredentialsCommand.ts @@ -30,7 +30,6 @@ export class DescribeChapCredentialsCommand extends $Command< DescribeChapCredentialsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeChapCredentialsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts b/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts index 0efbd8fb9858e..97f137e5fc6e9 100644 --- a/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeGatewayInformationCommand.ts @@ -30,7 +30,6 @@ export class DescribeGatewayInformationCommand extends $Command< DescribeGatewayInformationCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeGatewayInformationCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts b/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts index b3cf793128f91..821cec91f9181 100644 --- a/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeMaintenanceStartTimeCommand.ts @@ -29,7 +29,6 @@ export class DescribeMaintenanceStartTimeCommand extends $Command< DescribeMaintenanceStartTimeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeMaintenanceStartTimeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts b/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts index 0cf8515f1a3d4..72c29d6ed6d8d 100644 --- a/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeNFSFileSharesCommand.ts @@ -29,7 +29,6 @@ export class DescribeNFSFileSharesCommand extends $Command< DescribeNFSFileSharesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeNFSFileSharesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts b/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts index ed38eaccc600c..1ada3937ddbc9 100644 --- a/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeSMBFileSharesCommand.ts @@ -29,7 +29,6 @@ export class DescribeSMBFileSharesCommand extends $Command< DescribeSMBFileSharesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSMBFileSharesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts b/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts index 7e50520a1e731..beaca3205a767 100644 --- a/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeSMBSettingsCommand.ts @@ -29,7 +29,6 @@ export class DescribeSMBSettingsCommand extends $Command< DescribeSMBSettingsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeSMBSettingsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts b/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts index 4c5e197d8e333..6641fa68a4a0b 100644 --- a/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeSnapshotScheduleCommand.ts @@ -31,7 +31,6 @@ export class DescribeSnapshotScheduleCommand extends $Command< DescribeSnapshotScheduleCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeSnapshotScheduleCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts b/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts index f47f49f819638..0a47462d672e4 100644 --- a/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeStorediSCSIVolumesCommand.ts @@ -31,7 +31,6 @@ export class DescribeStorediSCSIVolumesCommand extends $Command< DescribeStorediSCSIVolumesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeStorediSCSIVolumesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts b/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts index d39943aa26550..7c7139b742d04 100644 --- a/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeTapeArchivesCommand.ts @@ -32,7 +32,6 @@ export class DescribeTapeArchivesCommand extends $Command< DescribeTapeArchivesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeTapeArchivesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts b/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts index ba6abdcb5151b..0e7ed8ef416e0 100644 --- a/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeTapeRecoveryPointsCommand.ts @@ -34,7 +34,6 @@ export class DescribeTapeRecoveryPointsCommand extends $Command< DescribeTapeRecoveryPointsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeTapeRecoveryPointsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeTapesCommand.ts b/clients/client-storage-gateway/commands/DescribeTapesCommand.ts index d4f025d3a16db..5d4c238c3ef21 100644 --- a/clients/client-storage-gateway/commands/DescribeTapesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeTapesCommand.ts @@ -31,7 +31,6 @@ export class DescribeTapesCommand extends $Command< DescribeTapesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeTapesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts b/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts index 6e24b767b8e24..15103ab6ffa44 100644 --- a/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeUploadBufferCommand.ts @@ -32,7 +32,6 @@ export class DescribeUploadBufferCommand extends $Command< DescribeUploadBufferCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeUploadBufferCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts b/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts index d98052fcfdf39..d26deda230712 100644 --- a/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeVTLDevicesCommand.ts @@ -31,7 +31,6 @@ export class DescribeVTLDevicesCommand extends $Command< DescribeVTLDevicesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeVTLDevicesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts b/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts index 22c377e7d0fd3..f9dee76073ef1 100644 --- a/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts +++ b/clients/client-storage-gateway/commands/DescribeWorkingStorageCommand.ts @@ -38,7 +38,6 @@ export class DescribeWorkingStorageCommand extends $Command< DescribeWorkingStorageCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DescribeWorkingStorageCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DetachVolumeCommand.ts b/clients/client-storage-gateway/commands/DetachVolumeCommand.ts index 1c41cc4e8474a..719d9892f8778 100644 --- a/clients/client-storage-gateway/commands/DetachVolumeCommand.ts +++ b/clients/client-storage-gateway/commands/DetachVolumeCommand.ts @@ -32,7 +32,6 @@ export class DetachVolumeCommand extends $Command< DetachVolumeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DetachVolumeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/DisableGatewayCommand.ts b/clients/client-storage-gateway/commands/DisableGatewayCommand.ts index 42d06cd545d49..fda3d51c35960 100644 --- a/clients/client-storage-gateway/commands/DisableGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/DisableGatewayCommand.ts @@ -36,7 +36,6 @@ export class DisableGatewayCommand extends $Command< DisableGatewayCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisableGatewayCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/JoinDomainCommand.ts b/clients/client-storage-gateway/commands/JoinDomainCommand.ts index 00d91f191654b..ad82128163be9 100644 --- a/clients/client-storage-gateway/commands/JoinDomainCommand.ts +++ b/clients/client-storage-gateway/commands/JoinDomainCommand.ts @@ -29,7 +29,6 @@ export class JoinDomainCommand extends $Command< JoinDomainCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class JoinDomainCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListAutomaticTapeCreationPoliciesCommand.ts b/clients/client-storage-gateway/commands/ListAutomaticTapeCreationPoliciesCommand.ts index 4c0dc07069d9d..d0d0e91ebf9ea 100644 --- a/clients/client-storage-gateway/commands/ListAutomaticTapeCreationPoliciesCommand.ts +++ b/clients/client-storage-gateway/commands/ListAutomaticTapeCreationPoliciesCommand.ts @@ -31,7 +31,6 @@ export class ListAutomaticTapeCreationPoliciesCommand extends $Command< ListAutomaticTapeCreationPoliciesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListAutomaticTapeCreationPoliciesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListFileSharesCommand.ts b/clients/client-storage-gateway/commands/ListFileSharesCommand.ts index 99b154a91259d..adac269fd798c 100644 --- a/clients/client-storage-gateway/commands/ListFileSharesCommand.ts +++ b/clients/client-storage-gateway/commands/ListFileSharesCommand.ts @@ -30,7 +30,6 @@ export class ListFileSharesCommand extends $Command< ListFileSharesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListFileSharesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListGatewaysCommand.ts b/clients/client-storage-gateway/commands/ListGatewaysCommand.ts index 102f48104abda..2ceaa1daba3e1 100644 --- a/clients/client-storage-gateway/commands/ListGatewaysCommand.ts +++ b/clients/client-storage-gateway/commands/ListGatewaysCommand.ts @@ -37,7 +37,6 @@ export class ListGatewaysCommand extends $Command< ListGatewaysCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListGatewaysCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts b/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts index 2f61cf6afcc48..175e27fae7fd7 100644 --- a/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts +++ b/clients/client-storage-gateway/commands/ListLocalDisksCommand.ts @@ -36,7 +36,6 @@ export class ListLocalDisksCommand extends $Command< ListLocalDisksCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListLocalDisksCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts b/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts index 44eea02e0d8e3..102422c8c50b7 100644 --- a/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts +++ b/clients/client-storage-gateway/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListTapePoolsCommand.ts b/clients/client-storage-gateway/commands/ListTapePoolsCommand.ts index 68d21a1372efe..fe38dccb4bb42 100644 --- a/clients/client-storage-gateway/commands/ListTapePoolsCommand.ts +++ b/clients/client-storage-gateway/commands/ListTapePoolsCommand.ts @@ -36,7 +36,6 @@ export class ListTapePoolsCommand extends $Command< ListTapePoolsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListTapePoolsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListTapesCommand.ts b/clients/client-storage-gateway/commands/ListTapesCommand.ts index 0ebe468abb017..c4b00fee944ba 100644 --- a/clients/client-storage-gateway/commands/ListTapesCommand.ts +++ b/clients/client-storage-gateway/commands/ListTapesCommand.ts @@ -35,7 +35,6 @@ export class ListTapesCommand extends $Command< ListTapesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ListTapesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts b/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts index a3a371f1dbaf4..80ed2ac086085 100644 --- a/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts +++ b/clients/client-storage-gateway/commands/ListVolumeInitiatorsCommand.ts @@ -30,7 +30,6 @@ export class ListVolumeInitiatorsCommand extends $Command< ListVolumeInitiatorsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListVolumeInitiatorsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts b/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts index 2941ad88b156f..ff0f1dc273aa9 100644 --- a/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts +++ b/clients/client-storage-gateway/commands/ListVolumeRecoveryPointsCommand.ts @@ -34,7 +34,6 @@ export class ListVolumeRecoveryPointsCommand extends $Command< ListVolumeRecoveryPointsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class ListVolumeRecoveryPointsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ListVolumesCommand.ts b/clients/client-storage-gateway/commands/ListVolumesCommand.ts index 3cfa55b4af425..c5518d9df63d9 100644 --- a/clients/client-storage-gateway/commands/ListVolumesCommand.ts +++ b/clients/client-storage-gateway/commands/ListVolumesCommand.ts @@ -37,7 +37,6 @@ export class ListVolumesCommand extends $Command< ListVolumesCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListVolumesCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts b/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts index f6b2878cffaaa..d96c87c95549f 100644 --- a/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts +++ b/clients/client-storage-gateway/commands/NotifyWhenUploadedCommand.ts @@ -42,7 +42,6 @@ export class NotifyWhenUploadedCommand extends $Command< NotifyWhenUploadedCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class NotifyWhenUploadedCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/RefreshCacheCommand.ts b/clients/client-storage-gateway/commands/RefreshCacheCommand.ts index 8fae3c35897ed..22ab405cdc26c 100644 --- a/clients/client-storage-gateway/commands/RefreshCacheCommand.ts +++ b/clients/client-storage-gateway/commands/RefreshCacheCommand.ts @@ -54,7 +54,6 @@ export class RefreshCacheCommand extends $Command< RefreshCacheCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class RefreshCacheCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts b/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts index 8ec62ed1e48ba..923c4a253a8c5 100644 --- a/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts +++ b/clients/client-storage-gateway/commands/RemoveTagsFromResourceCommand.ts @@ -29,7 +29,6 @@ export class RemoveTagsFromResourceCommand extends $Command< RemoveTagsFromResourceCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemoveTagsFromResourceCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ResetCacheCommand.ts b/clients/client-storage-gateway/commands/ResetCacheCommand.ts index 2c5fe82c0b0a3..9f418a259663a 100644 --- a/clients/client-storage-gateway/commands/ResetCacheCommand.ts +++ b/clients/client-storage-gateway/commands/ResetCacheCommand.ts @@ -40,7 +40,6 @@ export class ResetCacheCommand extends $Command< ResetCacheCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class ResetCacheCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts b/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts index fab6fab2d30eb..7baf5503fe4ec 100644 --- a/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts +++ b/clients/client-storage-gateway/commands/RetrieveTapeArchiveCommand.ts @@ -35,7 +35,6 @@ export class RetrieveTapeArchiveCommand extends $Command< RetrieveTapeArchiveCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RetrieveTapeArchiveCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts b/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts index f57db7d8367e0..b92f913b1b804 100644 --- a/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts +++ b/clients/client-storage-gateway/commands/RetrieveTapeRecoveryPointCommand.ts @@ -39,7 +39,6 @@ export class RetrieveTapeRecoveryPointCommand extends $Command< RetrieveTapeRecoveryPointCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -57,10 +56,7 @@ export class RetrieveTapeRecoveryPointCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts b/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts index 906b969bf34f3..daea46f353081 100644 --- a/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts +++ b/clients/client-storage-gateway/commands/SetLocalConsolePasswordCommand.ts @@ -31,7 +31,6 @@ export class SetLocalConsolePasswordCommand extends $Command< SetLocalConsolePasswordCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class SetLocalConsolePasswordCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts b/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts index f1fce4df7be5c..9732ae832f1c7 100644 --- a/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts +++ b/clients/client-storage-gateway/commands/SetSMBGuestPasswordCommand.ts @@ -30,7 +30,6 @@ export class SetSMBGuestPasswordCommand extends $Command< SetSMBGuestPasswordCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class SetSMBGuestPasswordCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts b/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts index 14d4eb51d7dbd..3bdd601faa512 100644 --- a/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/ShutdownGatewayCommand.ts @@ -51,7 +51,6 @@ export class ShutdownGatewayCommand extends $Command< ShutdownGatewayCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class ShutdownGatewayCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts b/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts index 7be3c683ce1f9..17f21f51c8af1 100644 --- a/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts +++ b/clients/client-storage-gateway/commands/StartAvailabilityMonitorTestCommand.ts @@ -35,7 +35,6 @@ export class StartAvailabilityMonitorTestCommand extends $Command< StartAvailabilityMonitorTestCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartAvailabilityMonitorTestCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/StartGatewayCommand.ts b/clients/client-storage-gateway/commands/StartGatewayCommand.ts index 760222129d932..b252ff4fe1b33 100644 --- a/clients/client-storage-gateway/commands/StartGatewayCommand.ts +++ b/clients/client-storage-gateway/commands/StartGatewayCommand.ts @@ -40,7 +40,6 @@ export class StartGatewayCommand extends $Command< StartGatewayCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class StartGatewayCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateAutomaticTapeCreationPolicyCommand.ts b/clients/client-storage-gateway/commands/UpdateAutomaticTapeCreationPolicyCommand.ts index ae651b53a719b..255a1cd925b93 100644 --- a/clients/client-storage-gateway/commands/UpdateAutomaticTapeCreationPolicyCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateAutomaticTapeCreationPolicyCommand.ts @@ -36,7 +36,6 @@ export class UpdateAutomaticTapeCreationPolicyCommand extends $Command< UpdateAutomaticTapeCreationPolicyCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateAutomaticTapeCreationPolicyCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts index f9e4fbe35f006..f101d0e7cd07b 100644 --- a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitCommand.ts @@ -38,7 +38,6 @@ export class UpdateBandwidthRateLimitCommand extends $Command< UpdateBandwidthRateLimitCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class UpdateBandwidthRateLimitCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts index c715b295c61a5..164cbd3a11f34 100644 --- a/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateBandwidthRateLimitScheduleCommand.ts @@ -33,7 +33,6 @@ export class UpdateBandwidthRateLimitScheduleCommand extends $Command< UpdateBandwidthRateLimitScheduleCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateBandwidthRateLimitScheduleCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts b/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts index 8798460ee5f71..4d34c43420f91 100644 --- a/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateChapCredentialsCommand.ts @@ -36,7 +36,6 @@ export class UpdateChapCredentialsCommand extends $Command< UpdateChapCredentialsCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateChapCredentialsCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts b/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts index 89a92bd7374cf..71c8f2e5afda2 100644 --- a/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateGatewayInformationCommand.ts @@ -36,7 +36,6 @@ export class UpdateGatewayInformationCommand extends $Command< UpdateGatewayInformationCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UpdateGatewayInformationCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts b/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts index 21e577fa9842c..0c5a755f75793 100644 --- a/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateGatewaySoftwareNowCommand.ts @@ -43,7 +43,6 @@ export class UpdateGatewaySoftwareNowCommand extends $Command< UpdateGatewaySoftwareNowCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class UpdateGatewaySoftwareNowCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts b/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts index 7d5c87175b87b..3329197ff1120 100644 --- a/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateMaintenanceStartTimeCommand.ts @@ -29,7 +29,6 @@ export class UpdateMaintenanceStartTimeCommand extends $Command< UpdateMaintenanceStartTimeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateMaintenanceStartTimeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts b/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts index 6143439eb374c..99d7db83972a9 100644 --- a/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateNFSFileShareCommand.ts @@ -54,7 +54,6 @@ export class UpdateNFSFileShareCommand extends $Command< UpdateNFSFileShareCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class UpdateNFSFileShareCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts b/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts index 35e019e91a083..5032dab6d953b 100644 --- a/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSMBFileShareCommand.ts @@ -46,7 +46,6 @@ export class UpdateSMBFileShareCommand extends $Command< UpdateSMBFileShareCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class UpdateSMBFileShareCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateSMBFileShareVisibilityCommand.ts b/clients/client-storage-gateway/commands/UpdateSMBFileShareVisibilityCommand.ts index b16f9d62061e5..889b686bf7597 100644 --- a/clients/client-storage-gateway/commands/UpdateSMBFileShareVisibilityCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSMBFileShareVisibilityCommand.ts @@ -29,7 +29,6 @@ export class UpdateSMBFileShareVisibilityCommand extends $Command< UpdateSMBFileShareVisibilityCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateSMBFileShareVisibilityCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts b/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts index ac44573f0f9fc..fbb2d3bb47c3a 100644 --- a/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSMBSecurityStrategyCommand.ts @@ -35,7 +35,6 @@ export class UpdateSMBSecurityStrategyCommand extends $Command< UpdateSMBSecurityStrategyCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class UpdateSMBSecurityStrategyCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts b/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts index cb53dbcb5f00a..d8597a02a3101 100644 --- a/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateSnapshotScheduleCommand.ts @@ -37,7 +37,6 @@ export class UpdateSnapshotScheduleCommand extends $Command< UpdateSnapshotScheduleCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class UpdateSnapshotScheduleCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts b/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts index f980de5cf8b30..0d4b3057dd822 100644 --- a/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts +++ b/clients/client-storage-gateway/commands/UpdateVTLDeviceTypeCommand.ts @@ -31,7 +31,6 @@ export class UpdateVTLDeviceTypeCommand extends $Command< UpdateVTLDeviceTypeCommandOutput, StorageGatewayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateVTLDeviceTypeCommand extends $Command< configuration: StorageGatewayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/AssumeRoleCommand.ts b/clients/client-sts/commands/AssumeRoleCommand.ts index b58ef504bfc0a..c8bbb01429129 100644 --- a/clients/client-sts/commands/AssumeRoleCommand.ts +++ b/clients/client-sts/commands/AssumeRoleCommand.ts @@ -134,7 +134,6 @@ export class AssumeRoleCommand extends $Command< AssumeRoleCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -152,11 +151,8 @@ export class AssumeRoleCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts b/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts index 77157362ec2a3..df2d66d6bfaf1 100644 --- a/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts +++ b/clients/client-sts/commands/AssumeRoleWithSAMLCommand.ts @@ -148,7 +148,6 @@ export class AssumeRoleWithSAMLCommand extends $Command< AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -166,10 +165,7 @@ export class AssumeRoleWithSAMLCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts b/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts index 882eb9823ac52..b4350ff785ff0 100644 --- a/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts +++ b/clients/client-sts/commands/AssumeRoleWithWebIdentityCommand.ts @@ -164,7 +164,6 @@ export class AssumeRoleWithWebIdentityCommand extends $Command< AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -182,10 +181,7 @@ export class AssumeRoleWithWebIdentityCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts b/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts index 4ac3b9177702c..b292aac6e6019 100644 --- a/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts +++ b/clients/client-sts/commands/DecodeAuthorizationMessageCommand.ts @@ -64,7 +64,6 @@ export class DecodeAuthorizationMessageCommand extends $Command< DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -82,11 +81,8 @@ export class DecodeAuthorizationMessageCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/GetAccessKeyInfoCommand.ts b/clients/client-sts/commands/GetAccessKeyInfoCommand.ts index 5689b58b5f431..e7ebb35914fc6 100644 --- a/clients/client-sts/commands/GetAccessKeyInfoCommand.ts +++ b/clients/client-sts/commands/GetAccessKeyInfoCommand.ts @@ -46,7 +46,6 @@ export class GetAccessKeyInfoCommand extends $Command< GetAccessKeyInfoCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,11 +63,8 @@ export class GetAccessKeyInfoCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/GetCallerIdentityCommand.ts b/clients/client-sts/commands/GetCallerIdentityCommand.ts index 8109574b11306..37475afd06844 100644 --- a/clients/client-sts/commands/GetCallerIdentityCommand.ts +++ b/clients/client-sts/commands/GetCallerIdentityCommand.ts @@ -38,7 +38,6 @@ export class GetCallerIdentityCommand extends $Command< GetCallerIdentityCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,11 +55,8 @@ export class GetCallerIdentityCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/GetFederationTokenCommand.ts b/clients/client-sts/commands/GetFederationTokenCommand.ts index f8dd832fca12c..46f9094cf57b0 100644 --- a/clients/client-sts/commands/GetFederationTokenCommand.ts +++ b/clients/client-sts/commands/GetFederationTokenCommand.ts @@ -107,7 +107,6 @@ export class GetFederationTokenCommand extends $Command< GetFederationTokenCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -125,11 +124,8 @@ export class GetFederationTokenCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-sts/commands/GetSessionTokenCommand.ts b/clients/client-sts/commands/GetSessionTokenCommand.ts index 663279cbef003..8787f7f6ac6d9 100644 --- a/clients/client-sts/commands/GetSessionTokenCommand.ts +++ b/clients/client-sts/commands/GetSessionTokenCommand.ts @@ -80,7 +80,6 @@ export class GetSessionTokenCommand extends $Command< GetSessionTokenCommandOutput, STSClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -98,11 +97,8 @@ export class GetSessionTokenCommand extends $Command< configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getAwsAuthPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getAwsAuthPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/AddAttachmentsToSetCommand.ts b/clients/client-support/commands/AddAttachmentsToSetCommand.ts index 35b0551dcc253..2328d1ea87f28 100644 --- a/clients/client-support/commands/AddAttachmentsToSetCommand.ts +++ b/clients/client-support/commands/AddAttachmentsToSetCommand.ts @@ -45,7 +45,6 @@ export class AddAttachmentsToSetCommand extends $Command< AddAttachmentsToSetCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class AddAttachmentsToSetCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/AddCommunicationToCaseCommand.ts b/clients/client-support/commands/AddCommunicationToCaseCommand.ts index 29cbf7ff95ec9..03654bc904c42 100644 --- a/clients/client-support/commands/AddCommunicationToCaseCommand.ts +++ b/clients/client-support/commands/AddCommunicationToCaseCommand.ts @@ -47,7 +47,6 @@ export class AddCommunicationToCaseCommand extends $Command< AddCommunicationToCaseCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class AddCommunicationToCaseCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/CreateCaseCommand.ts b/clients/client-support/commands/CreateCaseCommand.ts index b759dc257b539..e5f21f2857721 100644 --- a/clients/client-support/commands/CreateCaseCommand.ts +++ b/clients/client-support/commands/CreateCaseCommand.ts @@ -60,7 +60,6 @@ export class CreateCaseCommand extends $Command< CreateCaseCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class CreateCaseCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeAttachmentCommand.ts b/clients/client-support/commands/DescribeAttachmentCommand.ts index 14a78e94ddd86..24fb8da495f02 100644 --- a/clients/client-support/commands/DescribeAttachmentCommand.ts +++ b/clients/client-support/commands/DescribeAttachmentCommand.ts @@ -46,7 +46,6 @@ export class DescribeAttachmentCommand extends $Command< DescribeAttachmentCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -64,10 +63,7 @@ export class DescribeAttachmentCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeCasesCommand.ts b/clients/client-support/commands/DescribeCasesCommand.ts index 4d36e4c99e79b..adce1f9b1e19f 100644 --- a/clients/client-support/commands/DescribeCasesCommand.ts +++ b/clients/client-support/commands/DescribeCasesCommand.ts @@ -58,7 +58,6 @@ export class DescribeCasesCommand extends $Command< DescribeCasesCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class DescribeCasesCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeCommunicationsCommand.ts b/clients/client-support/commands/DescribeCommunicationsCommand.ts index 2166e5fe78c5b..6ee3c91e9e075 100644 --- a/clients/client-support/commands/DescribeCommunicationsCommand.ts +++ b/clients/client-support/commands/DescribeCommunicationsCommand.ts @@ -51,7 +51,6 @@ export class DescribeCommunicationsCommand extends $Command< DescribeCommunicationsCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DescribeCommunicationsCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeServicesCommand.ts b/clients/client-support/commands/DescribeServicesCommand.ts index 7e3bc76055fff..57dbc2bd01410 100644 --- a/clients/client-support/commands/DescribeServicesCommand.ts +++ b/clients/client-support/commands/DescribeServicesCommand.ts @@ -50,7 +50,6 @@ export class DescribeServicesCommand extends $Command< DescribeServicesCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class DescribeServicesCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeSeverityLevelsCommand.ts b/clients/client-support/commands/DescribeSeverityLevelsCommand.ts index a7489337ac1b2..af85488666c65 100644 --- a/clients/client-support/commands/DescribeSeverityLevelsCommand.ts +++ b/clients/client-support/commands/DescribeSeverityLevelsCommand.ts @@ -44,7 +44,6 @@ export class DescribeSeverityLevelsCommand extends $Command< DescribeSeverityLevelsCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DescribeSeverityLevelsCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts index 16b28a9e1d400..c43213d0c2201 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.ts @@ -51,7 +51,6 @@ export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command< DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -72,10 +71,7 @@ export class DescribeTrustedAdvisorCheckRefreshStatusesCommand extends $Command< DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts index 3174ba7c5d322..361c0993fe483 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorCheckResultCommand.ts @@ -86,7 +86,6 @@ export class DescribeTrustedAdvisorCheckResultCommand extends $Command< DescribeTrustedAdvisorCheckResultCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -104,10 +103,7 @@ export class DescribeTrustedAdvisorCheckResultCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts index d2d5e9c84c65a..ab95ff746cc9e 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorCheckSummariesCommand.ts @@ -49,7 +49,6 @@ export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command< DescribeTrustedAdvisorCheckSummariesCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DescribeTrustedAdvisorCheckSummariesCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts b/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts index 659c7ae495862..45d2274ae05c8 100644 --- a/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts +++ b/clients/client-support/commands/DescribeTrustedAdvisorChecksCommand.ts @@ -45,7 +45,6 @@ export class DescribeTrustedAdvisorChecksCommand extends $Command< DescribeTrustedAdvisorChecksCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DescribeTrustedAdvisorChecksCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts b/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts index 0630115f27a1c..69fa9ac19d564 100644 --- a/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts +++ b/clients/client-support/commands/RefreshTrustedAdvisorCheckCommand.ts @@ -51,7 +51,6 @@ export class RefreshTrustedAdvisorCheckCommand extends $Command< RefreshTrustedAdvisorCheckCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class RefreshTrustedAdvisorCheckCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-support/commands/ResolveCaseCommand.ts b/clients/client-support/commands/ResolveCaseCommand.ts index 0529133fe3257..ae6f21f4076c3 100644 --- a/clients/client-support/commands/ResolveCaseCommand.ts +++ b/clients/client-support/commands/ResolveCaseCommand.ts @@ -43,7 +43,6 @@ export class ResolveCaseCommand extends $Command< ResolveCaseCommandOutput, SupportClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -61,10 +60,7 @@ export class ResolveCaseCommand extends $Command< configuration: SupportClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts b/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts index f8a9dd8a42101..1b07f4d5ba4fa 100644 --- a/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/CountClosedWorkflowExecutionsCommand.ts @@ -74,7 +74,6 @@ export class CountClosedWorkflowExecutionsCommand extends $Command< CountClosedWorkflowExecutionsCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class CountClosedWorkflowExecutionsCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts b/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts index b94f097bd8ad8..a42d19f772caf 100644 --- a/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/CountOpenWorkflowExecutionsCommand.ts @@ -74,7 +74,6 @@ export class CountOpenWorkflowExecutionsCommand extends $Command< CountOpenWorkflowExecutionsCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class CountOpenWorkflowExecutionsCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/CountPendingActivityTasksCommand.ts b/clients/client-swf/commands/CountPendingActivityTasksCommand.ts index 2381613fb74fb..e9a7e653c77f3 100644 --- a/clients/client-swf/commands/CountPendingActivityTasksCommand.ts +++ b/clients/client-swf/commands/CountPendingActivityTasksCommand.ts @@ -55,7 +55,6 @@ export class CountPendingActivityTasksCommand extends $Command< CountPendingActivityTasksCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CountPendingActivityTasksCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts b/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts index 70ebd2fd1a6f2..bd75434de2386 100644 --- a/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts +++ b/clients/client-swf/commands/CountPendingDecisionTasksCommand.ts @@ -55,7 +55,6 @@ export class CountPendingDecisionTasksCommand extends $Command< CountPendingDecisionTasksCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CountPendingDecisionTasksCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DeprecateActivityTypeCommand.ts b/clients/client-swf/commands/DeprecateActivityTypeCommand.ts index e83451b3957f9..4fd21f9380fd2 100644 --- a/clients/client-swf/commands/DeprecateActivityTypeCommand.ts +++ b/clients/client-swf/commands/DeprecateActivityTypeCommand.ts @@ -70,7 +70,6 @@ export class DeprecateActivityTypeCommand extends $Command< DeprecateActivityTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class DeprecateActivityTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DeprecateDomainCommand.ts b/clients/client-swf/commands/DeprecateDomainCommand.ts index c40e249d83dc2..a05cca61e8cb6 100644 --- a/clients/client-swf/commands/DeprecateDomainCommand.ts +++ b/clients/client-swf/commands/DeprecateDomainCommand.ts @@ -59,7 +59,6 @@ export class DeprecateDomainCommand extends $Command< DeprecateDomainCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class DeprecateDomainCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts b/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts index c38da10f1b764..e06202b273f38 100644 --- a/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/DeprecateWorkflowTypeCommand.ts @@ -71,7 +71,6 @@ export class DeprecateWorkflowTypeCommand extends $Command< DeprecateWorkflowTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class DeprecateWorkflowTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DescribeActivityTypeCommand.ts b/clients/client-swf/commands/DescribeActivityTypeCommand.ts index 65f265ad35e88..2d8d045ad4fe8 100644 --- a/clients/client-swf/commands/DescribeActivityTypeCommand.ts +++ b/clients/client-swf/commands/DescribeActivityTypeCommand.ts @@ -66,7 +66,6 @@ export class DescribeActivityTypeCommand extends $Command< DescribeActivityTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class DescribeActivityTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DescribeDomainCommand.ts b/clients/client-swf/commands/DescribeDomainCommand.ts index f70c8f6f76d3d..956464dbb5f45 100644 --- a/clients/client-swf/commands/DescribeDomainCommand.ts +++ b/clients/client-swf/commands/DescribeDomainCommand.ts @@ -52,7 +52,6 @@ export class DescribeDomainCommand extends $Command< DescribeDomainCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DescribeDomainCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts b/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts index d497cab4eb8aa..9e7aac974c624 100644 --- a/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/DescribeWorkflowExecutionCommand.ts @@ -56,7 +56,6 @@ export class DescribeWorkflowExecutionCommand extends $Command< DescribeWorkflowExecutionCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class DescribeWorkflowExecutionCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts b/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts index 1a5701b83f641..4485ab84602eb 100644 --- a/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/DescribeWorkflowTypeCommand.ts @@ -66,7 +66,6 @@ export class DescribeWorkflowTypeCommand extends $Command< DescribeWorkflowTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class DescribeWorkflowTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts b/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts index aca586f9732de..d887ce20ef76f 100644 --- a/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts +++ b/clients/client-swf/commands/GetWorkflowExecutionHistoryCommand.ts @@ -57,7 +57,6 @@ export class GetWorkflowExecutionHistoryCommand extends $Command< GetWorkflowExecutionHistoryCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class GetWorkflowExecutionHistoryCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/ListActivityTypesCommand.ts b/clients/client-swf/commands/ListActivityTypesCommand.ts index 34b12f5c22f31..25e4d514073b8 100644 --- a/clients/client-swf/commands/ListActivityTypesCommand.ts +++ b/clients/client-swf/commands/ListActivityTypesCommand.ts @@ -55,7 +55,6 @@ export class ListActivityTypesCommand extends $Command< ListActivityTypesCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class ListActivityTypesCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts b/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts index be10647147349..7ab80b0830054 100644 --- a/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/ListClosedWorkflowExecutionsCommand.ts @@ -75,7 +75,6 @@ export class ListClosedWorkflowExecutionsCommand extends $Command< ListClosedWorkflowExecutionsCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class ListClosedWorkflowExecutionsCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/ListDomainsCommand.ts b/clients/client-swf/commands/ListDomainsCommand.ts index f6c33fc2a4fae..ee9f10f255a8e 100644 --- a/clients/client-swf/commands/ListDomainsCommand.ts +++ b/clients/client-swf/commands/ListDomainsCommand.ts @@ -59,7 +59,6 @@ export class ListDomainsCommand extends $Command< ListDomainsCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class ListDomainsCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts b/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts index 2bfd7d825a3e5..0da95ebe6e9f3 100644 --- a/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts +++ b/clients/client-swf/commands/ListOpenWorkflowExecutionsCommand.ts @@ -75,7 +75,6 @@ export class ListOpenWorkflowExecutionsCommand extends $Command< ListOpenWorkflowExecutionsCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class ListOpenWorkflowExecutionsCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/ListTagsForResourceCommand.ts b/clients/client-swf/commands/ListTagsForResourceCommand.ts index 0dede451cfcb7..3258fff12db73 100644 --- a/clients/client-swf/commands/ListTagsForResourceCommand.ts +++ b/clients/client-swf/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/ListWorkflowTypesCommand.ts b/clients/client-swf/commands/ListWorkflowTypesCommand.ts index 1b5041a69c55a..ccc7194c94180 100644 --- a/clients/client-swf/commands/ListWorkflowTypesCommand.ts +++ b/clients/client-swf/commands/ListWorkflowTypesCommand.ts @@ -52,7 +52,6 @@ export class ListWorkflowTypesCommand extends $Command< ListWorkflowTypesCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class ListWorkflowTypesCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/PollForActivityTaskCommand.ts b/clients/client-swf/commands/PollForActivityTaskCommand.ts index 3c41026f074b5..5e6a679904536 100644 --- a/clients/client-swf/commands/PollForActivityTaskCommand.ts +++ b/clients/client-swf/commands/PollForActivityTaskCommand.ts @@ -63,7 +63,6 @@ export class PollForActivityTaskCommand extends $Command< PollForActivityTaskCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -81,10 +80,7 @@ export class PollForActivityTaskCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/PollForDecisionTaskCommand.ts b/clients/client-swf/commands/PollForDecisionTaskCommand.ts index 8630ffb427f22..b9d13b3263e71 100644 --- a/clients/client-swf/commands/PollForDecisionTaskCommand.ts +++ b/clients/client-swf/commands/PollForDecisionTaskCommand.ts @@ -75,7 +75,6 @@ export class PollForDecisionTaskCommand extends $Command< PollForDecisionTaskCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class PollForDecisionTaskCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts b/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts index fc847f46319e5..0adce7f80c5db 100644 --- a/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts +++ b/clients/client-swf/commands/RecordActivityTaskHeartbeatCommand.ts @@ -75,7 +75,6 @@ export class RecordActivityTaskHeartbeatCommand extends $Command< RecordActivityTaskHeartbeatCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class RecordActivityTaskHeartbeatCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RegisterActivityTypeCommand.ts b/clients/client-swf/commands/RegisterActivityTypeCommand.ts index 81d5666baa71e..25e7181cc5390 100644 --- a/clients/client-swf/commands/RegisterActivityTypeCommand.ts +++ b/clients/client-swf/commands/RegisterActivityTypeCommand.ts @@ -74,7 +74,6 @@ export class RegisterActivityTypeCommand extends $Command< RegisterActivityTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class RegisterActivityTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RegisterDomainCommand.ts b/clients/client-swf/commands/RegisterDomainCommand.ts index 619060323cf6e..cce881a22cd88 100644 --- a/clients/client-swf/commands/RegisterDomainCommand.ts +++ b/clients/client-swf/commands/RegisterDomainCommand.ts @@ -51,7 +51,6 @@ export class RegisterDomainCommand extends $Command< RegisterDomainCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class RegisterDomainCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts b/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts index fc304e343fba8..2207e0b1e7fe0 100644 --- a/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/RegisterWorkflowTypeCommand.ts @@ -75,7 +75,6 @@ export class RegisterWorkflowTypeCommand extends $Command< RegisterWorkflowTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class RegisterWorkflowTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts b/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts index b7b979d6e7ce9..2e14c3c7f6da4 100644 --- a/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/RequestCancelWorkflowExecutionCommand.ts @@ -66,7 +66,6 @@ export class RequestCancelWorkflowExecutionCommand extends $Command< RequestCancelWorkflowExecutionCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class RequestCancelWorkflowExecutionCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts b/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts index 46fb825052751..9d949026964b3 100644 --- a/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts +++ b/clients/client-swf/commands/RespondActivityTaskCanceledCommand.ts @@ -69,7 +69,6 @@ export class RespondActivityTaskCanceledCommand extends $Command< RespondActivityTaskCanceledCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class RespondActivityTaskCanceledCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts b/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts index c3bec62d94f4b..c9dce0b9ddfa4 100644 --- a/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts +++ b/clients/client-swf/commands/RespondActivityTaskCompletedCommand.ts @@ -67,7 +67,6 @@ export class RespondActivityTaskCompletedCommand extends $Command< RespondActivityTaskCompletedCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class RespondActivityTaskCompletedCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts b/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts index ed1c6365fd838..738d866137d18 100644 --- a/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts +++ b/clients/client-swf/commands/RespondActivityTaskFailedCommand.ts @@ -60,7 +60,6 @@ export class RespondActivityTaskFailedCommand extends $Command< RespondActivityTaskFailedCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class RespondActivityTaskFailedCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts b/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts index a7af2741bd122..5bcf1f2f5eb49 100644 --- a/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts +++ b/clients/client-swf/commands/RespondDecisionTaskCompletedCommand.ts @@ -47,7 +47,6 @@ export class RespondDecisionTaskCompletedCommand extends $Command< RespondDecisionTaskCompletedCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class RespondDecisionTaskCompletedCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts b/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts index 45432b1fb34bc..b86d354883916 100644 --- a/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/SignalWorkflowExecutionCommand.ts @@ -66,7 +66,6 @@ export class SignalWorkflowExecutionCommand extends $Command< SignalWorkflowExecutionCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class SignalWorkflowExecutionCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/StartWorkflowExecutionCommand.ts b/clients/client-swf/commands/StartWorkflowExecutionCommand.ts index 7b0cdcda04f32..403df1078fe0f 100644 --- a/clients/client-swf/commands/StartWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/StartWorkflowExecutionCommand.ts @@ -93,7 +93,6 @@ export class StartWorkflowExecutionCommand extends $Command< StartWorkflowExecutionCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -111,10 +110,7 @@ export class StartWorkflowExecutionCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/TagResourceCommand.ts b/clients/client-swf/commands/TagResourceCommand.ts index 215c88410ea4e..bd55aea73c5dc 100644 --- a/clients/client-swf/commands/TagResourceCommand.ts +++ b/clients/client-swf/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts b/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts index 2bbe094a14e98..9f3d428f8cc99 100644 --- a/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts +++ b/clients/client-swf/commands/TerminateWorkflowExecutionCommand.ts @@ -71,7 +71,6 @@ export class TerminateWorkflowExecutionCommand extends $Command< TerminateWorkflowExecutionCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -89,10 +88,7 @@ export class TerminateWorkflowExecutionCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts b/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts index 7b8cdc7ffe812..a9608086c18c7 100644 --- a/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts +++ b/clients/client-swf/commands/UndeprecateActivityTypeCommand.ts @@ -69,7 +69,6 @@ export class UndeprecateActivityTypeCommand extends $Command< UndeprecateActivityTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class UndeprecateActivityTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/UndeprecateDomainCommand.ts b/clients/client-swf/commands/UndeprecateDomainCommand.ts index 3fef83978365b..82570100d8a2c 100644 --- a/clients/client-swf/commands/UndeprecateDomainCommand.ts +++ b/clients/client-swf/commands/UndeprecateDomainCommand.ts @@ -56,7 +56,6 @@ export class UndeprecateDomainCommand extends $Command< UndeprecateDomainCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class UndeprecateDomainCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts b/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts index bbb5d3b104944..614f1ef0c3c4d 100644 --- a/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts +++ b/clients/client-swf/commands/UndeprecateWorkflowTypeCommand.ts @@ -69,7 +69,6 @@ export class UndeprecateWorkflowTypeCommand extends $Command< UndeprecateWorkflowTypeCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -87,10 +86,7 @@ export class UndeprecateWorkflowTypeCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-swf/commands/UntagResourceCommand.ts b/clients/client-swf/commands/UntagResourceCommand.ts index 813f179fb73f4..1bfad45ea45f5 100644 --- a/clients/client-swf/commands/UntagResourceCommand.ts +++ b/clients/client-swf/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SWFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SWFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/CreateCanaryCommand.ts b/clients/client-synthetics/commands/CreateCanaryCommand.ts index 255281aed0996..904731699b829 100644 --- a/clients/client-synthetics/commands/CreateCanaryCommand.ts +++ b/clients/client-synthetics/commands/CreateCanaryCommand.ts @@ -41,7 +41,6 @@ export class CreateCanaryCommand extends $Command< CreateCanaryCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class CreateCanaryCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/DeleteCanaryCommand.ts b/clients/client-synthetics/commands/DeleteCanaryCommand.ts index d3466b47b8047..50fc65143155a 100644 --- a/clients/client-synthetics/commands/DeleteCanaryCommand.ts +++ b/clients/client-synthetics/commands/DeleteCanaryCommand.ts @@ -62,7 +62,6 @@ export class DeleteCanaryCommand extends $Command< DeleteCanaryCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -80,10 +79,7 @@ export class DeleteCanaryCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/DescribeCanariesCommand.ts b/clients/client-synthetics/commands/DescribeCanariesCommand.ts index 2f3c1c73676f3..eebcbe8ba0bdd 100644 --- a/clients/client-synthetics/commands/DescribeCanariesCommand.ts +++ b/clients/client-synthetics/commands/DescribeCanariesCommand.ts @@ -33,7 +33,6 @@ export class DescribeCanariesCommand extends $Command< DescribeCanariesCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeCanariesCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/DescribeCanariesLastRunCommand.ts b/clients/client-synthetics/commands/DescribeCanariesLastRunCommand.ts index 0aca83d869503..bc48204c427ce 100644 --- a/clients/client-synthetics/commands/DescribeCanariesLastRunCommand.ts +++ b/clients/client-synthetics/commands/DescribeCanariesLastRunCommand.ts @@ -28,7 +28,6 @@ export class DescribeCanariesLastRunCommand extends $Command< DescribeCanariesLastRunCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCanariesLastRunCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/DescribeRuntimeVersionsCommand.ts b/clients/client-synthetics/commands/DescribeRuntimeVersionsCommand.ts index 9115343fb8e22..4b56ecb8e4384 100644 --- a/clients/client-synthetics/commands/DescribeRuntimeVersionsCommand.ts +++ b/clients/client-synthetics/commands/DescribeRuntimeVersionsCommand.ts @@ -30,7 +30,6 @@ export class DescribeRuntimeVersionsCommand extends $Command< DescribeRuntimeVersionsCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeRuntimeVersionsCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/GetCanaryCommand.ts b/clients/client-synthetics/commands/GetCanaryCommand.ts index 506a68c621ee2..1b69fde2cb97d 100644 --- a/clients/client-synthetics/commands/GetCanaryCommand.ts +++ b/clients/client-synthetics/commands/GetCanaryCommand.ts @@ -30,7 +30,6 @@ export class GetCanaryCommand extends $Command< GetCanaryCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetCanaryCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/GetCanaryRunsCommand.ts b/clients/client-synthetics/commands/GetCanaryRunsCommand.ts index 98531a185b452..ce60d402ac849 100644 --- a/clients/client-synthetics/commands/GetCanaryRunsCommand.ts +++ b/clients/client-synthetics/commands/GetCanaryRunsCommand.ts @@ -28,7 +28,6 @@ export class GetCanaryRunsCommand extends $Command< GetCanaryRunsCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetCanaryRunsCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/ListTagsForResourceCommand.ts b/clients/client-synthetics/commands/ListTagsForResourceCommand.ts index fe47e6c92d8a6..2b2416eb6789b 100644 --- a/clients/client-synthetics/commands/ListTagsForResourceCommand.ts +++ b/clients/client-synthetics/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/StartCanaryCommand.ts b/clients/client-synthetics/commands/StartCanaryCommand.ts index 83e130fc3594f..d9cf455a63ae0 100644 --- a/clients/client-synthetics/commands/StartCanaryCommand.ts +++ b/clients/client-synthetics/commands/StartCanaryCommand.ts @@ -30,7 +30,6 @@ export class StartCanaryCommand extends $Command< StartCanaryCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartCanaryCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/StopCanaryCommand.ts b/clients/client-synthetics/commands/StopCanaryCommand.ts index ab1ec6cf4e0fb..9bd76bca08c3a 100644 --- a/clients/client-synthetics/commands/StopCanaryCommand.ts +++ b/clients/client-synthetics/commands/StopCanaryCommand.ts @@ -33,7 +33,6 @@ export class StopCanaryCommand extends $Command< StopCanaryCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StopCanaryCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/TagResourceCommand.ts b/clients/client-synthetics/commands/TagResourceCommand.ts index c5ed23dd1fa04..9aa20b6ef7a77 100644 --- a/clients/client-synthetics/commands/TagResourceCommand.ts +++ b/clients/client-synthetics/commands/TagResourceCommand.ts @@ -37,7 +37,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class TagResourceCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/UntagResourceCommand.ts b/clients/client-synthetics/commands/UntagResourceCommand.ts index d8485aef6e9e7..aa731cac83068 100644 --- a/clients/client-synthetics/commands/UntagResourceCommand.ts +++ b/clients/client-synthetics/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-synthetics/commands/UpdateCanaryCommand.ts b/clients/client-synthetics/commands/UpdateCanaryCommand.ts index a02827f599a91..f32196b90cc30 100644 --- a/clients/client-synthetics/commands/UpdateCanaryCommand.ts +++ b/clients/client-synthetics/commands/UpdateCanaryCommand.ts @@ -32,7 +32,6 @@ export class UpdateCanaryCommand extends $Command< UpdateCanaryCommandOutput, SyntheticsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateCanaryCommand extends $Command< configuration: SyntheticsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-textract/commands/AnalyzeDocumentCommand.ts b/clients/client-textract/commands/AnalyzeDocumentCommand.ts index 3d3971f995a46..ff43509cf5004 100644 --- a/clients/client-textract/commands/AnalyzeDocumentCommand.ts +++ b/clients/client-textract/commands/AnalyzeDocumentCommand.ts @@ -58,7 +58,6 @@ export class AnalyzeDocumentCommand extends $Command< AnalyzeDocumentCommandOutput, TextractClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -76,10 +75,7 @@ export class AnalyzeDocumentCommand extends $Command< configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-textract/commands/DetectDocumentTextCommand.ts b/clients/client-textract/commands/DetectDocumentTextCommand.ts index 93e71d0523d19..ff805d73848c2 100644 --- a/clients/client-textract/commands/DetectDocumentTextCommand.ts +++ b/clients/client-textract/commands/DetectDocumentTextCommand.ts @@ -38,7 +38,6 @@ export class DetectDocumentTextCommand extends $Command< DetectDocumentTextCommandOutput, TextractClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class DetectDocumentTextCommand extends $Command< configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-textract/commands/GetDocumentAnalysisCommand.ts b/clients/client-textract/commands/GetDocumentAnalysisCommand.ts index e0018e481f5dc..4295b3ae8f132 100644 --- a/clients/client-textract/commands/GetDocumentAnalysisCommand.ts +++ b/clients/client-textract/commands/GetDocumentAnalysisCommand.ts @@ -72,7 +72,6 @@ export class GetDocumentAnalysisCommand extends $Command< GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -90,10 +89,7 @@ export class GetDocumentAnalysisCommand extends $Command< configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts b/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts index f0aad10f065ab..83662da96eb67 100644 --- a/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts +++ b/clients/client-textract/commands/GetDocumentTextDetectionCommand.ts @@ -52,7 +52,6 @@ export class GetDocumentTextDetectionCommand extends $Command< GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class GetDocumentTextDetectionCommand extends $Command< configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-textract/commands/StartDocumentAnalysisCommand.ts b/clients/client-textract/commands/StartDocumentAnalysisCommand.ts index a19bb025975c9..40e1074ce56b1 100644 --- a/clients/client-textract/commands/StartDocumentAnalysisCommand.ts +++ b/clients/client-textract/commands/StartDocumentAnalysisCommand.ts @@ -45,7 +45,6 @@ export class StartDocumentAnalysisCommand extends $Command< StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class StartDocumentAnalysisCommand extends $Command< configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts b/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts index 5d381b4303c7a..9b983536bb266 100644 --- a/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts +++ b/clients/client-textract/commands/StartDocumentTextDetectionCommand.ts @@ -44,7 +44,6 @@ export class StartDocumentTextDetectionCommand extends $Command< StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class StartDocumentTextDetectionCommand extends $Command< configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-query/commands/CancelQueryCommand.ts b/clients/client-timestream-query/commands/CancelQueryCommand.ts index 42267e3d0e703..ff56fce987518 100644 --- a/clients/client-timestream-query/commands/CancelQueryCommand.ts +++ b/clients/client-timestream-query/commands/CancelQueryCommand.ts @@ -32,7 +32,6 @@ export class CancelQueryCommand extends $Command< CancelQueryCommandOutput, TimestreamQueryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CancelQueryCommand extends $Command< configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-query/commands/DescribeEndpointsCommand.ts b/clients/client-timestream-query/commands/DescribeEndpointsCommand.ts index c39f780c1a02c..7ec8e8919f38b 100644 --- a/clients/client-timestream-query/commands/DescribeEndpointsCommand.ts +++ b/clients/client-timestream-query/commands/DescribeEndpointsCommand.ts @@ -42,7 +42,6 @@ export class DescribeEndpointsCommand extends $Command< DescribeEndpointsCommandOutput, TimestreamQueryClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class DescribeEndpointsCommand extends $Command< configuration: TimestreamQueryClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-query/commands/QueryCommand.ts b/clients/client-timestream-query/commands/QueryCommand.ts index e231118fa6f1a..397818dfee8b1 100644 --- a/clients/client-timestream-query/commands/QueryCommand.ts +++ b/clients/client-timestream-query/commands/QueryCommand.ts @@ -23,7 +23,6 @@ export type QueryCommandOutput = QueryResponse & __MetadataBearer; *

*/ export class QueryCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -41,10 +40,7 @@ export class QueryCommand 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-timestream-write/commands/CreateDatabaseCommand.ts b/clients/client-timestream-write/commands/CreateDatabaseCommand.ts index 9492ab24b998a..11e5eb7e8f971 100644 --- a/clients/client-timestream-write/commands/CreateDatabaseCommand.ts +++ b/clients/client-timestream-write/commands/CreateDatabaseCommand.ts @@ -31,7 +31,6 @@ export class CreateDatabaseCommand extends $Command< CreateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateDatabaseCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/CreateTableCommand.ts b/clients/client-timestream-write/commands/CreateTableCommand.ts index 150a4870983e6..7654284a5f903 100644 --- a/clients/client-timestream-write/commands/CreateTableCommand.ts +++ b/clients/client-timestream-write/commands/CreateTableCommand.ts @@ -35,7 +35,6 @@ export class CreateTableCommand extends $Command< CreateTableCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateTableCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/DeleteDatabaseCommand.ts b/clients/client-timestream-write/commands/DeleteDatabaseCommand.ts index 948984eed8813..cbe825b9465e8 100644 --- a/clients/client-timestream-write/commands/DeleteDatabaseCommand.ts +++ b/clients/client-timestream-write/commands/DeleteDatabaseCommand.ts @@ -36,7 +36,6 @@ export class DeleteDatabaseCommand extends $Command< DeleteDatabaseCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DeleteDatabaseCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/DeleteTableCommand.ts b/clients/client-timestream-write/commands/DeleteTableCommand.ts index 7023558bcbd54..5b8da25f275f2 100644 --- a/clients/client-timestream-write/commands/DeleteTableCommand.ts +++ b/clients/client-timestream-write/commands/DeleteTableCommand.ts @@ -33,7 +33,6 @@ export class DeleteTableCommand extends $Command< DeleteTableCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DeleteTableCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/DescribeDatabaseCommand.ts b/clients/client-timestream-write/commands/DescribeDatabaseCommand.ts index d1d82696aa41d..735b00787d7a5 100644 --- a/clients/client-timestream-write/commands/DescribeDatabaseCommand.ts +++ b/clients/client-timestream-write/commands/DescribeDatabaseCommand.ts @@ -30,7 +30,6 @@ export class DescribeDatabaseCommand extends $Command< DescribeDatabaseCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeDatabaseCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/DescribeEndpointsCommand.ts b/clients/client-timestream-write/commands/DescribeEndpointsCommand.ts index cff3f8c6f13fc..c9ceb4ff31ffe 100644 --- a/clients/client-timestream-write/commands/DescribeEndpointsCommand.ts +++ b/clients/client-timestream-write/commands/DescribeEndpointsCommand.ts @@ -41,7 +41,6 @@ export class DescribeEndpointsCommand extends $Command< DescribeEndpointsCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class DescribeEndpointsCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/DescribeTableCommand.ts b/clients/client-timestream-write/commands/DescribeTableCommand.ts index 0eae9c3cd5007..973d971bf74db 100644 --- a/clients/client-timestream-write/commands/DescribeTableCommand.ts +++ b/clients/client-timestream-write/commands/DescribeTableCommand.ts @@ -31,7 +31,6 @@ export class DescribeTableCommand extends $Command< DescribeTableCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeTableCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/ListDatabasesCommand.ts b/clients/client-timestream-write/commands/ListDatabasesCommand.ts index 4422570c75946..a638c49922dc3 100644 --- a/clients/client-timestream-write/commands/ListDatabasesCommand.ts +++ b/clients/client-timestream-write/commands/ListDatabasesCommand.ts @@ -30,7 +30,6 @@ export class ListDatabasesCommand extends $Command< ListDatabasesCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListDatabasesCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/ListTablesCommand.ts b/clients/client-timestream-write/commands/ListTablesCommand.ts index 7ab4d6cdd3f02..7990d3bb1c1c6 100644 --- a/clients/client-timestream-write/commands/ListTablesCommand.ts +++ b/clients/client-timestream-write/commands/ListTablesCommand.ts @@ -29,7 +29,6 @@ export class ListTablesCommand extends $Command< ListTablesCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTablesCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/ListTagsForResourceCommand.ts b/clients/client-timestream-write/commands/ListTagsForResourceCommand.ts index 60eed49740d82..0cb896a2a99e9 100644 --- a/clients/client-timestream-write/commands/ListTagsForResourceCommand.ts +++ b/clients/client-timestream-write/commands/ListTagsForResourceCommand.ts @@ -30,7 +30,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/TagResourceCommand.ts b/clients/client-timestream-write/commands/TagResourceCommand.ts index c5fa23ad11541..1685aba2179ee 100644 --- a/clients/client-timestream-write/commands/TagResourceCommand.ts +++ b/clients/client-timestream-write/commands/TagResourceCommand.ts @@ -32,7 +32,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TagResourceCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/UntagResourceCommand.ts b/clients/client-timestream-write/commands/UntagResourceCommand.ts index 5b44f5fd8c608..00f77621eadfb 100644 --- a/clients/client-timestream-write/commands/UntagResourceCommand.ts +++ b/clients/client-timestream-write/commands/UntagResourceCommand.ts @@ -30,7 +30,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UntagResourceCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/UpdateDatabaseCommand.ts b/clients/client-timestream-write/commands/UpdateDatabaseCommand.ts index 5895cbd4740c6..175084237988a 100644 --- a/clients/client-timestream-write/commands/UpdateDatabaseCommand.ts +++ b/clients/client-timestream-write/commands/UpdateDatabaseCommand.ts @@ -32,7 +32,6 @@ export class UpdateDatabaseCommand extends $Command< UpdateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateDatabaseCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/UpdateTableCommand.ts b/clients/client-timestream-write/commands/UpdateTableCommand.ts index a9adb4f531d2c..72746872b1a01 100644 --- a/clients/client-timestream-write/commands/UpdateTableCommand.ts +++ b/clients/client-timestream-write/commands/UpdateTableCommand.ts @@ -34,7 +34,6 @@ export class UpdateTableCommand extends $Command< UpdateTableCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class UpdateTableCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-timestream-write/commands/WriteRecordsCommand.ts b/clients/client-timestream-write/commands/WriteRecordsCommand.ts index 0750a6186ca26..e4b05258e967d 100644 --- a/clients/client-timestream-write/commands/WriteRecordsCommand.ts +++ b/clients/client-timestream-write/commands/WriteRecordsCommand.ts @@ -41,7 +41,6 @@ export class WriteRecordsCommand extends $Command< WriteRecordsCommandOutput, TimestreamWriteClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class WriteRecordsCommand extends $Command< configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe-streaming/commands/StartMedicalStreamTranscriptionCommand.ts b/clients/client-transcribe-streaming/commands/StartMedicalStreamTranscriptionCommand.ts index 1f20c6a4fbca3..0255743e98148 100644 --- a/clients/client-transcribe-streaming/commands/StartMedicalStreamTranscriptionCommand.ts +++ b/clients/client-transcribe-streaming/commands/StartMedicalStreamTranscriptionCommand.ts @@ -35,7 +35,6 @@ export class StartMedicalStreamTranscriptionCommand extends $Command< StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,11 +52,8 @@ export class StartMedicalStreamTranscriptionCommand extends $Command< configuration: TranscribeStreamingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEventStreamPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEventStreamPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts b/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts index bf911d93f648a..16d4c750641ed 100644 --- a/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts +++ b/clients/client-transcribe-streaming/commands/StartStreamTranscriptionCommand.ts @@ -50,7 +50,6 @@ export class StartStreamTranscriptionCommand extends $Command< StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,11 +67,8 @@ export class StartStreamTranscriptionCommand extends $Command< configuration: TranscribeStreamingClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEventStreamPlugin(configuration)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEventStreamPlugin(configuration)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/CreateLanguageModelCommand.ts b/clients/client-transcribe/commands/CreateLanguageModelCommand.ts index 35593b83206da..0da4c07b5b609 100644 --- a/clients/client-transcribe/commands/CreateLanguageModelCommand.ts +++ b/clients/client-transcribe/commands/CreateLanguageModelCommand.ts @@ -30,7 +30,6 @@ export class CreateLanguageModelCommand extends $Command< CreateLanguageModelCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateLanguageModelCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/CreateMedicalVocabularyCommand.ts b/clients/client-transcribe/commands/CreateMedicalVocabularyCommand.ts index aab0a09c069df..6b482380c73b7 100644 --- a/clients/client-transcribe/commands/CreateMedicalVocabularyCommand.ts +++ b/clients/client-transcribe/commands/CreateMedicalVocabularyCommand.ts @@ -30,7 +30,6 @@ export class CreateMedicalVocabularyCommand extends $Command< CreateMedicalVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateMedicalVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/CreateVocabularyCommand.ts b/clients/client-transcribe/commands/CreateVocabularyCommand.ts index 925aedcf9ec26..d36c0754f3924 100644 --- a/clients/client-transcribe/commands/CreateVocabularyCommand.ts +++ b/clients/client-transcribe/commands/CreateVocabularyCommand.ts @@ -29,7 +29,6 @@ export class CreateVocabularyCommand extends $Command< CreateVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts b/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts index 68f07324018d1..087381bdf1268 100644 --- a/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/CreateVocabularyFilterCommand.ts @@ -29,7 +29,6 @@ export class CreateVocabularyFilterCommand extends $Command< CreateVocabularyFilterCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateVocabularyFilterCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DeleteLanguageModelCommand.ts b/clients/client-transcribe/commands/DeleteLanguageModelCommand.ts index 80a4de4ce8123..b961e6ed80bb6 100644 --- a/clients/client-transcribe/commands/DeleteLanguageModelCommand.ts +++ b/clients/client-transcribe/commands/DeleteLanguageModelCommand.ts @@ -28,7 +28,6 @@ export class DeleteLanguageModelCommand extends $Command< DeleteLanguageModelCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLanguageModelCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DeleteMedicalTranscriptionJobCommand.ts b/clients/client-transcribe/commands/DeleteMedicalTranscriptionJobCommand.ts index 4ccf52fd5d1e1..baf793ae1d99f 100644 --- a/clients/client-transcribe/commands/DeleteMedicalTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/DeleteMedicalTranscriptionJobCommand.ts @@ -28,7 +28,6 @@ export class DeleteMedicalTranscriptionJobCommand extends $Command< DeleteMedicalTranscriptionJobCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMedicalTranscriptionJobCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DeleteMedicalVocabularyCommand.ts b/clients/client-transcribe/commands/DeleteMedicalVocabularyCommand.ts index f20f79d3c9ac4..6c02f13497386 100644 --- a/clients/client-transcribe/commands/DeleteMedicalVocabularyCommand.ts +++ b/clients/client-transcribe/commands/DeleteMedicalVocabularyCommand.ts @@ -28,7 +28,6 @@ export class DeleteMedicalVocabularyCommand extends $Command< DeleteMedicalVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMedicalVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts b/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts index fb03b7bb04b4d..bcad5897265cd 100644 --- a/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/DeleteTranscriptionJobCommand.ts @@ -29,7 +29,6 @@ export class DeleteTranscriptionJobCommand extends $Command< DeleteTranscriptionJobCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteTranscriptionJobCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DeleteVocabularyCommand.ts b/clients/client-transcribe/commands/DeleteVocabularyCommand.ts index e77ff22f0f227..b2186ba7f9696 100644 --- a/clients/client-transcribe/commands/DeleteVocabularyCommand.ts +++ b/clients/client-transcribe/commands/DeleteVocabularyCommand.ts @@ -28,7 +28,6 @@ export class DeleteVocabularyCommand extends $Command< DeleteVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts b/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts index 9f9c330c74e55..8ceebd34e6fa1 100644 --- a/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/DeleteVocabularyFilterCommand.ts @@ -28,7 +28,6 @@ export class DeleteVocabularyFilterCommand extends $Command< DeleteVocabularyFilterCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteVocabularyFilterCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/DescribeLanguageModelCommand.ts b/clients/client-transcribe/commands/DescribeLanguageModelCommand.ts index 52a2634415a28..ffa5f5639ef0d 100644 --- a/clients/client-transcribe/commands/DescribeLanguageModelCommand.ts +++ b/clients/client-transcribe/commands/DescribeLanguageModelCommand.ts @@ -33,7 +33,6 @@ export class DescribeLanguageModelCommand extends $Command< DescribeLanguageModelCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeLanguageModelCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/GetMedicalTranscriptionJobCommand.ts b/clients/client-transcribe/commands/GetMedicalTranscriptionJobCommand.ts index 4a6ce2e483709..81ea6567e2ea4 100644 --- a/clients/client-transcribe/commands/GetMedicalTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/GetMedicalTranscriptionJobCommand.ts @@ -31,7 +31,6 @@ export class GetMedicalTranscriptionJobCommand extends $Command< GetMedicalTranscriptionJobCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetMedicalTranscriptionJobCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/GetMedicalVocabularyCommand.ts b/clients/client-transcribe/commands/GetMedicalVocabularyCommand.ts index 82f8e49282f77..40b294d5c1d6f 100644 --- a/clients/client-transcribe/commands/GetMedicalVocabularyCommand.ts +++ b/clients/client-transcribe/commands/GetMedicalVocabularyCommand.ts @@ -28,7 +28,6 @@ export class GetMedicalVocabularyCommand extends $Command< GetMedicalVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMedicalVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts b/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts index f78ae8c109e9b..ff17891e79df0 100644 --- a/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/GetTranscriptionJobCommand.ts @@ -32,7 +32,6 @@ export class GetTranscriptionJobCommand extends $Command< GetTranscriptionJobCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetTranscriptionJobCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/GetVocabularyCommand.ts b/clients/client-transcribe/commands/GetVocabularyCommand.ts index 69ad72b144a59..66e6fc0503522 100644 --- a/clients/client-transcribe/commands/GetVocabularyCommand.ts +++ b/clients/client-transcribe/commands/GetVocabularyCommand.ts @@ -28,7 +28,6 @@ export class GetVocabularyCommand extends $Command< GetVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts b/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts index 5d11e33b6b5aa..ed31944f22d0f 100644 --- a/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/GetVocabularyFilterCommand.ts @@ -28,7 +28,6 @@ export class GetVocabularyFilterCommand extends $Command< GetVocabularyFilterCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetVocabularyFilterCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/ListLanguageModelsCommand.ts b/clients/client-transcribe/commands/ListLanguageModelsCommand.ts index bfc9fe9603436..46cd04bdf248d 100644 --- a/clients/client-transcribe/commands/ListLanguageModelsCommand.ts +++ b/clients/client-transcribe/commands/ListLanguageModelsCommand.ts @@ -31,7 +31,6 @@ export class ListLanguageModelsCommand extends $Command< ListLanguageModelsCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListLanguageModelsCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/ListMedicalTranscriptionJobsCommand.ts b/clients/client-transcribe/commands/ListMedicalTranscriptionJobsCommand.ts index efd10c594384a..83a2a95aa80a1 100644 --- a/clients/client-transcribe/commands/ListMedicalTranscriptionJobsCommand.ts +++ b/clients/client-transcribe/commands/ListMedicalTranscriptionJobsCommand.ts @@ -29,7 +29,6 @@ export class ListMedicalTranscriptionJobsCommand extends $Command< ListMedicalTranscriptionJobsCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListMedicalTranscriptionJobsCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/ListMedicalVocabulariesCommand.ts b/clients/client-transcribe/commands/ListMedicalVocabulariesCommand.ts index eeef2ddf55f85..544699d02fc56 100644 --- a/clients/client-transcribe/commands/ListMedicalVocabulariesCommand.ts +++ b/clients/client-transcribe/commands/ListMedicalVocabulariesCommand.ts @@ -29,7 +29,6 @@ export class ListMedicalVocabulariesCommand extends $Command< ListMedicalVocabulariesCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListMedicalVocabulariesCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts b/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts index b93eb3de90c68..dffffd48d4dfa 100644 --- a/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts +++ b/clients/client-transcribe/commands/ListTranscriptionJobsCommand.ts @@ -28,7 +28,6 @@ export class ListTranscriptionJobsCommand extends $Command< ListTranscriptionJobsCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTranscriptionJobsCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/ListVocabulariesCommand.ts b/clients/client-transcribe/commands/ListVocabulariesCommand.ts index 27f66b037f662..e3fc6eb788441 100644 --- a/clients/client-transcribe/commands/ListVocabulariesCommand.ts +++ b/clients/client-transcribe/commands/ListVocabulariesCommand.ts @@ -29,7 +29,6 @@ export class ListVocabulariesCommand extends $Command< ListVocabulariesCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListVocabulariesCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts b/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts index be77fac58a584..8e2f53a9ea138 100644 --- a/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts +++ b/clients/client-transcribe/commands/ListVocabularyFiltersCommand.ts @@ -28,7 +28,6 @@ export class ListVocabularyFiltersCommand extends $Command< ListVocabularyFiltersCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListVocabularyFiltersCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/StartMedicalTranscriptionJobCommand.ts b/clients/client-transcribe/commands/StartMedicalTranscriptionJobCommand.ts index 71cc3ed880f8b..9e5a6bd94c065 100644 --- a/clients/client-transcribe/commands/StartMedicalTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/StartMedicalTranscriptionJobCommand.ts @@ -28,7 +28,6 @@ export class StartMedicalTranscriptionJobCommand extends $Command< StartMedicalTranscriptionJobCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartMedicalTranscriptionJobCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts b/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts index 5392a1d468d89..3454efbe4c482 100644 --- a/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts +++ b/clients/client-transcribe/commands/StartTranscriptionJobCommand.ts @@ -28,7 +28,6 @@ export class StartTranscriptionJobCommand extends $Command< StartTranscriptionJobCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class StartTranscriptionJobCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/UpdateMedicalVocabularyCommand.ts b/clients/client-transcribe/commands/UpdateMedicalVocabularyCommand.ts index b4a0e25a31a02..b351c0a0b5cad 100644 --- a/clients/client-transcribe/commands/UpdateMedicalVocabularyCommand.ts +++ b/clients/client-transcribe/commands/UpdateMedicalVocabularyCommand.ts @@ -31,7 +31,6 @@ export class UpdateMedicalVocabularyCommand extends $Command< UpdateMedicalVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateMedicalVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/UpdateVocabularyCommand.ts b/clients/client-transcribe/commands/UpdateVocabularyCommand.ts index 1c7fdc968e938..392192a0f6903 100644 --- a/clients/client-transcribe/commands/UpdateVocabularyCommand.ts +++ b/clients/client-transcribe/commands/UpdateVocabularyCommand.ts @@ -30,7 +30,6 @@ export class UpdateVocabularyCommand extends $Command< UpdateVocabularyCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateVocabularyCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts b/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts index a74f96af1e211..7d42175a9252d 100644 --- a/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts +++ b/clients/client-transcribe/commands/UpdateVocabularyFilterCommand.ts @@ -28,7 +28,6 @@ export class UpdateVocabularyFilterCommand extends $Command< UpdateVocabularyFilterCommandOutput, TranscribeClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateVocabularyFilterCommand extends $Command< configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/CreateServerCommand.ts b/clients/client-transfer/commands/CreateServerCommand.ts index 7e5718c7bf91b..ac6ceada00f3c 100644 --- a/clients/client-transfer/commands/CreateServerCommand.ts +++ b/clients/client-transfer/commands/CreateServerCommand.ts @@ -31,7 +31,6 @@ export class CreateServerCommand extends $Command< CreateServerCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateServerCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/CreateUserCommand.ts b/clients/client-transfer/commands/CreateUserCommand.ts index 5faeda95962df..659804a7eb76a 100644 --- a/clients/client-transfer/commands/CreateUserCommand.ts +++ b/clients/client-transfer/commands/CreateUserCommand.ts @@ -34,7 +34,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateUserCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/DeleteServerCommand.ts b/clients/client-transfer/commands/DeleteServerCommand.ts index bbd8a08319338..41c6b7f9ef671 100644 --- a/clients/client-transfer/commands/DeleteServerCommand.ts +++ b/clients/client-transfer/commands/DeleteServerCommand.ts @@ -30,7 +30,6 @@ export class DeleteServerCommand extends $Command< DeleteServerCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteServerCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts b/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts index 6184a84445c82..79fa9e4b15bb3 100644 --- a/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts +++ b/clients/client-transfer/commands/DeleteSshPublicKeyCommand.ts @@ -30,7 +30,6 @@ export class DeleteSshPublicKeyCommand extends $Command< DeleteSshPublicKeyCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteSshPublicKeyCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/DeleteUserCommand.ts b/clients/client-transfer/commands/DeleteUserCommand.ts index 0cd4d05d5f843..89e8d54710d76 100644 --- a/clients/client-transfer/commands/DeleteUserCommand.ts +++ b/clients/client-transfer/commands/DeleteUserCommand.ts @@ -34,7 +34,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DeleteUserCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/DescribeSecurityPolicyCommand.ts b/clients/client-transfer/commands/DescribeSecurityPolicyCommand.ts index 97908bfd64b91..4d31b5a2d792f 100644 --- a/clients/client-transfer/commands/DescribeSecurityPolicyCommand.ts +++ b/clients/client-transfer/commands/DescribeSecurityPolicyCommand.ts @@ -31,7 +31,6 @@ export class DescribeSecurityPolicyCommand extends $Command< DescribeSecurityPolicyCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeSecurityPolicyCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/DescribeServerCommand.ts b/clients/client-transfer/commands/DescribeServerCommand.ts index 1d93eebb7ca6c..94b696e77286a 100644 --- a/clients/client-transfer/commands/DescribeServerCommand.ts +++ b/clients/client-transfer/commands/DescribeServerCommand.ts @@ -33,7 +33,6 @@ export class DescribeServerCommand extends $Command< DescribeServerCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeServerCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/DescribeUserCommand.ts b/clients/client-transfer/commands/DescribeUserCommand.ts index b4f77cbf20be7..f982e213545bf 100644 --- a/clients/client-transfer/commands/DescribeUserCommand.ts +++ b/clients/client-transfer/commands/DescribeUserCommand.ts @@ -32,7 +32,6 @@ export class DescribeUserCommand extends $Command< DescribeUserCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeUserCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts b/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts index 8d93fbed1f15c..f663cf67b42b9 100644 --- a/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts +++ b/clients/client-transfer/commands/ImportSshPublicKeyCommand.ts @@ -33,7 +33,6 @@ export class ImportSshPublicKeyCommand extends $Command< ImportSshPublicKeyCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ImportSshPublicKeyCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/ListSecurityPoliciesCommand.ts b/clients/client-transfer/commands/ListSecurityPoliciesCommand.ts index 37ba919c6b735..0b9e8548a31fe 100644 --- a/clients/client-transfer/commands/ListSecurityPoliciesCommand.ts +++ b/clients/client-transfer/commands/ListSecurityPoliciesCommand.ts @@ -29,7 +29,6 @@ export class ListSecurityPoliciesCommand extends $Command< ListSecurityPoliciesCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListSecurityPoliciesCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/ListServersCommand.ts b/clients/client-transfer/commands/ListServersCommand.ts index 85323904995cc..7da4fafc960df 100644 --- a/clients/client-transfer/commands/ListServersCommand.ts +++ b/clients/client-transfer/commands/ListServersCommand.ts @@ -29,7 +29,6 @@ export class ListServersCommand extends $Command< ListServersCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListServersCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/ListTagsForResourceCommand.ts b/clients/client-transfer/commands/ListTagsForResourceCommand.ts index f9d6538419d85..f418ec023fde3 100644 --- a/clients/client-transfer/commands/ListTagsForResourceCommand.ts +++ b/clients/client-transfer/commands/ListTagsForResourceCommand.ts @@ -29,7 +29,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/ListUsersCommand.ts b/clients/client-transfer/commands/ListUsersCommand.ts index 1f2e8e53cde47..cafb2d6c70dee 100644 --- a/clients/client-transfer/commands/ListUsersCommand.ts +++ b/clients/client-transfer/commands/ListUsersCommand.ts @@ -26,7 +26,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -44,10 +43,7 @@ export class ListUsersCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/StartServerCommand.ts b/clients/client-transfer/commands/StartServerCommand.ts index b011d2045b957..dd2317c608927 100644 --- a/clients/client-transfer/commands/StartServerCommand.ts +++ b/clients/client-transfer/commands/StartServerCommand.ts @@ -36,7 +36,6 @@ export class StartServerCommand extends $Command< StartServerCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class StartServerCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/StopServerCommand.ts b/clients/client-transfer/commands/StopServerCommand.ts index c7b0420374f17..4abd6889fbe98 100644 --- a/clients/client-transfer/commands/StopServerCommand.ts +++ b/clients/client-transfer/commands/StopServerCommand.ts @@ -42,7 +42,6 @@ export class StopServerCommand extends $Command< StopServerCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class StopServerCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/TagResourceCommand.ts b/clients/client-transfer/commands/TagResourceCommand.ts index 978ae6d2fb117..e7156fdb39a53 100644 --- a/clients/client-transfer/commands/TagResourceCommand.ts +++ b/clients/client-transfer/commands/TagResourceCommand.ts @@ -31,7 +31,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class TagResourceCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/TestIdentityProviderCommand.ts b/clients/client-transfer/commands/TestIdentityProviderCommand.ts index 44440b0655c99..5bb7668405957 100644 --- a/clients/client-transfer/commands/TestIdentityProviderCommand.ts +++ b/clients/client-transfer/commands/TestIdentityProviderCommand.ts @@ -32,7 +32,6 @@ export class TestIdentityProviderCommand extends $Command< TestIdentityProviderCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class TestIdentityProviderCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/UntagResourceCommand.ts b/clients/client-transfer/commands/UntagResourceCommand.ts index 1d78de7461bb0..b5d0b06d406f2 100644 --- a/clients/client-transfer/commands/UntagResourceCommand.ts +++ b/clients/client-transfer/commands/UntagResourceCommand.ts @@ -31,7 +31,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UntagResourceCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/UpdateServerCommand.ts b/clients/client-transfer/commands/UpdateServerCommand.ts index 8a671f4db9753..82664f317da40 100644 --- a/clients/client-transfer/commands/UpdateServerCommand.ts +++ b/clients/client-transfer/commands/UpdateServerCommand.ts @@ -32,7 +32,6 @@ export class UpdateServerCommand extends $Command< UpdateServerCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateServerCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-transfer/commands/UpdateUserCommand.ts b/clients/client-transfer/commands/UpdateUserCommand.ts index bfab5e8bd5693..f54956feec65f 100644 --- a/clients/client-transfer/commands/UpdateUserCommand.ts +++ b/clients/client-transfer/commands/UpdateUserCommand.ts @@ -33,7 +33,6 @@ export class UpdateUserCommand extends $Command< UpdateUserCommandOutput, TransferClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class UpdateUserCommand extends $Command< configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/CreateParallelDataCommand.ts b/clients/client-translate/commands/CreateParallelDataCommand.ts index 5f5c4b738e92f..7ade1cdeb9f87 100644 --- a/clients/client-translate/commands/CreateParallelDataCommand.ts +++ b/clients/client-translate/commands/CreateParallelDataCommand.ts @@ -31,7 +31,6 @@ export class CreateParallelDataCommand extends $Command< CreateParallelDataCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateParallelDataCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/DeleteParallelDataCommand.ts b/clients/client-translate/commands/DeleteParallelDataCommand.ts index 37601260805fa..bc31eba097dca 100644 --- a/clients/client-translate/commands/DeleteParallelDataCommand.ts +++ b/clients/client-translate/commands/DeleteParallelDataCommand.ts @@ -28,7 +28,6 @@ export class DeleteParallelDataCommand extends $Command< DeleteParallelDataCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteParallelDataCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/DeleteTerminologyCommand.ts b/clients/client-translate/commands/DeleteTerminologyCommand.ts index 7396a8c555250..95ae9d1b8661a 100644 --- a/clients/client-translate/commands/DeleteTerminologyCommand.ts +++ b/clients/client-translate/commands/DeleteTerminologyCommand.ts @@ -28,7 +28,6 @@ export class DeleteTerminologyCommand extends $Command< DeleteTerminologyCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTerminologyCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts b/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts index 34ad2ea65de18..59ad0c93b4997 100644 --- a/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts +++ b/clients/client-translate/commands/DescribeTextTranslationJobCommand.ts @@ -29,7 +29,6 @@ export class DescribeTextTranslationJobCommand extends $Command< DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeTextTranslationJobCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/GetParallelDataCommand.ts b/clients/client-translate/commands/GetParallelDataCommand.ts index c15cf7669dec5..ff4dd998ae470 100644 --- a/clients/client-translate/commands/GetParallelDataCommand.ts +++ b/clients/client-translate/commands/GetParallelDataCommand.ts @@ -28,7 +28,6 @@ export class GetParallelDataCommand extends $Command< GetParallelDataCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetParallelDataCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/GetTerminologyCommand.ts b/clients/client-translate/commands/GetTerminologyCommand.ts index b099fa57e4c46..9b1e6701b8de8 100644 --- a/clients/client-translate/commands/GetTerminologyCommand.ts +++ b/clients/client-translate/commands/GetTerminologyCommand.ts @@ -28,7 +28,6 @@ export class GetTerminologyCommand extends $Command< GetTerminologyCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTerminologyCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/ImportTerminologyCommand.ts b/clients/client-translate/commands/ImportTerminologyCommand.ts index 9a85117ee9ffe..a8ac553070ded 100644 --- a/clients/client-translate/commands/ImportTerminologyCommand.ts +++ b/clients/client-translate/commands/ImportTerminologyCommand.ts @@ -35,7 +35,6 @@ export class ImportTerminologyCommand extends $Command< ImportTerminologyCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class ImportTerminologyCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/ListParallelDataCommand.ts b/clients/client-translate/commands/ListParallelDataCommand.ts index 0a96d8129fd24..3acbc86df3b22 100644 --- a/clients/client-translate/commands/ListParallelDataCommand.ts +++ b/clients/client-translate/commands/ListParallelDataCommand.ts @@ -28,7 +28,6 @@ export class ListParallelDataCommand extends $Command< ListParallelDataCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListParallelDataCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/ListTerminologiesCommand.ts b/clients/client-translate/commands/ListTerminologiesCommand.ts index 16ade4a129801..edf380f6d87cf 100644 --- a/clients/client-translate/commands/ListTerminologiesCommand.ts +++ b/clients/client-translate/commands/ListTerminologiesCommand.ts @@ -28,7 +28,6 @@ export class ListTerminologiesCommand extends $Command< ListTerminologiesCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTerminologiesCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/ListTextTranslationJobsCommand.ts b/clients/client-translate/commands/ListTextTranslationJobsCommand.ts index b9d75e411304c..22ce52527689b 100644 --- a/clients/client-translate/commands/ListTextTranslationJobsCommand.ts +++ b/clients/client-translate/commands/ListTextTranslationJobsCommand.ts @@ -28,7 +28,6 @@ export class ListTextTranslationJobsCommand extends $Command< ListTextTranslationJobsCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTextTranslationJobsCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/StartTextTranslationJobCommand.ts b/clients/client-translate/commands/StartTextTranslationJobCommand.ts index 5b7ddd3e41ebf..76a4beb6354fc 100644 --- a/clients/client-translate/commands/StartTextTranslationJobCommand.ts +++ b/clients/client-translate/commands/StartTextTranslationJobCommand.ts @@ -35,7 +35,6 @@ export class StartTextTranslationJobCommand extends $Command< StartTextTranslationJobCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class StartTextTranslationJobCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/StopTextTranslationJobCommand.ts b/clients/client-translate/commands/StopTextTranslationJobCommand.ts index ec500b16fa005..4a5c711ad4ba1 100644 --- a/clients/client-translate/commands/StopTextTranslationJobCommand.ts +++ b/clients/client-translate/commands/StopTextTranslationJobCommand.ts @@ -34,7 +34,6 @@ export class StopTextTranslationJobCommand extends $Command< StopTextTranslationJobCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StopTextTranslationJobCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/TranslateTextCommand.ts b/clients/client-translate/commands/TranslateTextCommand.ts index 26c1463c8e142..bc3f00903f86c 100644 --- a/clients/client-translate/commands/TranslateTextCommand.ts +++ b/clients/client-translate/commands/TranslateTextCommand.ts @@ -29,7 +29,6 @@ export class TranslateTextCommand extends $Command< TranslateTextCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class TranslateTextCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-translate/commands/UpdateParallelDataCommand.ts b/clients/client-translate/commands/UpdateParallelDataCommand.ts index c1626d98f965c..6c9c5959f4c31 100644 --- a/clients/client-translate/commands/UpdateParallelDataCommand.ts +++ b/clients/client-translate/commands/UpdateParallelDataCommand.ts @@ -29,7 +29,6 @@ export class UpdateParallelDataCommand extends $Command< UpdateParallelDataCommandOutput, TranslateClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateParallelDataCommand extends $Command< configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/AssociateWebACLCommand.ts b/clients/client-waf-regional/commands/AssociateWebACLCommand.ts index 14e3a19547ebe..4f7dfe254e5ed 100644 --- a/clients/client-waf-regional/commands/AssociateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/AssociateWebACLCommand.ts @@ -36,7 +36,6 @@ export class AssociateWebACLCommand extends $Command< AssociateWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class AssociateWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts index 22d629e8f8425..7c3f86e167b76 100644 --- a/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateByteMatchSetCommand.ts @@ -59,7 +59,6 @@ export class CreateByteMatchSetCommand extends $Command< CreateByteMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateByteMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts index 7b438840153e1..e37854f110f2a 100644 --- a/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateGeoMatchSetCommand.ts @@ -56,7 +56,6 @@ export class CreateGeoMatchSetCommand extends $Command< CreateGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class CreateGeoMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateIPSetCommand.ts b/clients/client-waf-regional/commands/CreateIPSetCommand.ts index f6086d56300c4..2fc8c707945aa 100644 --- a/clients/client-waf-regional/commands/CreateIPSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateIPSetCommand.ts @@ -61,7 +61,6 @@ export class CreateIPSetCommand extends $Command< CreateIPSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class CreateIPSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts index 44e5a940a1811..36ae50616a347 100644 --- a/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/CreateRateBasedRuleCommand.ts @@ -121,7 +121,6 @@ export class CreateRateBasedRuleCommand extends $Command< CreateRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -139,10 +138,7 @@ export class CreateRateBasedRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts index dc86e1c4827cd..7958d29567d02 100644 --- a/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateRegexMatchSetCommand.ts @@ -59,7 +59,6 @@ export class CreateRegexMatchSetCommand extends $Command< CreateRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateRegexMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts index b8b166c925515..c19e80dc4d2df 100644 --- a/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateRegexPatternSetCommand.ts @@ -55,7 +55,6 @@ export class CreateRegexPatternSetCommand extends $Command< CreateRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CreateRegexPatternSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateRuleCommand.ts b/clients/client-waf-regional/commands/CreateRuleCommand.ts index 7d88a546762c2..a6804f743c29f 100644 --- a/clients/client-waf-regional/commands/CreateRuleCommand.ts +++ b/clients/client-waf-regional/commands/CreateRuleCommand.ts @@ -79,7 +79,6 @@ export class CreateRuleCommand extends $Command< CreateRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class CreateRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts b/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts index 3822eb37b8625..2eb7565e42a2b 100644 --- a/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/CreateRuleGroupCommand.ts @@ -50,7 +50,6 @@ export class CreateRuleGroupCommand extends $Command< CreateRuleGroupCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class CreateRuleGroupCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts index 178a796fbbf83..bc7bdb1516f55 100644 --- a/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateSizeConstraintSetCommand.ts @@ -59,7 +59,6 @@ export class CreateSizeConstraintSetCommand extends $Command< CreateSizeConstraintSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateSizeConstraintSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts index 899c54c6e5a2d..ff879994fccda 100644 --- a/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateSqlInjectionMatchSetCommand.ts @@ -57,7 +57,6 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< CreateSqlInjectionMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateWebACLCommand.ts b/clients/client-waf-regional/commands/CreateWebACLCommand.ts index 14d57f2dd95cf..23d4b4372ee26 100644 --- a/clients/client-waf-regional/commands/CreateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/CreateWebACLCommand.ts @@ -67,7 +67,6 @@ export class CreateWebACLCommand extends $Command< CreateWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class CreateWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateWebACLMigrationStackCommand.ts b/clients/client-waf-regional/commands/CreateWebACLMigrationStackCommand.ts index 90be4bc0a7f2c..442a5514008d4 100644 --- a/clients/client-waf-regional/commands/CreateWebACLMigrationStackCommand.ts +++ b/clients/client-waf-regional/commands/CreateWebACLMigrationStackCommand.ts @@ -35,7 +35,6 @@ export class CreateWebACLMigrationStackCommand extends $Command< CreateWebACLMigrationStackCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateWebACLMigrationStackCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts b/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts index 34b4d2d80ae38..55812b1d01141 100644 --- a/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/CreateXssMatchSetCommand.ts @@ -57,7 +57,6 @@ export class CreateXssMatchSetCommand extends $Command< CreateXssMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class CreateXssMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts index 080cdc220518a..0cf4a3b66bb85 100644 --- a/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteByteMatchSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteByteMatchSetCommand extends $Command< DeleteByteMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteByteMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts index d40471d01bfae..08770d7ff17dd 100644 --- a/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteGeoMatchSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteGeoMatchSetCommand extends $Command< DeleteGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteGeoMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteIPSetCommand.ts b/clients/client-waf-regional/commands/DeleteIPSetCommand.ts index e2138d6a1ca74..0a236b0923b04 100644 --- a/clients/client-waf-regional/commands/DeleteIPSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteIPSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteIPSetCommand extends $Command< DeleteIPSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteIPSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts b/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts index 8002f15d22da7..32434e805a4ca 100644 --- a/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/commands/DeleteLoggingConfigurationCommand.ts @@ -37,7 +37,6 @@ export class DeleteLoggingConfigurationCommand extends $Command< DeleteLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts b/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts index 369083fa9a05c..690e7d45989bc 100644 --- a/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts +++ b/clients/client-waf-regional/commands/DeletePermissionPolicyCommand.ts @@ -37,7 +37,6 @@ export class DeletePermissionPolicyCommand extends $Command< DeletePermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeletePermissionPolicyCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts index 81d5e699e85c2..3239ef3aaf057 100644 --- a/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRateBasedRuleCommand.ts @@ -55,7 +55,6 @@ export class DeleteRateBasedRuleCommand extends $Command< DeleteRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class DeleteRateBasedRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts index d7c4dddac4396..cf56a7ea2f532 100644 --- a/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRegexMatchSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteRegexMatchSetCommand extends $Command< DeleteRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteRegexMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts index 35e252f565d41..d07403356ffa6 100644 --- a/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRegexPatternSetCommand.ts @@ -37,7 +37,6 @@ export class DeleteRegexPatternSetCommand extends $Command< DeleteRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteRegexPatternSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteRuleCommand.ts b/clients/client-waf-regional/commands/DeleteRuleCommand.ts index 0a66812bed9ea..a5086b040c781 100644 --- a/clients/client-waf-regional/commands/DeleteRuleCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRuleCommand.ts @@ -51,7 +51,6 @@ export class DeleteRuleCommand extends $Command< DeleteRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts b/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts index 4bb640c870ff0..be6eff15b7819 100644 --- a/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/DeleteRuleGroupCommand.ts @@ -51,7 +51,6 @@ export class DeleteRuleGroupCommand extends $Command< DeleteRuleGroupCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteRuleGroupCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts index 8d59272cb7eda..f415d85fc62d1 100644 --- a/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteSizeConstraintSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteSizeConstraintSetCommand extends $Command< DeleteSizeConstraintSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteSizeConstraintSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts index 2f387c7209d97..8fe0c470a3c29 100644 --- a/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteSqlInjectionMatchSetCommand.ts @@ -52,7 +52,6 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< DeleteSqlInjectionMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteWebACLCommand.ts b/clients/client-waf-regional/commands/DeleteWebACLCommand.ts index 9e9e7988ba4b9..f9f52da49f86d 100644 --- a/clients/client-waf-regional/commands/DeleteWebACLCommand.ts +++ b/clients/client-waf-regional/commands/DeleteWebACLCommand.ts @@ -49,7 +49,6 @@ export class DeleteWebACLCommand extends $Command< DeleteWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DeleteWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts b/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts index 8b6c77c20bb35..aad888ae4a5d5 100644 --- a/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/DeleteXssMatchSetCommand.ts @@ -52,7 +52,6 @@ export class DeleteXssMatchSetCommand extends $Command< DeleteXssMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DeleteXssMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts b/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts index b3fb4eee98ad1..54803e43195ae 100644 --- a/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/DisassociateWebACLCommand.ts @@ -36,7 +36,6 @@ export class DisassociateWebACLCommand extends $Command< DisassociateWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisassociateWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts b/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts index 4bb9a9d9c6767..66d2fe85484dc 100644 --- a/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetByteMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetByteMatchSetCommand extends $Command< GetByteMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetByteMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetChangeTokenCommand.ts b/clients/client-waf-regional/commands/GetChangeTokenCommand.ts index 4a5eec83d6d05..01e5f3ff4470e 100644 --- a/clients/client-waf-regional/commands/GetChangeTokenCommand.ts +++ b/clients/client-waf-regional/commands/GetChangeTokenCommand.ts @@ -42,7 +42,6 @@ export class GetChangeTokenCommand extends $Command< GetChangeTokenCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetChangeTokenCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts b/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts index 1e291bd2bd749..608eb29637703 100644 --- a/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts +++ b/clients/client-waf-regional/commands/GetChangeTokenStatusCommand.ts @@ -52,7 +52,6 @@ export class GetChangeTokenStatusCommand extends $Command< GetChangeTokenStatusCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class GetChangeTokenStatusCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts index d30f25cb71057..edf99be3a566d 100644 --- a/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetGeoMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetGeoMatchSetCommand extends $Command< GetGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetGeoMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetIPSetCommand.ts b/clients/client-waf-regional/commands/GetIPSetCommand.ts index 14202d146f21d..85542765472f5 100644 --- a/clients/client-waf-regional/commands/GetIPSetCommand.ts +++ b/clients/client-waf-regional/commands/GetIPSetCommand.ts @@ -33,7 +33,6 @@ export class GetIPSetCommand extends $Command< GetIPSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetIPSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts b/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts index 39bb03a9a7161..da746e8161e69 100644 --- a/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/commands/GetLoggingConfigurationCommand.ts @@ -36,7 +36,6 @@ export class GetLoggingConfigurationCommand extends $Command< GetLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetLoggingConfigurationCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts b/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts index e7014d6498020..09d4cfed7a30f 100644 --- a/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts +++ b/clients/client-waf-regional/commands/GetPermissionPolicyCommand.ts @@ -36,7 +36,6 @@ export class GetPermissionPolicyCommand extends $Command< GetPermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetPermissionPolicyCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts index c9a008689953d..ebdc18a64adc9 100644 --- a/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/GetRateBasedRuleCommand.ts @@ -38,7 +38,6 @@ export class GetRateBasedRuleCommand extends $Command< GetRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetRateBasedRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts b/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts index 01707c01a626b..abe62adaf4805 100644 --- a/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts +++ b/clients/client-waf-regional/commands/GetRateBasedRuleManagedKeysCommand.ts @@ -38,7 +38,6 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< GetRateBasedRuleManagedKeysCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts index 9ddf1f9d51bbd..60e6c6110102b 100644 --- a/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetRegexMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetRegexMatchSetCommand extends $Command< GetRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetRegexMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts index 1da3a5cf117e5..a87073d7384f8 100644 --- a/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/GetRegexPatternSetCommand.ts @@ -36,7 +36,6 @@ export class GetRegexPatternSetCommand extends $Command< GetRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetRegexPatternSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetRuleCommand.ts b/clients/client-waf-regional/commands/GetRuleCommand.ts index 0be40e5d7358d..c6be92433553a 100644 --- a/clients/client-waf-regional/commands/GetRuleCommand.ts +++ b/clients/client-waf-regional/commands/GetRuleCommand.ts @@ -33,7 +33,6 @@ export class GetRuleCommand extends $Command< GetRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetRuleGroupCommand.ts b/clients/client-waf-regional/commands/GetRuleGroupCommand.ts index 2d4cecd33bd07..3d29a18b1a52b 100644 --- a/clients/client-waf-regional/commands/GetRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/GetRuleGroupCommand.ts @@ -37,7 +37,6 @@ export class GetRuleGroupCommand extends $Command< GetRuleGroupCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetRuleGroupCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts b/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts index 18a880d2f1b7e..1c67e4a081dab 100644 --- a/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts +++ b/clients/client-waf-regional/commands/GetSampledRequestsCommand.ts @@ -40,7 +40,6 @@ export class GetSampledRequestsCommand extends $Command< GetSampledRequestsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetSampledRequestsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts index 4f1910ba8d4d6..99df6ddfdf852 100644 --- a/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/GetSizeConstraintSetCommand.ts @@ -36,7 +36,6 @@ export class GetSizeConstraintSetCommand extends $Command< GetSizeConstraintSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSizeConstraintSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts index b0fddf7533312..142d272ba509d 100644 --- a/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetSqlInjectionMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetSqlInjectionMatchSetCommand extends $Command< GetSqlInjectionMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSqlInjectionMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetWebACLCommand.ts b/clients/client-waf-regional/commands/GetWebACLCommand.ts index 6bdf497e31c65..e547597ba2772 100644 --- a/clients/client-waf-regional/commands/GetWebACLCommand.ts +++ b/clients/client-waf-regional/commands/GetWebACLCommand.ts @@ -33,7 +33,6 @@ export class GetWebACLCommand extends $Command< GetWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts b/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts index c5cf7c60f7e9b..26db761c0f890 100644 --- a/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts +++ b/clients/client-waf-regional/commands/GetWebACLForResourceCommand.ts @@ -36,7 +36,6 @@ export class GetWebACLForResourceCommand extends $Command< GetWebACLForResourceCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetWebACLForResourceCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts b/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts index a8f3aae3b0296..7ff2904128ae7 100644 --- a/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/GetXssMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetXssMatchSetCommand extends $Command< GetXssMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetXssMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts b/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts index 50e1752c6d11b..f1a151c087e02 100644 --- a/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/ListActivatedRulesInRuleGroupCommand.ts @@ -36,7 +36,6 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< ListActivatedRulesInRuleGroupCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts index 954d11bd05ac7..c15248460f684 100644 --- a/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListByteMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListByteMatchSetsCommand extends $Command< ListByteMatchSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListByteMatchSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts index d0999ab8903de..f216c9e0a5c1f 100644 --- a/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListGeoMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListGeoMatchSetsCommand extends $Command< ListGeoMatchSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListGeoMatchSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListIPSetsCommand.ts b/clients/client-waf-regional/commands/ListIPSetsCommand.ts index 9570d57042a92..11fc5ec90d4c4 100644 --- a/clients/client-waf-regional/commands/ListIPSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListIPSetsCommand.ts @@ -36,7 +36,6 @@ export class ListIPSetsCommand extends $Command< ListIPSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListIPSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts b/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts index fb7c32122f4f9..effffb7c77240 100644 --- a/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-waf-regional/commands/ListLoggingConfigurationsCommand.ts @@ -36,7 +36,6 @@ export class ListLoggingConfigurationsCommand extends $Command< ListLoggingConfigurationsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListLoggingConfigurationsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts b/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts index eeedfef64cf57..8c7eef6ab6e74 100644 --- a/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts +++ b/clients/client-waf-regional/commands/ListRateBasedRulesCommand.ts @@ -36,7 +36,6 @@ export class ListRateBasedRulesCommand extends $Command< ListRateBasedRulesCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRateBasedRulesCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts index 809d0d343e2fa..28c9bd54902fe 100644 --- a/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListRegexMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListRegexMatchSetsCommand extends $Command< ListRegexMatchSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRegexMatchSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts b/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts index 81cac9cc8c92c..8edad2958c413 100644 --- a/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListRegexPatternSetsCommand.ts @@ -36,7 +36,6 @@ export class ListRegexPatternSetsCommand extends $Command< ListRegexPatternSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRegexPatternSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts b/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts index 864a262e206d3..2381b307d891b 100644 --- a/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts +++ b/clients/client-waf-regional/commands/ListResourcesForWebACLCommand.ts @@ -36,7 +36,6 @@ export class ListResourcesForWebACLCommand extends $Command< ListResourcesForWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListResourcesForWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts b/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts index dbaf3f223af97..e809b3b685d2e 100644 --- a/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts +++ b/clients/client-waf-regional/commands/ListRuleGroupsCommand.ts @@ -36,7 +36,6 @@ export class ListRuleGroupsCommand extends $Command< ListRuleGroupsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRuleGroupsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListRulesCommand.ts b/clients/client-waf-regional/commands/ListRulesCommand.ts index 719dea2420fad..3f8c74972c97d 100644 --- a/clients/client-waf-regional/commands/ListRulesCommand.ts +++ b/clients/client-waf-regional/commands/ListRulesCommand.ts @@ -33,7 +33,6 @@ export class ListRulesCommand extends $Command< ListRulesCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListRulesCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts b/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts index a4760ea9f0144..65912bee339dd 100644 --- a/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListSizeConstraintSetsCommand.ts @@ -36,7 +36,6 @@ export class ListSizeConstraintSetsCommand extends $Command< ListSizeConstraintSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListSizeConstraintSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts index 7bab5c687bff8..d34691cef8c33 100644 --- a/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListSqlInjectionMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListSqlInjectionMatchSetsCommand extends $Command< ListSqlInjectionMatchSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListSqlInjectionMatchSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts b/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts index 32bc6a065929d..4b6deb0b85bc5 100644 --- a/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts +++ b/clients/client-waf-regional/commands/ListSubscribedRuleGroupsCommand.ts @@ -36,7 +36,6 @@ export class ListSubscribedRuleGroupsCommand extends $Command< ListSubscribedRuleGroupsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListSubscribedRuleGroupsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts b/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts index d7dc7759e97b0..f62ba64a7f421 100644 --- a/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts +++ b/clients/client-waf-regional/commands/ListTagsForResourceCommand.ts @@ -37,7 +37,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListWebACLsCommand.ts b/clients/client-waf-regional/commands/ListWebACLsCommand.ts index 974c4aa2ffb84..91487b98046bc 100644 --- a/clients/client-waf-regional/commands/ListWebACLsCommand.ts +++ b/clients/client-waf-regional/commands/ListWebACLsCommand.ts @@ -36,7 +36,6 @@ export class ListWebACLsCommand extends $Command< ListWebACLsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListWebACLsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts b/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts index 145b2a993ef4a..afaa5c607ffdb 100644 --- a/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts +++ b/clients/client-waf-regional/commands/ListXssMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListXssMatchSetsCommand extends $Command< ListXssMatchSetsCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListXssMatchSetsCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts b/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts index c9612ae9e84a4..7e49a9d22da4a 100644 --- a/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-waf-regional/commands/PutLoggingConfigurationCommand.ts @@ -53,7 +53,6 @@ export class PutLoggingConfigurationCommand extends $Command< PutLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class PutLoggingConfigurationCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts b/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts index 33404f4424a4a..89dd0371dd8f1 100644 --- a/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts +++ b/clients/client-waf-regional/commands/PutPermissionPolicyCommand.ts @@ -68,7 +68,6 @@ export class PutPermissionPolicyCommand extends $Command< PutPermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class PutPermissionPolicyCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/TagResourceCommand.ts b/clients/client-waf-regional/commands/TagResourceCommand.ts index e93bacc774d2e..d59e9c1de3976 100644 --- a/clients/client-waf-regional/commands/TagResourceCommand.ts +++ b/clients/client-waf-regional/commands/TagResourceCommand.ts @@ -37,7 +37,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class TagResourceCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UntagResourceCommand.ts b/clients/client-waf-regional/commands/UntagResourceCommand.ts index 9a379ce21e8a7..bf5d8c9ceed0e 100644 --- a/clients/client-waf-regional/commands/UntagResourceCommand.ts +++ b/clients/client-waf-regional/commands/UntagResourceCommand.ts @@ -36,7 +36,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UntagResourceCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts index e5262ca54edb1..ac60693ac7319 100644 --- a/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateByteMatchSetCommand.ts @@ -74,7 +74,6 @@ export class UpdateByteMatchSetCommand extends $Command< UpdateByteMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class UpdateByteMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts index ee01867fb4b84..881e06f56e6ff 100644 --- a/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateGeoMatchSetCommand.ts @@ -66,7 +66,6 @@ export class UpdateGeoMatchSetCommand extends $Command< UpdateGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class UpdateGeoMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateIPSetCommand.ts b/clients/client-waf-regional/commands/UpdateIPSetCommand.ts index 710b19bb73065..bc9d8e44fec2f 100644 --- a/clients/client-waf-regional/commands/UpdateIPSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateIPSetCommand.ts @@ -101,7 +101,6 @@ export class UpdateIPSetCommand extends $Command< UpdateIPSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -119,10 +118,7 @@ export class UpdateIPSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts b/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts index 777f976b1fc76..7b776ae5b0fc8 100644 --- a/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRateBasedRuleCommand.ts @@ -82,7 +82,6 @@ export class UpdateRateBasedRuleCommand extends $Command< UpdateRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class UpdateRateBasedRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts index 5dea5905ff5e5..18388b06b0893 100644 --- a/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRegexMatchSetCommand.ts @@ -70,7 +70,6 @@ export class UpdateRegexMatchSetCommand extends $Command< UpdateRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class UpdateRegexMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts b/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts index b724607d4fc9f..ffef4c091be14 100644 --- a/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRegexPatternSetCommand.ts @@ -75,7 +75,6 @@ export class UpdateRegexPatternSetCommand extends $Command< UpdateRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class UpdateRegexPatternSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateRuleCommand.ts b/clients/client-waf-regional/commands/UpdateRuleCommand.ts index ab269b85b082a..5aeb35d228fa4 100644 --- a/clients/client-waf-regional/commands/UpdateRuleCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRuleCommand.ts @@ -77,7 +77,6 @@ export class UpdateRuleCommand extends $Command< UpdateRuleCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class UpdateRuleCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts b/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts index e4d10e41d2aab..f9bd7718c9476 100644 --- a/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-waf-regional/commands/UpdateRuleGroupCommand.ts @@ -60,7 +60,6 @@ export class UpdateRuleGroupCommand extends $Command< UpdateRuleGroupCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class UpdateRuleGroupCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts b/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts index b3c25aa119664..edcd79f46b802 100644 --- a/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateSizeConstraintSetCommand.ts @@ -78,7 +78,6 @@ export class UpdateSizeConstraintSetCommand extends $Command< UpdateSizeConstraintSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -96,10 +95,7 @@ export class UpdateSizeConstraintSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts index 0acfcfe2570d2..3c73580884086 100644 --- a/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateSqlInjectionMatchSetCommand.ts @@ -77,7 +77,6 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< UpdateSqlInjectionMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateWebACLCommand.ts b/clients/client-waf-regional/commands/UpdateWebACLCommand.ts index 557565f9f5dd5..31f3865c373a1 100644 --- a/clients/client-waf-regional/commands/UpdateWebACLCommand.ts +++ b/clients/client-waf-regional/commands/UpdateWebACLCommand.ts @@ -107,7 +107,6 @@ export class UpdateWebACLCommand extends $Command< UpdateWebACLCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -125,10 +124,7 @@ export class UpdateWebACLCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts b/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts index d0bbe65165ab2..64c1e887524c6 100644 --- a/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts +++ b/clients/client-waf-regional/commands/UpdateXssMatchSetCommand.ts @@ -79,7 +79,6 @@ export class UpdateXssMatchSetCommand extends $Command< UpdateXssMatchSetCommandOutput, WAFRegionalClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class UpdateXssMatchSetCommand extends $Command< configuration: WAFRegionalClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateByteMatchSetCommand.ts b/clients/client-waf/commands/CreateByteMatchSetCommand.ts index 549f3d50dc07c..6a3d4c3dfe993 100644 --- a/clients/client-waf/commands/CreateByteMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateByteMatchSetCommand.ts @@ -59,7 +59,6 @@ export class CreateByteMatchSetCommand extends $Command< CreateByteMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateByteMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateGeoMatchSetCommand.ts b/clients/client-waf/commands/CreateGeoMatchSetCommand.ts index dcb8c87773ed3..797d9b6edf521 100644 --- a/clients/client-waf/commands/CreateGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateGeoMatchSetCommand.ts @@ -56,7 +56,6 @@ export class CreateGeoMatchSetCommand extends $Command< CreateGeoMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class CreateGeoMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateIPSetCommand.ts b/clients/client-waf/commands/CreateIPSetCommand.ts index 739ff08d99ee9..2dbdce1a1c04d 100644 --- a/clients/client-waf/commands/CreateIPSetCommand.ts +++ b/clients/client-waf/commands/CreateIPSetCommand.ts @@ -61,7 +61,6 @@ export class CreateIPSetCommand extends $Command< CreateIPSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -79,10 +78,7 @@ export class CreateIPSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateRateBasedRuleCommand.ts b/clients/client-waf/commands/CreateRateBasedRuleCommand.ts index c54830d5bb869..e2f84af34ebe9 100644 --- a/clients/client-waf/commands/CreateRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/CreateRateBasedRuleCommand.ts @@ -121,7 +121,6 @@ export class CreateRateBasedRuleCommand extends $Command< CreateRateBasedRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -139,10 +138,7 @@ export class CreateRateBasedRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateRegexMatchSetCommand.ts b/clients/client-waf/commands/CreateRegexMatchSetCommand.ts index 16d1034cfdb93..cccb54c360354 100644 --- a/clients/client-waf/commands/CreateRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateRegexMatchSetCommand.ts @@ -59,7 +59,6 @@ export class CreateRegexMatchSetCommand extends $Command< CreateRegexMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateRegexMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateRegexPatternSetCommand.ts b/clients/client-waf/commands/CreateRegexPatternSetCommand.ts index c5b0a5b7716b9..d8ec53e96b4dc 100644 --- a/clients/client-waf/commands/CreateRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/CreateRegexPatternSetCommand.ts @@ -55,7 +55,6 @@ export class CreateRegexPatternSetCommand extends $Command< CreateRegexPatternSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class CreateRegexPatternSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateRuleCommand.ts b/clients/client-waf/commands/CreateRuleCommand.ts index 15244cb2099ec..93568ff0d07b1 100644 --- a/clients/client-waf/commands/CreateRuleCommand.ts +++ b/clients/client-waf/commands/CreateRuleCommand.ts @@ -79,7 +79,6 @@ export class CreateRuleCommand extends $Command< CreateRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class CreateRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateRuleGroupCommand.ts b/clients/client-waf/commands/CreateRuleGroupCommand.ts index 8ddada139b11e..05cbeef4a9e0b 100644 --- a/clients/client-waf/commands/CreateRuleGroupCommand.ts +++ b/clients/client-waf/commands/CreateRuleGroupCommand.ts @@ -50,7 +50,6 @@ export class CreateRuleGroupCommand extends $Command< CreateRuleGroupCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -68,10 +67,7 @@ export class CreateRuleGroupCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts b/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts index 777e74bbb4f2f..f3f7065036b94 100644 --- a/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/CreateSizeConstraintSetCommand.ts @@ -59,7 +59,6 @@ export class CreateSizeConstraintSetCommand extends $Command< CreateSizeConstraintSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -77,10 +76,7 @@ export class CreateSizeConstraintSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts index 865ee77d36882..8e244675217fc 100644 --- a/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateSqlInjectionMatchSetCommand.ts @@ -57,7 +57,6 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< CreateSqlInjectionMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class CreateSqlInjectionMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateWebACLCommand.ts b/clients/client-waf/commands/CreateWebACLCommand.ts index 8b331fc343ea5..4679289948459 100644 --- a/clients/client-waf/commands/CreateWebACLCommand.ts +++ b/clients/client-waf/commands/CreateWebACLCommand.ts @@ -67,7 +67,6 @@ export class CreateWebACLCommand extends $Command< CreateWebACLCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -85,10 +84,7 @@ export class CreateWebACLCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateWebACLMigrationStackCommand.ts b/clients/client-waf/commands/CreateWebACLMigrationStackCommand.ts index 06d1130a07c2b..c363b5c83fb3f 100644 --- a/clients/client-waf/commands/CreateWebACLMigrationStackCommand.ts +++ b/clients/client-waf/commands/CreateWebACLMigrationStackCommand.ts @@ -35,7 +35,6 @@ export class CreateWebACLMigrationStackCommand extends $Command< CreateWebACLMigrationStackCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class CreateWebACLMigrationStackCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/CreateXssMatchSetCommand.ts b/clients/client-waf/commands/CreateXssMatchSetCommand.ts index bbfde32823d1b..1bb9c45682fd9 100644 --- a/clients/client-waf/commands/CreateXssMatchSetCommand.ts +++ b/clients/client-waf/commands/CreateXssMatchSetCommand.ts @@ -57,7 +57,6 @@ export class CreateXssMatchSetCommand extends $Command< CreateXssMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class CreateXssMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteByteMatchSetCommand.ts b/clients/client-waf/commands/DeleteByteMatchSetCommand.ts index e75f7e57bc6d7..f9aa40af029b5 100644 --- a/clients/client-waf/commands/DeleteByteMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteByteMatchSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteByteMatchSetCommand extends $Command< DeleteByteMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteByteMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts b/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts index 2f1654572aeb0..3e5a818606164 100644 --- a/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteGeoMatchSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteGeoMatchSetCommand extends $Command< DeleteGeoMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteGeoMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteIPSetCommand.ts b/clients/client-waf/commands/DeleteIPSetCommand.ts index 55860a95618a3..ebbab60988313 100644 --- a/clients/client-waf/commands/DeleteIPSetCommand.ts +++ b/clients/client-waf/commands/DeleteIPSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteIPSetCommand extends $Command< DeleteIPSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteIPSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts b/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts index f3e69db5b9cdf..90efa77b79729 100644 --- a/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts +++ b/clients/client-waf/commands/DeleteLoggingConfigurationCommand.ts @@ -37,7 +37,6 @@ export class DeleteLoggingConfigurationCommand extends $Command< DeleteLoggingConfigurationCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeletePermissionPolicyCommand.ts b/clients/client-waf/commands/DeletePermissionPolicyCommand.ts index 002244cdcd5f6..7c5429a389d23 100644 --- a/clients/client-waf/commands/DeletePermissionPolicyCommand.ts +++ b/clients/client-waf/commands/DeletePermissionPolicyCommand.ts @@ -37,7 +37,6 @@ export class DeletePermissionPolicyCommand extends $Command< DeletePermissionPolicyCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeletePermissionPolicyCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts b/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts index 03ae79febe8a7..9e611edf8f393 100644 --- a/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/DeleteRateBasedRuleCommand.ts @@ -55,7 +55,6 @@ export class DeleteRateBasedRuleCommand extends $Command< DeleteRateBasedRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -73,10 +72,7 @@ export class DeleteRateBasedRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts b/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts index 0b3fd064994c5..710cbdad446dd 100644 --- a/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteRegexMatchSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteRegexMatchSetCommand extends $Command< DeleteRegexMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteRegexMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts b/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts index c2301ab451c03..db398f3072fb5 100644 --- a/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/DeleteRegexPatternSetCommand.ts @@ -37,7 +37,6 @@ export class DeleteRegexPatternSetCommand extends $Command< DeleteRegexPatternSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DeleteRegexPatternSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteRuleCommand.ts b/clients/client-waf/commands/DeleteRuleCommand.ts index ec382ea20a3fb..9dad54aef41c1 100644 --- a/clients/client-waf/commands/DeleteRuleCommand.ts +++ b/clients/client-waf/commands/DeleteRuleCommand.ts @@ -51,7 +51,6 @@ export class DeleteRuleCommand extends $Command< DeleteRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteRuleGroupCommand.ts b/clients/client-waf/commands/DeleteRuleGroupCommand.ts index ee714d8c60648..52a6f92897424 100644 --- a/clients/client-waf/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-waf/commands/DeleteRuleGroupCommand.ts @@ -51,7 +51,6 @@ export class DeleteRuleGroupCommand extends $Command< DeleteRuleGroupCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteRuleGroupCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts b/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts index 6a74c127fafae..e2d87d1c71a17 100644 --- a/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/DeleteSizeConstraintSetCommand.ts @@ -51,7 +51,6 @@ export class DeleteSizeConstraintSetCommand extends $Command< DeleteSizeConstraintSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -69,10 +68,7 @@ export class DeleteSizeConstraintSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts index caa6124feff1e..3ea651595853c 100644 --- a/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteSqlInjectionMatchSetCommand.ts @@ -52,7 +52,6 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< DeleteSqlInjectionMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DeleteSqlInjectionMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteWebACLCommand.ts b/clients/client-waf/commands/DeleteWebACLCommand.ts index 4835e99210a92..90e7099f7f66a 100644 --- a/clients/client-waf/commands/DeleteWebACLCommand.ts +++ b/clients/client-waf/commands/DeleteWebACLCommand.ts @@ -49,7 +49,6 @@ export class DeleteWebACLCommand extends $Command< DeleteWebACLCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class DeleteWebACLCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/DeleteXssMatchSetCommand.ts b/clients/client-waf/commands/DeleteXssMatchSetCommand.ts index 4f36bca72c7cd..dee5ff1c86a04 100644 --- a/clients/client-waf/commands/DeleteXssMatchSetCommand.ts +++ b/clients/client-waf/commands/DeleteXssMatchSetCommand.ts @@ -52,7 +52,6 @@ export class DeleteXssMatchSetCommand extends $Command< DeleteXssMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class DeleteXssMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetByteMatchSetCommand.ts b/clients/client-waf/commands/GetByteMatchSetCommand.ts index 4af1945437029..7762a2fb69071 100644 --- a/clients/client-waf/commands/GetByteMatchSetCommand.ts +++ b/clients/client-waf/commands/GetByteMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetByteMatchSetCommand extends $Command< GetByteMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetByteMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetChangeTokenCommand.ts b/clients/client-waf/commands/GetChangeTokenCommand.ts index d084dae9209a1..7782ee7e98454 100644 --- a/clients/client-waf/commands/GetChangeTokenCommand.ts +++ b/clients/client-waf/commands/GetChangeTokenCommand.ts @@ -42,7 +42,6 @@ export class GetChangeTokenCommand extends $Command< GetChangeTokenCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class GetChangeTokenCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetChangeTokenStatusCommand.ts b/clients/client-waf/commands/GetChangeTokenStatusCommand.ts index b0b63d621fdd7..d491da94e39cb 100644 --- a/clients/client-waf/commands/GetChangeTokenStatusCommand.ts +++ b/clients/client-waf/commands/GetChangeTokenStatusCommand.ts @@ -52,7 +52,6 @@ export class GetChangeTokenStatusCommand extends $Command< GetChangeTokenStatusCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -70,10 +69,7 @@ export class GetChangeTokenStatusCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetGeoMatchSetCommand.ts b/clients/client-waf/commands/GetGeoMatchSetCommand.ts index 7eb4b7f5d230b..001f8458db68c 100644 --- a/clients/client-waf/commands/GetGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/GetGeoMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetGeoMatchSetCommand extends $Command< GetGeoMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetGeoMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetIPSetCommand.ts b/clients/client-waf/commands/GetIPSetCommand.ts index 313161fc8a60b..1191c04b414f1 100644 --- a/clients/client-waf/commands/GetIPSetCommand.ts +++ b/clients/client-waf/commands/GetIPSetCommand.ts @@ -29,7 +29,6 @@ export type GetIPSetCommandOutput = GetIPSetResponse & __MetadataBearer; *

Returns the IPSet that is specified by IPSetId.

*/ export class GetIPSetCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetIPSetCommand 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-waf/commands/GetLoggingConfigurationCommand.ts b/clients/client-waf/commands/GetLoggingConfigurationCommand.ts index 7e60f98014938..a32bbc66acfa8 100644 --- a/clients/client-waf/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-waf/commands/GetLoggingConfigurationCommand.ts @@ -36,7 +36,6 @@ export class GetLoggingConfigurationCommand extends $Command< GetLoggingConfigurationCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetLoggingConfigurationCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetPermissionPolicyCommand.ts b/clients/client-waf/commands/GetPermissionPolicyCommand.ts index 3220e730dc1e1..a55243722f146 100644 --- a/clients/client-waf/commands/GetPermissionPolicyCommand.ts +++ b/clients/client-waf/commands/GetPermissionPolicyCommand.ts @@ -36,7 +36,6 @@ export class GetPermissionPolicyCommand extends $Command< GetPermissionPolicyCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetPermissionPolicyCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetRateBasedRuleCommand.ts b/clients/client-waf/commands/GetRateBasedRuleCommand.ts index 01acd1ba1440a..edd2ca04e3443 100644 --- a/clients/client-waf/commands/GetRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/GetRateBasedRuleCommand.ts @@ -38,7 +38,6 @@ export class GetRateBasedRuleCommand extends $Command< GetRateBasedRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetRateBasedRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts b/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts index 2b63c1ba08cb0..a8246ed727733 100644 --- a/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts +++ b/clients/client-waf/commands/GetRateBasedRuleManagedKeysCommand.ts @@ -38,7 +38,6 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< GetRateBasedRuleManagedKeysCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -56,10 +55,7 @@ export class GetRateBasedRuleManagedKeysCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetRegexMatchSetCommand.ts b/clients/client-waf/commands/GetRegexMatchSetCommand.ts index 856122c776ff1..21f62c3259dd9 100644 --- a/clients/client-waf/commands/GetRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/GetRegexMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetRegexMatchSetCommand extends $Command< GetRegexMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetRegexMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetRegexPatternSetCommand.ts b/clients/client-waf/commands/GetRegexPatternSetCommand.ts index b289cce58dded..b3ace5cf71647 100644 --- a/clients/client-waf/commands/GetRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/GetRegexPatternSetCommand.ts @@ -36,7 +36,6 @@ export class GetRegexPatternSetCommand extends $Command< GetRegexPatternSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetRegexPatternSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetRuleCommand.ts b/clients/client-waf/commands/GetRuleCommand.ts index c1555c0b2991a..e1e0854361fc3 100644 --- a/clients/client-waf/commands/GetRuleCommand.ts +++ b/clients/client-waf/commands/GetRuleCommand.ts @@ -29,7 +29,6 @@ export type GetRuleCommandOutput = GetRuleResponse & __MetadataBearer; *

Returns the Rule that is specified by the RuleId that you included in the GetRule request.

*/ export class GetRuleCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetRuleCommand 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-waf/commands/GetRuleGroupCommand.ts b/clients/client-waf/commands/GetRuleGroupCommand.ts index 176e007266228..94e7c609ed482 100644 --- a/clients/client-waf/commands/GetRuleGroupCommand.ts +++ b/clients/client-waf/commands/GetRuleGroupCommand.ts @@ -37,7 +37,6 @@ export class GetRuleGroupCommand extends $Command< GetRuleGroupCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GetRuleGroupCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetSampledRequestsCommand.ts b/clients/client-waf/commands/GetSampledRequestsCommand.ts index 4976e8c27af09..b0bad66f2fb83 100644 --- a/clients/client-waf/commands/GetSampledRequestsCommand.ts +++ b/clients/client-waf/commands/GetSampledRequestsCommand.ts @@ -40,7 +40,6 @@ export class GetSampledRequestsCommand extends $Command< GetSampledRequestsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -58,10 +57,7 @@ export class GetSampledRequestsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetSizeConstraintSetCommand.ts b/clients/client-waf/commands/GetSizeConstraintSetCommand.ts index 1763ba5bfae3d..0d8826c3e233a 100644 --- a/clients/client-waf/commands/GetSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/GetSizeConstraintSetCommand.ts @@ -36,7 +36,6 @@ export class GetSizeConstraintSetCommand extends $Command< GetSizeConstraintSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSizeConstraintSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts index c356f492caa90..adede17e2c682 100644 --- a/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/GetSqlInjectionMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetSqlInjectionMatchSetCommand extends $Command< GetSqlInjectionMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetSqlInjectionMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/GetWebACLCommand.ts b/clients/client-waf/commands/GetWebACLCommand.ts index 1d8687d66319c..37288d32923be 100644 --- a/clients/client-waf/commands/GetWebACLCommand.ts +++ b/clients/client-waf/commands/GetWebACLCommand.ts @@ -29,7 +29,6 @@ export type GetWebACLCommandOutput = GetWebACLResponse & __MetadataBearer; *

Returns the WebACL that is specified by WebACLId.

*/ export class GetWebACLCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetWebACLCommand 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-waf/commands/GetXssMatchSetCommand.ts b/clients/client-waf/commands/GetXssMatchSetCommand.ts index 7d3820756db83..ded1baa53da54 100644 --- a/clients/client-waf/commands/GetXssMatchSetCommand.ts +++ b/clients/client-waf/commands/GetXssMatchSetCommand.ts @@ -36,7 +36,6 @@ export class GetXssMatchSetCommand extends $Command< GetXssMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GetXssMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts b/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts index 570bafa088ef7..39af8e68a59da 100644 --- a/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts +++ b/clients/client-waf/commands/ListActivatedRulesInRuleGroupCommand.ts @@ -36,7 +36,6 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< ListActivatedRulesInRuleGroupCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListActivatedRulesInRuleGroupCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListByteMatchSetsCommand.ts b/clients/client-waf/commands/ListByteMatchSetsCommand.ts index 9031cc973c423..27ea439714615 100644 --- a/clients/client-waf/commands/ListByteMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListByteMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListByteMatchSetsCommand extends $Command< ListByteMatchSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListByteMatchSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListGeoMatchSetsCommand.ts b/clients/client-waf/commands/ListGeoMatchSetsCommand.ts index d238bb8488622..804d75b1a107e 100644 --- a/clients/client-waf/commands/ListGeoMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListGeoMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListGeoMatchSetsCommand extends $Command< ListGeoMatchSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListGeoMatchSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListIPSetsCommand.ts b/clients/client-waf/commands/ListIPSetsCommand.ts index 39131e39d8182..43a044d622ad8 100644 --- a/clients/client-waf/commands/ListIPSetsCommand.ts +++ b/clients/client-waf/commands/ListIPSetsCommand.ts @@ -36,7 +36,6 @@ export class ListIPSetsCommand extends $Command< ListIPSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListIPSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts b/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts index 0004fb387d386..188d7a2ebec36 100644 --- a/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-waf/commands/ListLoggingConfigurationsCommand.ts @@ -36,7 +36,6 @@ export class ListLoggingConfigurationsCommand extends $Command< ListLoggingConfigurationsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListLoggingConfigurationsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListRateBasedRulesCommand.ts b/clients/client-waf/commands/ListRateBasedRulesCommand.ts index 9ee7bc62e9b1c..2079a0fbc4d6f 100644 --- a/clients/client-waf/commands/ListRateBasedRulesCommand.ts +++ b/clients/client-waf/commands/ListRateBasedRulesCommand.ts @@ -36,7 +36,6 @@ export class ListRateBasedRulesCommand extends $Command< ListRateBasedRulesCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRateBasedRulesCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListRegexMatchSetsCommand.ts b/clients/client-waf/commands/ListRegexMatchSetsCommand.ts index ee4073f31eb6f..04b83efe9179c 100644 --- a/clients/client-waf/commands/ListRegexMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListRegexMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListRegexMatchSetsCommand extends $Command< ListRegexMatchSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRegexMatchSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListRegexPatternSetsCommand.ts b/clients/client-waf/commands/ListRegexPatternSetsCommand.ts index f259d426f7ffc..8fab3338998c3 100644 --- a/clients/client-waf/commands/ListRegexPatternSetsCommand.ts +++ b/clients/client-waf/commands/ListRegexPatternSetsCommand.ts @@ -36,7 +36,6 @@ export class ListRegexPatternSetsCommand extends $Command< ListRegexPatternSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRegexPatternSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListRuleGroupsCommand.ts b/clients/client-waf/commands/ListRuleGroupsCommand.ts index 72db251584442..d2d146df8f2b9 100644 --- a/clients/client-waf/commands/ListRuleGroupsCommand.ts +++ b/clients/client-waf/commands/ListRuleGroupsCommand.ts @@ -36,7 +36,6 @@ export class ListRuleGroupsCommand extends $Command< ListRuleGroupsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListRuleGroupsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListRulesCommand.ts b/clients/client-waf/commands/ListRulesCommand.ts index 595fc831f7a08..61d51d614e7d3 100644 --- a/clients/client-waf/commands/ListRulesCommand.ts +++ b/clients/client-waf/commands/ListRulesCommand.ts @@ -29,7 +29,6 @@ export type ListRulesCommandOutput = ListRulesResponse & __MetadataBearer; *

Returns an array of RuleSummary objects.

*/ export class ListRulesCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListRulesCommand 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-waf/commands/ListSizeConstraintSetsCommand.ts b/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts index 455cc4cfefb8c..e0a89c328360b 100644 --- a/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts +++ b/clients/client-waf/commands/ListSizeConstraintSetsCommand.ts @@ -36,7 +36,6 @@ export class ListSizeConstraintSetsCommand extends $Command< ListSizeConstraintSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListSizeConstraintSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts b/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts index b1e3de7183ae1..d2f5b2904dd35 100644 --- a/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListSqlInjectionMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListSqlInjectionMatchSetsCommand extends $Command< ListSqlInjectionMatchSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListSqlInjectionMatchSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts b/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts index e57662e71635f..db18faf598838 100644 --- a/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts +++ b/clients/client-waf/commands/ListSubscribedRuleGroupsCommand.ts @@ -36,7 +36,6 @@ export class ListSubscribedRuleGroupsCommand extends $Command< ListSubscribedRuleGroupsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListSubscribedRuleGroupsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListTagsForResourceCommand.ts b/clients/client-waf/commands/ListTagsForResourceCommand.ts index f27d51e333d49..9da5b9a95df5b 100644 --- a/clients/client-waf/commands/ListTagsForResourceCommand.ts +++ b/clients/client-waf/commands/ListTagsForResourceCommand.ts @@ -37,7 +37,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListWebACLsCommand.ts b/clients/client-waf/commands/ListWebACLsCommand.ts index 3fe5b4ad70eea..0d7c636447a81 100644 --- a/clients/client-waf/commands/ListWebACLsCommand.ts +++ b/clients/client-waf/commands/ListWebACLsCommand.ts @@ -36,7 +36,6 @@ export class ListWebACLsCommand extends $Command< ListWebACLsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListWebACLsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/ListXssMatchSetsCommand.ts b/clients/client-waf/commands/ListXssMatchSetsCommand.ts index b83c464cab31e..ca4b3f9376c0c 100644 --- a/clients/client-waf/commands/ListXssMatchSetsCommand.ts +++ b/clients/client-waf/commands/ListXssMatchSetsCommand.ts @@ -36,7 +36,6 @@ export class ListXssMatchSetsCommand extends $Command< ListXssMatchSetsCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListXssMatchSetsCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/PutLoggingConfigurationCommand.ts b/clients/client-waf/commands/PutLoggingConfigurationCommand.ts index d5b529ac63623..681cf9b5c5379 100644 --- a/clients/client-waf/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-waf/commands/PutLoggingConfigurationCommand.ts @@ -53,7 +53,6 @@ export class PutLoggingConfigurationCommand extends $Command< PutLoggingConfigurationCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -71,10 +70,7 @@ export class PutLoggingConfigurationCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/PutPermissionPolicyCommand.ts b/clients/client-waf/commands/PutPermissionPolicyCommand.ts index ea7bde2a0f6c8..72f25ad3da173 100644 --- a/clients/client-waf/commands/PutPermissionPolicyCommand.ts +++ b/clients/client-waf/commands/PutPermissionPolicyCommand.ts @@ -68,7 +68,6 @@ export class PutPermissionPolicyCommand extends $Command< PutPermissionPolicyCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -86,10 +85,7 @@ export class PutPermissionPolicyCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/TagResourceCommand.ts b/clients/client-waf/commands/TagResourceCommand.ts index dde47ec9a18f0..9941f5c225982 100644 --- a/clients/client-waf/commands/TagResourceCommand.ts +++ b/clients/client-waf/commands/TagResourceCommand.ts @@ -37,7 +37,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class TagResourceCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UntagResourceCommand.ts b/clients/client-waf/commands/UntagResourceCommand.ts index bece35ee972fd..2c8a49922407c 100644 --- a/clients/client-waf/commands/UntagResourceCommand.ts +++ b/clients/client-waf/commands/UntagResourceCommand.ts @@ -36,7 +36,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class UntagResourceCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateByteMatchSetCommand.ts b/clients/client-waf/commands/UpdateByteMatchSetCommand.ts index 2fa3b35e435bd..ef388e04dd356 100644 --- a/clients/client-waf/commands/UpdateByteMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateByteMatchSetCommand.ts @@ -74,7 +74,6 @@ export class UpdateByteMatchSetCommand extends $Command< UpdateByteMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -92,10 +91,7 @@ export class UpdateByteMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts b/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts index b2b170d739ba4..d5aec2f840294 100644 --- a/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateGeoMatchSetCommand.ts @@ -66,7 +66,6 @@ export class UpdateGeoMatchSetCommand extends $Command< UpdateGeoMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -84,10 +83,7 @@ export class UpdateGeoMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateIPSetCommand.ts b/clients/client-waf/commands/UpdateIPSetCommand.ts index 609d68a01fb32..caa11ea21d935 100644 --- a/clients/client-waf/commands/UpdateIPSetCommand.ts +++ b/clients/client-waf/commands/UpdateIPSetCommand.ts @@ -101,7 +101,6 @@ export class UpdateIPSetCommand extends $Command< UpdateIPSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -119,10 +118,7 @@ export class UpdateIPSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts b/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts index e7668a4479143..91259eaac7716 100644 --- a/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts +++ b/clients/client-waf/commands/UpdateRateBasedRuleCommand.ts @@ -82,7 +82,6 @@ export class UpdateRateBasedRuleCommand extends $Command< UpdateRateBasedRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -100,10 +99,7 @@ export class UpdateRateBasedRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts b/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts index c221b8c84e01f..852caedba78b1 100644 --- a/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateRegexMatchSetCommand.ts @@ -70,7 +70,6 @@ export class UpdateRegexMatchSetCommand extends $Command< UpdateRegexMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -88,10 +87,7 @@ export class UpdateRegexMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts b/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts index c00970ad81607..c38a15b99e6e3 100644 --- a/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-waf/commands/UpdateRegexPatternSetCommand.ts @@ -75,7 +75,6 @@ export class UpdateRegexPatternSetCommand extends $Command< UpdateRegexPatternSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -93,10 +92,7 @@ export class UpdateRegexPatternSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateRuleCommand.ts b/clients/client-waf/commands/UpdateRuleCommand.ts index 57b3e0d1b45e8..2b6559b82555f 100644 --- a/clients/client-waf/commands/UpdateRuleCommand.ts +++ b/clients/client-waf/commands/UpdateRuleCommand.ts @@ -77,7 +77,6 @@ export class UpdateRuleCommand extends $Command< UpdateRuleCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class UpdateRuleCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateRuleGroupCommand.ts b/clients/client-waf/commands/UpdateRuleGroupCommand.ts index 8d4009867b4c3..1c8fd53d257c4 100644 --- a/clients/client-waf/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-waf/commands/UpdateRuleGroupCommand.ts @@ -60,7 +60,6 @@ export class UpdateRuleGroupCommand extends $Command< UpdateRuleGroupCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -78,10 +77,7 @@ export class UpdateRuleGroupCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts b/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts index 29d6421af8f29..7277ab833358d 100644 --- a/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts +++ b/clients/client-waf/commands/UpdateSizeConstraintSetCommand.ts @@ -78,7 +78,6 @@ export class UpdateSizeConstraintSetCommand extends $Command< UpdateSizeConstraintSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -96,10 +95,7 @@ export class UpdateSizeConstraintSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts b/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts index 936d341512dd5..cd74fc2f26fac 100644 --- a/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateSqlInjectionMatchSetCommand.ts @@ -77,7 +77,6 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< UpdateSqlInjectionMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -95,10 +94,7 @@ export class UpdateSqlInjectionMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateWebACLCommand.ts b/clients/client-waf/commands/UpdateWebACLCommand.ts index a9aee62c3e745..76d5a9f5f037a 100644 --- a/clients/client-waf/commands/UpdateWebACLCommand.ts +++ b/clients/client-waf/commands/UpdateWebACLCommand.ts @@ -107,7 +107,6 @@ export class UpdateWebACLCommand extends $Command< UpdateWebACLCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -125,10 +124,7 @@ export class UpdateWebACLCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-waf/commands/UpdateXssMatchSetCommand.ts b/clients/client-waf/commands/UpdateXssMatchSetCommand.ts index b2d9882ac34de..c682157ec00d0 100644 --- a/clients/client-waf/commands/UpdateXssMatchSetCommand.ts +++ b/clients/client-waf/commands/UpdateXssMatchSetCommand.ts @@ -79,7 +79,6 @@ export class UpdateXssMatchSetCommand extends $Command< UpdateXssMatchSetCommandOutput, WAFClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -97,10 +96,7 @@ export class UpdateXssMatchSetCommand extends $Command< configuration: WAFClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/AssociateWebACLCommand.ts b/clients/client-wafv2/commands/AssociateWebACLCommand.ts index aaa88a3c09d7a..0e06a3b4d49c6 100644 --- a/clients/client-wafv2/commands/AssociateWebACLCommand.ts +++ b/clients/client-wafv2/commands/AssociateWebACLCommand.ts @@ -32,7 +32,6 @@ export class AssociateWebACLCommand extends $Command< AssociateWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/CheckCapacityCommand.ts b/clients/client-wafv2/commands/CheckCapacityCommand.ts index 011ce8c0d6791..1833501f3520a 100644 --- a/clients/client-wafv2/commands/CheckCapacityCommand.ts +++ b/clients/client-wafv2/commands/CheckCapacityCommand.ts @@ -42,7 +42,6 @@ export class CheckCapacityCommand extends $Command< CheckCapacityCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -60,10 +59,7 @@ export class CheckCapacityCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/CreateIPSetCommand.ts b/clients/client-wafv2/commands/CreateIPSetCommand.ts index 51a0fc3386e5b..50f4f5ad43f03 100644 --- a/clients/client-wafv2/commands/CreateIPSetCommand.ts +++ b/clients/client-wafv2/commands/CreateIPSetCommand.ts @@ -31,7 +31,6 @@ export class CreateIPSetCommand extends $Command< CreateIPSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateIPSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts b/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts index 1eed28bc19378..23d374bb6e416 100644 --- a/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/CreateRegexPatternSetCommand.ts @@ -31,7 +31,6 @@ export class CreateRegexPatternSetCommand extends $Command< CreateRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class CreateRegexPatternSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/CreateRuleGroupCommand.ts b/clients/client-wafv2/commands/CreateRuleGroupCommand.ts index ea3489b7a90ed..eb9bf0c708767 100644 --- a/clients/client-wafv2/commands/CreateRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/CreateRuleGroupCommand.ts @@ -32,7 +32,6 @@ export class CreateRuleGroupCommand extends $Command< CreateRuleGroupCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateRuleGroupCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/CreateWebACLCommand.ts b/clients/client-wafv2/commands/CreateWebACLCommand.ts index 9b14f6272c468..fd385910fc7ab 100644 --- a/clients/client-wafv2/commands/CreateWebACLCommand.ts +++ b/clients/client-wafv2/commands/CreateWebACLCommand.ts @@ -32,7 +32,6 @@ export class CreateWebACLCommand extends $Command< CreateWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeleteFirewallManagerRuleGroupsCommand.ts b/clients/client-wafv2/commands/DeleteFirewallManagerRuleGroupsCommand.ts index 8ff18a0171329..47637d40148c3 100644 --- a/clients/client-wafv2/commands/DeleteFirewallManagerRuleGroupsCommand.ts +++ b/clients/client-wafv2/commands/DeleteFirewallManagerRuleGroupsCommand.ts @@ -29,7 +29,6 @@ export class DeleteFirewallManagerRuleGroupsCommand extends $Command< DeleteFirewallManagerRuleGroupsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteFirewallManagerRuleGroupsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeleteIPSetCommand.ts b/clients/client-wafv2/commands/DeleteIPSetCommand.ts index 6584d078ebe1c..9214485c03178 100644 --- a/clients/client-wafv2/commands/DeleteIPSetCommand.ts +++ b/clients/client-wafv2/commands/DeleteIPSetCommand.ts @@ -31,7 +31,6 @@ export class DeleteIPSetCommand extends $Command< DeleteIPSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteIPSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts b/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts index 705ef4ce78f8c..27e92dfd099d9 100644 --- a/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts +++ b/clients/client-wafv2/commands/DeleteLoggingConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DeleteLoggingConfigurationCommand extends $Command< DeleteLoggingConfigurationCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteLoggingConfigurationCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeletePermissionPolicyCommand.ts b/clients/client-wafv2/commands/DeletePermissionPolicyCommand.ts index 63770ca1906a6..0528f197b4ae0 100644 --- a/clients/client-wafv2/commands/DeletePermissionPolicyCommand.ts +++ b/clients/client-wafv2/commands/DeletePermissionPolicyCommand.ts @@ -29,7 +29,6 @@ export class DeletePermissionPolicyCommand extends $Command< DeletePermissionPolicyCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeletePermissionPolicyCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts b/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts index 0912e1a4b07db..73e9737d0caac 100644 --- a/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/DeleteRegexPatternSetCommand.ts @@ -31,7 +31,6 @@ export class DeleteRegexPatternSetCommand extends $Command< DeleteRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteRegexPatternSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts b/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts index 41336502ef0ba..03e11e5deaac6 100644 --- a/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/DeleteRuleGroupCommand.ts @@ -31,7 +31,6 @@ export class DeleteRuleGroupCommand extends $Command< DeleteRuleGroupCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeleteRuleGroupCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DeleteWebACLCommand.ts b/clients/client-wafv2/commands/DeleteWebACLCommand.ts index 0d4ffde9eaa19..eab489bc2900c 100644 --- a/clients/client-wafv2/commands/DeleteWebACLCommand.ts +++ b/clients/client-wafv2/commands/DeleteWebACLCommand.ts @@ -32,7 +32,6 @@ export class DeleteWebACLCommand extends $Command< DeleteWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts b/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts index d34067283963f..a7ac3deb38561 100644 --- a/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/DescribeManagedRuleGroupCommand.ts @@ -31,7 +31,6 @@ export class DescribeManagedRuleGroupCommand extends $Command< DescribeManagedRuleGroupCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DescribeManagedRuleGroupCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/DisassociateWebACLCommand.ts b/clients/client-wafv2/commands/DisassociateWebACLCommand.ts index 7241ed9258d19..e71882f9b4771 100644 --- a/clients/client-wafv2/commands/DisassociateWebACLCommand.ts +++ b/clients/client-wafv2/commands/DisassociateWebACLCommand.ts @@ -32,7 +32,6 @@ export class DisassociateWebACLCommand extends $Command< DisassociateWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DisassociateWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetIPSetCommand.ts b/clients/client-wafv2/commands/GetIPSetCommand.ts index 2f7023afa4093..fc6d998071641 100644 --- a/clients/client-wafv2/commands/GetIPSetCommand.ts +++ b/clients/client-wafv2/commands/GetIPSetCommand.ts @@ -24,7 +24,6 @@ export type GetIPSetCommandOutput = GetIPSetResponse & __MetadataBearer; *

Retrieves the specified IPSet.

*/ export class GetIPSetCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetIPSetCommand 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-wafv2/commands/GetLoggingConfigurationCommand.ts b/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts index 0b5e9ca0131d4..d0f24f18e488e 100644 --- a/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts +++ b/clients/client-wafv2/commands/GetLoggingConfigurationCommand.ts @@ -31,7 +31,6 @@ export class GetLoggingConfigurationCommand extends $Command< GetLoggingConfigurationCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetLoggingConfigurationCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetPermissionPolicyCommand.ts b/clients/client-wafv2/commands/GetPermissionPolicyCommand.ts index 6cf13ad084293..b716bea9f5931 100644 --- a/clients/client-wafv2/commands/GetPermissionPolicyCommand.ts +++ b/clients/client-wafv2/commands/GetPermissionPolicyCommand.ts @@ -29,7 +29,6 @@ export class GetPermissionPolicyCommand extends $Command< GetPermissionPolicyCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetPermissionPolicyCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts b/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts index b1f32cb3df01b..6a89f19917fb8 100644 --- a/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts +++ b/clients/client-wafv2/commands/GetRateBasedStatementManagedKeysCommand.ts @@ -31,7 +31,6 @@ export class GetRateBasedStatementManagedKeysCommand extends $Command< GetRateBasedStatementManagedKeysCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRateBasedStatementManagedKeysCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts b/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts index f672d5c0ec112..64c4351720159 100644 --- a/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/GetRegexPatternSetCommand.ts @@ -31,7 +31,6 @@ export class GetRegexPatternSetCommand extends $Command< GetRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRegexPatternSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetRuleGroupCommand.ts b/clients/client-wafv2/commands/GetRuleGroupCommand.ts index 91697927b3bf1..b3a48373d66c0 100644 --- a/clients/client-wafv2/commands/GetRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/GetRuleGroupCommand.ts @@ -31,7 +31,6 @@ export class GetRuleGroupCommand extends $Command< GetRuleGroupCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetRuleGroupCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetSampledRequestsCommand.ts b/clients/client-wafv2/commands/GetSampledRequestsCommand.ts index 1044abbc76afa..1ea4c513f3e25 100644 --- a/clients/client-wafv2/commands/GetSampledRequestsCommand.ts +++ b/clients/client-wafv2/commands/GetSampledRequestsCommand.ts @@ -35,7 +35,6 @@ export class GetSampledRequestsCommand extends $Command< GetSampledRequestsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GetSampledRequestsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetWebACLCommand.ts b/clients/client-wafv2/commands/GetWebACLCommand.ts index eb25eae44efce..4bc4e51a9c903 100644 --- a/clients/client-wafv2/commands/GetWebACLCommand.ts +++ b/clients/client-wafv2/commands/GetWebACLCommand.ts @@ -28,7 +28,6 @@ export class GetWebACLCommand extends $Command< GetWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts b/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts index 6d8d820911323..e939e7c259ea9 100644 --- a/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts +++ b/clients/client-wafv2/commands/GetWebACLForResourceCommand.ts @@ -31,7 +31,6 @@ export class GetWebACLForResourceCommand extends $Command< GetWebACLForResourceCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class GetWebACLForResourceCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts b/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts index 9a11a171f1bed..df1c87959c67a 100644 --- a/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts +++ b/clients/client-wafv2/commands/ListAvailableManagedRuleGroupsCommand.ts @@ -31,7 +31,6 @@ export class ListAvailableManagedRuleGroupsCommand extends $Command< ListAvailableManagedRuleGroupsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListAvailableManagedRuleGroupsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListIPSetsCommand.ts b/clients/client-wafv2/commands/ListIPSetsCommand.ts index 6f8c4f594ec55..bb0d722a15ba8 100644 --- a/clients/client-wafv2/commands/ListIPSetsCommand.ts +++ b/clients/client-wafv2/commands/ListIPSetsCommand.ts @@ -31,7 +31,6 @@ export class ListIPSetsCommand extends $Command< ListIPSetsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListIPSetsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts b/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts index 4fdb7426a7b00..5e44674d38c33 100644 --- a/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts +++ b/clients/client-wafv2/commands/ListLoggingConfigurationsCommand.ts @@ -31,7 +31,6 @@ export class ListLoggingConfigurationsCommand extends $Command< ListLoggingConfigurationsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListLoggingConfigurationsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts b/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts index 361fd0123eac4..dd7abe510c3a8 100644 --- a/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts +++ b/clients/client-wafv2/commands/ListRegexPatternSetsCommand.ts @@ -31,7 +31,6 @@ export class ListRegexPatternSetsCommand extends $Command< ListRegexPatternSetsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListRegexPatternSetsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts b/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts index 3b3e566d20d3d..f17b551789fdf 100644 --- a/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts +++ b/clients/client-wafv2/commands/ListResourcesForWebACLCommand.ts @@ -31,7 +31,6 @@ export class ListResourcesForWebACLCommand extends $Command< ListResourcesForWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListResourcesForWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListRuleGroupsCommand.ts b/clients/client-wafv2/commands/ListRuleGroupsCommand.ts index 0d15b6f1ac5f4..12c4335e7054d 100644 --- a/clients/client-wafv2/commands/ListRuleGroupsCommand.ts +++ b/clients/client-wafv2/commands/ListRuleGroupsCommand.ts @@ -31,7 +31,6 @@ export class ListRuleGroupsCommand extends $Command< ListRuleGroupsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListRuleGroupsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListTagsForResourceCommand.ts b/clients/client-wafv2/commands/ListTagsForResourceCommand.ts index dd028b5d33c90..7eb9f498d62e6 100644 --- a/clients/client-wafv2/commands/ListTagsForResourceCommand.ts +++ b/clients/client-wafv2/commands/ListTagsForResourceCommand.ts @@ -33,7 +33,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/ListWebACLsCommand.ts b/clients/client-wafv2/commands/ListWebACLsCommand.ts index b8a9d633942ee..4a6f9de7a729c 100644 --- a/clients/client-wafv2/commands/ListWebACLsCommand.ts +++ b/clients/client-wafv2/commands/ListWebACLsCommand.ts @@ -31,7 +31,6 @@ export class ListWebACLsCommand extends $Command< ListWebACLsCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ListWebACLsCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts b/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts index ba551fd72903f..42b41e04bcea8 100644 --- a/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts +++ b/clients/client-wafv2/commands/PutLoggingConfigurationCommand.ts @@ -49,7 +49,6 @@ export class PutLoggingConfigurationCommand extends $Command< PutLoggingConfigurationCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -67,10 +66,7 @@ export class PutLoggingConfigurationCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/PutPermissionPolicyCommand.ts b/clients/client-wafv2/commands/PutPermissionPolicyCommand.ts index fb1a064ce6189..9eb25d17b7ce2 100644 --- a/clients/client-wafv2/commands/PutPermissionPolicyCommand.ts +++ b/clients/client-wafv2/commands/PutPermissionPolicyCommand.ts @@ -41,7 +41,6 @@ export class PutPermissionPolicyCommand extends $Command< PutPermissionPolicyCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -59,10 +58,7 @@ export class PutPermissionPolicyCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/TagResourceCommand.ts b/clients/client-wafv2/commands/TagResourceCommand.ts index a818e5bf099a5..a0ed047d72679 100644 --- a/clients/client-wafv2/commands/TagResourceCommand.ts +++ b/clients/client-wafv2/commands/TagResourceCommand.ts @@ -33,7 +33,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class TagResourceCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/UntagResourceCommand.ts b/clients/client-wafv2/commands/UntagResourceCommand.ts index e23316bcb9fb9..5ebe6548d82ec 100644 --- a/clients/client-wafv2/commands/UntagResourceCommand.ts +++ b/clients/client-wafv2/commands/UntagResourceCommand.ts @@ -31,7 +31,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UntagResourceCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/UpdateIPSetCommand.ts b/clients/client-wafv2/commands/UpdateIPSetCommand.ts index 003038633cc5e..4a0da16954d97 100644 --- a/clients/client-wafv2/commands/UpdateIPSetCommand.ts +++ b/clients/client-wafv2/commands/UpdateIPSetCommand.ts @@ -31,7 +31,6 @@ export class UpdateIPSetCommand extends $Command< UpdateIPSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateIPSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts b/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts index 1c2148a0cd509..cc897601537d1 100644 --- a/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts +++ b/clients/client-wafv2/commands/UpdateRegexPatternSetCommand.ts @@ -31,7 +31,6 @@ export class UpdateRegexPatternSetCommand extends $Command< UpdateRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateRegexPatternSetCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts b/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts index 64bd0d8301e31..2b7c289b36487 100644 --- a/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts +++ b/clients/client-wafv2/commands/UpdateRuleGroupCommand.ts @@ -32,7 +32,6 @@ export class UpdateRuleGroupCommand extends $Command< UpdateRuleGroupCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateRuleGroupCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-wafv2/commands/UpdateWebACLCommand.ts b/clients/client-wafv2/commands/UpdateWebACLCommand.ts index 31db1125af3d4..eba3332a8b6c4 100644 --- a/clients/client-wafv2/commands/UpdateWebACLCommand.ts +++ b/clients/client-wafv2/commands/UpdateWebACLCommand.ts @@ -32,7 +32,6 @@ export class UpdateWebACLCommand extends $Command< UpdateWebACLCommandOutput, WAFV2ClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateWebACLCommand extends $Command< configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts b/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts index 10a3fa2c54138..11f4ba713d4e9 100644 --- a/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts +++ b/clients/client-workdocs/commands/AbortDocumentVersionUploadCommand.ts @@ -31,7 +31,6 @@ export class AbortDocumentVersionUploadCommand extends $Command< AbortDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class AbortDocumentVersionUploadCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/ActivateUserCommand.ts b/clients/client-workdocs/commands/ActivateUserCommand.ts index 1b7085dafb263..10e92a4c03be2 100644 --- a/clients/client-workdocs/commands/ActivateUserCommand.ts +++ b/clients/client-workdocs/commands/ActivateUserCommand.ts @@ -29,7 +29,6 @@ export class ActivateUserCommand extends $Command< ActivateUserCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ActivateUserCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts b/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts index eea33df7c3fb1..c0faf3b3e3978 100644 --- a/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts +++ b/clients/client-workdocs/commands/AddResourcePermissionsCommand.ts @@ -30,7 +30,6 @@ export class AddResourcePermissionsCommand extends $Command< AddResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AddResourcePermissionsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/CreateCommentCommand.ts b/clients/client-workdocs/commands/CreateCommentCommand.ts index 1dcaccb70fc53..1c21a85d14b60 100644 --- a/clients/client-workdocs/commands/CreateCommentCommand.ts +++ b/clients/client-workdocs/commands/CreateCommentCommand.ts @@ -28,7 +28,6 @@ export class CreateCommentCommand extends $Command< CreateCommentCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateCommentCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts b/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts index c49f05788a13a..a959ab0ce52b3 100644 --- a/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts +++ b/clients/client-workdocs/commands/CreateCustomMetadataCommand.ts @@ -29,7 +29,6 @@ export class CreateCustomMetadataCommand extends $Command< CreateCustomMetadataCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateCustomMetadataCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/CreateFolderCommand.ts b/clients/client-workdocs/commands/CreateFolderCommand.ts index 8900eda3489d3..a111485b74f41 100644 --- a/clients/client-workdocs/commands/CreateFolderCommand.ts +++ b/clients/client-workdocs/commands/CreateFolderCommand.ts @@ -28,7 +28,6 @@ export class CreateFolderCommand extends $Command< CreateFolderCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateFolderCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/CreateLabelsCommand.ts b/clients/client-workdocs/commands/CreateLabelsCommand.ts index e939686cf0109..e6dabb3457a86 100644 --- a/clients/client-workdocs/commands/CreateLabelsCommand.ts +++ b/clients/client-workdocs/commands/CreateLabelsCommand.ts @@ -29,7 +29,6 @@ export class CreateLabelsCommand extends $Command< CreateLabelsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateLabelsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts b/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts index 4525b26ec5691..c5f92dc79c72a 100644 --- a/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts +++ b/clients/client-workdocs/commands/CreateNotificationSubscriptionCommand.ts @@ -32,7 +32,6 @@ export class CreateNotificationSubscriptionCommand extends $Command< CreateNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class CreateNotificationSubscriptionCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/CreateUserCommand.ts b/clients/client-workdocs/commands/CreateUserCommand.ts index 4beefaed7b265..b6546b690e9ee 100644 --- a/clients/client-workdocs/commands/CreateUserCommand.ts +++ b/clients/client-workdocs/commands/CreateUserCommand.ts @@ -29,7 +29,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateUserCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeactivateUserCommand.ts b/clients/client-workdocs/commands/DeactivateUserCommand.ts index cc9eed1539a14..ec1591e293caf 100644 --- a/clients/client-workdocs/commands/DeactivateUserCommand.ts +++ b/clients/client-workdocs/commands/DeactivateUserCommand.ts @@ -29,7 +29,6 @@ export class DeactivateUserCommand extends $Command< DeactivateUserCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeactivateUserCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteCommentCommand.ts b/clients/client-workdocs/commands/DeleteCommentCommand.ts index f18401a2458bd..04d16144cfff4 100644 --- a/clients/client-workdocs/commands/DeleteCommentCommand.ts +++ b/clients/client-workdocs/commands/DeleteCommentCommand.ts @@ -28,7 +28,6 @@ export class DeleteCommentCommand extends $Command< DeleteCommentCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCommentCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts b/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts index a77ec0b7a126f..3612a05035f3f 100644 --- a/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts +++ b/clients/client-workdocs/commands/DeleteCustomMetadataCommand.ts @@ -28,7 +28,6 @@ export class DeleteCustomMetadataCommand extends $Command< DeleteCustomMetadataCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteCustomMetadataCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteDocumentCommand.ts b/clients/client-workdocs/commands/DeleteDocumentCommand.ts index 7d9b09b52930f..26e70871c3607 100644 --- a/clients/client-workdocs/commands/DeleteDocumentCommand.ts +++ b/clients/client-workdocs/commands/DeleteDocumentCommand.ts @@ -28,7 +28,6 @@ export class DeleteDocumentCommand extends $Command< DeleteDocumentCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteDocumentCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteFolderCommand.ts b/clients/client-workdocs/commands/DeleteFolderCommand.ts index 4dbd7b6164202..2c74801b53cc5 100644 --- a/clients/client-workdocs/commands/DeleteFolderCommand.ts +++ b/clients/client-workdocs/commands/DeleteFolderCommand.ts @@ -28,7 +28,6 @@ export class DeleteFolderCommand extends $Command< DeleteFolderCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFolderCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts b/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts index 6bf2ca6c41081..86941f76ce826 100644 --- a/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts +++ b/clients/client-workdocs/commands/DeleteFolderContentsCommand.ts @@ -28,7 +28,6 @@ export class DeleteFolderContentsCommand extends $Command< DeleteFolderContentsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFolderContentsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteLabelsCommand.ts b/clients/client-workdocs/commands/DeleteLabelsCommand.ts index 21de7f57c2d58..3b980577b041f 100644 --- a/clients/client-workdocs/commands/DeleteLabelsCommand.ts +++ b/clients/client-workdocs/commands/DeleteLabelsCommand.ts @@ -28,7 +28,6 @@ export class DeleteLabelsCommand extends $Command< DeleteLabelsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteLabelsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts b/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts index 08caeae4a0ac4..83f383a451315 100644 --- a/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts +++ b/clients/client-workdocs/commands/DeleteNotificationSubscriptionCommand.ts @@ -28,7 +28,6 @@ export class DeleteNotificationSubscriptionCommand extends $Command< DeleteNotificationSubscriptionCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteNotificationSubscriptionCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DeleteUserCommand.ts b/clients/client-workdocs/commands/DeleteUserCommand.ts index f1d0a9a4a2424..2c5c75c379427 100644 --- a/clients/client-workdocs/commands/DeleteUserCommand.ts +++ b/clients/client-workdocs/commands/DeleteUserCommand.ts @@ -28,7 +28,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteUserCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeActivitiesCommand.ts b/clients/client-workdocs/commands/DescribeActivitiesCommand.ts index 2a88a065003f7..c68de3a612fc4 100644 --- a/clients/client-workdocs/commands/DescribeActivitiesCommand.ts +++ b/clients/client-workdocs/commands/DescribeActivitiesCommand.ts @@ -28,7 +28,6 @@ export class DescribeActivitiesCommand extends $Command< DescribeActivitiesCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeActivitiesCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeCommentsCommand.ts b/clients/client-workdocs/commands/DescribeCommentsCommand.ts index ea596b10b05dd..f04b87a8421ba 100644 --- a/clients/client-workdocs/commands/DescribeCommentsCommand.ts +++ b/clients/client-workdocs/commands/DescribeCommentsCommand.ts @@ -28,7 +28,6 @@ export class DescribeCommentsCommand extends $Command< DescribeCommentsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeCommentsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts b/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts index 3cb31c2df3c90..3e1b89fba671c 100644 --- a/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts +++ b/clients/client-workdocs/commands/DescribeDocumentVersionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeDocumentVersionsCommand extends $Command< DescribeDocumentVersionsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeDocumentVersionsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts b/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts index c071d1f441ed2..84af8460447f4 100644 --- a/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts +++ b/clients/client-workdocs/commands/DescribeFolderContentsCommand.ts @@ -33,7 +33,6 @@ export class DescribeFolderContentsCommand extends $Command< DescribeFolderContentsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeFolderContentsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeGroupsCommand.ts b/clients/client-workdocs/commands/DescribeGroupsCommand.ts index b48a596192b40..e3736d2345cfb 100644 --- a/clients/client-workdocs/commands/DescribeGroupsCommand.ts +++ b/clients/client-workdocs/commands/DescribeGroupsCommand.ts @@ -29,7 +29,6 @@ export class DescribeGroupsCommand extends $Command< DescribeGroupsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeGroupsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts b/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts index 3f7924aef2131..c885366fd4bea 100644 --- a/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts +++ b/clients/client-workdocs/commands/DescribeNotificationSubscriptionsCommand.ts @@ -32,7 +32,6 @@ export class DescribeNotificationSubscriptionsCommand extends $Command< DescribeNotificationSubscriptionsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeNotificationSubscriptionsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts b/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts index 8bba316c853ad..0db1c9c2f78b5 100644 --- a/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts +++ b/clients/client-workdocs/commands/DescribeResourcePermissionsCommand.ts @@ -28,7 +28,6 @@ export class DescribeResourcePermissionsCommand extends $Command< DescribeResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeResourcePermissionsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts b/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts index ffe0481c36e32..e4de767e8837e 100644 --- a/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts +++ b/clients/client-workdocs/commands/DescribeRootFoldersCommand.ts @@ -36,7 +36,6 @@ export class DescribeRootFoldersCommand extends $Command< DescribeRootFoldersCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DescribeRootFoldersCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/DescribeUsersCommand.ts b/clients/client-workdocs/commands/DescribeUsersCommand.ts index 1ff0ef3cd2487..69c5568f7fe43 100644 --- a/clients/client-workdocs/commands/DescribeUsersCommand.ts +++ b/clients/client-workdocs/commands/DescribeUsersCommand.ts @@ -32,7 +32,6 @@ export class DescribeUsersCommand extends $Command< DescribeUsersCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeUsersCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetCurrentUserCommand.ts b/clients/client-workdocs/commands/GetCurrentUserCommand.ts index 32944745166ec..41773ce838e33 100644 --- a/clients/client-workdocs/commands/GetCurrentUserCommand.ts +++ b/clients/client-workdocs/commands/GetCurrentUserCommand.ts @@ -34,7 +34,6 @@ export class GetCurrentUserCommand extends $Command< GetCurrentUserCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class GetCurrentUserCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetDocumentCommand.ts b/clients/client-workdocs/commands/GetDocumentCommand.ts index b16e866e583be..3ce68f0e41b11 100644 --- a/clients/client-workdocs/commands/GetDocumentCommand.ts +++ b/clients/client-workdocs/commands/GetDocumentCommand.ts @@ -28,7 +28,6 @@ export class GetDocumentCommand extends $Command< GetDocumentCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDocumentCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetDocumentPathCommand.ts b/clients/client-workdocs/commands/GetDocumentPathCommand.ts index 140c13060813a..e63b5d4e2e070 100644 --- a/clients/client-workdocs/commands/GetDocumentPathCommand.ts +++ b/clients/client-workdocs/commands/GetDocumentPathCommand.ts @@ -33,7 +33,6 @@ export class GetDocumentPathCommand extends $Command< GetDocumentPathCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetDocumentPathCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetDocumentVersionCommand.ts b/clients/client-workdocs/commands/GetDocumentVersionCommand.ts index 7d68e1984cccf..7c32d6800871a 100644 --- a/clients/client-workdocs/commands/GetDocumentVersionCommand.ts +++ b/clients/client-workdocs/commands/GetDocumentVersionCommand.ts @@ -28,7 +28,6 @@ export class GetDocumentVersionCommand extends $Command< GetDocumentVersionCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetDocumentVersionCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetFolderCommand.ts b/clients/client-workdocs/commands/GetFolderCommand.ts index 87a266ae49f80..180c29231edf3 100644 --- a/clients/client-workdocs/commands/GetFolderCommand.ts +++ b/clients/client-workdocs/commands/GetFolderCommand.ts @@ -28,7 +28,6 @@ export class GetFolderCommand extends $Command< GetFolderCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetFolderCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetFolderPathCommand.ts b/clients/client-workdocs/commands/GetFolderPathCommand.ts index 88a9ef6422d40..ce28d4e96d2f4 100644 --- a/clients/client-workdocs/commands/GetFolderPathCommand.ts +++ b/clients/client-workdocs/commands/GetFolderPathCommand.ts @@ -33,7 +33,6 @@ export class GetFolderPathCommand extends $Command< GetFolderPathCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class GetFolderPathCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/GetResourcesCommand.ts b/clients/client-workdocs/commands/GetResourcesCommand.ts index b62348bfc6940..36e3c1ee39a14 100644 --- a/clients/client-workdocs/commands/GetResourcesCommand.ts +++ b/clients/client-workdocs/commands/GetResourcesCommand.ts @@ -29,7 +29,6 @@ export class GetResourcesCommand extends $Command< GetResourcesCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetResourcesCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts b/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts index 462971cc557b9..932b7601b5132 100644 --- a/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts +++ b/clients/client-workdocs/commands/InitiateDocumentVersionUploadCommand.ts @@ -33,7 +33,6 @@ export class InitiateDocumentVersionUploadCommand extends $Command< InitiateDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class InitiateDocumentVersionUploadCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts b/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts index 2de29869126bd..0a0434df1a96f 100644 --- a/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts +++ b/clients/client-workdocs/commands/RemoveAllResourcePermissionsCommand.ts @@ -28,7 +28,6 @@ export class RemoveAllResourcePermissionsCommand extends $Command< RemoveAllResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RemoveAllResourcePermissionsCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts b/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts index c0b70a63cf30c..033378047a483 100644 --- a/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts +++ b/clients/client-workdocs/commands/RemoveResourcePermissionCommand.ts @@ -29,7 +29,6 @@ export class RemoveResourcePermissionCommand extends $Command< RemoveResourcePermissionCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class RemoveResourcePermissionCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/UpdateDocumentCommand.ts b/clients/client-workdocs/commands/UpdateDocumentCommand.ts index 18dae36cdc89c..c49132edd3097 100644 --- a/clients/client-workdocs/commands/UpdateDocumentCommand.ts +++ b/clients/client-workdocs/commands/UpdateDocumentCommand.ts @@ -29,7 +29,6 @@ export class UpdateDocumentCommand extends $Command< UpdateDocumentCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateDocumentCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts b/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts index f42a802f21d92..e3acbff72610a 100644 --- a/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts +++ b/clients/client-workdocs/commands/UpdateDocumentVersionCommand.ts @@ -31,7 +31,6 @@ export class UpdateDocumentVersionCommand extends $Command< UpdateDocumentVersionCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class UpdateDocumentVersionCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/UpdateFolderCommand.ts b/clients/client-workdocs/commands/UpdateFolderCommand.ts index 035aabd6f80ca..0162e29c956a0 100644 --- a/clients/client-workdocs/commands/UpdateFolderCommand.ts +++ b/clients/client-workdocs/commands/UpdateFolderCommand.ts @@ -29,7 +29,6 @@ export class UpdateFolderCommand extends $Command< UpdateFolderCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateFolderCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workdocs/commands/UpdateUserCommand.ts b/clients/client-workdocs/commands/UpdateUserCommand.ts index addc451a6f956..02e72ca5d9cc4 100644 --- a/clients/client-workdocs/commands/UpdateUserCommand.ts +++ b/clients/client-workdocs/commands/UpdateUserCommand.ts @@ -29,7 +29,6 @@ export class UpdateUserCommand extends $Command< UpdateUserCommandOutput, WorkDocsClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateUserCommand extends $Command< configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/AssociateDomainCommand.ts b/clients/client-worklink/commands/AssociateDomainCommand.ts index ede570556f9c0..d46f7fa29f7f0 100644 --- a/clients/client-worklink/commands/AssociateDomainCommand.ts +++ b/clients/client-worklink/commands/AssociateDomainCommand.ts @@ -28,7 +28,6 @@ export class AssociateDomainCommand extends $Command< AssociateDomainCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateDomainCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts b/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts index 313074690560a..96e2cb753e625 100644 --- a/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts +++ b/clients/client-worklink/commands/AssociateWebsiteAuthorizationProviderCommand.ts @@ -32,7 +32,6 @@ export class AssociateWebsiteAuthorizationProviderCommand extends $Command< AssociateWebsiteAuthorizationProviderCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class AssociateWebsiteAuthorizationProviderCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts b/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts index 399aff34ce521..d0bcbf0a80bd7 100644 --- a/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts +++ b/clients/client-worklink/commands/AssociateWebsiteCertificateAuthorityCommand.ts @@ -33,7 +33,6 @@ export class AssociateWebsiteCertificateAuthorityCommand extends $Command< AssociateWebsiteCertificateAuthorityCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class AssociateWebsiteCertificateAuthorityCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/CreateFleetCommand.ts b/clients/client-worklink/commands/CreateFleetCommand.ts index c577b49cc9fd1..85b57c7cd7718 100644 --- a/clients/client-worklink/commands/CreateFleetCommand.ts +++ b/clients/client-worklink/commands/CreateFleetCommand.ts @@ -29,7 +29,6 @@ export class CreateFleetCommand extends $Command< CreateFleetCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateFleetCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DeleteFleetCommand.ts b/clients/client-worklink/commands/DeleteFleetCommand.ts index 61f8d377c958d..238d263332464 100644 --- a/clients/client-worklink/commands/DeleteFleetCommand.ts +++ b/clients/client-worklink/commands/DeleteFleetCommand.ts @@ -28,7 +28,6 @@ export class DeleteFleetCommand extends $Command< DeleteFleetCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteFleetCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts b/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts index ee172885d0076..9605fd8787283 100644 --- a/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeAuditStreamConfigurationCommand.ts @@ -28,7 +28,6 @@ export class DescribeAuditStreamConfigurationCommand extends $Command< DescribeAuditStreamConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeAuditStreamConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts b/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts index f31eb8788e5eb..5ac9b38e0011d 100644 --- a/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeCompanyNetworkConfigurationCommand.ts @@ -33,7 +33,6 @@ export class DescribeCompanyNetworkConfigurationCommand extends $Command< DescribeCompanyNetworkConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class DescribeCompanyNetworkConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeDeviceCommand.ts b/clients/client-worklink/commands/DescribeDeviceCommand.ts index d92abdac5169f..acb1ad792b0c3 100644 --- a/clients/client-worklink/commands/DescribeDeviceCommand.ts +++ b/clients/client-worklink/commands/DescribeDeviceCommand.ts @@ -28,7 +28,6 @@ export class DescribeDeviceCommand extends $Command< DescribeDeviceCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDeviceCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts b/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts index ae3a31ec671e5..42ab44930dad7 100644 --- a/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeDevicePolicyConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DescribeDevicePolicyConfigurationCommand extends $Command< DescribeDevicePolicyConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeDevicePolicyConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeDomainCommand.ts b/clients/client-worklink/commands/DescribeDomainCommand.ts index e59f7a0aad6e2..cdfd721eab30a 100644 --- a/clients/client-worklink/commands/DescribeDomainCommand.ts +++ b/clients/client-worklink/commands/DescribeDomainCommand.ts @@ -28,7 +28,6 @@ export class DescribeDomainCommand extends $Command< DescribeDomainCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeDomainCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts b/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts index 23f36a8445ddb..aaf8f4943e960 100644 --- a/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts +++ b/clients/client-worklink/commands/DescribeFleetMetadataCommand.ts @@ -29,7 +29,6 @@ export class DescribeFleetMetadataCommand extends $Command< DescribeFleetMetadataCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeFleetMetadataCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts b/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts index c14c3c92d1a99..e7170dbe1e20c 100644 --- a/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts +++ b/clients/client-worklink/commands/DescribeIdentityProviderConfigurationCommand.ts @@ -32,7 +32,6 @@ export class DescribeIdentityProviderConfigurationCommand extends $Command< DescribeIdentityProviderConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeIdentityProviderConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts b/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts index 5a187117019a1..4e49ae99a0667 100644 --- a/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts +++ b/clients/client-worklink/commands/DescribeWebsiteCertificateAuthorityCommand.ts @@ -32,7 +32,6 @@ export class DescribeWebsiteCertificateAuthorityCommand extends $Command< DescribeWebsiteCertificateAuthorityCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeWebsiteCertificateAuthorityCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DisassociateDomainCommand.ts b/clients/client-worklink/commands/DisassociateDomainCommand.ts index fb62c4b25d777..c915b0da64f11 100644 --- a/clients/client-worklink/commands/DisassociateDomainCommand.ts +++ b/clients/client-worklink/commands/DisassociateDomainCommand.ts @@ -28,7 +28,6 @@ export class DisassociateDomainCommand extends $Command< DisassociateDomainCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateDomainCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts b/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts index f05c436b7c85c..5e43e98148b20 100644 --- a/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts +++ b/clients/client-worklink/commands/DisassociateWebsiteAuthorizationProviderCommand.ts @@ -34,7 +34,6 @@ export class DisassociateWebsiteAuthorizationProviderCommand extends $Command< DisassociateWebsiteAuthorizationProviderCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class DisassociateWebsiteAuthorizationProviderCommand extends $Command< DisassociateWebsiteAuthorizationProviderCommandInput, DisassociateWebsiteAuthorizationProviderCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts b/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts index ec12f93e0fdf0..e85325f37cfea 100644 --- a/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts +++ b/clients/client-worklink/commands/DisassociateWebsiteCertificateAuthorityCommand.ts @@ -32,7 +32,6 @@ export class DisassociateWebsiteCertificateAuthorityCommand extends $Command< DisassociateWebsiteCertificateAuthorityCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class DisassociateWebsiteCertificateAuthorityCommand extends $Command< DisassociateWebsiteCertificateAuthorityCommandInput, DisassociateWebsiteCertificateAuthorityCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/ListDevicesCommand.ts b/clients/client-worklink/commands/ListDevicesCommand.ts index be45d8f6f9643..9f336c7d18200 100644 --- a/clients/client-worklink/commands/ListDevicesCommand.ts +++ b/clients/client-worklink/commands/ListDevicesCommand.ts @@ -28,7 +28,6 @@ export class ListDevicesCommand extends $Command< ListDevicesCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDevicesCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/ListDomainsCommand.ts b/clients/client-worklink/commands/ListDomainsCommand.ts index a24ff81ce2707..ab5cede7babe2 100644 --- a/clients/client-worklink/commands/ListDomainsCommand.ts +++ b/clients/client-worklink/commands/ListDomainsCommand.ts @@ -28,7 +28,6 @@ export class ListDomainsCommand extends $Command< ListDomainsCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListDomainsCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/ListFleetsCommand.ts b/clients/client-worklink/commands/ListFleetsCommand.ts index 443b31a48c03c..bcdeb71ca7bc3 100644 --- a/clients/client-worklink/commands/ListFleetsCommand.ts +++ b/clients/client-worklink/commands/ListFleetsCommand.ts @@ -28,7 +28,6 @@ export class ListFleetsCommand extends $Command< ListFleetsCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListFleetsCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/ListTagsForResourceCommand.ts b/clients/client-worklink/commands/ListTagsForResourceCommand.ts index 0c9ee60e7faf0..e8b5abe194374 100644 --- a/clients/client-worklink/commands/ListTagsForResourceCommand.ts +++ b/clients/client-worklink/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts b/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts index b3ca6b76f3917..0231ac0d71913 100644 --- a/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts +++ b/clients/client-worklink/commands/ListWebsiteAuthorizationProvidersCommand.ts @@ -32,7 +32,6 @@ export class ListWebsiteAuthorizationProvidersCommand extends $Command< ListWebsiteAuthorizationProvidersCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ListWebsiteAuthorizationProvidersCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts b/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts index 1ccaf5f4a0415..e7878ea4a521e 100644 --- a/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts +++ b/clients/client-worklink/commands/ListWebsiteCertificateAuthoritiesCommand.ts @@ -33,7 +33,6 @@ export class ListWebsiteCertificateAuthoritiesCommand extends $Command< ListWebsiteCertificateAuthoritiesCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ListWebsiteCertificateAuthoritiesCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/RestoreDomainAccessCommand.ts b/clients/client-worklink/commands/RestoreDomainAccessCommand.ts index 9dad8ae18f2d6..a0db3a6e40721 100644 --- a/clients/client-worklink/commands/RestoreDomainAccessCommand.ts +++ b/clients/client-worklink/commands/RestoreDomainAccessCommand.ts @@ -28,7 +28,6 @@ export class RestoreDomainAccessCommand extends $Command< RestoreDomainAccessCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RestoreDomainAccessCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/RevokeDomainAccessCommand.ts b/clients/client-worklink/commands/RevokeDomainAccessCommand.ts index 4b366c61aaf9a..cede38a2d5f62 100644 --- a/clients/client-worklink/commands/RevokeDomainAccessCommand.ts +++ b/clients/client-worklink/commands/RevokeDomainAccessCommand.ts @@ -28,7 +28,6 @@ export class RevokeDomainAccessCommand extends $Command< RevokeDomainAccessCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokeDomainAccessCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/SignOutUserCommand.ts b/clients/client-worklink/commands/SignOutUserCommand.ts index 2f68c77f0170f..dc4e5a2fe05d1 100644 --- a/clients/client-worklink/commands/SignOutUserCommand.ts +++ b/clients/client-worklink/commands/SignOutUserCommand.ts @@ -29,7 +29,6 @@ export class SignOutUserCommand extends $Command< SignOutUserCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class SignOutUserCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/TagResourceCommand.ts b/clients/client-worklink/commands/TagResourceCommand.ts index 3f76a71801128..18b10258c8be0 100644 --- a/clients/client-worklink/commands/TagResourceCommand.ts +++ b/clients/client-worklink/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UntagResourceCommand.ts b/clients/client-worklink/commands/UntagResourceCommand.ts index 264db521b4800..33e7c3d830c48 100644 --- a/clients/client-worklink/commands/UntagResourceCommand.ts +++ b/clients/client-worklink/commands/UntagResourceCommand.ts @@ -28,7 +28,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UntagResourceCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts b/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts index fca373584b50c..54d901e6a37a7 100644 --- a/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateAuditStreamConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateAuditStreamConfigurationCommand extends $Command< UpdateAuditStreamConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateAuditStreamConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts b/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts index aa797375c995f..d7adc01bb2936 100644 --- a/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateCompanyNetworkConfigurationCommand.ts @@ -32,7 +32,6 @@ export class UpdateCompanyNetworkConfigurationCommand extends $Command< UpdateCompanyNetworkConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateCompanyNetworkConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts b/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts index da2f4240cfe45..3fb39e81fe5b2 100644 --- a/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateDevicePolicyConfigurationCommand.ts @@ -28,7 +28,6 @@ export class UpdateDevicePolicyConfigurationCommand extends $Command< UpdateDevicePolicyConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDevicePolicyConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts b/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts index 075afc0143fba..f0127cbbac51a 100644 --- a/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts +++ b/clients/client-worklink/commands/UpdateDomainMetadataCommand.ts @@ -28,7 +28,6 @@ export class UpdateDomainMetadataCommand extends $Command< UpdateDomainMetadataCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateDomainMetadataCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts b/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts index a751abfaefffd..ef6d9ad9b3c9b 100644 --- a/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts +++ b/clients/client-worklink/commands/UpdateFleetMetadataCommand.ts @@ -28,7 +28,6 @@ export class UpdateFleetMetadataCommand extends $Command< UpdateFleetMetadataCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateFleetMetadataCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts b/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts index b6e732d6d834e..6955403858de3 100644 --- a/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts +++ b/clients/client-worklink/commands/UpdateIdentityProviderConfigurationCommand.ts @@ -32,7 +32,6 @@ export class UpdateIdentityProviderConfigurationCommand extends $Command< UpdateIdentityProviderConfigurationCommandOutput, WorkLinkClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class UpdateIdentityProviderConfigurationCommand extends $Command< configuration: WorkLinkClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts b/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts index a7f642be0a54a..af58984998495 100644 --- a/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts +++ b/clients/client-workmail/commands/AssociateDelegateToResourceCommand.ts @@ -28,7 +28,6 @@ export class AssociateDelegateToResourceCommand extends $Command< AssociateDelegateToResourceCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateDelegateToResourceCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts b/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts index b6b1031d52515..35be07168b154 100644 --- a/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts +++ b/clients/client-workmail/commands/AssociateMemberToGroupCommand.ts @@ -28,7 +28,6 @@ export class AssociateMemberToGroupCommand extends $Command< AssociateMemberToGroupCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateMemberToGroupCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/CreateAliasCommand.ts b/clients/client-workmail/commands/CreateAliasCommand.ts index 13c9124947565..22cf136af2568 100644 --- a/clients/client-workmail/commands/CreateAliasCommand.ts +++ b/clients/client-workmail/commands/CreateAliasCommand.ts @@ -28,7 +28,6 @@ export class CreateAliasCommand extends $Command< CreateAliasCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateAliasCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/CreateGroupCommand.ts b/clients/client-workmail/commands/CreateGroupCommand.ts index d81e38fa7ede7..bbc277f4923cc 100644 --- a/clients/client-workmail/commands/CreateGroupCommand.ts +++ b/clients/client-workmail/commands/CreateGroupCommand.ts @@ -29,7 +29,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateGroupCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/CreateResourceCommand.ts b/clients/client-workmail/commands/CreateResourceCommand.ts index b82c7d4fd797d..751163cc36dfa 100644 --- a/clients/client-workmail/commands/CreateResourceCommand.ts +++ b/clients/client-workmail/commands/CreateResourceCommand.ts @@ -28,7 +28,6 @@ export class CreateResourceCommand extends $Command< CreateResourceCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateResourceCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/CreateUserCommand.ts b/clients/client-workmail/commands/CreateUserCommand.ts index e63497c9bd10c..af2cf889a020a 100644 --- a/clients/client-workmail/commands/CreateUserCommand.ts +++ b/clients/client-workmail/commands/CreateUserCommand.ts @@ -29,7 +29,6 @@ export class CreateUserCommand extends $Command< CreateUserCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateUserCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DeleteAliasCommand.ts b/clients/client-workmail/commands/DeleteAliasCommand.ts index 417f27a65f9df..7dc1a06d01386 100644 --- a/clients/client-workmail/commands/DeleteAliasCommand.ts +++ b/clients/client-workmail/commands/DeleteAliasCommand.ts @@ -29,7 +29,6 @@ export class DeleteAliasCommand extends $Command< DeleteAliasCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteAliasCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DeleteGroupCommand.ts b/clients/client-workmail/commands/DeleteGroupCommand.ts index bd0950c73f211..ced80f7145573 100644 --- a/clients/client-workmail/commands/DeleteGroupCommand.ts +++ b/clients/client-workmail/commands/DeleteGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGroupCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts b/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts index 2df0b2f44d54d..e2cdfe54cbbf0 100644 --- a/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts +++ b/clients/client-workmail/commands/DeleteMailboxPermissionsCommand.ts @@ -28,7 +28,6 @@ export class DeleteMailboxPermissionsCommand extends $Command< DeleteMailboxPermissionsCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteMailboxPermissionsCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DeleteResourceCommand.ts b/clients/client-workmail/commands/DeleteResourceCommand.ts index 560ba505f5b2e..c5afa74034cfc 100644 --- a/clients/client-workmail/commands/DeleteResourceCommand.ts +++ b/clients/client-workmail/commands/DeleteResourceCommand.ts @@ -28,7 +28,6 @@ export class DeleteResourceCommand extends $Command< DeleteResourceCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteResourceCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DeleteUserCommand.ts b/clients/client-workmail/commands/DeleteUserCommand.ts index 3c6ef3dd28bac..c882a142223ac 100644 --- a/clients/client-workmail/commands/DeleteUserCommand.ts +++ b/clients/client-workmail/commands/DeleteUserCommand.ts @@ -32,7 +32,6 @@ export class DeleteUserCommand extends $Command< DeleteUserCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DeleteUserCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts b/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts index 5dd606afbe516..d9131d39db39a 100644 --- a/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts +++ b/clients/client-workmail/commands/DeregisterFromWorkMailCommand.ts @@ -31,7 +31,6 @@ export class DeregisterFromWorkMailCommand extends $Command< DeregisterFromWorkMailCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class DeregisterFromWorkMailCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DescribeGroupCommand.ts b/clients/client-workmail/commands/DescribeGroupCommand.ts index 444faca9d333c..2423cdbaf8efe 100644 --- a/clients/client-workmail/commands/DescribeGroupCommand.ts +++ b/clients/client-workmail/commands/DescribeGroupCommand.ts @@ -28,7 +28,6 @@ export class DescribeGroupCommand extends $Command< DescribeGroupCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeGroupCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DescribeOrganizationCommand.ts b/clients/client-workmail/commands/DescribeOrganizationCommand.ts index 2d3538dce4354..d0b9781d31b19 100644 --- a/clients/client-workmail/commands/DescribeOrganizationCommand.ts +++ b/clients/client-workmail/commands/DescribeOrganizationCommand.ts @@ -28,7 +28,6 @@ export class DescribeOrganizationCommand extends $Command< DescribeOrganizationCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeOrganizationCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DescribeResourceCommand.ts b/clients/client-workmail/commands/DescribeResourceCommand.ts index 6890b9c59b50a..44001633f5e82 100644 --- a/clients/client-workmail/commands/DescribeResourceCommand.ts +++ b/clients/client-workmail/commands/DescribeResourceCommand.ts @@ -28,7 +28,6 @@ export class DescribeResourceCommand extends $Command< DescribeResourceCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeResourceCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DescribeUserCommand.ts b/clients/client-workmail/commands/DescribeUserCommand.ts index e2fe5460266ef..af3e31c5d3626 100644 --- a/clients/client-workmail/commands/DescribeUserCommand.ts +++ b/clients/client-workmail/commands/DescribeUserCommand.ts @@ -28,7 +28,6 @@ export class DescribeUserCommand extends $Command< DescribeUserCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeUserCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts b/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts index 445278325d282..a527ff41e087d 100644 --- a/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts +++ b/clients/client-workmail/commands/DisassociateDelegateFromResourceCommand.ts @@ -28,7 +28,6 @@ export class DisassociateDelegateFromResourceCommand extends $Command< DisassociateDelegateFromResourceCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateDelegateFromResourceCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts b/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts index 57f0c96a463f3..1acb819ca37be 100644 --- a/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts +++ b/clients/client-workmail/commands/DisassociateMemberFromGroupCommand.ts @@ -28,7 +28,6 @@ export class DisassociateMemberFromGroupCommand extends $Command< DisassociateMemberFromGroupCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateMemberFromGroupCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/GetMailboxDetailsCommand.ts b/clients/client-workmail/commands/GetMailboxDetailsCommand.ts index 826ad0d941c53..69c4a885f7239 100644 --- a/clients/client-workmail/commands/GetMailboxDetailsCommand.ts +++ b/clients/client-workmail/commands/GetMailboxDetailsCommand.ts @@ -28,7 +28,6 @@ export class GetMailboxDetailsCommand extends $Command< GetMailboxDetailsCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetMailboxDetailsCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListAliasesCommand.ts b/clients/client-workmail/commands/ListAliasesCommand.ts index fdfe428f88c15..9738ef31eafec 100644 --- a/clients/client-workmail/commands/ListAliasesCommand.ts +++ b/clients/client-workmail/commands/ListAliasesCommand.ts @@ -28,7 +28,6 @@ export class ListAliasesCommand extends $Command< ListAliasesCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListAliasesCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListGroupMembersCommand.ts b/clients/client-workmail/commands/ListGroupMembersCommand.ts index a8bd08be00e03..e24ef6dbd564c 100644 --- a/clients/client-workmail/commands/ListGroupMembersCommand.ts +++ b/clients/client-workmail/commands/ListGroupMembersCommand.ts @@ -29,7 +29,6 @@ export class ListGroupMembersCommand extends $Command< ListGroupMembersCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListGroupMembersCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListGroupsCommand.ts b/clients/client-workmail/commands/ListGroupsCommand.ts index 3bcada2c3445c..863d924aa16eb 100644 --- a/clients/client-workmail/commands/ListGroupsCommand.ts +++ b/clients/client-workmail/commands/ListGroupsCommand.ts @@ -28,7 +28,6 @@ export class ListGroupsCommand extends $Command< ListGroupsCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListGroupsCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts b/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts index 466f2b8c156d8..49d2e98539a98 100644 --- a/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts +++ b/clients/client-workmail/commands/ListMailboxPermissionsCommand.ts @@ -29,7 +29,6 @@ export class ListMailboxPermissionsCommand extends $Command< ListMailboxPermissionsCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListMailboxPermissionsCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListOrganizationsCommand.ts b/clients/client-workmail/commands/ListOrganizationsCommand.ts index 4ea9c5616b414..ad6c1fbb00ef9 100644 --- a/clients/client-workmail/commands/ListOrganizationsCommand.ts +++ b/clients/client-workmail/commands/ListOrganizationsCommand.ts @@ -28,7 +28,6 @@ export class ListOrganizationsCommand extends $Command< ListOrganizationsCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListOrganizationsCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListResourceDelegatesCommand.ts b/clients/client-workmail/commands/ListResourceDelegatesCommand.ts index abf8bb01d8534..3990663351331 100644 --- a/clients/client-workmail/commands/ListResourceDelegatesCommand.ts +++ b/clients/client-workmail/commands/ListResourceDelegatesCommand.ts @@ -29,7 +29,6 @@ export class ListResourceDelegatesCommand extends $Command< ListResourceDelegatesCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ListResourceDelegatesCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListResourcesCommand.ts b/clients/client-workmail/commands/ListResourcesCommand.ts index 1b3193b45ff2a..78c391ccda9ee 100644 --- a/clients/client-workmail/commands/ListResourcesCommand.ts +++ b/clients/client-workmail/commands/ListResourcesCommand.ts @@ -28,7 +28,6 @@ export class ListResourcesCommand extends $Command< ListResourcesCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListResourcesCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ListUsersCommand.ts b/clients/client-workmail/commands/ListUsersCommand.ts index c09856dbaeca3..7862984168851 100644 --- a/clients/client-workmail/commands/ListUsersCommand.ts +++ b/clients/client-workmail/commands/ListUsersCommand.ts @@ -25,7 +25,6 @@ export class ListUsersCommand extends $Command< ListUsersCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class ListUsersCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts b/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts index 6186e5b61c3c5..33745559b1b75 100644 --- a/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts +++ b/clients/client-workmail/commands/PutMailboxPermissionsCommand.ts @@ -29,7 +29,6 @@ export class PutMailboxPermissionsCommand extends $Command< PutMailboxPermissionsCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class PutMailboxPermissionsCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/RegisterToWorkMailCommand.ts b/clients/client-workmail/commands/RegisterToWorkMailCommand.ts index a0e81ed5b5ba9..52d92dea7446b 100644 --- a/clients/client-workmail/commands/RegisterToWorkMailCommand.ts +++ b/clients/client-workmail/commands/RegisterToWorkMailCommand.ts @@ -34,7 +34,6 @@ export class RegisterToWorkMailCommand extends $Command< RegisterToWorkMailCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class RegisterToWorkMailCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/ResetPasswordCommand.ts b/clients/client-workmail/commands/ResetPasswordCommand.ts index fe5c8610db4cf..bae65972fd1c0 100644 --- a/clients/client-workmail/commands/ResetPasswordCommand.ts +++ b/clients/client-workmail/commands/ResetPasswordCommand.ts @@ -28,7 +28,6 @@ export class ResetPasswordCommand extends $Command< ResetPasswordCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ResetPasswordCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts b/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts index 03d67056bc1d6..5c634201c6889 100644 --- a/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts +++ b/clients/client-workmail/commands/UpdateMailboxQuotaCommand.ts @@ -28,7 +28,6 @@ export class UpdateMailboxQuotaCommand extends $Command< UpdateMailboxQuotaCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateMailboxQuotaCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts b/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts index 3007ddac0e158..61f5631066ca2 100644 --- a/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts +++ b/clients/client-workmail/commands/UpdatePrimaryEmailAddressCommand.ts @@ -30,7 +30,6 @@ export class UpdatePrimaryEmailAddressCommand extends $Command< UpdatePrimaryEmailAddressCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdatePrimaryEmailAddressCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmail/commands/UpdateResourceCommand.ts b/clients/client-workmail/commands/UpdateResourceCommand.ts index efc3111619582..687fff1993b2d 100644 --- a/clients/client-workmail/commands/UpdateResourceCommand.ts +++ b/clients/client-workmail/commands/UpdateResourceCommand.ts @@ -30,7 +30,6 @@ export class UpdateResourceCommand extends $Command< UpdateResourceCommandOutput, WorkMailClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class UpdateResourceCommand extends $Command< configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts b/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts index dc0ab7005b927..2c78d81b9bab6 100644 --- a/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts +++ b/clients/client-workmailmessageflow/commands/GetRawMessageContentCommand.ts @@ -32,7 +32,6 @@ export class GetRawMessageContentCommand extends $Command< GetRawMessageContentCommandOutput, WorkMailMessageFlowClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetRawMessageContentCommand extends $Command< configuration: WorkMailMessageFlowClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/AssociateConnectionAliasCommand.ts b/clients/client-workspaces/commands/AssociateConnectionAliasCommand.ts index 56d0eb942ced3..1ced913480ae0 100644 --- a/clients/client-workspaces/commands/AssociateConnectionAliasCommand.ts +++ b/clients/client-workspaces/commands/AssociateConnectionAliasCommand.ts @@ -35,7 +35,6 @@ export class AssociateConnectionAliasCommand extends $Command< AssociateConnectionAliasCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class AssociateConnectionAliasCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts b/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts index 7097f15f0b2d6..b0071d67d4073 100644 --- a/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts +++ b/clients/client-workspaces/commands/AssociateIpGroupsCommand.ts @@ -28,7 +28,6 @@ export class AssociateIpGroupsCommand extends $Command< AssociateIpGroupsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AssociateIpGroupsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts b/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts index 71849525117ca..7331dcfa13c00 100644 --- a/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts +++ b/clients/client-workspaces/commands/AuthorizeIpRulesCommand.ts @@ -30,7 +30,6 @@ export class AuthorizeIpRulesCommand extends $Command< AuthorizeIpRulesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class AuthorizeIpRulesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts b/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts index 38afd9a96efca..389cb2c516949 100644 --- a/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts +++ b/clients/client-workspaces/commands/CopyWorkspaceImageCommand.ts @@ -44,7 +44,6 @@ export class CopyWorkspaceImageCommand extends $Command< CopyWorkspaceImageCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class CopyWorkspaceImageCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/CreateConnectionAliasCommand.ts b/clients/client-workspaces/commands/CreateConnectionAliasCommand.ts index 69e99e38bdfcd..6391d2747e506 100644 --- a/clients/client-workspaces/commands/CreateConnectionAliasCommand.ts +++ b/clients/client-workspaces/commands/CreateConnectionAliasCommand.ts @@ -30,7 +30,6 @@ export class CreateConnectionAliasCommand extends $Command< CreateConnectionAliasCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class CreateConnectionAliasCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/CreateIpGroupCommand.ts b/clients/client-workspaces/commands/CreateIpGroupCommand.ts index d1eb766321323..be4b324e9280c 100644 --- a/clients/client-workspaces/commands/CreateIpGroupCommand.ts +++ b/clients/client-workspaces/commands/CreateIpGroupCommand.ts @@ -37,7 +37,6 @@ export class CreateIpGroupCommand extends $Command< CreateIpGroupCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class CreateIpGroupCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/CreateTagsCommand.ts b/clients/client-workspaces/commands/CreateTagsCommand.ts index 034517a9e0d71..342b23113de4e 100644 --- a/clients/client-workspaces/commands/CreateTagsCommand.ts +++ b/clients/client-workspaces/commands/CreateTagsCommand.ts @@ -28,7 +28,6 @@ export class CreateTagsCommand extends $Command< CreateTagsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateTagsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/CreateWorkspacesCommand.ts b/clients/client-workspaces/commands/CreateWorkspacesCommand.ts index 1a871f8e6f222..90a5957f1cc03 100644 --- a/clients/client-workspaces/commands/CreateWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/CreateWorkspacesCommand.ts @@ -29,7 +29,6 @@ export class CreateWorkspacesCommand extends $Command< CreateWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class CreateWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DeleteConnectionAliasCommand.ts b/clients/client-workspaces/commands/DeleteConnectionAliasCommand.ts index cc840de8f25b7..97635de2873d9 100644 --- a/clients/client-workspaces/commands/DeleteConnectionAliasCommand.ts +++ b/clients/client-workspaces/commands/DeleteConnectionAliasCommand.ts @@ -45,7 +45,6 @@ export class DeleteConnectionAliasCommand extends $Command< DeleteConnectionAliasCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -63,10 +62,7 @@ export class DeleteConnectionAliasCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DeleteIpGroupCommand.ts b/clients/client-workspaces/commands/DeleteIpGroupCommand.ts index 5794899751c15..8ca81838bf5f8 100644 --- a/clients/client-workspaces/commands/DeleteIpGroupCommand.ts +++ b/clients/client-workspaces/commands/DeleteIpGroupCommand.ts @@ -29,7 +29,6 @@ export class DeleteIpGroupCommand extends $Command< DeleteIpGroupCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DeleteIpGroupCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DeleteTagsCommand.ts b/clients/client-workspaces/commands/DeleteTagsCommand.ts index bd5e4a1dca2fa..3ec9a79a5742e 100644 --- a/clients/client-workspaces/commands/DeleteTagsCommand.ts +++ b/clients/client-workspaces/commands/DeleteTagsCommand.ts @@ -28,7 +28,6 @@ export class DeleteTagsCommand extends $Command< DeleteTagsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteTagsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts b/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts index a003a5a92c9e0..09f50490f0d75 100644 --- a/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts +++ b/clients/client-workspaces/commands/DeleteWorkspaceImageCommand.ts @@ -30,7 +30,6 @@ export class DeleteWorkspaceImageCommand extends $Command< DeleteWorkspaceImageCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DeleteWorkspaceImageCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts b/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts index 4d2b359d58924..3c22f24830dcb 100644 --- a/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts +++ b/clients/client-workspaces/commands/DeregisterWorkspaceDirectoryCommand.ts @@ -44,7 +44,6 @@ export class DeregisterWorkspaceDirectoryCommand extends $Command< DeregisterWorkspaceDirectoryCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class DeregisterWorkspaceDirectoryCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeAccountCommand.ts b/clients/client-workspaces/commands/DescribeAccountCommand.ts index 7df9a662d3f8e..114b6c73a6b6a 100644 --- a/clients/client-workspaces/commands/DescribeAccountCommand.ts +++ b/clients/client-workspaces/commands/DescribeAccountCommand.ts @@ -29,7 +29,6 @@ export class DescribeAccountCommand extends $Command< DescribeAccountCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAccountCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts b/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts index ec9ba66b26c78..08a89191c8654 100644 --- a/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts +++ b/clients/client-workspaces/commands/DescribeAccountModificationsCommand.ts @@ -29,7 +29,6 @@ export class DescribeAccountModificationsCommand extends $Command< DescribeAccountModificationsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeAccountModificationsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts b/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts index bb4d2dde60a2c..a9fc6b4023dcd 100644 --- a/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts +++ b/clients/client-workspaces/commands/DescribeClientPropertiesCommand.ts @@ -28,7 +28,6 @@ export class DescribeClientPropertiesCommand extends $Command< DescribeClientPropertiesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeClientPropertiesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeConnectionAliasPermissionsCommand.ts b/clients/client-workspaces/commands/DescribeConnectionAliasPermissionsCommand.ts index 06327b8363c67..1bc191dbe75d3 100644 --- a/clients/client-workspaces/commands/DescribeConnectionAliasPermissionsCommand.ts +++ b/clients/client-workspaces/commands/DescribeConnectionAliasPermissionsCommand.ts @@ -34,7 +34,6 @@ export class DescribeConnectionAliasPermissionsCommand extends $Command< DescribeConnectionAliasPermissionsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class DescribeConnectionAliasPermissionsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeConnectionAliasesCommand.ts b/clients/client-workspaces/commands/DescribeConnectionAliasesCommand.ts index 2314e13776dc1..e46b1c97398ec 100644 --- a/clients/client-workspaces/commands/DescribeConnectionAliasesCommand.ts +++ b/clients/client-workspaces/commands/DescribeConnectionAliasesCommand.ts @@ -30,7 +30,6 @@ export class DescribeConnectionAliasesCommand extends $Command< DescribeConnectionAliasesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeConnectionAliasesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts b/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts index 772277515a6fe..217b2d15c98db 100644 --- a/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts +++ b/clients/client-workspaces/commands/DescribeIpGroupsCommand.ts @@ -28,7 +28,6 @@ export class DescribeIpGroupsCommand extends $Command< DescribeIpGroupsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeIpGroupsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeTagsCommand.ts b/clients/client-workspaces/commands/DescribeTagsCommand.ts index e330d57005442..b47caf37d4fd7 100644 --- a/clients/client-workspaces/commands/DescribeTagsCommand.ts +++ b/clients/client-workspaces/commands/DescribeTagsCommand.ts @@ -28,7 +28,6 @@ export class DescribeTagsCommand extends $Command< DescribeTagsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeTagsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts index 3969717268da8..b36e05fcfb75f 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceBundlesCommand.ts @@ -29,7 +29,6 @@ export class DescribeWorkspaceBundlesCommand extends $Command< DescribeWorkspaceBundlesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeWorkspaceBundlesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts index 5abdcd1dc804c..1179e1fb8081f 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceDirectoriesCommand.ts @@ -29,7 +29,6 @@ export class DescribeWorkspaceDirectoriesCommand extends $Command< DescribeWorkspaceDirectoriesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeWorkspaceDirectoriesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspaceImagePermissionsCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceImagePermissionsCommand.ts index 87398fe42a0c8..8163bb368d776 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceImagePermissionsCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceImagePermissionsCommand.ts @@ -29,7 +29,6 @@ export class DescribeWorkspaceImagePermissionsCommand extends $Command< DescribeWorkspaceImagePermissionsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeWorkspaceImagePermissionsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts index 641878ad9b74c..7a065480647f2 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceImagesCommand.ts @@ -29,7 +29,6 @@ export class DescribeWorkspaceImagesCommand extends $Command< DescribeWorkspaceImagesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class DescribeWorkspaceImagesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts b/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts index e7eaab17ad87c..b92a6b5031299 100644 --- a/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspaceSnapshotsCommand.ts @@ -28,7 +28,6 @@ export class DescribeWorkspaceSnapshotsCommand extends $Command< DescribeWorkspaceSnapshotsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DescribeWorkspaceSnapshotsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts b/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts index 76b14af07b0a9..f5225c77978a7 100644 --- a/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspacesCommand.ts @@ -30,7 +30,6 @@ export class DescribeWorkspacesCommand extends $Command< DescribeWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class DescribeWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts b/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts index 368c4a6f3f6c0..61cd4772fbe65 100644 --- a/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts +++ b/clients/client-workspaces/commands/DescribeWorkspacesConnectionStatusCommand.ts @@ -32,7 +32,6 @@ export class DescribeWorkspacesConnectionStatusCommand extends $Command< DescribeWorkspacesConnectionStatusCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class DescribeWorkspacesConnectionStatusCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DisassociateConnectionAliasCommand.ts b/clients/client-workspaces/commands/DisassociateConnectionAliasCommand.ts index ab5ccf9d58fdb..714134b495b9e 100644 --- a/clients/client-workspaces/commands/DisassociateConnectionAliasCommand.ts +++ b/clients/client-workspaces/commands/DisassociateConnectionAliasCommand.ts @@ -36,7 +36,6 @@ export class DisassociateConnectionAliasCommand extends $Command< DisassociateConnectionAliasCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class DisassociateConnectionAliasCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts b/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts index c0745a0bcc947..82fe5b38ae3f9 100644 --- a/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts +++ b/clients/client-workspaces/commands/DisassociateIpGroupsCommand.ts @@ -28,7 +28,6 @@ export class DisassociateIpGroupsCommand extends $Command< DisassociateIpGroupsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DisassociateIpGroupsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts b/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts index 8de57e842c4fc..3787dadc3f8f3 100644 --- a/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts +++ b/clients/client-workspaces/commands/ImportWorkspaceImageCommand.ts @@ -32,7 +32,6 @@ export class ImportWorkspaceImageCommand extends $Command< ImportWorkspaceImageCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ImportWorkspaceImageCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts b/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts index 74d915e1e3d73..8f9992d0e2981 100644 --- a/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts +++ b/clients/client-workspaces/commands/ListAvailableManagementCidrRangesCommand.ts @@ -36,7 +36,6 @@ export class ListAvailableManagementCidrRangesCommand extends $Command< ListAvailableManagementCidrRangesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class ListAvailableManagementCidrRangesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts b/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts index 4fc1a8f57c9ff..dd1b134fc1feb 100644 --- a/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts +++ b/clients/client-workspaces/commands/MigrateWorkspaceCommand.ts @@ -36,7 +36,6 @@ export class MigrateWorkspaceCommand extends $Command< MigrateWorkspaceCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class MigrateWorkspaceCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifyAccountCommand.ts b/clients/client-workspaces/commands/ModifyAccountCommand.ts index 5f7d32683fda9..1a9ac4b241ba0 100644 --- a/clients/client-workspaces/commands/ModifyAccountCommand.ts +++ b/clients/client-workspaces/commands/ModifyAccountCommand.ts @@ -29,7 +29,6 @@ export class ModifyAccountCommand extends $Command< ModifyAccountCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifyAccountCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts b/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts index d6c5328a92a68..8158d2f44ae1b 100644 --- a/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyClientPropertiesCommand.ts @@ -28,7 +28,6 @@ export class ModifyClientPropertiesCommand extends $Command< ModifyClientPropertiesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyClientPropertiesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts b/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts index 2162cda7c9bbe..21146c3e40a59 100644 --- a/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts +++ b/clients/client-workspaces/commands/ModifySelfservicePermissionsCommand.ts @@ -29,7 +29,6 @@ export class ModifySelfservicePermissionsCommand extends $Command< ModifySelfservicePermissionsCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class ModifySelfservicePermissionsCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts b/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts index 9fced971bc771..3d40bede0848a 100644 --- a/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspaceAccessPropertiesCommand.ts @@ -30,7 +30,6 @@ export class ModifyWorkspaceAccessPropertiesCommand extends $Command< ModifyWorkspaceAccessPropertiesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ModifyWorkspaceAccessPropertiesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts b/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts index 2f11c9649e611..40dd3670ede67 100644 --- a/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspaceCreationPropertiesCommand.ts @@ -28,7 +28,6 @@ export class ModifyWorkspaceCreationPropertiesCommand extends $Command< ModifyWorkspaceCreationPropertiesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ModifyWorkspaceCreationPropertiesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts b/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts index 8764ccbfeb9ad..43b3d511504fc 100644 --- a/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspacePropertiesCommand.ts @@ -32,7 +32,6 @@ export class ModifyWorkspacePropertiesCommand extends $Command< ModifyWorkspacePropertiesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class ModifyWorkspacePropertiesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts b/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts index e9929a26cb5d5..b8800a416130c 100644 --- a/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts +++ b/clients/client-workspaces/commands/ModifyWorkspaceStateCommand.ts @@ -33,7 +33,6 @@ export class ModifyWorkspaceStateCommand extends $Command< ModifyWorkspaceStateCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class ModifyWorkspaceStateCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/RebootWorkspacesCommand.ts b/clients/client-workspaces/commands/RebootWorkspacesCommand.ts index de9c0dc310b2c..59a98c8a26e5c 100644 --- a/clients/client-workspaces/commands/RebootWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/RebootWorkspacesCommand.ts @@ -31,7 +31,6 @@ export class RebootWorkspacesCommand extends $Command< RebootWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class RebootWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts b/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts index dd2badddb8f19..29d7ae23cefd3 100644 --- a/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/RebuildWorkspacesCommand.ts @@ -35,7 +35,6 @@ export class RebuildWorkspacesCommand extends $Command< RebuildWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RebuildWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts b/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts index 879b2e4d10e32..5899c381180e0 100644 --- a/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts +++ b/clients/client-workspaces/commands/RegisterWorkspaceDirectoryCommand.ts @@ -32,7 +32,6 @@ export class RegisterWorkspaceDirectoryCommand extends $Command< RegisterWorkspaceDirectoryCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class RegisterWorkspaceDirectoryCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts b/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts index e0d5cdf494221..41479bcde1d04 100644 --- a/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts +++ b/clients/client-workspaces/commands/RestoreWorkspaceCommand.ts @@ -35,7 +35,6 @@ export class RestoreWorkspaceCommand extends $Command< RestoreWorkspaceCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class RestoreWorkspaceCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/RevokeIpRulesCommand.ts b/clients/client-workspaces/commands/RevokeIpRulesCommand.ts index 4201a8411140a..23ef31e086769 100644 --- a/clients/client-workspaces/commands/RevokeIpRulesCommand.ts +++ b/clients/client-workspaces/commands/RevokeIpRulesCommand.ts @@ -28,7 +28,6 @@ export class RevokeIpRulesCommand extends $Command< RevokeIpRulesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RevokeIpRulesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/StartWorkspacesCommand.ts b/clients/client-workspaces/commands/StartWorkspacesCommand.ts index 5fb3e61d9803a..aee972a145808 100644 --- a/clients/client-workspaces/commands/StartWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/StartWorkspacesCommand.ts @@ -30,7 +30,6 @@ export class StartWorkspacesCommand extends $Command< StartWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class StartWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/StopWorkspacesCommand.ts b/clients/client-workspaces/commands/StopWorkspacesCommand.ts index 7aeddfbc65324..271ade6deeabe 100644 --- a/clients/client-workspaces/commands/StopWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/StopWorkspacesCommand.ts @@ -31,7 +31,6 @@ export class StopWorkspacesCommand extends $Command< StopWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class StopWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts b/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts index 40de0369f6fe7..d0f22eb00feb0 100644 --- a/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts +++ b/clients/client-workspaces/commands/TerminateWorkspacesCommand.ts @@ -57,7 +57,6 @@ export class TerminateWorkspacesCommand extends $Command< TerminateWorkspacesCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -75,10 +74,7 @@ export class TerminateWorkspacesCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/UpdateConnectionAliasPermissionCommand.ts b/clients/client-workspaces/commands/UpdateConnectionAliasPermissionCommand.ts index a8bf760d65004..6620cbfb55603 100644 --- a/clients/client-workspaces/commands/UpdateConnectionAliasPermissionCommand.ts +++ b/clients/client-workspaces/commands/UpdateConnectionAliasPermissionCommand.ts @@ -47,7 +47,6 @@ export class UpdateConnectionAliasPermissionCommand extends $Command< UpdateConnectionAliasPermissionCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -65,10 +64,7 @@ export class UpdateConnectionAliasPermissionCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts b/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts index fa38091545667..7874766751731 100644 --- a/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts +++ b/clients/client-workspaces/commands/UpdateRulesOfIpGroupCommand.ts @@ -29,7 +29,6 @@ export class UpdateRulesOfIpGroupCommand extends $Command< UpdateRulesOfIpGroupCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UpdateRulesOfIpGroupCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-workspaces/commands/UpdateWorkspaceImagePermissionCommand.ts b/clients/client-workspaces/commands/UpdateWorkspaceImagePermissionCommand.ts index 069851a1d67e8..76733c3261092 100644 --- a/clients/client-workspaces/commands/UpdateWorkspaceImagePermissionCommand.ts +++ b/clients/client-workspaces/commands/UpdateWorkspaceImagePermissionCommand.ts @@ -56,7 +56,6 @@ export class UpdateWorkspaceImagePermissionCommand extends $Command< UpdateWorkspaceImagePermissionCommandOutput, WorkSpacesClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -74,10 +73,7 @@ export class UpdateWorkspaceImagePermissionCommand extends $Command< configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/BatchGetTracesCommand.ts b/clients/client-xray/commands/BatchGetTracesCommand.ts index ff992b8b5eeaa..1bd9ce534061a 100644 --- a/clients/client-xray/commands/BatchGetTracesCommand.ts +++ b/clients/client-xray/commands/BatchGetTracesCommand.ts @@ -30,7 +30,6 @@ export class BatchGetTracesCommand extends $Command< BatchGetTracesCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class BatchGetTracesCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/CreateGroupCommand.ts b/clients/client-xray/commands/CreateGroupCommand.ts index 5cfebf61dd3f2..a5b8e0867a877 100644 --- a/clients/client-xray/commands/CreateGroupCommand.ts +++ b/clients/client-xray/commands/CreateGroupCommand.ts @@ -28,7 +28,6 @@ export class CreateGroupCommand extends $Command< CreateGroupCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class CreateGroupCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/CreateSamplingRuleCommand.ts b/clients/client-xray/commands/CreateSamplingRuleCommand.ts index ecf0abaed9ebb..e57cb365d3ac8 100644 --- a/clients/client-xray/commands/CreateSamplingRuleCommand.ts +++ b/clients/client-xray/commands/CreateSamplingRuleCommand.ts @@ -34,7 +34,6 @@ export class CreateSamplingRuleCommand extends $Command< CreateSamplingRuleCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class CreateSamplingRuleCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/DeleteGroupCommand.ts b/clients/client-xray/commands/DeleteGroupCommand.ts index 7809907d12adf..33e89beb09c31 100644 --- a/clients/client-xray/commands/DeleteGroupCommand.ts +++ b/clients/client-xray/commands/DeleteGroupCommand.ts @@ -28,7 +28,6 @@ export class DeleteGroupCommand extends $Command< DeleteGroupCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteGroupCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/DeleteSamplingRuleCommand.ts b/clients/client-xray/commands/DeleteSamplingRuleCommand.ts index 7ba37da9260d6..2d5cb4ca6f656 100644 --- a/clients/client-xray/commands/DeleteSamplingRuleCommand.ts +++ b/clients/client-xray/commands/DeleteSamplingRuleCommand.ts @@ -28,7 +28,6 @@ export class DeleteSamplingRuleCommand extends $Command< DeleteSamplingRuleCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class DeleteSamplingRuleCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetEncryptionConfigCommand.ts b/clients/client-xray/commands/GetEncryptionConfigCommand.ts index 041154b6dd350..57b9f941c80eb 100644 --- a/clients/client-xray/commands/GetEncryptionConfigCommand.ts +++ b/clients/client-xray/commands/GetEncryptionConfigCommand.ts @@ -28,7 +28,6 @@ export class GetEncryptionConfigCommand extends $Command< GetEncryptionConfigCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetEncryptionConfigCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetGroupCommand.ts b/clients/client-xray/commands/GetGroupCommand.ts index 037a31f936494..ec7901db35531 100644 --- a/clients/client-xray/commands/GetGroupCommand.ts +++ b/clients/client-xray/commands/GetGroupCommand.ts @@ -24,7 +24,6 @@ export type GetGroupCommandOutput = GetGroupResult & __MetadataBearer; *

Retrieves group resource details.

*/ export class GetGroupCommand extends $Command { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class GetGroupCommand 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-xray/commands/GetGroupsCommand.ts b/clients/client-xray/commands/GetGroupsCommand.ts index 5c07da12c5026..38c249bc36987 100644 --- a/clients/client-xray/commands/GetGroupsCommand.ts +++ b/clients/client-xray/commands/GetGroupsCommand.ts @@ -28,7 +28,6 @@ export class GetGroupsCommand extends $Command< GetGroupsCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetGroupsCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetInsightCommand.ts b/clients/client-xray/commands/GetInsightCommand.ts index 46abd6638a78b..fc09d14874777 100644 --- a/clients/client-xray/commands/GetInsightCommand.ts +++ b/clients/client-xray/commands/GetInsightCommand.ts @@ -30,7 +30,6 @@ export class GetInsightCommand extends $Command< GetInsightCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetInsightCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetInsightEventsCommand.ts b/clients/client-xray/commands/GetInsightEventsCommand.ts index f61121d07c2bc..a45f2e7222ece 100644 --- a/clients/client-xray/commands/GetInsightEventsCommand.ts +++ b/clients/client-xray/commands/GetInsightEventsCommand.ts @@ -30,7 +30,6 @@ export class GetInsightEventsCommand extends $Command< GetInsightEventsCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class GetInsightEventsCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetInsightImpactGraphCommand.ts b/clients/client-xray/commands/GetInsightImpactGraphCommand.ts index dc37fc579e6ea..2b9bdc3c4fe2d 100644 --- a/clients/client-xray/commands/GetInsightImpactGraphCommand.ts +++ b/clients/client-xray/commands/GetInsightImpactGraphCommand.ts @@ -29,7 +29,6 @@ export class GetInsightImpactGraphCommand extends $Command< GetInsightImpactGraphCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetInsightImpactGraphCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetInsightSummariesCommand.ts b/clients/client-xray/commands/GetInsightSummariesCommand.ts index 3cca20a7c0a00..3373fa078dc61 100644 --- a/clients/client-xray/commands/GetInsightSummariesCommand.ts +++ b/clients/client-xray/commands/GetInsightSummariesCommand.ts @@ -28,7 +28,6 @@ export class GetInsightSummariesCommand extends $Command< GetInsightSummariesCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetInsightSummariesCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetSamplingRulesCommand.ts b/clients/client-xray/commands/GetSamplingRulesCommand.ts index 98b377c93459e..422455fc21884 100644 --- a/clients/client-xray/commands/GetSamplingRulesCommand.ts +++ b/clients/client-xray/commands/GetSamplingRulesCommand.ts @@ -28,7 +28,6 @@ export class GetSamplingRulesCommand extends $Command< GetSamplingRulesCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSamplingRulesCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts b/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts index ddd35344fe18f..1154c64eb935b 100644 --- a/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts +++ b/clients/client-xray/commands/GetSamplingStatisticSummariesCommand.ts @@ -28,7 +28,6 @@ export class GetSamplingStatisticSummariesCommand extends $Command< GetSamplingStatisticSummariesCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetSamplingStatisticSummariesCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetSamplingTargetsCommand.ts b/clients/client-xray/commands/GetSamplingTargetsCommand.ts index 3f0240a41eff9..99923227af6dd 100644 --- a/clients/client-xray/commands/GetSamplingTargetsCommand.ts +++ b/clients/client-xray/commands/GetSamplingTargetsCommand.ts @@ -29,7 +29,6 @@ export class GetSamplingTargetsCommand extends $Command< GetSamplingTargetsCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetSamplingTargetsCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetServiceGraphCommand.ts b/clients/client-xray/commands/GetServiceGraphCommand.ts index 28e81a7046417..d79912a207cca 100644 --- a/clients/client-xray/commands/GetServiceGraphCommand.ts +++ b/clients/client-xray/commands/GetServiceGraphCommand.ts @@ -32,7 +32,6 @@ export class GetServiceGraphCommand extends $Command< GetServiceGraphCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GetServiceGraphCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts b/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts index 71794aef99670..d77fab2755ae9 100644 --- a/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts +++ b/clients/client-xray/commands/GetTimeSeriesServiceStatisticsCommand.ts @@ -29,7 +29,6 @@ export class GetTimeSeriesServiceStatisticsCommand extends $Command< GetTimeSeriesServiceStatisticsCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class GetTimeSeriesServiceStatisticsCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetTraceGraphCommand.ts b/clients/client-xray/commands/GetTraceGraphCommand.ts index eb367b1cd9df0..43f29d2689812 100644 --- a/clients/client-xray/commands/GetTraceGraphCommand.ts +++ b/clients/client-xray/commands/GetTraceGraphCommand.ts @@ -28,7 +28,6 @@ export class GetTraceGraphCommand extends $Command< GetTraceGraphCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class GetTraceGraphCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/GetTraceSummariesCommand.ts b/clients/client-xray/commands/GetTraceSummariesCommand.ts index 35498ac85a2c6..9990279789a93 100644 --- a/clients/client-xray/commands/GetTraceSummariesCommand.ts +++ b/clients/client-xray/commands/GetTraceSummariesCommand.ts @@ -44,7 +44,6 @@ export class GetTraceSummariesCommand extends $Command< GetTraceSummariesCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -62,10 +61,7 @@ export class GetTraceSummariesCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/ListTagsForResourceCommand.ts b/clients/client-xray/commands/ListTagsForResourceCommand.ts index bf24ccb5fd475..c3c5b47004eb9 100644 --- a/clients/client-xray/commands/ListTagsForResourceCommand.ts +++ b/clients/client-xray/commands/ListTagsForResourceCommand.ts @@ -28,7 +28,6 @@ export class ListTagsForResourceCommand extends $Command< ListTagsForResourceCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class ListTagsForResourceCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/PutEncryptionConfigCommand.ts b/clients/client-xray/commands/PutEncryptionConfigCommand.ts index 4f2b5f2ac1de1..8ce004de048ab 100644 --- a/clients/client-xray/commands/PutEncryptionConfigCommand.ts +++ b/clients/client-xray/commands/PutEncryptionConfigCommand.ts @@ -28,7 +28,6 @@ export class PutEncryptionConfigCommand extends $Command< PutEncryptionConfigCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutEncryptionConfigCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/PutTelemetryRecordsCommand.ts b/clients/client-xray/commands/PutTelemetryRecordsCommand.ts index be6d996ba6d83..d2d034a991af8 100644 --- a/clients/client-xray/commands/PutTelemetryRecordsCommand.ts +++ b/clients/client-xray/commands/PutTelemetryRecordsCommand.ts @@ -28,7 +28,6 @@ export class PutTelemetryRecordsCommand extends $Command< PutTelemetryRecordsCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutTelemetryRecordsCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/PutTraceSegmentsCommand.ts b/clients/client-xray/commands/PutTraceSegmentsCommand.ts index 2b6028ba7d60f..5e3ab2a8ffa84 100644 --- a/clients/client-xray/commands/PutTraceSegmentsCommand.ts +++ b/clients/client-xray/commands/PutTraceSegmentsCommand.ts @@ -90,7 +90,6 @@ export class PutTraceSegmentsCommand extends $Command< PutTraceSegmentsCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -108,10 +107,7 @@ export class PutTraceSegmentsCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/TagResourceCommand.ts b/clients/client-xray/commands/TagResourceCommand.ts index 9c03a911cfa43..af7f72724b039 100644 --- a/clients/client-xray/commands/TagResourceCommand.ts +++ b/clients/client-xray/commands/TagResourceCommand.ts @@ -28,7 +28,6 @@ export class TagResourceCommand extends $Command< TagResourceCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TagResourceCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/UntagResourceCommand.ts b/clients/client-xray/commands/UntagResourceCommand.ts index e1d3a529f0131..28840f31a29c3 100644 --- a/clients/client-xray/commands/UntagResourceCommand.ts +++ b/clients/client-xray/commands/UntagResourceCommand.ts @@ -29,7 +29,6 @@ export class UntagResourceCommand extends $Command< UntagResourceCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class UntagResourceCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/UpdateGroupCommand.ts b/clients/client-xray/commands/UpdateGroupCommand.ts index 804b530cc046b..9ded99d3ea7d4 100644 --- a/clients/client-xray/commands/UpdateGroupCommand.ts +++ b/clients/client-xray/commands/UpdateGroupCommand.ts @@ -28,7 +28,6 @@ export class UpdateGroupCommand extends $Command< UpdateGroupCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateGroupCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/clients/client-xray/commands/UpdateSamplingRuleCommand.ts b/clients/client-xray/commands/UpdateSamplingRuleCommand.ts index 0cbd47ce2493e..ac13138e90d2b 100644 --- a/clients/client-xray/commands/UpdateSamplingRuleCommand.ts +++ b/clients/client-xray/commands/UpdateSamplingRuleCommand.ts @@ -28,7 +28,6 @@ export class UpdateSamplingRuleCommand extends $Command< UpdateSamplingRuleCommandOutput, XRayClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class UpdateSamplingRuleCommand extends $Command< configuration: XRayClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-ec2/commands/EmptyInputAndEmptyOutputCommand.ts index 04186c982c081..6906fafc23597 100644 --- a/protocol_tests/aws-ec2/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-ec2/commands/EmptyInputAndEmptyOutputCommand.ts @@ -31,7 +31,6 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< EmptyInputAndEmptyOutputCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-ec2/commands/GreetingWithErrorsCommand.ts index 385489a5b1948..3af7582f57499 100644 --- a/protocol_tests/aws-ec2/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-ec2/commands/GreetingWithErrorsCommand.ts @@ -32,7 +32,6 @@ export class GreetingWithErrorsCommand extends $Command< GreetingWithErrorsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GreetingWithErrorsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/IgnoresWrappingXmlNameCommand.ts b/protocol_tests/aws-ec2/commands/IgnoresWrappingXmlNameCommand.ts index 2034127d377af..ceeca936c33b2 100644 --- a/protocol_tests/aws-ec2/commands/IgnoresWrappingXmlNameCommand.ts +++ b/protocol_tests/aws-ec2/commands/IgnoresWrappingXmlNameCommand.ts @@ -30,7 +30,6 @@ export class IgnoresWrappingXmlNameCommand extends $Command< IgnoresWrappingXmlNameCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class IgnoresWrappingXmlNameCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/NestedStructuresCommand.ts b/protocol_tests/aws-ec2/commands/NestedStructuresCommand.ts index 63267fffa39c3..ef03687b6f52e 100644 --- a/protocol_tests/aws-ec2/commands/NestedStructuresCommand.ts +++ b/protocol_tests/aws-ec2/commands/NestedStructuresCommand.ts @@ -28,7 +28,6 @@ export class NestedStructuresCommand extends $Command< NestedStructuresCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NestedStructuresCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-ec2/commands/NoInputAndOutputCommand.ts index bab30577aeae4..0941194464b2a 100644 --- a/protocol_tests/aws-ec2/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-ec2/commands/NoInputAndOutputCommand.ts @@ -31,7 +31,6 @@ export class NoInputAndOutputCommand extends $Command< NoInputAndOutputCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class NoInputAndOutputCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-ec2/commands/QueryIdempotencyTokenAutoFillCommand.ts index afbb801f17ba3..c238749b91b32 100644 --- a/protocol_tests/aws-ec2/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-ec2/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -28,7 +28,6 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< QueryIdempotencyTokenAutoFillCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/QueryListsCommand.ts b/protocol_tests/aws-ec2/commands/QueryListsCommand.ts index a462420830e7c..024004e0b9bf4 100644 --- a/protocol_tests/aws-ec2/commands/QueryListsCommand.ts +++ b/protocol_tests/aws-ec2/commands/QueryListsCommand.ts @@ -25,7 +25,6 @@ export class QueryListsCommand extends $Command< QueryListsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class QueryListsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/QueryTimestampsCommand.ts b/protocol_tests/aws-ec2/commands/QueryTimestampsCommand.ts index ef75eafd93880..86d254e0f8748 100644 --- a/protocol_tests/aws-ec2/commands/QueryTimestampsCommand.ts +++ b/protocol_tests/aws-ec2/commands/QueryTimestampsCommand.ts @@ -29,7 +29,6 @@ export class QueryTimestampsCommand extends $Command< QueryTimestampsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class QueryTimestampsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/RecursiveXmlShapesCommand.ts b/protocol_tests/aws-ec2/commands/RecursiveXmlShapesCommand.ts index 8546548fef5c4..58a5600432d45 100644 --- a/protocol_tests/aws-ec2/commands/RecursiveXmlShapesCommand.ts +++ b/protocol_tests/aws-ec2/commands/RecursiveXmlShapesCommand.ts @@ -28,7 +28,6 @@ export class RecursiveXmlShapesCommand extends $Command< RecursiveXmlShapesCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RecursiveXmlShapesCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/SimpleInputParamsCommand.ts b/protocol_tests/aws-ec2/commands/SimpleInputParamsCommand.ts index 6b6adee08a288..de5d295575b1d 100644 --- a/protocol_tests/aws-ec2/commands/SimpleInputParamsCommand.ts +++ b/protocol_tests/aws-ec2/commands/SimpleInputParamsCommand.ts @@ -28,7 +28,6 @@ export class SimpleInputParamsCommand extends $Command< SimpleInputParamsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SimpleInputParamsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/SimpleScalarXmlPropertiesCommand.ts b/protocol_tests/aws-ec2/commands/SimpleScalarXmlPropertiesCommand.ts index b0b9aa3299bf1..206ce102aa860 100644 --- a/protocol_tests/aws-ec2/commands/SimpleScalarXmlPropertiesCommand.ts +++ b/protocol_tests/aws-ec2/commands/SimpleScalarXmlPropertiesCommand.ts @@ -25,7 +25,6 @@ export class SimpleScalarXmlPropertiesCommand extends $Command< SimpleScalarXmlPropertiesCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class SimpleScalarXmlPropertiesCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlBlobsCommand.ts b/protocol_tests/aws-ec2/commands/XmlBlobsCommand.ts index f379cbcede46e..e17d5899b2441 100644 --- a/protocol_tests/aws-ec2/commands/XmlBlobsCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlBlobsCommand.ts @@ -25,7 +25,6 @@ export class XmlBlobsCommand extends $Command< XmlBlobsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlBlobsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlEmptyBlobsCommand.ts b/protocol_tests/aws-ec2/commands/XmlEmptyBlobsCommand.ts index 7a549d47352a8..5a84d216587ca 100644 --- a/protocol_tests/aws-ec2/commands/XmlEmptyBlobsCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlEmptyBlobsCommand.ts @@ -22,7 +22,6 @@ export class XmlEmptyBlobsCommand extends $Command< XmlEmptyBlobsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class XmlEmptyBlobsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlEmptyListsCommand.ts b/protocol_tests/aws-ec2/commands/XmlEmptyListsCommand.ts index 0fd6d20da4bc5..a0011a53db226 100644 --- a/protocol_tests/aws-ec2/commands/XmlEmptyListsCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlEmptyListsCommand.ts @@ -22,7 +22,6 @@ export class XmlEmptyListsCommand extends $Command< XmlEmptyListsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class XmlEmptyListsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlEnumsCommand.ts b/protocol_tests/aws-ec2/commands/XmlEnumsCommand.ts index 1439111741fa5..0cf6075884ab1 100644 --- a/protocol_tests/aws-ec2/commands/XmlEnumsCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlEnumsCommand.ts @@ -25,7 +25,6 @@ export class XmlEnumsCommand extends $Command< XmlEnumsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEnumsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlListsCommand.ts b/protocol_tests/aws-ec2/commands/XmlListsCommand.ts index 9faa526193c79..dce594c4fa96d 100644 --- a/protocol_tests/aws-ec2/commands/XmlListsCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlListsCommand.ts @@ -35,7 +35,6 @@ export class XmlListsCommand extends $Command< XmlListsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class XmlListsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlNamespacesCommand.ts b/protocol_tests/aws-ec2/commands/XmlNamespacesCommand.ts index a28066819091b..1790f70125939 100644 --- a/protocol_tests/aws-ec2/commands/XmlNamespacesCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlNamespacesCommand.ts @@ -22,7 +22,6 @@ export class XmlNamespacesCommand extends $Command< XmlNamespacesCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class XmlNamespacesCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-ec2/commands/XmlTimestampsCommand.ts b/protocol_tests/aws-ec2/commands/XmlTimestampsCommand.ts index e16f22f377937..a21b706065ae7 100644 --- a/protocol_tests/aws-ec2/commands/XmlTimestampsCommand.ts +++ b/protocol_tests/aws-ec2/commands/XmlTimestampsCommand.ts @@ -27,7 +27,6 @@ export class XmlTimestampsCommand extends $Command< XmlTimestampsCommandOutput, EC2ProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -45,10 +44,7 @@ export class XmlTimestampsCommand extends $Command< configuration: EC2ProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/EmptyOperationCommand.ts b/protocol_tests/aws-json/commands/EmptyOperationCommand.ts index 4cd06cf3a09ff..dfef7cc1f0f4f 100644 --- a/protocol_tests/aws-json/commands/EmptyOperationCommand.ts +++ b/protocol_tests/aws-json/commands/EmptyOperationCommand.ts @@ -24,7 +24,6 @@ export class EmptyOperationCommand extends $Command< EmptyOperationCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -42,10 +41,7 @@ export class EmptyOperationCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-json/commands/GreetingWithErrorsCommand.ts index 999858386c3b1..05b7833b06ccb 100644 --- a/protocol_tests/aws-json/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-json/commands/GreetingWithErrorsCommand.ts @@ -35,7 +35,6 @@ export class GreetingWithErrorsCommand extends $Command< GreetingWithErrorsCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class GreetingWithErrorsCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/JsonEnumsCommand.ts b/protocol_tests/aws-json/commands/JsonEnumsCommand.ts index cf1924dbe6cbe..9c22295f5600c 100644 --- a/protocol_tests/aws-json/commands/JsonEnumsCommand.ts +++ b/protocol_tests/aws-json/commands/JsonEnumsCommand.ts @@ -25,7 +25,6 @@ export class JsonEnumsCommand extends $Command< JsonEnumsCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class JsonEnumsCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/JsonUnionsCommand.ts b/protocol_tests/aws-json/commands/JsonUnionsCommand.ts index 169d30f6a9b3d..2acf1559b4fc9 100644 --- a/protocol_tests/aws-json/commands/JsonUnionsCommand.ts +++ b/protocol_tests/aws-json/commands/JsonUnionsCommand.ts @@ -28,7 +28,6 @@ export class JsonUnionsCommand extends $Command< JsonUnionsCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class JsonUnionsCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/KitchenSinkOperationCommand.ts b/protocol_tests/aws-json/commands/KitchenSinkOperationCommand.ts index 0c4375e8a2ac6..ceda47d5e70ad 100644 --- a/protocol_tests/aws-json/commands/KitchenSinkOperationCommand.ts +++ b/protocol_tests/aws-json/commands/KitchenSinkOperationCommand.ts @@ -25,7 +25,6 @@ export class KitchenSinkOperationCommand extends $Command< KitchenSinkOperationCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class KitchenSinkOperationCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/NullOperationCommand.ts b/protocol_tests/aws-json/commands/NullOperationCommand.ts index e1f10e237cbcd..98e5421ed2739 100644 --- a/protocol_tests/aws-json/commands/NullOperationCommand.ts +++ b/protocol_tests/aws-json/commands/NullOperationCommand.ts @@ -25,7 +25,6 @@ export class NullOperationCommand extends $Command< NullOperationCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class NullOperationCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/OperationWithOptionalInputOutputCommand.ts b/protocol_tests/aws-json/commands/OperationWithOptionalInputOutputCommand.ts index 0b4fe04c8c162..2c3f5b4ba5f3e 100644 --- a/protocol_tests/aws-json/commands/OperationWithOptionalInputOutputCommand.ts +++ b/protocol_tests/aws-json/commands/OperationWithOptionalInputOutputCommand.ts @@ -25,7 +25,6 @@ export class OperationWithOptionalInputOutputCommand extends $Command< OperationWithOptionalInputOutputCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class OperationWithOptionalInputOutputCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-json/commands/PutAndGetInlineDocumentsCommand.ts b/protocol_tests/aws-json/commands/PutAndGetInlineDocumentsCommand.ts index 8c8d2cdd59d37..3a3e1cd1e41ff 100644 --- a/protocol_tests/aws-json/commands/PutAndGetInlineDocumentsCommand.ts +++ b/protocol_tests/aws-json/commands/PutAndGetInlineDocumentsCommand.ts @@ -28,7 +28,6 @@ export class PutAndGetInlineDocumentsCommand extends $Command< PutAndGetInlineDocumentsCommandOutput, JsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class PutAndGetInlineDocumentsCommand extends $Command< configuration: JsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-query/commands/EmptyInputAndEmptyOutputCommand.ts index adec4f3630bfa..4bd276401bf19 100644 --- a/protocol_tests/aws-query/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-query/commands/EmptyInputAndEmptyOutputCommand.ts @@ -31,7 +31,6 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< EmptyInputAndEmptyOutputCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/FlattenedXmlMapCommand.ts b/protocol_tests/aws-query/commands/FlattenedXmlMapCommand.ts index 0c065a75c18fb..d0f99318f5027 100644 --- a/protocol_tests/aws-query/commands/FlattenedXmlMapCommand.ts +++ b/protocol_tests/aws-query/commands/FlattenedXmlMapCommand.ts @@ -28,7 +28,6 @@ export class FlattenedXmlMapCommand extends $Command< FlattenedXmlMapCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlattenedXmlMapCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNameCommand.ts b/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNameCommand.ts index e937ca428b082..125862fc7cdb3 100644 --- a/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -28,7 +28,6 @@ export class FlattenedXmlMapWithXmlNameCommand extends $Command< FlattenedXmlMapWithXmlNameCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlattenedXmlMapWithXmlNameCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index 61bb5a3907ea5..b2e323a11be2d 100644 --- a/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/protocol_tests/aws-query/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -28,7 +28,6 @@ export class FlattenedXmlMapWithXmlNamespaceCommand extends $Command< FlattenedXmlMapWithXmlNamespaceCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlattenedXmlMapWithXmlNamespaceCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-query/commands/GreetingWithErrorsCommand.ts index 166810b3198fe..d17b62e50f4f2 100644 --- a/protocol_tests/aws-query/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-query/commands/GreetingWithErrorsCommand.ts @@ -32,7 +32,6 @@ export class GreetingWithErrorsCommand extends $Command< GreetingWithErrorsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class GreetingWithErrorsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/IgnoresWrappingXmlNameCommand.ts b/protocol_tests/aws-query/commands/IgnoresWrappingXmlNameCommand.ts index 979c848f7c3a9..45a8ac8b44c18 100644 --- a/protocol_tests/aws-query/commands/IgnoresWrappingXmlNameCommand.ts +++ b/protocol_tests/aws-query/commands/IgnoresWrappingXmlNameCommand.ts @@ -31,7 +31,6 @@ export class IgnoresWrappingXmlNameCommand extends $Command< IgnoresWrappingXmlNameCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class IgnoresWrappingXmlNameCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/NestedStructuresCommand.ts b/protocol_tests/aws-query/commands/NestedStructuresCommand.ts index 8ae2106cd48d7..5a312c11b77b1 100644 --- a/protocol_tests/aws-query/commands/NestedStructuresCommand.ts +++ b/protocol_tests/aws-query/commands/NestedStructuresCommand.ts @@ -28,7 +28,6 @@ export class NestedStructuresCommand extends $Command< NestedStructuresCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NestedStructuresCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-query/commands/NoInputAndNoOutputCommand.ts index 13fb7ddecc814..9a4de5d082907 100644 --- a/protocol_tests/aws-query/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-query/commands/NoInputAndNoOutputCommand.ts @@ -30,7 +30,6 @@ export class NoInputAndNoOutputCommand extends $Command< NoInputAndNoOutputCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class NoInputAndNoOutputCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-query/commands/NoInputAndOutputCommand.ts index f0f88ce473446..713a3255162af 100644 --- a/protocol_tests/aws-query/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-query/commands/NoInputAndOutputCommand.ts @@ -31,7 +31,6 @@ export class NoInputAndOutputCommand extends $Command< NoInputAndOutputCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class NoInputAndOutputCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-query/commands/QueryIdempotencyTokenAutoFillCommand.ts index 4498a3562ad08..07626023074b0 100644 --- a/protocol_tests/aws-query/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-query/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -28,7 +28,6 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< QueryIdempotencyTokenAutoFillCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/QueryListsCommand.ts b/protocol_tests/aws-query/commands/QueryListsCommand.ts index bbb57376e0790..812e5f8c70e95 100644 --- a/protocol_tests/aws-query/commands/QueryListsCommand.ts +++ b/protocol_tests/aws-query/commands/QueryListsCommand.ts @@ -25,7 +25,6 @@ export class QueryListsCommand extends $Command< QueryListsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class QueryListsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/QueryMapsCommand.ts b/protocol_tests/aws-query/commands/QueryMapsCommand.ts index a0a517c1c92c3..2b256be0c7129 100644 --- a/protocol_tests/aws-query/commands/QueryMapsCommand.ts +++ b/protocol_tests/aws-query/commands/QueryMapsCommand.ts @@ -25,7 +25,6 @@ export class QueryMapsCommand extends $Command< QueryMapsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class QueryMapsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/QueryTimestampsCommand.ts b/protocol_tests/aws-query/commands/QueryTimestampsCommand.ts index 80315467f066d..415b6cb6924fd 100644 --- a/protocol_tests/aws-query/commands/QueryTimestampsCommand.ts +++ b/protocol_tests/aws-query/commands/QueryTimestampsCommand.ts @@ -32,7 +32,6 @@ export class QueryTimestampsCommand extends $Command< QueryTimestampsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class QueryTimestampsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/RecursiveXmlShapesCommand.ts b/protocol_tests/aws-query/commands/RecursiveXmlShapesCommand.ts index 07ec52568dd22..c37f043c31e7f 100644 --- a/protocol_tests/aws-query/commands/RecursiveXmlShapesCommand.ts +++ b/protocol_tests/aws-query/commands/RecursiveXmlShapesCommand.ts @@ -28,7 +28,6 @@ export class RecursiveXmlShapesCommand extends $Command< RecursiveXmlShapesCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RecursiveXmlShapesCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/SimpleInputParamsCommand.ts b/protocol_tests/aws-query/commands/SimpleInputParamsCommand.ts index c63ab798f7fa3..3ae6cd8569e83 100644 --- a/protocol_tests/aws-query/commands/SimpleInputParamsCommand.ts +++ b/protocol_tests/aws-query/commands/SimpleInputParamsCommand.ts @@ -28,7 +28,6 @@ export class SimpleInputParamsCommand extends $Command< SimpleInputParamsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class SimpleInputParamsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/SimpleScalarXmlPropertiesCommand.ts b/protocol_tests/aws-query/commands/SimpleScalarXmlPropertiesCommand.ts index 30baffd73d39d..7247aa7f0a73a 100644 --- a/protocol_tests/aws-query/commands/SimpleScalarXmlPropertiesCommand.ts +++ b/protocol_tests/aws-query/commands/SimpleScalarXmlPropertiesCommand.ts @@ -25,7 +25,6 @@ export class SimpleScalarXmlPropertiesCommand extends $Command< SimpleScalarXmlPropertiesCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class SimpleScalarXmlPropertiesCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlBlobsCommand.ts b/protocol_tests/aws-query/commands/XmlBlobsCommand.ts index 4a9b412d24017..1ab93f68b4372 100644 --- a/protocol_tests/aws-query/commands/XmlBlobsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlBlobsCommand.ts @@ -25,7 +25,6 @@ export class XmlBlobsCommand extends $Command< XmlBlobsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlBlobsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlEmptyBlobsCommand.ts b/protocol_tests/aws-query/commands/XmlEmptyBlobsCommand.ts index 663e68617d227..4997674963095 100644 --- a/protocol_tests/aws-query/commands/XmlEmptyBlobsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlEmptyBlobsCommand.ts @@ -25,7 +25,6 @@ export class XmlEmptyBlobsCommand extends $Command< XmlEmptyBlobsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEmptyBlobsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlEmptyListsCommand.ts b/protocol_tests/aws-query/commands/XmlEmptyListsCommand.ts index d364beff1dfbc..71ed62f43e514 100644 --- a/protocol_tests/aws-query/commands/XmlEmptyListsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlEmptyListsCommand.ts @@ -25,7 +25,6 @@ export class XmlEmptyListsCommand extends $Command< XmlEmptyListsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEmptyListsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlEmptyMapsCommand.ts b/protocol_tests/aws-query/commands/XmlEmptyMapsCommand.ts index 0b8f88f50b4ee..35a9f842e765d 100644 --- a/protocol_tests/aws-query/commands/XmlEmptyMapsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlEmptyMapsCommand.ts @@ -22,7 +22,6 @@ export class XmlEmptyMapsCommand extends $Command< XmlEmptyMapsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -40,10 +39,7 @@ export class XmlEmptyMapsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlEnumsCommand.ts b/protocol_tests/aws-query/commands/XmlEnumsCommand.ts index fea537e507818..ee53c8487408a 100644 --- a/protocol_tests/aws-query/commands/XmlEnumsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlEnumsCommand.ts @@ -25,7 +25,6 @@ export class XmlEnumsCommand extends $Command< XmlEnumsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEnumsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlListsCommand.ts b/protocol_tests/aws-query/commands/XmlListsCommand.ts index ad46cc7eb7549..2916ad6e2ceb5 100644 --- a/protocol_tests/aws-query/commands/XmlListsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlListsCommand.ts @@ -34,7 +34,6 @@ export class XmlListsCommand extends $Command< XmlListsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class XmlListsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlMapsCommand.ts b/protocol_tests/aws-query/commands/XmlMapsCommand.ts index 90ec82d745c63..1f3b1d7f8322c 100644 --- a/protocol_tests/aws-query/commands/XmlMapsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlMapsCommand.ts @@ -25,7 +25,6 @@ export class XmlMapsCommand extends $Command< XmlMapsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlMapsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlMapsXmlNameCommand.ts b/protocol_tests/aws-query/commands/XmlMapsXmlNameCommand.ts index 398b4d210e6c7..00921a2907b39 100644 --- a/protocol_tests/aws-query/commands/XmlMapsXmlNameCommand.ts +++ b/protocol_tests/aws-query/commands/XmlMapsXmlNameCommand.ts @@ -25,7 +25,6 @@ export class XmlMapsXmlNameCommand extends $Command< XmlMapsXmlNameCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlMapsXmlNameCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlNamespacesCommand.ts b/protocol_tests/aws-query/commands/XmlNamespacesCommand.ts index 281d5ee6b732e..668b778d02b64 100644 --- a/protocol_tests/aws-query/commands/XmlNamespacesCommand.ts +++ b/protocol_tests/aws-query/commands/XmlNamespacesCommand.ts @@ -25,7 +25,6 @@ export class XmlNamespacesCommand extends $Command< XmlNamespacesCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlNamespacesCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-query/commands/XmlTimestampsCommand.ts b/protocol_tests/aws-query/commands/XmlTimestampsCommand.ts index fd3d0904d46cd..d9d86b6194a5f 100644 --- a/protocol_tests/aws-query/commands/XmlTimestampsCommand.ts +++ b/protocol_tests/aws-query/commands/XmlTimestampsCommand.ts @@ -30,7 +30,6 @@ export class XmlTimestampsCommand extends $Command< XmlTimestampsCommandOutput, QueryProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class XmlTimestampsCommand extends $Command< configuration: QueryProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/AllQueryStringTypesCommand.ts b/protocol_tests/aws-restjson/commands/AllQueryStringTypesCommand.ts index 5b44386aabcbd..7fb98a30b8e9c 100644 --- a/protocol_tests/aws-restjson/commands/AllQueryStringTypesCommand.ts +++ b/protocol_tests/aws-restjson/commands/AllQueryStringTypesCommand.ts @@ -28,7 +28,6 @@ export class AllQueryStringTypesCommand extends $Command< AllQueryStringTypesCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AllQueryStringTypesCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/ConstantAndVariableQueryStringCommand.ts b/protocol_tests/aws-restjson/commands/ConstantAndVariableQueryStringCommand.ts index 801caeed3ba02..b2dc086dfaef2 100644 --- a/protocol_tests/aws-restjson/commands/ConstantAndVariableQueryStringCommand.ts +++ b/protocol_tests/aws-restjson/commands/ConstantAndVariableQueryStringCommand.ts @@ -30,7 +30,6 @@ export class ConstantAndVariableQueryStringCommand extends $Command< ConstantAndVariableQueryStringCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ConstantAndVariableQueryStringCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/ConstantQueryStringCommand.ts b/protocol_tests/aws-restjson/commands/ConstantQueryStringCommand.ts index be34cad8e5817..3fa141d9db1ad 100644 --- a/protocol_tests/aws-restjson/commands/ConstantQueryStringCommand.ts +++ b/protocol_tests/aws-restjson/commands/ConstantQueryStringCommand.ts @@ -31,7 +31,6 @@ export class ConstantQueryStringCommand extends $Command< ConstantQueryStringCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ConstantQueryStringCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-restjson/commands/EmptyInputAndEmptyOutputCommand.ts index c60898004eeb7..aa418e5b17c71 100644 --- a/protocol_tests/aws-restjson/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-restjson/commands/EmptyInputAndEmptyOutputCommand.ts @@ -31,7 +31,6 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< EmptyInputAndEmptyOutputCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-restjson/commands/GreetingWithErrorsCommand.ts index b7b64c6f70ed3..d258c9676a10c 100644 --- a/protocol_tests/aws-restjson/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-restjson/commands/GreetingWithErrorsCommand.ts @@ -37,7 +37,6 @@ export class GreetingWithErrorsCommand extends $Command< GreetingWithErrorsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -55,10 +54,7 @@ export class GreetingWithErrorsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpPayloadTraitsCommand.ts b/protocol_tests/aws-restjson/commands/HttpPayloadTraitsCommand.ts index 92adfe68fd4fa..67ab1ed0b78e4 100644 --- a/protocol_tests/aws-restjson/commands/HttpPayloadTraitsCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpPayloadTraitsCommand.ts @@ -31,7 +31,6 @@ export class HttpPayloadTraitsCommand extends $Command< HttpPayloadTraitsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class HttpPayloadTraitsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/protocol_tests/aws-restjson/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index 1bb3e6c2b0094..3767be82e11e6 100644 --- a/protocol_tests/aws-restjson/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -29,7 +29,6 @@ export class HttpPayloadTraitsWithMediaTypeCommand extends $Command< HttpPayloadTraitsWithMediaTypeCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class HttpPayloadTraitsWithMediaTypeCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpPayloadWithStructureCommand.ts b/protocol_tests/aws-restjson/commands/HttpPayloadWithStructureCommand.ts index 651878d1849af..415e9bd853571 100644 --- a/protocol_tests/aws-restjson/commands/HttpPayloadWithStructureCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpPayloadWithStructureCommand.ts @@ -31,7 +31,6 @@ export class HttpPayloadWithStructureCommand extends $Command< HttpPayloadWithStructureCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class HttpPayloadWithStructureCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpPrefixHeadersCommand.ts b/protocol_tests/aws-restjson/commands/HttpPrefixHeadersCommand.ts index 2bf3eac3f2f3a..18beeab44e126 100644 --- a/protocol_tests/aws-restjson/commands/HttpPrefixHeadersCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpPrefixHeadersCommand.ts @@ -28,7 +28,6 @@ export class HttpPrefixHeadersCommand extends $Command< HttpPrefixHeadersCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class HttpPrefixHeadersCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpPrefixHeadersResponseCommand.ts b/protocol_tests/aws-restjson/commands/HttpPrefixHeadersResponseCommand.ts index d2f4849302b1b..6c47fa3c5e557 100644 --- a/protocol_tests/aws-restjson/commands/HttpPrefixHeadersResponseCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpPrefixHeadersResponseCommand.ts @@ -28,7 +28,6 @@ export class HttpPrefixHeadersResponseCommand extends $Command< HttpPrefixHeadersResponseCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class HttpPrefixHeadersResponseCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/protocol_tests/aws-restjson/commands/HttpRequestWithGreedyLabelInPathCommand.ts index 49a191e3d0bfc..72943f06ce67f 100644 --- a/protocol_tests/aws-restjson/commands/HttpRequestWithGreedyLabelInPathCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpRequestWithGreedyLabelInPathCommand.ts @@ -25,7 +25,6 @@ export class HttpRequestWithGreedyLabelInPathCommand extends $Command< HttpRequestWithGreedyLabelInPathCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class HttpRequestWithGreedyLabelInPathCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index 183e1ee9b12a6..1307ac6e9570e 100644 --- a/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -29,7 +29,6 @@ export class HttpRequestWithLabelsAndTimestampFormatCommand extends $Command< HttpRequestWithLabelsAndTimestampFormatCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class HttpRequestWithLabelsAndTimestampFormatCommand extends $Command< HttpRequestWithLabelsAndTimestampFormatCommandInput, HttpRequestWithLabelsAndTimestampFormatCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsCommand.ts b/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsCommand.ts index a6a3ef171faff..90f7c8a3aedca 100644 --- a/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpRequestWithLabelsCommand.ts @@ -29,7 +29,6 @@ export class HttpRequestWithLabelsCommand extends $Command< HttpRequestWithLabelsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class HttpRequestWithLabelsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/HttpResponseCodeCommand.ts b/protocol_tests/aws-restjson/commands/HttpResponseCodeCommand.ts index 87a030cf1d492..d00d4a2698974 100644 --- a/protocol_tests/aws-restjson/commands/HttpResponseCodeCommand.ts +++ b/protocol_tests/aws-restjson/commands/HttpResponseCodeCommand.ts @@ -25,7 +25,6 @@ export class HttpResponseCodeCommand extends $Command< HttpResponseCodeCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class HttpResponseCodeCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/IgnoreQueryParamsInResponseCommand.ts b/protocol_tests/aws-restjson/commands/IgnoreQueryParamsInResponseCommand.ts index fdffc051ee13c..48f5d8c0988bc 100644 --- a/protocol_tests/aws-restjson/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/protocol_tests/aws-restjson/commands/IgnoreQueryParamsInResponseCommand.ts @@ -30,7 +30,6 @@ export class IgnoreQueryParamsInResponseCommand extends $Command< IgnoreQueryParamsInResponseCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class IgnoreQueryParamsInResponseCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/InlineDocumentAsPayloadCommand.ts b/protocol_tests/aws-restjson/commands/InlineDocumentAsPayloadCommand.ts index c6101571dad35..941e56e54d536 100644 --- a/protocol_tests/aws-restjson/commands/InlineDocumentAsPayloadCommand.ts +++ b/protocol_tests/aws-restjson/commands/InlineDocumentAsPayloadCommand.ts @@ -28,7 +28,6 @@ export class InlineDocumentAsPayloadCommand extends $Command< InlineDocumentAsPayloadCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class InlineDocumentAsPayloadCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/InlineDocumentCommand.ts b/protocol_tests/aws-restjson/commands/InlineDocumentCommand.ts index 2d32b1edbd421..686b04bc27645 100644 --- a/protocol_tests/aws-restjson/commands/InlineDocumentCommand.ts +++ b/protocol_tests/aws-restjson/commands/InlineDocumentCommand.ts @@ -28,7 +28,6 @@ export class InlineDocumentCommand extends $Command< InlineDocumentCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class InlineDocumentCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/InputAndOutputWithHeadersCommand.ts b/protocol_tests/aws-restjson/commands/InputAndOutputWithHeadersCommand.ts index 930918a9201a4..5eb87a65d6bc3 100644 --- a/protocol_tests/aws-restjson/commands/InputAndOutputWithHeadersCommand.ts +++ b/protocol_tests/aws-restjson/commands/InputAndOutputWithHeadersCommand.ts @@ -29,7 +29,6 @@ export class InputAndOutputWithHeadersCommand extends $Command< InputAndOutputWithHeadersCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class InputAndOutputWithHeadersCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/JsonBlobsCommand.ts b/protocol_tests/aws-restjson/commands/JsonBlobsCommand.ts index fe5e48d37f169..d1e9c6cb4e4de 100644 --- a/protocol_tests/aws-restjson/commands/JsonBlobsCommand.ts +++ b/protocol_tests/aws-restjson/commands/JsonBlobsCommand.ts @@ -28,7 +28,6 @@ export class JsonBlobsCommand extends $Command< JsonBlobsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class JsonBlobsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/JsonEnumsCommand.ts b/protocol_tests/aws-restjson/commands/JsonEnumsCommand.ts index a275648f9219d..194845b9ab459 100644 --- a/protocol_tests/aws-restjson/commands/JsonEnumsCommand.ts +++ b/protocol_tests/aws-restjson/commands/JsonEnumsCommand.ts @@ -28,7 +28,6 @@ export class JsonEnumsCommand extends $Command< JsonEnumsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class JsonEnumsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/JsonListsCommand.ts b/protocol_tests/aws-restjson/commands/JsonListsCommand.ts index 01c6df814a518..23dc9e3d05be9 100644 --- a/protocol_tests/aws-restjson/commands/JsonListsCommand.ts +++ b/protocol_tests/aws-restjson/commands/JsonListsCommand.ts @@ -34,7 +34,6 @@ export class JsonListsCommand extends $Command< JsonListsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class JsonListsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/JsonMapsCommand.ts b/protocol_tests/aws-restjson/commands/JsonMapsCommand.ts index e06483608a32d..4a7fc268d67df 100644 --- a/protocol_tests/aws-restjson/commands/JsonMapsCommand.ts +++ b/protocol_tests/aws-restjson/commands/JsonMapsCommand.ts @@ -28,7 +28,6 @@ export class JsonMapsCommand extends $Command< JsonMapsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class JsonMapsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/JsonTimestampsCommand.ts b/protocol_tests/aws-restjson/commands/JsonTimestampsCommand.ts index 7e3abccfd9aac..2e92f61a58e0e 100644 --- a/protocol_tests/aws-restjson/commands/JsonTimestampsCommand.ts +++ b/protocol_tests/aws-restjson/commands/JsonTimestampsCommand.ts @@ -30,7 +30,6 @@ export class JsonTimestampsCommand extends $Command< JsonTimestampsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class JsonTimestampsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/JsonUnionsCommand.ts b/protocol_tests/aws-restjson/commands/JsonUnionsCommand.ts index 7baad0effa85b..accfaa6d7ef30 100644 --- a/protocol_tests/aws-restjson/commands/JsonUnionsCommand.ts +++ b/protocol_tests/aws-restjson/commands/JsonUnionsCommand.ts @@ -28,7 +28,6 @@ export class JsonUnionsCommand extends $Command< JsonUnionsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class JsonUnionsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/MediaTypeHeaderCommand.ts b/protocol_tests/aws-restjson/commands/MediaTypeHeaderCommand.ts index 7769ecc502aaf..2a1f038b357b2 100644 --- a/protocol_tests/aws-restjson/commands/MediaTypeHeaderCommand.ts +++ b/protocol_tests/aws-restjson/commands/MediaTypeHeaderCommand.ts @@ -28,7 +28,6 @@ export class MediaTypeHeaderCommand extends $Command< MediaTypeHeaderCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class MediaTypeHeaderCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-restjson/commands/NoInputAndNoOutputCommand.ts index 38db197f68dcb..eba2fb8569123 100644 --- a/protocol_tests/aws-restjson/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-restjson/commands/NoInputAndNoOutputCommand.ts @@ -29,7 +29,6 @@ export class NoInputAndNoOutputCommand extends $Command< NoInputAndNoOutputCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class NoInputAndNoOutputCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-restjson/commands/NoInputAndOutputCommand.ts index 2d3e47d2d6009..3aa30ee4f6607 100644 --- a/protocol_tests/aws-restjson/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-restjson/commands/NoInputAndOutputCommand.ts @@ -31,7 +31,6 @@ export class NoInputAndOutputCommand extends $Command< NoInputAndOutputCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class NoInputAndOutputCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersClientCommand.ts b/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersClientCommand.ts index 5b096b8e7f8a5..f1ce33a03cbd3 100644 --- a/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersClientCommand.ts +++ b/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersClientCommand.ts @@ -28,7 +28,6 @@ export class NullAndEmptyHeadersClientCommand extends $Command< NullAndEmptyHeadersClientCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NullAndEmptyHeadersClientCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersServerCommand.ts b/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersServerCommand.ts index 72604d6cbabdc..4fa26c4272dd5 100644 --- a/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersServerCommand.ts +++ b/protocol_tests/aws-restjson/commands/NullAndEmptyHeadersServerCommand.ts @@ -28,7 +28,6 @@ export class NullAndEmptyHeadersServerCommand extends $Command< NullAndEmptyHeadersServerCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NullAndEmptyHeadersServerCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/OmitsNullSerializesEmptyStringCommand.ts b/protocol_tests/aws-restjson/commands/OmitsNullSerializesEmptyStringCommand.ts index 8cde02c986412..312305969ef09 100644 --- a/protocol_tests/aws-restjson/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/protocol_tests/aws-restjson/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -28,7 +28,6 @@ export class OmitsNullSerializesEmptyStringCommand extends $Command< OmitsNullSerializesEmptyStringCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class OmitsNullSerializesEmptyStringCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-restjson/commands/QueryIdempotencyTokenAutoFillCommand.ts index 2f8f9aba9cfc7..0f49eda68109f 100644 --- a/protocol_tests/aws-restjson/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-restjson/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -28,7 +28,6 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< QueryIdempotencyTokenAutoFillCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/RecursiveShapesCommand.ts b/protocol_tests/aws-restjson/commands/RecursiveShapesCommand.ts index 7d9cebf1a2f67..82952a40c06e9 100644 --- a/protocol_tests/aws-restjson/commands/RecursiveShapesCommand.ts +++ b/protocol_tests/aws-restjson/commands/RecursiveShapesCommand.ts @@ -28,7 +28,6 @@ export class RecursiveShapesCommand extends $Command< RecursiveShapesCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RecursiveShapesCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/SimpleScalarPropertiesCommand.ts b/protocol_tests/aws-restjson/commands/SimpleScalarPropertiesCommand.ts index 9e117f9d52c57..010e7f414d2d3 100644 --- a/protocol_tests/aws-restjson/commands/SimpleScalarPropertiesCommand.ts +++ b/protocol_tests/aws-restjson/commands/SimpleScalarPropertiesCommand.ts @@ -25,7 +25,6 @@ export class SimpleScalarPropertiesCommand extends $Command< SimpleScalarPropertiesCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class SimpleScalarPropertiesCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/StreamingTraitsCommand.ts b/protocol_tests/aws-restjson/commands/StreamingTraitsCommand.ts index 48a2371842c90..8a4474137be6c 100644 --- a/protocol_tests/aws-restjson/commands/StreamingTraitsCommand.ts +++ b/protocol_tests/aws-restjson/commands/StreamingTraitsCommand.ts @@ -33,7 +33,6 @@ export class StreamingTraitsCommand extends $Command< StreamingTraitsCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StreamingTraitsCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/StreamingTraitsRequireLengthCommand.ts b/protocol_tests/aws-restjson/commands/StreamingTraitsRequireLengthCommand.ts index 2c78a918e816f..f46370727bd84 100644 --- a/protocol_tests/aws-restjson/commands/StreamingTraitsRequireLengthCommand.ts +++ b/protocol_tests/aws-restjson/commands/StreamingTraitsRequireLengthCommand.ts @@ -34,7 +34,6 @@ export class StreamingTraitsRequireLengthCommand extends $Command< StreamingTraitsRequireLengthCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -52,10 +51,7 @@ export class StreamingTraitsRequireLengthCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/StreamingTraitsWithMediaTypeCommand.ts b/protocol_tests/aws-restjson/commands/StreamingTraitsWithMediaTypeCommand.ts index 69f87372ef815..c04d6c150cc19 100644 --- a/protocol_tests/aws-restjson/commands/StreamingTraitsWithMediaTypeCommand.ts +++ b/protocol_tests/aws-restjson/commands/StreamingTraitsWithMediaTypeCommand.ts @@ -33,7 +33,6 @@ export class StreamingTraitsWithMediaTypeCommand extends $Command< StreamingTraitsWithMediaTypeCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -51,10 +50,7 @@ export class StreamingTraitsWithMediaTypeCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restjson/commands/TimestampFormatHeadersCommand.ts b/protocol_tests/aws-restjson/commands/TimestampFormatHeadersCommand.ts index 886e3f44650a3..083bf48885c68 100644 --- a/protocol_tests/aws-restjson/commands/TimestampFormatHeadersCommand.ts +++ b/protocol_tests/aws-restjson/commands/TimestampFormatHeadersCommand.ts @@ -28,7 +28,6 @@ export class TimestampFormatHeadersCommand extends $Command< TimestampFormatHeadersCommandOutput, RestJsonProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TimestampFormatHeadersCommand extends $Command< configuration: RestJsonProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/AllQueryStringTypesCommand.ts b/protocol_tests/aws-restxml/commands/AllQueryStringTypesCommand.ts index 62bbb182cf0c0..a6293266a5696 100644 --- a/protocol_tests/aws-restxml/commands/AllQueryStringTypesCommand.ts +++ b/protocol_tests/aws-restxml/commands/AllQueryStringTypesCommand.ts @@ -28,7 +28,6 @@ export class AllQueryStringTypesCommand extends $Command< AllQueryStringTypesCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class AllQueryStringTypesCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/ConstantAndVariableQueryStringCommand.ts b/protocol_tests/aws-restxml/commands/ConstantAndVariableQueryStringCommand.ts index 2963ca30e98cf..dbc44831b34db 100644 --- a/protocol_tests/aws-restxml/commands/ConstantAndVariableQueryStringCommand.ts +++ b/protocol_tests/aws-restxml/commands/ConstantAndVariableQueryStringCommand.ts @@ -30,7 +30,6 @@ export class ConstantAndVariableQueryStringCommand extends $Command< ConstantAndVariableQueryStringCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class ConstantAndVariableQueryStringCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/ConstantQueryStringCommand.ts b/protocol_tests/aws-restxml/commands/ConstantQueryStringCommand.ts index 65eb0a2bf4f9b..fa5dc5a512f36 100644 --- a/protocol_tests/aws-restxml/commands/ConstantQueryStringCommand.ts +++ b/protocol_tests/aws-restxml/commands/ConstantQueryStringCommand.ts @@ -31,7 +31,6 @@ export class ConstantQueryStringCommand extends $Command< ConstantQueryStringCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class ConstantQueryStringCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/EmptyInputAndEmptyOutputCommand.ts b/protocol_tests/aws-restxml/commands/EmptyInputAndEmptyOutputCommand.ts index f9b919acf5da1..9120ca9fbc86d 100644 --- a/protocol_tests/aws-restxml/commands/EmptyInputAndEmptyOutputCommand.ts +++ b/protocol_tests/aws-restxml/commands/EmptyInputAndEmptyOutputCommand.ts @@ -31,7 +31,6 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< EmptyInputAndEmptyOutputCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class EmptyInputAndEmptyOutputCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/FlattenedXmlMapCommand.ts b/protocol_tests/aws-restxml/commands/FlattenedXmlMapCommand.ts index 08b452607b778..7fe1e6b0f0a3e 100644 --- a/protocol_tests/aws-restxml/commands/FlattenedXmlMapCommand.ts +++ b/protocol_tests/aws-restxml/commands/FlattenedXmlMapCommand.ts @@ -28,7 +28,6 @@ export class FlattenedXmlMapCommand extends $Command< FlattenedXmlMapCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlattenedXmlMapCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNameCommand.ts b/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNameCommand.ts index 64ca154fafad1..c622340c1eb0b 100644 --- a/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNameCommand.ts +++ b/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNameCommand.ts @@ -28,7 +28,6 @@ export class FlattenedXmlMapWithXmlNameCommand extends $Command< FlattenedXmlMapWithXmlNameCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlattenedXmlMapWithXmlNameCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts b/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts index fe76e99b7aaa7..24e3de6bff67a 100644 --- a/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts +++ b/protocol_tests/aws-restxml/commands/FlattenedXmlMapWithXmlNamespaceCommand.ts @@ -28,7 +28,6 @@ export class FlattenedXmlMapWithXmlNamespaceCommand extends $Command< FlattenedXmlMapWithXmlNamespaceCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class FlattenedXmlMapWithXmlNamespaceCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/GreetingWithErrorsCommand.ts b/protocol_tests/aws-restxml/commands/GreetingWithErrorsCommand.ts index 18150ec6e5b41..176b15bb8574f 100644 --- a/protocol_tests/aws-restxml/commands/GreetingWithErrorsCommand.ts +++ b/protocol_tests/aws-restxml/commands/GreetingWithErrorsCommand.ts @@ -36,7 +36,6 @@ export class GreetingWithErrorsCommand extends $Command< GreetingWithErrorsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -54,10 +53,7 @@ export class GreetingWithErrorsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPayloadTraitsCommand.ts b/protocol_tests/aws-restxml/commands/HttpPayloadTraitsCommand.ts index 83dac73803df7..afc0792e9282d 100644 --- a/protocol_tests/aws-restxml/commands/HttpPayloadTraitsCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPayloadTraitsCommand.ts @@ -31,7 +31,6 @@ export class HttpPayloadTraitsCommand extends $Command< HttpPayloadTraitsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class HttpPayloadTraitsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPayloadTraitsWithMediaTypeCommand.ts b/protocol_tests/aws-restxml/commands/HttpPayloadTraitsWithMediaTypeCommand.ts index 349f62208ae33..86a4207fb1694 100644 --- a/protocol_tests/aws-restxml/commands/HttpPayloadTraitsWithMediaTypeCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPayloadTraitsWithMediaTypeCommand.ts @@ -29,7 +29,6 @@ export class HttpPayloadTraitsWithMediaTypeCommand extends $Command< HttpPayloadTraitsWithMediaTypeCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class HttpPayloadTraitsWithMediaTypeCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPayloadWithStructureCommand.ts b/protocol_tests/aws-restxml/commands/HttpPayloadWithStructureCommand.ts index 84cd17aba22ce..d3127bd80807a 100644 --- a/protocol_tests/aws-restxml/commands/HttpPayloadWithStructureCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPayloadWithStructureCommand.ts @@ -31,7 +31,6 @@ export class HttpPayloadWithStructureCommand extends $Command< HttpPayloadWithStructureCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class HttpPayloadWithStructureCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNameCommand.ts b/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNameCommand.ts index 6a36f42c102ad..98c3519f7ee69 100644 --- a/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNameCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNameCommand.ts @@ -29,7 +29,6 @@ export class HttpPayloadWithXmlNameCommand extends $Command< HttpPayloadWithXmlNameCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class HttpPayloadWithXmlNameCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts b/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts index e46fdd75c6bea..9b7d0579d4f3f 100644 --- a/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceAndPrefixCommand.ts @@ -29,7 +29,6 @@ export class HttpPayloadWithXmlNamespaceAndPrefixCommand extends $Command< HttpPayloadWithXmlNamespaceAndPrefixCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class HttpPayloadWithXmlNamespaceAndPrefixCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceCommand.ts b/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceCommand.ts index f484cbe491d7a..e4335a3ffc76e 100644 --- a/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPayloadWithXmlNamespaceCommand.ts @@ -28,7 +28,6 @@ export class HttpPayloadWithXmlNamespaceCommand extends $Command< HttpPayloadWithXmlNamespaceCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class HttpPayloadWithXmlNamespaceCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpPrefixHeadersCommand.ts b/protocol_tests/aws-restxml/commands/HttpPrefixHeadersCommand.ts index 52779a0914a9e..5b29246c8c01f 100644 --- a/protocol_tests/aws-restxml/commands/HttpPrefixHeadersCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpPrefixHeadersCommand.ts @@ -28,7 +28,6 @@ export class HttpPrefixHeadersCommand extends $Command< HttpPrefixHeadersCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class HttpPrefixHeadersCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpRequestWithGreedyLabelInPathCommand.ts b/protocol_tests/aws-restxml/commands/HttpRequestWithGreedyLabelInPathCommand.ts index 4c8b515644d1b..22af494846c3a 100644 --- a/protocol_tests/aws-restxml/commands/HttpRequestWithGreedyLabelInPathCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpRequestWithGreedyLabelInPathCommand.ts @@ -25,7 +25,6 @@ export class HttpRequestWithGreedyLabelInPathCommand extends $Command< HttpRequestWithGreedyLabelInPathCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class HttpRequestWithGreedyLabelInPathCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts b/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts index 52d13bc82b23e..69bb1396a047e 100644 --- a/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsAndTimestampFormatCommand.ts @@ -29,7 +29,6 @@ export class HttpRequestWithLabelsAndTimestampFormatCommand extends $Command< HttpRequestWithLabelsAndTimestampFormatCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -50,10 +49,7 @@ export class HttpRequestWithLabelsAndTimestampFormatCommand extends $Command< HttpRequestWithLabelsAndTimestampFormatCommandInput, HttpRequestWithLabelsAndTimestampFormatCommandOutput > { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsCommand.ts b/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsCommand.ts index f4e3d8670e32b..959d8f6753092 100644 --- a/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpRequestWithLabelsCommand.ts @@ -29,7 +29,6 @@ export class HttpRequestWithLabelsCommand extends $Command< HttpRequestWithLabelsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class HttpRequestWithLabelsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/HttpResponseCodeCommand.ts b/protocol_tests/aws-restxml/commands/HttpResponseCodeCommand.ts index b40674d23cd7d..5b92686719911 100644 --- a/protocol_tests/aws-restxml/commands/HttpResponseCodeCommand.ts +++ b/protocol_tests/aws-restxml/commands/HttpResponseCodeCommand.ts @@ -25,7 +25,6 @@ export class HttpResponseCodeCommand extends $Command< HttpResponseCodeCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class HttpResponseCodeCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/IgnoreQueryParamsInResponseCommand.ts b/protocol_tests/aws-restxml/commands/IgnoreQueryParamsInResponseCommand.ts index 64d2160a58ad0..837f5688a47e0 100644 --- a/protocol_tests/aws-restxml/commands/IgnoreQueryParamsInResponseCommand.ts +++ b/protocol_tests/aws-restxml/commands/IgnoreQueryParamsInResponseCommand.ts @@ -30,7 +30,6 @@ export class IgnoreQueryParamsInResponseCommand extends $Command< IgnoreQueryParamsInResponseCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class IgnoreQueryParamsInResponseCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/InputAndOutputWithHeadersCommand.ts b/protocol_tests/aws-restxml/commands/InputAndOutputWithHeadersCommand.ts index 5b8335fccacd4..9e13343f56a85 100644 --- a/protocol_tests/aws-restxml/commands/InputAndOutputWithHeadersCommand.ts +++ b/protocol_tests/aws-restxml/commands/InputAndOutputWithHeadersCommand.ts @@ -29,7 +29,6 @@ export class InputAndOutputWithHeadersCommand extends $Command< InputAndOutputWithHeadersCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class InputAndOutputWithHeadersCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/NoInputAndNoOutputCommand.ts b/protocol_tests/aws-restxml/commands/NoInputAndNoOutputCommand.ts index 58152fa66d9c8..883bbb27cdf33 100644 --- a/protocol_tests/aws-restxml/commands/NoInputAndNoOutputCommand.ts +++ b/protocol_tests/aws-restxml/commands/NoInputAndNoOutputCommand.ts @@ -29,7 +29,6 @@ export class NoInputAndNoOutputCommand extends $Command< NoInputAndNoOutputCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -47,10 +46,7 @@ export class NoInputAndNoOutputCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/NoInputAndOutputCommand.ts b/protocol_tests/aws-restxml/commands/NoInputAndOutputCommand.ts index f39ebfe0cc97f..062411cacf7e5 100644 --- a/protocol_tests/aws-restxml/commands/NoInputAndOutputCommand.ts +++ b/protocol_tests/aws-restxml/commands/NoInputAndOutputCommand.ts @@ -31,7 +31,6 @@ export class NoInputAndOutputCommand extends $Command< NoInputAndOutputCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -49,10 +48,7 @@ export class NoInputAndOutputCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersClientCommand.ts b/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersClientCommand.ts index 7b88ac97e504a..3ae9d679fa30f 100644 --- a/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersClientCommand.ts +++ b/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersClientCommand.ts @@ -28,7 +28,6 @@ export class NullAndEmptyHeadersClientCommand extends $Command< NullAndEmptyHeadersClientCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NullAndEmptyHeadersClientCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersServerCommand.ts b/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersServerCommand.ts index c79fddb59a263..4e1fa520215f2 100644 --- a/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersServerCommand.ts +++ b/protocol_tests/aws-restxml/commands/NullAndEmptyHeadersServerCommand.ts @@ -28,7 +28,6 @@ export class NullAndEmptyHeadersServerCommand extends $Command< NullAndEmptyHeadersServerCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class NullAndEmptyHeadersServerCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/OmitsNullSerializesEmptyStringCommand.ts b/protocol_tests/aws-restxml/commands/OmitsNullSerializesEmptyStringCommand.ts index 41e01bf2d7887..a2bf8d944f02a 100644 --- a/protocol_tests/aws-restxml/commands/OmitsNullSerializesEmptyStringCommand.ts +++ b/protocol_tests/aws-restxml/commands/OmitsNullSerializesEmptyStringCommand.ts @@ -28,7 +28,6 @@ export class OmitsNullSerializesEmptyStringCommand extends $Command< OmitsNullSerializesEmptyStringCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class OmitsNullSerializesEmptyStringCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/QueryIdempotencyTokenAutoFillCommand.ts b/protocol_tests/aws-restxml/commands/QueryIdempotencyTokenAutoFillCommand.ts index 9eda8649d6fd9..fdb3bf8065c57 100644 --- a/protocol_tests/aws-restxml/commands/QueryIdempotencyTokenAutoFillCommand.ts +++ b/protocol_tests/aws-restxml/commands/QueryIdempotencyTokenAutoFillCommand.ts @@ -28,7 +28,6 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< QueryIdempotencyTokenAutoFillCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class QueryIdempotencyTokenAutoFillCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/RecursiveShapesCommand.ts b/protocol_tests/aws-restxml/commands/RecursiveShapesCommand.ts index f36251295c496..13501fc35bb32 100644 --- a/protocol_tests/aws-restxml/commands/RecursiveShapesCommand.ts +++ b/protocol_tests/aws-restxml/commands/RecursiveShapesCommand.ts @@ -28,7 +28,6 @@ export class RecursiveShapesCommand extends $Command< RecursiveShapesCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class RecursiveShapesCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/SimpleScalarPropertiesCommand.ts b/protocol_tests/aws-restxml/commands/SimpleScalarPropertiesCommand.ts index dffa346169b7d..7cf63a5c82a7c 100644 --- a/protocol_tests/aws-restxml/commands/SimpleScalarPropertiesCommand.ts +++ b/protocol_tests/aws-restxml/commands/SimpleScalarPropertiesCommand.ts @@ -25,7 +25,6 @@ export class SimpleScalarPropertiesCommand extends $Command< SimpleScalarPropertiesCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class SimpleScalarPropertiesCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/TimestampFormatHeadersCommand.ts b/protocol_tests/aws-restxml/commands/TimestampFormatHeadersCommand.ts index 4c7da8fba7f71..2d55b077edf58 100644 --- a/protocol_tests/aws-restxml/commands/TimestampFormatHeadersCommand.ts +++ b/protocol_tests/aws-restxml/commands/TimestampFormatHeadersCommand.ts @@ -28,7 +28,6 @@ export class TimestampFormatHeadersCommand extends $Command< TimestampFormatHeadersCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class TimestampFormatHeadersCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlAttributesCommand.ts b/protocol_tests/aws-restxml/commands/XmlAttributesCommand.ts index 2ba31e4e0c8d2..b6df1a80b35db 100644 --- a/protocol_tests/aws-restxml/commands/XmlAttributesCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlAttributesCommand.ts @@ -28,7 +28,6 @@ export class XmlAttributesCommand extends $Command< XmlAttributesCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class XmlAttributesCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlAttributesOnPayloadCommand.ts b/protocol_tests/aws-restxml/commands/XmlAttributesOnPayloadCommand.ts index adcc6cf978643..b07d13fc4ae24 100644 --- a/protocol_tests/aws-restxml/commands/XmlAttributesOnPayloadCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlAttributesOnPayloadCommand.ts @@ -28,7 +28,6 @@ export class XmlAttributesOnPayloadCommand extends $Command< XmlAttributesOnPayloadCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class XmlAttributesOnPayloadCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlBlobsCommand.ts b/protocol_tests/aws-restxml/commands/XmlBlobsCommand.ts index fc87ff5160aa7..1b26ec3251dbf 100644 --- a/protocol_tests/aws-restxml/commands/XmlBlobsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlBlobsCommand.ts @@ -25,7 +25,6 @@ export class XmlBlobsCommand extends $Command< XmlBlobsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlBlobsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlEmptyBlobsCommand.ts b/protocol_tests/aws-restxml/commands/XmlEmptyBlobsCommand.ts index 1e046a8eafb01..b3c4a2416e9dd 100644 --- a/protocol_tests/aws-restxml/commands/XmlEmptyBlobsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlEmptyBlobsCommand.ts @@ -28,7 +28,6 @@ export class XmlEmptyBlobsCommand extends $Command< XmlEmptyBlobsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -46,10 +45,7 @@ export class XmlEmptyBlobsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlEmptyListsCommand.ts b/protocol_tests/aws-restxml/commands/XmlEmptyListsCommand.ts index bbacca7aa57cd..d54d0639c2232 100644 --- a/protocol_tests/aws-restxml/commands/XmlEmptyListsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlEmptyListsCommand.ts @@ -25,7 +25,6 @@ export class XmlEmptyListsCommand extends $Command< XmlEmptyListsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEmptyListsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlEmptyMapsCommand.ts b/protocol_tests/aws-restxml/commands/XmlEmptyMapsCommand.ts index e7f68d3289cbf..5c7bb1e53996a 100644 --- a/protocol_tests/aws-restxml/commands/XmlEmptyMapsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlEmptyMapsCommand.ts @@ -25,7 +25,6 @@ export class XmlEmptyMapsCommand extends $Command< XmlEmptyMapsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEmptyMapsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlEmptyStringsCommand.ts b/protocol_tests/aws-restxml/commands/XmlEmptyStringsCommand.ts index ed7104b071de3..eac36d441f795 100644 --- a/protocol_tests/aws-restxml/commands/XmlEmptyStringsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlEmptyStringsCommand.ts @@ -25,7 +25,6 @@ export class XmlEmptyStringsCommand extends $Command< XmlEmptyStringsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEmptyStringsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlEnumsCommand.ts b/protocol_tests/aws-restxml/commands/XmlEnumsCommand.ts index 1dd2c67d04a88..07c09b0dcf435 100644 --- a/protocol_tests/aws-restxml/commands/XmlEnumsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlEnumsCommand.ts @@ -25,7 +25,6 @@ export class XmlEnumsCommand extends $Command< XmlEnumsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlEnumsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlListsCommand.ts b/protocol_tests/aws-restxml/commands/XmlListsCommand.ts index 1ecf8dfcaffc3..77ddcec0217dd 100644 --- a/protocol_tests/aws-restxml/commands/XmlListsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlListsCommand.ts @@ -35,7 +35,6 @@ export class XmlListsCommand extends $Command< XmlListsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -53,10 +52,7 @@ export class XmlListsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlMapsCommand.ts b/protocol_tests/aws-restxml/commands/XmlMapsCommand.ts index b573de2da6700..406cfb299a2c7 100644 --- a/protocol_tests/aws-restxml/commands/XmlMapsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlMapsCommand.ts @@ -25,7 +25,6 @@ export class XmlMapsCommand extends $Command< XmlMapsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlMapsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlMapsXmlNameCommand.ts b/protocol_tests/aws-restxml/commands/XmlMapsXmlNameCommand.ts index 3cf07f59a665a..2a70fcf585273 100644 --- a/protocol_tests/aws-restxml/commands/XmlMapsXmlNameCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlMapsXmlNameCommand.ts @@ -25,7 +25,6 @@ export class XmlMapsXmlNameCommand extends $Command< XmlMapsXmlNameCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlMapsXmlNameCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlNamespacesCommand.ts b/protocol_tests/aws-restxml/commands/XmlNamespacesCommand.ts index c57f4847c336d..170d8c130f821 100644 --- a/protocol_tests/aws-restxml/commands/XmlNamespacesCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlNamespacesCommand.ts @@ -25,7 +25,6 @@ export class XmlNamespacesCommand extends $Command< XmlNamespacesCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -43,10 +42,7 @@ export class XmlNamespacesCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack); diff --git a/protocol_tests/aws-restxml/commands/XmlTimestampsCommand.ts b/protocol_tests/aws-restxml/commands/XmlTimestampsCommand.ts index 1bef5486cc2a0..19b524e979727 100644 --- a/protocol_tests/aws-restxml/commands/XmlTimestampsCommand.ts +++ b/protocol_tests/aws-restxml/commands/XmlTimestampsCommand.ts @@ -30,7 +30,6 @@ export class XmlTimestampsCommand extends $Command< XmlTimestampsCommandOutput, RestXmlProtocolClientResolvedConfig > { - private resolved = false; // Start section: command_properties // End section: command_properties @@ -48,10 +47,7 @@ export class XmlTimestampsCommand extends $Command< configuration: RestXmlProtocolClientResolvedConfig, options?: __HttpHandlerOptions ): Handler { - if (!this.resolved) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.resolved = true; - } + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); const stack = clientStack.concat(this.middlewareStack);